0s autopkgtest [15:43:16]: starting date and time: 2025-01-09 15:43:16+0000 0s autopkgtest [15:43:16]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [15:43:16]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.9ekgiq28/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:libselinux --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-ppc64el --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-ppc64el-11.secgroup --name adt-plucky-ppc64el-glib2.0-20250109-130346-juju-7f2275-prod-proposed-migration-environment-15-0609a588-9cb7-4ade-800f-376c8117fa63 --image adt/ubuntu-plucky-ppc64el-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-proposed-migration-ppc64el -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 80s autopkgtest [15:44:36]: testbed dpkg architecture: ppc64el 80s autopkgtest [15:44:36]: testbed apt version: 2.9.18 80s autopkgtest [15:44:36]: @@@@@@@@@@@@@@@@@@@@ test bed setup 80s autopkgtest [15:44:36]: testbed release detected to be: None 81s autopkgtest [15:44:37]: updating testbed package index (apt update) 82s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 82s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 82s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 82s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 82s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [790 kB] 82s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.6 kB] 82s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [126 kB] 82s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 82s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el Packages [226 kB] 82s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted ppc64el Packages [756 B] 82s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el Packages [955 kB] 82s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse ppc64el Packages [5472 B] 83s Fetched 2203 kB in 1s (2008 kB/s) 83s Reading package lists... 84s Reading package lists... 84s Building dependency tree... 84s Reading state information... 84s Calculating upgrade... 85s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 85s Reading package lists... 85s Building dependency tree... 85s Reading state information... 85s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 85s autopkgtest [15:44:41]: upgrading testbed (apt dist-upgrade and autopurge) 85s Reading package lists... 85s Building dependency tree... 85s Reading state information... 86s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 86s Starting 2 pkgProblemResolver with broken count: 0 86s Done 86s Entering ResolveByKeep 86s 86s The following packages will be upgraded: 86s libselinux1 87s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 87s Need to get 100 kB of archives. 87s After this operation, 1024 B of additional disk space will be used. 87s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libselinux1 ppc64el 3.7-3ubuntu2 [100 kB] 87s Fetched 100 kB in 0s (288 kB/s) 88s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74025 files and directories currently installed.) 88s Preparing to unpack .../libselinux1_3.7-3ubuntu2_ppc64el.deb ... 88s Unpacking libselinux1:ppc64el (3.7-3ubuntu2) over (3.7-3ubuntu1) ... 88s Setting up libselinux1:ppc64el (3.7-3ubuntu2) ... 88s Processing triggers for libc-bin (2.40-4ubuntu1) ... 88s Reading package lists... 88s Building dependency tree... 88s Reading state information... 88s Starting pkgProblemResolver with broken count: 0 88s Starting 2 pkgProblemResolver with broken count: 0 88s Done 89s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 91s autopkgtest [15:44:47]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP Mon Sep 16 13:49:23 UTC 2024 91s autopkgtest [15:44:47]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 102s Get:1 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.4-1 (dsc) [4921 B] 102s Get:2 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.4-1 (tar) [263 kB] 102s Get:3 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.4-1 (tar) [5557 kB] 102s Get:4 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.4-1 (diff) [135 kB] 102s gpgv: Signature made Fri Dec 13 13:58:26 2024 UTC 102s gpgv: using RSA key 7A073AD1AE694FA25BFF62E5235C099D3EB33076 102s gpgv: Can't check signature: No public key 102s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.82.4-1.dsc: no acceptable signature found 103s autopkgtest [15:44:59]: testing package glib2.0 version 2.82.4-1 108s autopkgtest [15:45:04]: build not needed 116s autopkgtest [15:45:12]: test build: preparing testbed 116s Reading package lists... 117s Building dependency tree... 117s Reading state information... 117s Starting pkgProblemResolver with broken count: 0 117s Starting 2 pkgProblemResolver with broken count: 0 117s Done 117s The following NEW packages will be installed: 117s build-essential cpp cpp-14 cpp-14-powerpc64le-linux-gnu 117s cpp-powerpc64le-linux-gnu g++ g++-14 g++-14-powerpc64le-linux-gnu 117s g++-powerpc64le-linux-gnu gcc gcc-14 gcc-14-powerpc64le-linux-gnu 117s gcc-powerpc64le-linux-gnu libasan8 libblkid-dev libcc1-0 libffi-dev 117s libgcc-14-dev libgio-2.0-dev libgomp1 libisl23 libitm1 liblsan0 libmount-dev 117s libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 117s libquadmath0 libselinux1-dev libsepol-dev libstdc++-14-dev 117s libsysprof-capture-4-dev libtsan2 libubsan1 pkgconf pkgconf-bin uuid-dev 117s zlib1g-dev 117s 0 upgraded, 41 newly installed, 0 to remove and 0 not upgraded. 117s Need to get 63.1 MB of archives. 117s After this operation, 234 MB of additional disk space will be used. 117s Get:1 http://ftpmaster.internal/ubuntu plucky/main ppc64el libisl23 ppc64el 0.27-1 [882 kB] 118s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el libmpc3 ppc64el 1.3.1-1build2 [62.1 kB] 118s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp-14-powerpc64le-linux-gnu ppc64el 14.2.0-12ubuntu1 [10.5 MB] 118s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp-14 ppc64el 14.2.0-12ubuntu1 [1038 B] 118s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp-powerpc64le-linux-gnu ppc64el 4:14.1.0-2ubuntu1 [5456 B] 118s Get:6 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp ppc64el 4:14.1.0-2ubuntu1 [22.5 kB] 118s Get:7 http://ftpmaster.internal/ubuntu plucky/main ppc64el libcc1-0 ppc64el 14.2.0-12ubuntu1 [48.1 kB] 118s Get:8 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgomp1 ppc64el 14.2.0-12ubuntu1 [161 kB] 118s Get:9 http://ftpmaster.internal/ubuntu plucky/main ppc64el libitm1 ppc64el 14.2.0-12ubuntu1 [32.1 kB] 118s Get:10 http://ftpmaster.internal/ubuntu plucky/main ppc64el libasan8 ppc64el 14.2.0-12ubuntu1 [2945 kB] 118s Get:11 http://ftpmaster.internal/ubuntu plucky/main ppc64el liblsan0 ppc64el 14.2.0-12ubuntu1 [1322 kB] 118s Get:12 http://ftpmaster.internal/ubuntu plucky/main ppc64el libtsan2 ppc64el 14.2.0-12ubuntu1 [2695 kB] 118s Get:13 http://ftpmaster.internal/ubuntu plucky/main ppc64el libubsan1 ppc64el 14.2.0-12ubuntu1 [1191 kB] 118s Get:14 http://ftpmaster.internal/ubuntu plucky/main ppc64el libquadmath0 ppc64el 14.2.0-12ubuntu1 [158 kB] 118s Get:15 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgcc-14-dev ppc64el 14.2.0-12ubuntu1 [1620 kB] 118s Get:16 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-14-powerpc64le-linux-gnu ppc64el 14.2.0-12ubuntu1 [20.6 MB] 119s Get:17 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-14 ppc64el 14.2.0-12ubuntu1 [533 kB] 119s Get:18 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-powerpc64le-linux-gnu ppc64el 4:14.1.0-2ubuntu1 [1222 B] 119s Get:19 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc ppc64el 4:14.1.0-2ubuntu1 [5006 B] 119s Get:20 http://ftpmaster.internal/ubuntu plucky/main ppc64el libstdc++-14-dev ppc64el 14.2.0-12ubuntu1 [2675 kB] 119s Get:21 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++-14-powerpc64le-linux-gnu ppc64el 14.2.0-12ubuntu1 [12.0 MB] 119s Get:22 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++-14 ppc64el 14.2.0-12ubuntu1 [20.2 kB] 119s Get:23 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++-powerpc64le-linux-gnu ppc64el 4:14.1.0-2ubuntu1 [968 B] 119s Get:24 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++ ppc64el 4:14.1.0-2ubuntu1 [1090 B] 119s Get:25 http://ftpmaster.internal/ubuntu plucky/main ppc64el build-essential ppc64el 12.10ubuntu1 [4936 B] 119s Get:26 http://ftpmaster.internal/ubuntu plucky/main ppc64el libffi-dev ppc64el 3.4.6-1build1 [67.5 kB] 119s Get:27 http://ftpmaster.internal/ubuntu plucky/main ppc64el uuid-dev ppc64el 2.40.2-1ubuntu2 [55.3 kB] 119s Get:28 http://ftpmaster.internal/ubuntu plucky/main ppc64el libblkid-dev ppc64el 2.40.2-1ubuntu2 [278 kB] 119s Get:29 http://ftpmaster.internal/ubuntu plucky/main ppc64el libsepol-dev ppc64el 3.7-1 [502 kB] 119s Get:30 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpcre2-16-0 ppc64el 10.42-4ubuntu3 [254 kB] 119s Get:31 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpcre2-32-0 ppc64el 10.42-4ubuntu3 [238 kB] 119s Get:32 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpcre2-posix3 ppc64el 10.42-4ubuntu3 [7108 B] 119s Get:33 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpcre2-dev ppc64el 10.42-4ubuntu3 [817 kB] 119s Get:34 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libselinux1-dev ppc64el 3.7-3ubuntu2 [194 kB] 119s Get:35 http://ftpmaster.internal/ubuntu plucky/main ppc64el libmount-dev ppc64el 2.40.2-1ubuntu2 [33.2 kB] 119s Get:36 http://ftpmaster.internal/ubuntu plucky/main ppc64el libsysprof-capture-4-dev ppc64el 47.2-1 [61.4 kB] 119s Get:37 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpkgconf3 ppc64el 1.8.1-4 [37.1 kB] 119s Get:38 http://ftpmaster.internal/ubuntu plucky/main ppc64el pkgconf-bin ppc64el 1.8.1-4 [22.5 kB] 119s Get:39 http://ftpmaster.internal/ubuntu plucky/main ppc64el pkgconf ppc64el 1.8.1-4 [16.7 kB] 120s Get:40 http://ftpmaster.internal/ubuntu plucky/main ppc64el zlib1g-dev ppc64el 1:1.3.dfsg+really1.3.1-1ubuntu1 [902 kB] 120s Get:41 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgio-2.0-dev ppc64el 2.82.4-1 [2152 kB] 120s Fetched 63.1 MB in 3s (23.6 MB/s) 120s Selecting previously unselected package libisl23:ppc64el. 120s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74025 files and directories currently installed.) 120s Preparing to unpack .../00-libisl23_0.27-1_ppc64el.deb ... 120s Unpacking libisl23:ppc64el (0.27-1) ... 120s Selecting previously unselected package libmpc3:ppc64el. 120s Preparing to unpack .../01-libmpc3_1.3.1-1build2_ppc64el.deb ... 120s Unpacking libmpc3:ppc64el (1.3.1-1build2) ... 120s Selecting previously unselected package cpp-14-powerpc64le-linux-gnu. 120s Preparing to unpack .../02-cpp-14-powerpc64le-linux-gnu_14.2.0-12ubuntu1_ppc64el.deb ... 120s Unpacking cpp-14-powerpc64le-linux-gnu (14.2.0-12ubuntu1) ... 120s Selecting previously unselected package cpp-14. 120s Preparing to unpack .../03-cpp-14_14.2.0-12ubuntu1_ppc64el.deb ... 120s Unpacking cpp-14 (14.2.0-12ubuntu1) ... 120s Selecting previously unselected package cpp-powerpc64le-linux-gnu. 120s Preparing to unpack .../04-cpp-powerpc64le-linux-gnu_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 120s Unpacking cpp-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 120s Selecting previously unselected package cpp. 120s Preparing to unpack .../05-cpp_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 120s Unpacking cpp (4:14.1.0-2ubuntu1) ... 120s Selecting previously unselected package libcc1-0:ppc64el. 120s Preparing to unpack .../06-libcc1-0_14.2.0-12ubuntu1_ppc64el.deb ... 120s Unpacking libcc1-0:ppc64el (14.2.0-12ubuntu1) ... 120s Selecting previously unselected package libgomp1:ppc64el. 120s Preparing to unpack .../07-libgomp1_14.2.0-12ubuntu1_ppc64el.deb ... 120s Unpacking libgomp1:ppc64el (14.2.0-12ubuntu1) ... 120s Selecting previously unselected package libitm1:ppc64el. 120s Preparing to unpack .../08-libitm1_14.2.0-12ubuntu1_ppc64el.deb ... 120s Unpacking libitm1:ppc64el (14.2.0-12ubuntu1) ... 120s Selecting previously unselected package libasan8:ppc64el. 120s Preparing to unpack .../09-libasan8_14.2.0-12ubuntu1_ppc64el.deb ... 120s Unpacking libasan8:ppc64el (14.2.0-12ubuntu1) ... 120s Selecting previously unselected package liblsan0:ppc64el. 120s Preparing to unpack .../10-liblsan0_14.2.0-12ubuntu1_ppc64el.deb ... 120s Unpacking liblsan0:ppc64el (14.2.0-12ubuntu1) ... 120s Selecting previously unselected package libtsan2:ppc64el. 120s Preparing to unpack .../11-libtsan2_14.2.0-12ubuntu1_ppc64el.deb ... 120s Unpacking libtsan2:ppc64el (14.2.0-12ubuntu1) ... 121s Selecting previously unselected package libubsan1:ppc64el. 121s Preparing to unpack .../12-libubsan1_14.2.0-12ubuntu1_ppc64el.deb ... 121s Unpacking libubsan1:ppc64el (14.2.0-12ubuntu1) ... 121s Selecting previously unselected package libquadmath0:ppc64el. 121s Preparing to unpack .../13-libquadmath0_14.2.0-12ubuntu1_ppc64el.deb ... 121s Unpacking libquadmath0:ppc64el (14.2.0-12ubuntu1) ... 121s Selecting previously unselected package libgcc-14-dev:ppc64el. 121s Preparing to unpack .../14-libgcc-14-dev_14.2.0-12ubuntu1_ppc64el.deb ... 121s Unpacking libgcc-14-dev:ppc64el (14.2.0-12ubuntu1) ... 121s Selecting previously unselected package gcc-14-powerpc64le-linux-gnu. 121s Preparing to unpack .../15-gcc-14-powerpc64le-linux-gnu_14.2.0-12ubuntu1_ppc64el.deb ... 121s Unpacking gcc-14-powerpc64le-linux-gnu (14.2.0-12ubuntu1) ... 121s Selecting previously unselected package gcc-14. 121s Preparing to unpack .../16-gcc-14_14.2.0-12ubuntu1_ppc64el.deb ... 121s Unpacking gcc-14 (14.2.0-12ubuntu1) ... 121s Selecting previously unselected package gcc-powerpc64le-linux-gnu. 121s Preparing to unpack .../17-gcc-powerpc64le-linux-gnu_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 121s Unpacking gcc-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 121s Selecting previously unselected package gcc. 121s Preparing to unpack .../18-gcc_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 121s Unpacking gcc (4:14.1.0-2ubuntu1) ... 121s Selecting previously unselected package libstdc++-14-dev:ppc64el. 121s Preparing to unpack .../19-libstdc++-14-dev_14.2.0-12ubuntu1_ppc64el.deb ... 121s Unpacking libstdc++-14-dev:ppc64el (14.2.0-12ubuntu1) ... 121s Selecting previously unselected package g++-14-powerpc64le-linux-gnu. 121s Preparing to unpack .../20-g++-14-powerpc64le-linux-gnu_14.2.0-12ubuntu1_ppc64el.deb ... 121s Unpacking g++-14-powerpc64le-linux-gnu (14.2.0-12ubuntu1) ... 121s Selecting previously unselected package g++-14. 121s Preparing to unpack .../21-g++-14_14.2.0-12ubuntu1_ppc64el.deb ... 121s Unpacking g++-14 (14.2.0-12ubuntu1) ... 121s Selecting previously unselected package g++-powerpc64le-linux-gnu. 121s Preparing to unpack .../22-g++-powerpc64le-linux-gnu_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 121s Unpacking g++-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 121s Selecting previously unselected package g++. 121s Preparing to unpack .../23-g++_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 121s Unpacking g++ (4:14.1.0-2ubuntu1) ... 121s Selecting previously unselected package build-essential. 121s Preparing to unpack .../24-build-essential_12.10ubuntu1_ppc64el.deb ... 121s Unpacking build-essential (12.10ubuntu1) ... 121s Selecting previously unselected package libffi-dev:ppc64el. 121s Preparing to unpack .../25-libffi-dev_3.4.6-1build1_ppc64el.deb ... 121s Unpacking libffi-dev:ppc64el (3.4.6-1build1) ... 121s Selecting previously unselected package uuid-dev:ppc64el. 121s Preparing to unpack .../26-uuid-dev_2.40.2-1ubuntu2_ppc64el.deb ... 121s Unpacking uuid-dev:ppc64el (2.40.2-1ubuntu2) ... 121s Selecting previously unselected package libblkid-dev:ppc64el. 121s Preparing to unpack .../27-libblkid-dev_2.40.2-1ubuntu2_ppc64el.deb ... 121s Unpacking libblkid-dev:ppc64el (2.40.2-1ubuntu2) ... 122s Selecting previously unselected package libsepol-dev:ppc64el. 122s Preparing to unpack .../28-libsepol-dev_3.7-1_ppc64el.deb ... 122s Unpacking libsepol-dev:ppc64el (3.7-1) ... 122s Selecting previously unselected package libpcre2-16-0:ppc64el. 122s Preparing to unpack .../29-libpcre2-16-0_10.42-4ubuntu3_ppc64el.deb ... 122s Unpacking libpcre2-16-0:ppc64el (10.42-4ubuntu3) ... 122s Selecting previously unselected package libpcre2-32-0:ppc64el. 122s Preparing to unpack .../30-libpcre2-32-0_10.42-4ubuntu3_ppc64el.deb ... 122s Unpacking libpcre2-32-0:ppc64el (10.42-4ubuntu3) ... 122s Selecting previously unselected package libpcre2-posix3:ppc64el. 122s Preparing to unpack .../31-libpcre2-posix3_10.42-4ubuntu3_ppc64el.deb ... 122s Unpacking libpcre2-posix3:ppc64el (10.42-4ubuntu3) ... 122s Selecting previously unselected package libpcre2-dev:ppc64el. 122s Preparing to unpack .../32-libpcre2-dev_10.42-4ubuntu3_ppc64el.deb ... 122s Unpacking libpcre2-dev:ppc64el (10.42-4ubuntu3) ... 122s Selecting previously unselected package libselinux1-dev:ppc64el. 122s Preparing to unpack .../33-libselinux1-dev_3.7-3ubuntu2_ppc64el.deb ... 122s Unpacking libselinux1-dev:ppc64el (3.7-3ubuntu2) ... 122s Selecting previously unselected package libmount-dev:ppc64el. 122s Preparing to unpack .../34-libmount-dev_2.40.2-1ubuntu2_ppc64el.deb ... 122s Unpacking libmount-dev:ppc64el (2.40.2-1ubuntu2) ... 122s Selecting previously unselected package libsysprof-capture-4-dev:ppc64el. 122s Preparing to unpack .../35-libsysprof-capture-4-dev_47.2-1_ppc64el.deb ... 122s Unpacking libsysprof-capture-4-dev:ppc64el (47.2-1) ... 122s Selecting previously unselected package libpkgconf3:ppc64el. 122s Preparing to unpack .../36-libpkgconf3_1.8.1-4_ppc64el.deb ... 122s Unpacking libpkgconf3:ppc64el (1.8.1-4) ... 122s Selecting previously unselected package pkgconf-bin. 122s Preparing to unpack .../37-pkgconf-bin_1.8.1-4_ppc64el.deb ... 122s Unpacking pkgconf-bin (1.8.1-4) ... 122s Selecting previously unselected package pkgconf:ppc64el. 122s Preparing to unpack .../38-pkgconf_1.8.1-4_ppc64el.deb ... 122s Unpacking pkgconf:ppc64el (1.8.1-4) ... 122s Selecting previously unselected package zlib1g-dev:ppc64el. 122s Preparing to unpack .../39-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_ppc64el.deb ... 122s Unpacking zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 122s Selecting previously unselected package libgio-2.0-dev:ppc64el. 122s Preparing to unpack .../40-libgio-2.0-dev_2.82.4-1_ppc64el.deb ... 122s Unpacking libgio-2.0-dev:ppc64el (2.82.4-1) ... 122s Setting up libgomp1:ppc64el (14.2.0-12ubuntu1) ... 122s Setting up libffi-dev:ppc64el (3.4.6-1build1) ... 122s Setting up libpcre2-16-0:ppc64el (10.42-4ubuntu3) ... 122s Setting up libsysprof-capture-4-dev:ppc64el (47.2-1) ... 122s Setting up libpcre2-32-0:ppc64el (10.42-4ubuntu3) ... 122s Setting up libpkgconf3:ppc64el (1.8.1-4) ... 122s Setting up uuid-dev:ppc64el (2.40.2-1ubuntu2) ... 122s Setting up libquadmath0:ppc64el (14.2.0-12ubuntu1) ... 122s Setting up libmpc3:ppc64el (1.3.1-1build2) ... 122s Setting up libsepol-dev:ppc64el (3.7-1) ... 122s Setting up pkgconf-bin (1.8.1-4) ... 122s Setting up libubsan1:ppc64el (14.2.0-12ubuntu1) ... 122s Setting up zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 122s Setting up libpcre2-posix3:ppc64el (10.42-4ubuntu3) ... 122s Setting up libasan8:ppc64el (14.2.0-12ubuntu1) ... 122s Setting up libtsan2:ppc64el (14.2.0-12ubuntu1) ... 122s Setting up libisl23:ppc64el (0.27-1) ... 122s Setting up libcc1-0:ppc64el (14.2.0-12ubuntu1) ... 122s Setting up liblsan0:ppc64el (14.2.0-12ubuntu1) ... 122s Setting up libitm1:ppc64el (14.2.0-12ubuntu1) ... 122s Setting up libblkid-dev:ppc64el (2.40.2-1ubuntu2) ... 122s Setting up libpcre2-dev:ppc64el (10.42-4ubuntu3) ... 122s Setting up libselinux1-dev:ppc64el (3.7-3ubuntu2) ... 122s Setting up pkgconf:ppc64el (1.8.1-4) ... 122s Setting up cpp-14-powerpc64le-linux-gnu (14.2.0-12ubuntu1) ... 122s Setting up cpp-14 (14.2.0-12ubuntu1) ... 122s Setting up libgcc-14-dev:ppc64el (14.2.0-12ubuntu1) ... 122s Setting up libstdc++-14-dev:ppc64el (14.2.0-12ubuntu1) ... 122s Setting up libmount-dev:ppc64el (2.40.2-1ubuntu2) ... 122s Setting up cpp-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 122s Setting up gcc-14-powerpc64le-linux-gnu (14.2.0-12ubuntu1) ... 122s Setting up libgio-2.0-dev:ppc64el (2.82.4-1) ... 122s Setting up g++-14-powerpc64le-linux-gnu (14.2.0-12ubuntu1) ... 122s Setting up gcc-14 (14.2.0-12ubuntu1) ... 122s Setting up gcc-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 122s Setting up cpp (4:14.1.0-2ubuntu1) ... 122s Setting up g++-14 (14.2.0-12ubuntu1) ... 122s Setting up g++-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 122s Setting up gcc (4:14.1.0-2ubuntu1) ... 122s Setting up g++ (4:14.1.0-2ubuntu1) ... 122s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 122s Setting up build-essential (12.10ubuntu1) ... 122s Processing triggers for libc-bin (2.40-4ubuntu1) ... 122s Processing triggers for man-db (2.13.0-1) ... 123s Processing triggers for libglib2.0-0t64:ppc64el (2.82.4-1) ... 123s No schema files found: doing nothing. 123s Processing triggers for install-info (7.1.1-1) ... 124s autopkgtest [15:45:20]: test build: [----------------------- 125s + mode=dynamic 125s + getopt -o --long static -n debian/tests/build -- 125s + getopt_temp= -- 125s + eval set -- -- 125s + set -- -- 125s + true 125s + shift 125s + break 125s + mktemp -d 125s + WORKDIR=/tmp/tmp.QH26L4to54 125s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 125s + cd /tmp/tmp.QH26L4to54 125s + [ -n ] 125s + CROSS_COMPILE= 125s + cat 125s + cat 125s + cat 125s + cat 125s + cat 125s + cat 125s + cflags= 125s + pcflags= 125s + packages=glib-2.0 125s + pkg-config --cflags --libs glib-2.0 125s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 125s build (glib, dynamic): OK 125s run (glib, dynamic): OK 125s + echo build (glib, dynamic): OK 125s + [ -x glib-dynamic ] 125s + foo=bar ./glib-dynamic 125s + echo run (glib, dynamic): OK 125s + cflags= 125s + pcflags= 125s + packages=gobject-2.0 125s + pkg-config --cflags --libs gobject-2.0 125s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 125s build (gobject, dynamic): OK 125s run (gobject, dynamic): OK 125s + echo build (gobject, dynamic): OK 125s + [ -x gobject-dynamic ] 125s + foo=bar ./gobject-dynamic 125s + echo run (gobject, dynamic): OK 125s + cflags= 125s + pcflags= 125s + packages=gio-2.0 125s + pkg-config --cflags --libs gio-2.0 125s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 125s build (gio, dynamic): OK 125s + echo build (gio, dynamic): OK 125s + [ -x gio-dynamic ] 125s + foo=bar ./gio-dynamic 125s + echo run (gio, dynamic): OK 125s + cflags= 125s + pcflags= 125s + packages=gio-unix-2.0 125s run (gio, dynamic): OK 125s + pkg-config --cflags --libs gio-unix-2.0 125s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 125s build (gio-unix, dynamic): OK 125s + echo build (gio-unix, dynamic): OK 125s + [ -x gio-unix-dynamic ] 125s + foo=bar ./gio-unix-dynamic 125s + echo run (gio-unix, dynamic): OK 125s + cflags= 125s + pcflags= 125s + packages=gmodule-2.0 125s + pkg-config --cflags --libs gmodule-2.0 125s run (gio-unix, dynamic): OK 125s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 125s build (gmodule, dynamic): OK 125s + echo build (gmodule, dynamic): OK 125s + [ -x gmodule-dynamic ] 125s + foo=bar ./gmodule-dynamic 125s + echo run (gmodule, dynamic): OK 125s + cflags= 125s + pcflags= 125s + packages=gthread-2.0 125s + pkg-config --cflags --libs gthread-2.0 125s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 125s run (gmodule, dynamic): OK 125s build (gthread, dynamic): OK 125s + echo build (gthread, dynamic): OK 125s + [ -x gthread-dynamic ] 125s + foo=bar ./gthread-dynamic 125s run (gthread, dynamic): OK 125s + echo run (gthread, dynamic): OK 125s + rm -rf /tmp/tmp.QH26L4to54 126s autopkgtest [15:45:22]: test build: -----------------------] 126s build PASS (superficial) 126s autopkgtest [15:45:22]: test build: - - - - - - - - - - results - - - - - - - - - - 126s autopkgtest [15:45:22]: test build-static: preparing testbed 127s Reading package lists... 127s Building dependency tree... 127s Reading state information... 127s Starting pkgProblemResolver with broken count: 0 127s Starting 2 pkgProblemResolver with broken count: 0 127s Done 127s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 128s autopkgtest [15:45:24]: test build-static: [----------------------- 128s + mode=dynamic 128s + getopt -o --long static -n debian/tests/build -- --static 128s + getopt_temp= --static -- 128s + eval set -- --static -- 128s + set -- --static -- 128s + true 128s + mode=static 128s + shift 128s + continue 128s + true 128s + shift 128s + break 128s + mktemp -d 128s + WORKDIR=/tmp/tmp.XeFlGAYviG 128s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 128s + cd /tmp/tmp.XeFlGAYviG 128s + [ -n ] 128s + CROSS_COMPILE= 128s + cat 128s + cat 128s + cat 128s + cat 128s + cat 128s + cat 128s + cflags= 128s + pcflags= 128s + packages=glib-2.0 128s + cflags=-static 128s + pcflags=--static 128s + pkg-config --static --cflags --libs glib-2.0 128s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 128s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 128s (.text+0x150): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 128s /usr/bin/ld: (.text+0x428): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 128s /usr/bin/ld: (.text+0x194): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 129s build (glib, static): OK 129s + echo build (glib, static): OK 129s + [ -x glib-static ] 129s + foo=bar ./glib-static 129s + echo run (glib, static): OK 129s + cflags= 129s + pcflags= 129s + packages=gobject-2.0 129s + cflags=-static 129s + pcflags=--static 129s run (glib, static): OK 129s + pkg-config --static --cflags --libs gobject-2.0 129s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lffi 129s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 129s (.text+0x150): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 129s /usr/bin/ld: (.text+0x428): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 129s /usr/bin/ld: (.text+0x194): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 129s build (gobject, static): OK 129s + echo build (gobject, static): OK 129s + [ -x gobject-static ] 129s + foo=bar ./gobject-static 129s + run (gobject, static): OK 129s echo run (gobject, static): OK 129s + cflags= 129s + pcflags= 129s + packages=gio-2.0 129s + cflags=-static 129s + pcflags=--static 129s + continue 129s + cflags= 129s + pcflags= 129s + packages=gio-unix-2.0 129s + cflags=-static 129s + pcflags=--static 129s + continue 129s + cflags= 129s + pcflags= 129s + packages=gmodule-2.0 129s + cflags=-static 129s + pcflags=--static 129s + pkg-config --static --cflags --libs gmodule-2.0 129s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 129s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 129s (.text+0x914): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 129s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 129s (.text+0x150): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 129s /usr/bin/ld: (.text+0x428): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 129s /usr/bin/ld: (.text+0x194): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 129s build (gmodule, static): OK 129s + echo build (gmodule, static): OK 129s + [ -x gmodule-static ] 129s + foo=bar ./gmodule-static 129s + echo run (gmodule, static): OKrun (gmodule, static): OK 129s 129s + cflags= 129s + pcflags= 129s + packages=gthread-2.0 129s + cflags=-static 129s + pcflags=--static 129s + pkg-config --static --cflags --libs gthread-2.0 129s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 129s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 129s (.text+0x150): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 129s /usr/bin/ld: (.text+0x428): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 129s /usr/bin/ld: (.text+0x194): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 129s + build (gthread, static): OK 129s echo build (gthread, static): OK 129s + [ -x gthread-static ] 129s + foo=bar ./gthread-static 129s + echorun (gthread, static): OK 129s run (gthread, static): OK 129s + rm -rf /tmp/tmp.XeFlGAYviG 129s autopkgtest [15:45:25]: test build-static: -----------------------] 130s build-static PASS (superficial) 130s autopkgtest [15:45:26]: test build-static: - - - - - - - - - - results - - - - - - - - - - 130s autopkgtest [15:45:26]: test girepository-tools: preparing testbed 223s autopkgtest [15:46:59]: testbed dpkg architecture: ppc64el 223s autopkgtest [15:46:59]: testbed apt version: 2.9.18 223s autopkgtest [15:46:59]: @@@@@@@@@@@@@@@@@@@@ test bed setup 223s autopkgtest [15:46:59]: testbed release detected to be: plucky 224s autopkgtest [15:47:00]: updating testbed package index (apt update) 224s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 225s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 225s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 225s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 225s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [790 kB] 225s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [126 kB] 225s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 225s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.6 kB] 225s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el Packages [226 kB] 225s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted ppc64el Packages [756 B] 225s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el Packages [955 kB] 225s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse ppc64el Packages [5472 B] 225s Fetched 2203 kB in 1s (1868 kB/s) 226s Reading package lists... 227s Reading package lists... 228s Building dependency tree... 228s Reading state information... 228s Calculating upgrade... 228s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 228s Reading package lists... 228s Building dependency tree... 228s Reading state information... 229s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 229s autopkgtest [15:47:05]: upgrading testbed (apt dist-upgrade and autopurge) 229s Reading package lists... 229s Building dependency tree... 229s Reading state information... 229s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 229s Starting 2 pkgProblemResolver with broken count: 0 229s Done 230s Entering ResolveByKeep 230s 230s The following packages will be upgraded: 230s libselinux1 230s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 230s Need to get 100 kB of archives. 230s After this operation, 1024 B of additional disk space will be used. 230s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libselinux1 ppc64el 3.7-3ubuntu2 [100 kB] 231s Fetched 100 kB in 0s (282 kB/s) 231s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74025 files and directories currently installed.) 231s Preparing to unpack .../libselinux1_3.7-3ubuntu2_ppc64el.deb ... 231s Unpacking libselinux1:ppc64el (3.7-3ubuntu2) over (3.7-3ubuntu1) ... 231s Setting up libselinux1:ppc64el (3.7-3ubuntu2) ... 231s Processing triggers for libc-bin (2.40-4ubuntu1) ... 232s Reading package lists... 232s Building dependency tree... 232s Reading state information... 232s Starting pkgProblemResolver with broken count: 0 232s Starting 2 pkgProblemResolver with broken count: 0 232s Done 232s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 235s Reading package lists... 235s Building dependency tree... 235s Reading state information... 236s Starting pkgProblemResolver with broken count: 0 236s Starting 2 pkgProblemResolver with broken count: 0 236s Done 236s The following NEW packages will be installed: 236s gir1.2-glib-2.0-dev girepository-tools libgirepository-2.0-0 236s native-architecture 236s 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 236s Need to get 1070 kB of archives. 236s After this operation, 12.8 MB of additional disk space will be used. 236s Get:1 http://ftpmaster.internal/ubuntu plucky/main ppc64el gir1.2-glib-2.0-dev ppc64el 2.82.4-1 [853 kB] 237s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el native-architecture all 0.2.3 [1990 B] 237s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgirepository-2.0-0 ppc64el 2.82.4-1 [84.0 kB] 237s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el girepository-tools ppc64el 2.82.4-1 [131 kB] 237s Fetched 1070 kB in 1s (1729 kB/s) 237s Selecting previously unselected package gir1.2-glib-2.0-dev:ppc64el. 237s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74025 files and directories currently installed.) 237s Preparing to unpack .../gir1.2-glib-2.0-dev_2.82.4-1_ppc64el.deb ... 237s Unpacking gir1.2-glib-2.0-dev:ppc64el (2.82.4-1) ... 237s Selecting previously unselected package native-architecture. 237s Preparing to unpack .../native-architecture_0.2.3_all.deb ... 237s Unpacking native-architecture (0.2.3) ... 237s Selecting previously unselected package libgirepository-2.0-0:ppc64el. 237s Preparing to unpack .../libgirepository-2.0-0_2.82.4-1_ppc64el.deb ... 237s Unpacking libgirepository-2.0-0:ppc64el (2.82.4-1) ... 237s Selecting previously unselected package girepository-tools:ppc64el. 237s Preparing to unpack .../girepository-tools_2.82.4-1_ppc64el.deb ... 237s Unpacking girepository-tools:ppc64el (2.82.4-1) ... 237s Setting up native-architecture (0.2.3) ... 237s Setting up libgirepository-2.0-0:ppc64el (2.82.4-1) ... 237s Setting up gir1.2-glib-2.0-dev:ppc64el (2.82.4-1) ... 237s Setting up girepository-tools:ppc64el (2.82.4-1) ... 237s Processing triggers for man-db (2.13.0-1) ... 238s Processing triggers for libc-bin (2.40-4ubuntu1) ... 250s autopkgtest [15:47:26]: test girepository-tools: [----------------------- 250s + cd /tmp/autopkgtest.2xbiLG/autopkgtest_tmp 250s + dpkg-architecture -qDEB_HOST_GNU_TYPE 250s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 250s + DEB_HOST_GNU_TYPE=powerpc64le-linux-gnu 250s + dpkg-architecture -qDEB_HOST_MULTIARCH 250s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 250s + DEB_HOST_MULTIARCH=powerpc64le-linux-gnu 250s + powerpc64le-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 250s typelib: GLib-2.0 250s + powerpc64le-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/powerpc64le-linux-gnu/gir-1.0/GLib-2.0.gir 251s + powerpc64le-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 251s autopkgtest [15:47:27]: test girepository-tools: -----------------------] 251s girepository-tools PASS (superficial) 251s autopkgtest [15:47:27]: test girepository-tools: - - - - - - - - - - results - - - - - - - - - - 252s autopkgtest [15:47:28]: test libgio-2.0-dev-bin: preparing testbed 401s autopkgtest [15:49:57]: testbed dpkg architecture: ppc64el 401s autopkgtest [15:49:57]: testbed apt version: 2.9.18 402s autopkgtest [15:49:58]: @@@@@@@@@@@@@@@@@@@@ test bed setup 402s autopkgtest [15:49:58]: testbed release detected to be: plucky 402s autopkgtest [15:49:58]: updating testbed package index (apt update) 403s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 403s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 403s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 403s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 403s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 403s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [790 kB] 403s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.6 kB] 403s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [126 kB] 403s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el Packages [226 kB] 404s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted ppc64el Packages [756 B] 404s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el Packages [955 kB] 404s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse ppc64el Packages [5472 B] 404s Fetched 2203 kB in 1s (1935 kB/s) 405s Reading package lists... 405s Reading package lists... 405s Building dependency tree... 405s Reading state information... 406s Calculating upgrade... 406s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 406s Reading package lists... 406s Building dependency tree... 406s Reading state information... 406s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 406s autopkgtest [15:50:02]: upgrading testbed (apt dist-upgrade and autopurge) 406s Reading package lists... 407s Building dependency tree... 407s Reading state information... 407s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 407s Starting 2 pkgProblemResolver with broken count: 0 407s Done 407s Entering ResolveByKeep 407s 408s The following packages will be upgraded: 408s libselinux1 408s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 408s Need to get 100 kB of archives. 408s After this operation, 1024 B of additional disk space will be used. 408s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libselinux1 ppc64el 3.7-3ubuntu2 [100 kB] 408s Fetched 100 kB in 0s (288 kB/s) 408s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74025 files and directories currently installed.) 408s Preparing to unpack .../libselinux1_3.7-3ubuntu2_ppc64el.deb ... 408s Unpacking libselinux1:ppc64el (3.7-3ubuntu2) over (3.7-3ubuntu1) ... 409s Setting up libselinux1:ppc64el (3.7-3ubuntu2) ... 409s Processing triggers for libc-bin (2.40-4ubuntu1) ... 409s Reading package lists... 409s Building dependency tree... 409s Reading state information... 409s Starting pkgProblemResolver with broken count: 0 409s Starting 2 pkgProblemResolver with broken count: 0 409s Done 410s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 412s Reading package lists... 412s Building dependency tree... 412s Reading state information... 413s Starting pkgProblemResolver with broken count: 0 413s Starting 2 pkgProblemResolver with broken count: 0 413s Done 413s The following NEW packages will be installed: 413s libgio-2.0-dev-bin python3-packaging 413s 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. 413s Need to get 182 kB of archives. 413s After this operation, 1067 kB of additional disk space will be used. 413s Get:1 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-packaging all 24.2-1 [51.5 kB] 413s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgio-2.0-dev-bin ppc64el 2.82.4-1 [131 kB] 414s Fetched 182 kB in 0s (425 kB/s) 414s Selecting previously unselected package python3-packaging. 414s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74025 files and directories currently installed.) 414s Preparing to unpack .../python3-packaging_24.2-1_all.deb ... 414s Unpacking python3-packaging (24.2-1) ... 414s Selecting previously unselected package libgio-2.0-dev-bin. 414s Preparing to unpack .../libgio-2.0-dev-bin_2.82.4-1_ppc64el.deb ... 414s Unpacking libgio-2.0-dev-bin (2.82.4-1) ... 414s Setting up python3-packaging (24.2-1) ... 414s Setting up libgio-2.0-dev-bin (2.82.4-1) ... 414s Processing triggers for man-db (2.13.0-1) ... 432s autopkgtest [15:50:28]: test libgio-2.0-dev-bin: [----------------------- 432s + gdbus-codegen --help 432s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 432s [--c-namespace NAMESPACE] [--c-generate-object-manager] 432s [--c-generate-autocleanup {none,objects,all}] 432s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 432s [--generate-rst OUTFILES] [--pragma-once] 432s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 432s [--glib-min-required VERSION] 432s [--glib-max-allowed VERSION] 432s [--symbol-decorator SYMBOL_DECORATOR] 432s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 432s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 432s [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 432s [--output FILE | --output-directory OUTDIR] 432s FILE [FILE ...] 432s 432s D-Bus code and documentation generator 432s 432s positional arguments: 432s FILE D-Bus introspection XML file 432s 432s options: 432s -h, --help show this help message and exit 432s --interface-prefix PREFIX 432s String to strip from D-Bus interface names for code 432s and docs 432s --c-namespace NAMESPACE 432s The namespace to use for generated C code 432s --c-generate-object-manager 432s Generate a GDBusObjectManagerClient subclass when 432s generating C code 432s --c-generate-autocleanup {none,objects,all} 432s Generate autocleanup support 432s --generate-docbook OUTFILES 432s Generate Docbook in OUTFILES-org.Project.IFace.xml 432s --generate-md OUTFILES 432s Generate Markdown in OUTFILES-org.Project.IFace.md 432s --generate-rst OUTFILES 432s Generate reStructuredText in OUTFILES- 432s org.Project.IFace.rst 432s --pragma-once Use "pragma once" as the inclusion guard 432s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 432s Add annotation (may be used several times) 432s --glib-min-required VERSION 432s Minimum version of GLib to be supported by the 432s outputted code (default: 2.30) 432s --glib-max-allowed VERSION 432s Maximum version of GLib to be used by the outputted 432s code (default: current GLib version) 432s --symbol-decorator SYMBOL_DECORATOR 432s Macro used to decorate a symbol in the outputted 432s header, possibly to export symbols 432s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 432s Additional header required for decorator specified by 432s --symbol-decorator 432s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 432s Additional define required for decorator specified by 432s --symbol-decorator 432s --generate-c-code OUTFILES 432s Generate C code in OUTFILES.[ch] 432s --header Generate C headers 432s --body Generate C code 432s --interface-info-header 432s Generate GDBusInterfaceInfo C header 432s --interface-info-body 432s Generate GDBusInterfaceInfo C code 432s --output FILE Write output into the specified file 432s --output-directory OUTDIR 432s Location to output generated files 432s + glib-compile-resources --version 432s 2.82.4 432s + glib-genmarshal --version 432s glib-genmarshal version 2.82.4 432s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 432s You may redistribute copies of glib-genmarshal under the terms of 432s the GNU General Public License which can be found in the 432s GLib source package. Sources, examples and contact 432s information are available at http://www.gtk.org 432s + glib-gettextize --version 432s /usr/bin/glib-gettextize (GNU glib) 2.82.4 432s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 432s This is free software; see the source for copying conditions. There is NO 432s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 432s Written by Ulrich Drepper 432s + glib-mkenums --version 432s glib-mkenums version 2.82.4 432s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 432s You may redistribute copies of glib-mkenums under the terms of 432s the GNU General Public License which can be found in the 432s GLib source package. Sources, examples and contact 432s information are available at http://www.gtk.org 432s + gobject-query tree 432s GObject 432s + gtester --version 432s + gtester-report --version 432s gtester version 2.82.4 432s gtester-report (GLib utils) version 2.82.4. 433s autopkgtest [15:50:29]: test libgio-2.0-dev-bin: -----------------------] 433s libgio-2.0-dev-bin PASS (superficial) 433s autopkgtest [15:50:29]: test libgio-2.0-dev-bin: - - - - - - - - - - results - - - - - - - - - - 433s autopkgtest [15:50:29]: test libglib2.0-dev: preparing testbed 569s autopkgtest [15:52:45]: testbed dpkg architecture: ppc64el 569s autopkgtest [15:52:45]: testbed apt version: 2.9.18 569s autopkgtest [15:52:45]: @@@@@@@@@@@@@@@@@@@@ test bed setup 569s autopkgtest [15:52:45]: testbed release detected to be: plucky 570s autopkgtest [15:52:46]: updating testbed package index (apt update) 570s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 571s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 571s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 571s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 571s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.6 kB] 571s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [126 kB] 571s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 571s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [790 kB] 571s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el Packages [226 kB] 571s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted ppc64el Packages [756 B] 571s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el Packages [955 kB] 571s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse ppc64el Packages [5472 B] 571s Fetched 2203 kB in 1s (2074 kB/s) 572s Reading package lists... 573s Reading package lists... 573s Building dependency tree... 573s Reading state information... 573s Calculating upgrade... 573s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 573s Reading package lists... 574s Building dependency tree... 574s Reading state information... 574s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 574s autopkgtest [15:52:50]: upgrading testbed (apt dist-upgrade and autopurge) 574s Reading package lists... 574s Building dependency tree... 574s Reading state information... 575s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 575s Starting 2 pkgProblemResolver with broken count: 0 575s Done 575s Entering ResolveByKeep 575s 575s The following packages will be upgraded: 575s libselinux1 576s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 576s Need to get 100 kB of archives. 576s After this operation, 1024 B of additional disk space will be used. 576s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libselinux1 ppc64el 3.7-3ubuntu2 [100 kB] 576s Fetched 100 kB in 0s (273 kB/s) 576s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74025 files and directories currently installed.) 576s Preparing to unpack .../libselinux1_3.7-3ubuntu2_ppc64el.deb ... 576s Unpacking libselinux1:ppc64el (3.7-3ubuntu2) over (3.7-3ubuntu1) ... 576s Setting up libselinux1:ppc64el (3.7-3ubuntu2) ... 576s Processing triggers for libc-bin (2.40-4ubuntu1) ... 577s Reading package lists... 577s Building dependency tree... 577s Reading state information... 577s Starting pkgProblemResolver with broken count: 0 577s Starting 2 pkgProblemResolver with broken count: 0 577s Done 578s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 580s Reading package lists... 581s Building dependency tree... 581s Reading state information... 581s Starting pkgProblemResolver with broken count: 0 581s Starting 2 pkgProblemResolver with broken count: 0 581s Done 581s The following NEW packages will be installed: 581s build-essential cpp cpp-14 cpp-14-powerpc64le-linux-gnu 581s cpp-powerpc64le-linux-gnu g++ g++-14 g++-14-powerpc64le-linux-gnu 581s g++-powerpc64le-linux-gnu gcc gcc-14 gcc-14-powerpc64le-linux-gnu 581s gcc-powerpc64le-linux-gnu gir1.2-glib-2.0-dev girepository-tools libasan8 581s libblkid-dev libcc1-0 libffi-dev libgcc-14-dev libgio-2.0-dev 581s libgio-2.0-dev-bin libgirepository-2.0-0 libglib2.0-bin libglib2.0-dev 581s libglib2.0-dev-bin libgomp1 libisl23 libitm1 liblsan0 libmount-dev libmpc3 581s libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 581s libquadmath0 libselinux1-dev libsepol-dev libstdc++-14-dev 581s libsysprof-capture-4-dev libtsan2 libubsan1 native-architecture pkgconf 581s pkgconf-bin python3-packaging uuid-dev zlib1g-dev 581s 0 upgraded, 50 newly installed, 0 to remove and 0 not upgraded. 581s Need to get 64.5 MB of archives. 581s After this operation, 248 MB of additional disk space will be used. 581s Get:1 http://ftpmaster.internal/ubuntu plucky/main ppc64el libisl23 ppc64el 0.27-1 [882 kB] 582s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el libmpc3 ppc64el 1.3.1-1build2 [62.1 kB] 582s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp-14-powerpc64le-linux-gnu ppc64el 14.2.0-12ubuntu1 [10.5 MB] 582s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp-14 ppc64el 14.2.0-12ubuntu1 [1038 B] 582s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp-powerpc64le-linux-gnu ppc64el 4:14.1.0-2ubuntu1 [5456 B] 582s Get:6 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp ppc64el 4:14.1.0-2ubuntu1 [22.5 kB] 582s Get:7 http://ftpmaster.internal/ubuntu plucky/main ppc64el libcc1-0 ppc64el 14.2.0-12ubuntu1 [48.1 kB] 582s Get:8 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgomp1 ppc64el 14.2.0-12ubuntu1 [161 kB] 582s Get:9 http://ftpmaster.internal/ubuntu plucky/main ppc64el libitm1 ppc64el 14.2.0-12ubuntu1 [32.1 kB] 582s Get:10 http://ftpmaster.internal/ubuntu plucky/main ppc64el libasan8 ppc64el 14.2.0-12ubuntu1 [2945 kB] 582s Get:11 http://ftpmaster.internal/ubuntu plucky/main ppc64el liblsan0 ppc64el 14.2.0-12ubuntu1 [1322 kB] 582s Get:12 http://ftpmaster.internal/ubuntu plucky/main ppc64el libtsan2 ppc64el 14.2.0-12ubuntu1 [2695 kB] 582s Get:13 http://ftpmaster.internal/ubuntu plucky/main ppc64el libubsan1 ppc64el 14.2.0-12ubuntu1 [1191 kB] 582s Get:14 http://ftpmaster.internal/ubuntu plucky/main ppc64el libquadmath0 ppc64el 14.2.0-12ubuntu1 [158 kB] 582s Get:15 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgcc-14-dev ppc64el 14.2.0-12ubuntu1 [1620 kB] 582s Get:16 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-14-powerpc64le-linux-gnu ppc64el 14.2.0-12ubuntu1 [20.6 MB] 583s Get:17 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-14 ppc64el 14.2.0-12ubuntu1 [533 kB] 583s Get:18 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-powerpc64le-linux-gnu ppc64el 4:14.1.0-2ubuntu1 [1222 B] 583s Get:19 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc ppc64el 4:14.1.0-2ubuntu1 [5006 B] 583s Get:20 http://ftpmaster.internal/ubuntu plucky/main ppc64el libstdc++-14-dev ppc64el 14.2.0-12ubuntu1 [2675 kB] 583s Get:21 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++-14-powerpc64le-linux-gnu ppc64el 14.2.0-12ubuntu1 [12.0 MB] 583s Get:22 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++-14 ppc64el 14.2.0-12ubuntu1 [20.2 kB] 583s Get:23 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++-powerpc64le-linux-gnu ppc64el 4:14.1.0-2ubuntu1 [968 B] 583s Get:24 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++ ppc64el 4:14.1.0-2ubuntu1 [1090 B] 583s Get:25 http://ftpmaster.internal/ubuntu plucky/main ppc64el build-essential ppc64el 12.10ubuntu1 [4936 B] 583s Get:26 http://ftpmaster.internal/ubuntu plucky/main ppc64el gir1.2-glib-2.0-dev ppc64el 2.82.4-1 [853 kB] 583s Get:27 http://ftpmaster.internal/ubuntu plucky/main ppc64el native-architecture all 0.2.3 [1990 B] 583s Get:28 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgirepository-2.0-0 ppc64el 2.82.4-1 [84.0 kB] 583s Get:29 http://ftpmaster.internal/ubuntu plucky/main ppc64el girepository-tools ppc64el 2.82.4-1 [131 kB] 583s Get:30 http://ftpmaster.internal/ubuntu plucky/main ppc64el libffi-dev ppc64el 3.4.6-1build1 [67.5 kB] 583s Get:31 http://ftpmaster.internal/ubuntu plucky/main ppc64el uuid-dev ppc64el 2.40.2-1ubuntu2 [55.3 kB] 583s Get:32 http://ftpmaster.internal/ubuntu plucky/main ppc64el libblkid-dev ppc64el 2.40.2-1ubuntu2 [278 kB] 583s Get:33 http://ftpmaster.internal/ubuntu plucky/main ppc64el libsepol-dev ppc64el 3.7-1 [502 kB] 583s Get:34 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpcre2-16-0 ppc64el 10.42-4ubuntu3 [254 kB] 583s Get:35 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpcre2-32-0 ppc64el 10.42-4ubuntu3 [238 kB] 583s Get:36 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpcre2-posix3 ppc64el 10.42-4ubuntu3 [7108 B] 583s Get:37 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpcre2-dev ppc64el 10.42-4ubuntu3 [817 kB] 583s Get:38 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libselinux1-dev ppc64el 3.7-3ubuntu2 [194 kB] 583s Get:39 http://ftpmaster.internal/ubuntu plucky/main ppc64el libmount-dev ppc64el 2.40.2-1ubuntu2 [33.2 kB] 583s Get:40 http://ftpmaster.internal/ubuntu plucky/main ppc64el libsysprof-capture-4-dev ppc64el 47.2-1 [61.4 kB] 584s Get:41 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpkgconf3 ppc64el 1.8.1-4 [37.1 kB] 584s Get:42 http://ftpmaster.internal/ubuntu plucky/main ppc64el pkgconf-bin ppc64el 1.8.1-4 [22.5 kB] 584s Get:43 http://ftpmaster.internal/ubuntu plucky/main ppc64el pkgconf ppc64el 1.8.1-4 [16.7 kB] 584s Get:44 http://ftpmaster.internal/ubuntu plucky/main ppc64el zlib1g-dev ppc64el 1:1.3.dfsg+really1.3.1-1ubuntu1 [902 kB] 584s Get:45 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgio-2.0-dev ppc64el 2.82.4-1 [2152 kB] 584s Get:46 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-packaging all 24.2-1 [51.5 kB] 584s Get:47 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgio-2.0-dev-bin ppc64el 2.82.4-1 [131 kB] 584s Get:48 http://ftpmaster.internal/ubuntu plucky/main ppc64el libglib2.0-bin ppc64el 2.82.4-1 [111 kB] 584s Get:49 http://ftpmaster.internal/ubuntu plucky/main ppc64el libglib2.0-dev-bin ppc64el 2.82.4-1 [18.1 kB] 584s Get:50 http://ftpmaster.internal/ubuntu plucky/main ppc64el libglib2.0-dev ppc64el 2.82.4-1 [18.8 kB] 584s Fetched 64.5 MB in 3s (25.2 MB/s) 584s Selecting previously unselected package libisl23:ppc64el. 584s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74025 files and directories currently installed.) 584s Preparing to unpack .../00-libisl23_0.27-1_ppc64el.deb ... 584s Unpacking libisl23:ppc64el (0.27-1) ... 584s Selecting previously unselected package libmpc3:ppc64el. 584s Preparing to unpack .../01-libmpc3_1.3.1-1build2_ppc64el.deb ... 584s Unpacking libmpc3:ppc64el (1.3.1-1build2) ... 584s Selecting previously unselected package cpp-14-powerpc64le-linux-gnu. 584s Preparing to unpack .../02-cpp-14-powerpc64le-linux-gnu_14.2.0-12ubuntu1_ppc64el.deb ... 584s Unpacking cpp-14-powerpc64le-linux-gnu (14.2.0-12ubuntu1) ... 584s Selecting previously unselected package cpp-14. 584s Preparing to unpack .../03-cpp-14_14.2.0-12ubuntu1_ppc64el.deb ... 584s Unpacking cpp-14 (14.2.0-12ubuntu1) ... 584s Selecting previously unselected package cpp-powerpc64le-linux-gnu. 584s Preparing to unpack .../04-cpp-powerpc64le-linux-gnu_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 584s Unpacking cpp-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 584s Selecting previously unselected package cpp. 584s Preparing to unpack .../05-cpp_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 584s Unpacking cpp (4:14.1.0-2ubuntu1) ... 584s Selecting previously unselected package libcc1-0:ppc64el. 584s Preparing to unpack .../06-libcc1-0_14.2.0-12ubuntu1_ppc64el.deb ... 584s Unpacking libcc1-0:ppc64el (14.2.0-12ubuntu1) ... 584s Selecting previously unselected package libgomp1:ppc64el. 584s Preparing to unpack .../07-libgomp1_14.2.0-12ubuntu1_ppc64el.deb ... 584s Unpacking libgomp1:ppc64el (14.2.0-12ubuntu1) ... 584s Selecting previously unselected package libitm1:ppc64el. 584s Preparing to unpack .../08-libitm1_14.2.0-12ubuntu1_ppc64el.deb ... 584s Unpacking libitm1:ppc64el (14.2.0-12ubuntu1) ... 584s Selecting previously unselected package libasan8:ppc64el. 584s Preparing to unpack .../09-libasan8_14.2.0-12ubuntu1_ppc64el.deb ... 584s Unpacking libasan8:ppc64el (14.2.0-12ubuntu1) ... 585s Selecting previously unselected package liblsan0:ppc64el. 585s Preparing to unpack .../10-liblsan0_14.2.0-12ubuntu1_ppc64el.deb ... 585s Unpacking liblsan0:ppc64el (14.2.0-12ubuntu1) ... 585s Selecting previously unselected package libtsan2:ppc64el. 585s Preparing to unpack .../11-libtsan2_14.2.0-12ubuntu1_ppc64el.deb ... 585s Unpacking libtsan2:ppc64el (14.2.0-12ubuntu1) ... 585s Selecting previously unselected package libubsan1:ppc64el. 585s Preparing to unpack .../12-libubsan1_14.2.0-12ubuntu1_ppc64el.deb ... 585s Unpacking libubsan1:ppc64el (14.2.0-12ubuntu1) ... 585s Selecting previously unselected package libquadmath0:ppc64el. 585s Preparing to unpack .../13-libquadmath0_14.2.0-12ubuntu1_ppc64el.deb ... 585s Unpacking libquadmath0:ppc64el (14.2.0-12ubuntu1) ... 585s Selecting previously unselected package libgcc-14-dev:ppc64el. 585s Preparing to unpack .../14-libgcc-14-dev_14.2.0-12ubuntu1_ppc64el.deb ... 585s Unpacking libgcc-14-dev:ppc64el (14.2.0-12ubuntu1) ... 585s Selecting previously unselected package gcc-14-powerpc64le-linux-gnu. 585s Preparing to unpack .../15-gcc-14-powerpc64le-linux-gnu_14.2.0-12ubuntu1_ppc64el.deb ... 585s Unpacking gcc-14-powerpc64le-linux-gnu (14.2.0-12ubuntu1) ... 585s Selecting previously unselected package gcc-14. 585s Preparing to unpack .../16-gcc-14_14.2.0-12ubuntu1_ppc64el.deb ... 585s Unpacking gcc-14 (14.2.0-12ubuntu1) ... 585s Selecting previously unselected package gcc-powerpc64le-linux-gnu. 585s Preparing to unpack .../17-gcc-powerpc64le-linux-gnu_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 585s Unpacking gcc-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 585s Selecting previously unselected package gcc. 585s Preparing to unpack .../18-gcc_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 585s Unpacking gcc (4:14.1.0-2ubuntu1) ... 585s Selecting previously unselected package libstdc++-14-dev:ppc64el. 585s Preparing to unpack .../19-libstdc++-14-dev_14.2.0-12ubuntu1_ppc64el.deb ... 585s Unpacking libstdc++-14-dev:ppc64el (14.2.0-12ubuntu1) ... 585s Selecting previously unselected package g++-14-powerpc64le-linux-gnu. 585s Preparing to unpack .../20-g++-14-powerpc64le-linux-gnu_14.2.0-12ubuntu1_ppc64el.deb ... 585s Unpacking g++-14-powerpc64le-linux-gnu (14.2.0-12ubuntu1) ... 586s Selecting previously unselected package g++-14. 586s Preparing to unpack .../21-g++-14_14.2.0-12ubuntu1_ppc64el.deb ... 586s Unpacking g++-14 (14.2.0-12ubuntu1) ... 586s Selecting previously unselected package g++-powerpc64le-linux-gnu. 586s Preparing to unpack .../22-g++-powerpc64le-linux-gnu_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 586s Unpacking g++-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 586s Selecting previously unselected package g++. 586s Preparing to unpack .../23-g++_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 586s Unpacking g++ (4:14.1.0-2ubuntu1) ... 586s Selecting previously unselected package build-essential. 586s Preparing to unpack .../24-build-essential_12.10ubuntu1_ppc64el.deb ... 586s Unpacking build-essential (12.10ubuntu1) ... 586s Selecting previously unselected package gir1.2-glib-2.0-dev:ppc64el. 586s Preparing to unpack .../25-gir1.2-glib-2.0-dev_2.82.4-1_ppc64el.deb ... 586s Unpacking gir1.2-glib-2.0-dev:ppc64el (2.82.4-1) ... 586s Selecting previously unselected package native-architecture. 586s Preparing to unpack .../26-native-architecture_0.2.3_all.deb ... 586s Unpacking native-architecture (0.2.3) ... 586s Selecting previously unselected package libgirepository-2.0-0:ppc64el. 586s Preparing to unpack .../27-libgirepository-2.0-0_2.82.4-1_ppc64el.deb ... 586s Unpacking libgirepository-2.0-0:ppc64el (2.82.4-1) ... 586s Selecting previously unselected package girepository-tools:ppc64el. 586s Preparing to unpack .../28-girepository-tools_2.82.4-1_ppc64el.deb ... 586s Unpacking girepository-tools:ppc64el (2.82.4-1) ... 586s Selecting previously unselected package libffi-dev:ppc64el. 586s Preparing to unpack .../29-libffi-dev_3.4.6-1build1_ppc64el.deb ... 586s Unpacking libffi-dev:ppc64el (3.4.6-1build1) ... 586s Selecting previously unselected package uuid-dev:ppc64el. 586s Preparing to unpack .../30-uuid-dev_2.40.2-1ubuntu2_ppc64el.deb ... 586s Unpacking uuid-dev:ppc64el (2.40.2-1ubuntu2) ... 586s Selecting previously unselected package libblkid-dev:ppc64el. 586s Preparing to unpack .../31-libblkid-dev_2.40.2-1ubuntu2_ppc64el.deb ... 586s Unpacking libblkid-dev:ppc64el (2.40.2-1ubuntu2) ... 586s Selecting previously unselected package libsepol-dev:ppc64el. 586s Preparing to unpack .../32-libsepol-dev_3.7-1_ppc64el.deb ... 586s Unpacking libsepol-dev:ppc64el (3.7-1) ... 586s Selecting previously unselected package libpcre2-16-0:ppc64el. 586s Preparing to unpack .../33-libpcre2-16-0_10.42-4ubuntu3_ppc64el.deb ... 586s Unpacking libpcre2-16-0:ppc64el (10.42-4ubuntu3) ... 586s Selecting previously unselected package libpcre2-32-0:ppc64el. 586s Preparing to unpack .../34-libpcre2-32-0_10.42-4ubuntu3_ppc64el.deb ... 586s Unpacking libpcre2-32-0:ppc64el (10.42-4ubuntu3) ... 586s Selecting previously unselected package libpcre2-posix3:ppc64el. 586s Preparing to unpack .../35-libpcre2-posix3_10.42-4ubuntu3_ppc64el.deb ... 586s Unpacking libpcre2-posix3:ppc64el (10.42-4ubuntu3) ... 586s Selecting previously unselected package libpcre2-dev:ppc64el. 586s Preparing to unpack .../36-libpcre2-dev_10.42-4ubuntu3_ppc64el.deb ... 586s Unpacking libpcre2-dev:ppc64el (10.42-4ubuntu3) ... 586s Selecting previously unselected package libselinux1-dev:ppc64el. 586s Preparing to unpack .../37-libselinux1-dev_3.7-3ubuntu2_ppc64el.deb ... 586s Unpacking libselinux1-dev:ppc64el (3.7-3ubuntu2) ... 586s Selecting previously unselected package libmount-dev:ppc64el. 586s Preparing to unpack .../38-libmount-dev_2.40.2-1ubuntu2_ppc64el.deb ... 586s Unpacking libmount-dev:ppc64el (2.40.2-1ubuntu2) ... 586s Selecting previously unselected package libsysprof-capture-4-dev:ppc64el. 586s Preparing to unpack .../39-libsysprof-capture-4-dev_47.2-1_ppc64el.deb ... 586s Unpacking libsysprof-capture-4-dev:ppc64el (47.2-1) ... 586s Selecting previously unselected package libpkgconf3:ppc64el. 586s Preparing to unpack .../40-libpkgconf3_1.8.1-4_ppc64el.deb ... 586s Unpacking libpkgconf3:ppc64el (1.8.1-4) ... 586s Selecting previously unselected package pkgconf-bin. 586s Preparing to unpack .../41-pkgconf-bin_1.8.1-4_ppc64el.deb ... 586s Unpacking pkgconf-bin (1.8.1-4) ... 586s Selecting previously unselected package pkgconf:ppc64el. 586s Preparing to unpack .../42-pkgconf_1.8.1-4_ppc64el.deb ... 586s Unpacking pkgconf:ppc64el (1.8.1-4) ... 586s Selecting previously unselected package zlib1g-dev:ppc64el. 586s Preparing to unpack .../43-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_ppc64el.deb ... 586s Unpacking zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 586s Selecting previously unselected package libgio-2.0-dev:ppc64el. 586s Preparing to unpack .../44-libgio-2.0-dev_2.82.4-1_ppc64el.deb ... 586s Unpacking libgio-2.0-dev:ppc64el (2.82.4-1) ... 586s Selecting previously unselected package python3-packaging. 586s Preparing to unpack .../45-python3-packaging_24.2-1_all.deb ... 586s Unpacking python3-packaging (24.2-1) ... 586s Selecting previously unselected package libgio-2.0-dev-bin. 586s Preparing to unpack .../46-libgio-2.0-dev-bin_2.82.4-1_ppc64el.deb ... 586s Unpacking libgio-2.0-dev-bin (2.82.4-1) ... 586s Selecting previously unselected package libglib2.0-bin. 586s Preparing to unpack .../47-libglib2.0-bin_2.82.4-1_ppc64el.deb ... 586s Unpacking libglib2.0-bin (2.82.4-1) ... 586s Selecting previously unselected package libglib2.0-dev-bin. 586s Preparing to unpack .../48-libglib2.0-dev-bin_2.82.4-1_ppc64el.deb ... 586s Unpacking libglib2.0-dev-bin (2.82.4-1) ... 586s Selecting previously unselected package libglib2.0-dev:ppc64el. 586s Preparing to unpack .../49-libglib2.0-dev_2.82.4-1_ppc64el.deb ... 586s Unpacking libglib2.0-dev:ppc64el (2.82.4-1) ... 586s Setting up native-architecture (0.2.3) ... 586s Setting up libgirepository-2.0-0:ppc64el (2.82.4-1) ... 586s Setting up libglib2.0-bin (2.82.4-1) ... 586s Setting up libgomp1:ppc64el (14.2.0-12ubuntu1) ... 586s Setting up libffi-dev:ppc64el (3.4.6-1build1) ... 586s Setting up libpcre2-16-0:ppc64el (10.42-4ubuntu3) ... 586s Setting up libsysprof-capture-4-dev:ppc64el (47.2-1) ... 586s Setting up libpcre2-32-0:ppc64el (10.42-4ubuntu3) ... 586s Setting up python3-packaging (24.2-1) ... 587s Setting up libpkgconf3:ppc64el (1.8.1-4) ... 587s Setting up uuid-dev:ppc64el (2.40.2-1ubuntu2) ... 587s Setting up libquadmath0:ppc64el (14.2.0-12ubuntu1) ... 587s Setting up libmpc3:ppc64el (1.3.1-1build2) ... 587s Setting up libsepol-dev:ppc64el (3.7-1) ... 587s Setting up pkgconf-bin (1.8.1-4) ... 587s Setting up libubsan1:ppc64el (14.2.0-12ubuntu1) ... 587s Setting up zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 587s Setting up libpcre2-posix3:ppc64el (10.42-4ubuntu3) ... 587s Setting up gir1.2-glib-2.0-dev:ppc64el (2.82.4-1) ... 587s Setting up libasan8:ppc64el (14.2.0-12ubuntu1) ... 587s Setting up libtsan2:ppc64el (14.2.0-12ubuntu1) ... 587s Setting up libisl23:ppc64el (0.27-1) ... 587s Setting up libcc1-0:ppc64el (14.2.0-12ubuntu1) ... 587s Setting up liblsan0:ppc64el (14.2.0-12ubuntu1) ... 587s Setting up libitm1:ppc64el (14.2.0-12ubuntu1) ... 587s Setting up libblkid-dev:ppc64el (2.40.2-1ubuntu2) ... 587s Setting up libgio-2.0-dev-bin (2.82.4-1) ... 587s Setting up girepository-tools:ppc64el (2.82.4-1) ... 587s Setting up libpcre2-dev:ppc64el (10.42-4ubuntu3) ... 587s Setting up libselinux1-dev:ppc64el (3.7-3ubuntu2) ... 587s Setting up pkgconf:ppc64el (1.8.1-4) ... 587s Setting up cpp-14-powerpc64le-linux-gnu (14.2.0-12ubuntu1) ... 587s Setting up cpp-14 (14.2.0-12ubuntu1) ... 587s Setting up libgcc-14-dev:ppc64el (14.2.0-12ubuntu1) ... 587s Setting up libstdc++-14-dev:ppc64el (14.2.0-12ubuntu1) ... 587s Setting up libmount-dev:ppc64el (2.40.2-1ubuntu2) ... 587s Setting up cpp-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 587s Setting up gcc-14-powerpc64le-linux-gnu (14.2.0-12ubuntu1) ... 587s Setting up libglib2.0-dev-bin (2.82.4-1) ... 587s Setting up libgio-2.0-dev:ppc64el (2.82.4-1) ... 587s Setting up g++-14-powerpc64le-linux-gnu (14.2.0-12ubuntu1) ... 587s Setting up gcc-14 (14.2.0-12ubuntu1) ... 587s Setting up gcc-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 587s Setting up cpp (4:14.1.0-2ubuntu1) ... 587s Setting up g++-14 (14.2.0-12ubuntu1) ... 587s Setting up g++-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 587s Setting up gcc (4:14.1.0-2ubuntu1) ... 587s Setting up g++ (4:14.1.0-2ubuntu1) ... 587s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 587s Setting up build-essential (12.10ubuntu1) ... 587s Processing triggers for install-info (7.1.1-1) ... 587s Processing triggers for libc-bin (2.40-4ubuntu1) ... 587s Processing triggers for man-db (2.13.0-1) ... 588s Processing triggers for libglib2.0-0t64:ppc64el (2.82.4-1) ... 588s No schema files found: doing nothing. 588s Setting up libglib2.0-dev:ppc64el (2.82.4-1) ... 594s autopkgtest [15:53:10]: test libglib2.0-dev: [----------------------- 594s + debian/tests/build 594s + mode=dynamic 594s + getopt -o --long static -n debian/tests/build -- 594s + getopt_temp= -- 594s + eval set -- -- 594s + set -- -- 594s + true 594s + shift 594s + break 594s + mktemp -d 594s + WORKDIR=/tmp/tmp.WqYbVtnEvN 594s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 594s + cd /tmp/tmp.WqYbVtnEvN 594s + [ -n ] 594s + CROSS_COMPILE= 594s + cat 594s + cat 594s + cat 594s + cat 594s + cat 594s + cat 594s + cflags= 594s + pcflags= 594s + packages=glib-2.0 594s + pkg-config --cflags --libs glib-2.0 594s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 595s build (glib, dynamic): OK 595s + echo build (glib, dynamic): OK 595s + [ -x glib-dynamic ] 595s + foo=bar ./glib-dynamic 595s + echo run (glib, dynamic): OK 595s + cflags= 595s + pcflags= 595s + packages=gobject-2.0 595s + pkg-config --cflags --libs gobject-2.0 595s run (glib, dynamic): OK 595s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 595s build (gobject, dynamic): OK 595s + echo build (gobject, dynamic): OK 595s + [ -x gobject-dynamic ] 595s + foo=bar ./gobject-dynamic 595s + echo run (gobject, dynamic): OK 595s + cflags= 595s + pcflags= 595s + packages=gio-2.0 595s run (gobject, dynamic): OK 595s + pkg-config --cflags --libs gio-2.0 595s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 595s build (gio, dynamic): OK 595s + echo build (gio, dynamic): OK 595s + [ -x gio-dynamic ] 595s + foo=bar ./gio-dynamic 595s + echo run (gio, dynamic): OK 595s + cflags= 595s + pcflags= 595s + packages=gio-unix-2.0 595s + pkg-config --cflags --libs gio-unix-2.0 595s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 595s run (gio, dynamic): OK 595s build (gio-unix, dynamic): OK 595s run (gio-unix, dynamic): OK 595s + echo build (gio-unix, dynamic): OK 595s + [ -x gio-unix-dynamic ] 595s + foo=bar ./gio-unix-dynamic 595s + echo run (gio-unix, dynamic): OK 595s + cflags= 595s + pcflags= 595s + packages=gmodule-2.0 595s + pkg-config --cflags --libs gmodule-2.0 595s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 595s build (gmodule, dynamic): OK 595s run (gmodule, dynamic): OK 595s + echo build (gmodule, dynamic): OK 595s + [ -x gmodule-dynamic ] 595s + foo=bar ./gmodule-dynamic 595s + echo run (gmodule, dynamic): OK 595s + cflags= 595s + pcflags= 595s + packages=gthread-2.0 595s + pkg-config --cflags --libs gthread-2.0 595s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 595s + build (gthread, dynamic): OK 595s echo build (gthread, dynamic): OK 595s + [ -x gthread-dynamic ] 595s + foo=bar ./gthread-dynamic 595s run (gthread, dynamic): OK 595s + echo run (gthread, dynamic): OK 595s + rm -rf /tmp/tmp.WqYbVtnEvN 595s + debian/tests/build-static 595s + mode=dynamic 595s + getopt -o --long static -n debian/tests/build -- --static 595s + getopt_temp= --static -- 595s + eval set -- --static -- 595s + set -- --static -- 595s + true 595s + mode=static 595s + shift 595s + continue 595s + true 595s + shift 595s + break 595s + mktemp -d 595s + WORKDIR=/tmp/tmp.gJOXme6785 595s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 595s + cd /tmp/tmp.gJOXme6785 595s + [ -n ] 595s + CROSS_COMPILE= 595s + cat 595s + cat 595s + cat 595s + cat 595s + cat 595s + cat 595s + cflags= 595s + pcflags= 595s + packages=glib-2.0 595s + cflags=-static 595s + pcflags=--static 595s + pkg-config --static --cflags --libs glib-2.0 595s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 595s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 595s (.text+0x150): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 595s /usr/bin/ld: (.text+0x428): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 595s /usr/bin/ld: (.text+0x194): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 596s build (glib, static): OK 596s run (glib, static): OK 596s + echo build (glib, static): OK 596s + [ -x glib-static ] 596s + foo=bar ./glib-static 596s + echo run (glib, static): OK 596s + cflags= 596s + pcflags= 596s + packages=gobject-2.0 596s + cflags=-static 596s + pcflags=--static 596s + pkg-config --static --cflags --libs gobject-2.0 596s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lffi 596s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 596s (.text+0x150): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 596s /usr/bin/ld: (.text+0x428): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 596s /usr/bin/ld: (.text+0x194): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 596s build (gobject, static): OK 596s + echo build (gobject, static): OK 596s + [ -x gobject-static ] 596s + foo=bar ./gobject-static 596s + echo run (gobject, static): OK 596s + cflags= 596s + pcflags= 596s + packages=gio-2.0 596s + cflags=-static 596s + pcflags=--static 596s + continue 596s + cflags= 596s + pcflags= 596s + packages=gio-unix-2.0 596s + cflags=-static 596s + pcflags=--static 596s + continue 596s + cflags= 596s + pcflags= 596s + packages=gmodule-2.0 596s + cflags=-static 596s + pcflags=--static 596s run (gobject, static): OK 596s + pkg-config --static --cflags --libs gmodule-2.0 596s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 596s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 596s (.text+0x914): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 596s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 596s (.text+0x150): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 596s /usr/bin/ld: (.text+0x428): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 596s /usr/bin/ld: (.text+0x194): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 596s build (gmodule, static): OK 596s + echo build (gmodule, static): OK 596s + [ -x gmodule-static ] 596s + foo=bar ./gmodule-static 596s + echo run (gmodule, static): OK 596s + cflags= 596s + pcflags= 596s + packages=gthread-2.0 596s + cflags=-static 596s + pcflags=--static 596s + pkg-config --static --cflags --libs gthread-2.0 596s run (gmodule, static): OK 596s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 596s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 596s (.text+0x150): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 596s /usr/bin/ld: (.text+0x428): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 596s /usr/bin/ld: (.text+0x194): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 596s build (gthread, static): OK 596s + echo build (gthread, static): OK 596s + [ -x gthread-static ] 596s + foo=bar ./gthread-static 596s + echo run (gthread, static): OK 596s + run (gthread, static): OK 596s rm -rf /tmp/tmp.gJOXme6785 596s + debian/tests/girepository-tools 596s + cd /tmp/autopkgtest.2xbiLG/autopkgtest_tmp 596s + dpkg-architecture -qDEB_HOST_GNU_TYPE 596s + DEB_HOST_GNU_TYPE=powerpc64le-linux-gnu 596s + dpkg-architecture -qDEB_HOST_MULTIARCH 596s + DEB_HOST_MULTIARCH=powerpc64le-linux-gnu 596s + powerpc64le-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 596s typelib: GLib-2.0 596s + powerpc64le-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/powerpc64le-linux-gnu/gir-1.0/GLib-2.0.gir 596s + powerpc64le-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 596s + debian/tests/libgio-2.0-dev-bin 596s + gdbus-codegen --help 597s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 597s [--c-namespace NAMESPACE] [--c-generate-object-manager] 597s [--c-generate-autocleanup {none,objects,all}] 597s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 597s [--generate-rst OUTFILES] [--pragma-once] 597s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 597s [--glib-min-required VERSION] 597s [--glib-max-allowed VERSION] 597s [--symbol-decorator SYMBOL_DECORATOR] 597s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 597s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 597s [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 597s [--output FILE | --output-directory OUTDIR] 597s FILE [FILE ...] 597s 597s D-Bus code and documentation generator 597s 597s positional arguments: 597s FILE D-Bus introspection XML file 597s 597s options: 597s -h, --help show this help message and exit 597s --interface-prefix PREFIX 597s String to strip from D-Bus interface names for code 597s and docs 597s --c-namespace NAMESPACE 597s The namespace to use for generated C code 597s --c-generate-object-manager 597s Generate a GDBusObjectManagerClient subclass when 597s generating C code 597s --c-generate-autocleanup {none,objects,all} 597s Generate autocleanup support 597s --generate-docbook OUTFILES 597s Generate Docbook in OUTFILES-org.Project.IFace.xml 597s --generate-md OUTFILES 597s Generate Markdown in OUTFILES-org.Project.IFace.md 597s --generate-rst OUTFILES 597s Generate reStructuredText in OUTFILES- 597s org.Project.IFace.rst 597s --pragma-once Use "pragma once" as the inclusion guard 597s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 597s Add annotation (may be used several times) 597s --glib-min-required VERSION 597s Minimum version of GLib to be supported by the 597s outputted code (default: 2.30) 597s --glib-max-allowed VERSION 597s Maximum version of GLib to be used by the outputted 597s code (default: current GLib version) 597s --symbol-decorator SYMBOL_DECORATOR 597s Macro used to decorate a symbol in the outputted 597s header, possibly to export symbols 597s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 597s Additional header required for decorator specified by 597s --symbol-decorator 597s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 597s Additional define required for decorator specified by 597s --symbol-decorator 597s --generate-c-code OUTFILES 597s Generate C code in OUTFILES.[ch] 597s --header Generate C headers 597s --body Generate C code 597s --interface-info-header 597s Generate GDBusInterfaceInfo C header 597s --interface-info-body 597s Generate GDBusInterfaceInfo C code 597s --output FILE Write output into the specified file 597s --output-directory OUTDIR 597s Location to output generated files 597s + glib-compile-resources --version 597s 2.82.4 597s + glib-genmarshal --version 597s glib-genmarshal version 2.82.4 597s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 597s You may redistribute copies of glib-genmarshal under the terms of 597s the GNU General Public License which can be found in the 597s GLib source package. Sources, examples and contact 597s information are available at http://www.gtk.org 597s /usr/bin/glib-gettextize (GNU glib) 2.82.4 597s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 597s This is free software; see the source for copying conditions. There is NO 597s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 597s Written by Ulrich Drepper 597s + glib-gettextize --version 597s + glib-mkenums --version 597s glib-mkenums version 2.82.4 597s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 597s You may redistribute copies of glib-mkenums under the terms of 597s the GNU General Public License which can be found in the 597s GLib source package. Sources, examples and contact 597s information are available at http://www.gtk.org 597s + gobject-query tree 597s GObject 597s gtester version 2.82.4 597s + gtester --version 597s + gtester-report --version 597s gtester-report (GLib utils) version 2.82.4. 597s + cd /tmp/autopkgtest.2xbiLG/autopkgtest_tmp 597s + dpkg-architecture -qDEB_HOST_MULTIARCH 597s + DEB_HOST_MULTIARCH=powerpc64le-linux-gnu 597s + gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 597s typelib: GLib-2.0 597s + gi-compile-repository -o GLib.typelib /usr/lib/powerpc64le-linux-gnu/gir-1.0/GLib-2.0.gir 597s + gi-decompile-typelib -o GLib.gir GLib.typelib 597s autopkgtest [15:53:13]: test libglib2.0-dev: -----------------------] 598s autopkgtest [15:53:14]: test libglib2.0-dev: - - - - - - - - - - results - - - - - - - - - - 598s libglib2.0-dev PASS (superficial) 598s autopkgtest [15:53:14]: test installed-tests: preparing testbed 705s autopkgtest [15:55:01]: testbed dpkg architecture: ppc64el 705s autopkgtest [15:55:01]: testbed apt version: 2.9.18 705s autopkgtest [15:55:01]: @@@@@@@@@@@@@@@@@@@@ test bed setup 705s autopkgtest [15:55:01]: testbed release detected to be: plucky 706s autopkgtest [15:55:02]: updating testbed package index (apt update) 706s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 707s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 707s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 707s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 707s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 707s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [126 kB] 707s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [790 kB] 707s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.6 kB] 707s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el Packages [226 kB] 707s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted ppc64el Packages [756 B] 707s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el Packages [955 kB] 707s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse ppc64el Packages [5472 B] 708s Fetched 2203 kB in 1s (2032 kB/s) 708s Reading package lists... 709s Reading package lists... 709s Building dependency tree... 709s Reading state information... 710s Calculating upgrade... 710s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 710s Reading package lists... 710s Building dependency tree... 710s Reading state information... 711s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 711s autopkgtest [15:55:07]: upgrading testbed (apt dist-upgrade and autopurge) 711s Reading package lists... 712s Building dependency tree... 712s Reading state information... 712s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 712s Starting 2 pkgProblemResolver with broken count: 0 712s Done 713s Entering ResolveByKeep 713s 714s The following packages will be upgraded: 714s libselinux1 714s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 714s Need to get 100 kB of archives. 714s After this operation, 1024 B of additional disk space will be used. 714s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libselinux1 ppc64el 3.7-3ubuntu2 [100 kB] 715s Fetched 100 kB in 0s (290 kB/s) 715s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74025 files and directories currently installed.) 715s Preparing to unpack .../libselinux1_3.7-3ubuntu2_ppc64el.deb ... 715s Unpacking libselinux1:ppc64el (3.7-3ubuntu2) over (3.7-3ubuntu1) ... 715s Setting up libselinux1:ppc64el (3.7-3ubuntu2) ... 715s Processing triggers for libc-bin (2.40-4ubuntu1) ... 715s Reading package lists... 716s Building dependency tree... 716s Reading state information... 716s Starting pkgProblemResolver with broken count: 0 716s Starting 2 pkgProblemResolver with broken count: 0 716s Done 716s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 719s Reading package lists... 719s Building dependency tree... 719s Reading state information... 720s Starting pkgProblemResolver with broken count: 0 720s Starting 2 pkgProblemResolver with broken count: 0 720s Done 720s The following NEW packages will be installed: 720s dbus-x11 desktop-file-utils girepository-tools gnome-desktop-testing 720s libdrm-radeon1 libfontenc1 libgbm1 libgio-2.0-dev-bin libgirepository-2.0-0 720s libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-bin libglib2.0-dev-bin 720s libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 libpixman-1-0 libsm6 720s libvulkan1 libwayland-server0 libx11-xcb1 libxaw7 libxcb-dri2-0 720s libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-shm0 720s libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 libxkbfile1 libxmu6 libxpm4 720s libxrandr2 libxrender1 libxshmfence1 libxt6t64 libxxf86vm1 mesa-libgallium 720s native-architecture python3-dbusmock python3-packaging tzdata-legacy 720s x11-common x11-xkb-utils xserver-common xvfb 720s 0 upgraded, 52 newly installed, 0 to remove and 0 not upgraded. 720s Need to get 15.6 MB of archives. 720s After this operation, 86.4 MB of additional disk space will be used. 720s Get:1 http://ftpmaster.internal/ubuntu plucky/main ppc64el dbus-x11 ppc64el 1.14.10-4ubuntu5 [24.4 kB] 720s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el desktop-file-utils ppc64el 0.28-1 [62.3 kB] 720s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el native-architecture all 0.2.3 [1990 B] 720s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgirepository-2.0-0 ppc64el 2.82.4-1 [84.0 kB] 721s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el girepository-tools ppc64el 2.82.4-1 [131 kB] 721s Get:6 http://ftpmaster.internal/ubuntu plucky/universe ppc64el gnome-desktop-testing ppc64el 2021.1-4 [17.7 kB] 721s Get:7 http://ftpmaster.internal/ubuntu plucky/main ppc64el libdrm-radeon1 ppc64el 2.4.123-1 [29.0 kB] 721s Get:8 http://ftpmaster.internal/ubuntu plucky/main ppc64el libfontenc1 ppc64el 1:1.1.8-1build1 [15.8 kB] 721s Get:9 http://ftpmaster.internal/ubuntu plucky/main ppc64el libwayland-server0 ppc64el 1.23.0-1 [41.3 kB] 721s Get:10 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxcb-randr0 ppc64el 1.17.0-2 [19.1 kB] 721s Get:11 http://ftpmaster.internal/ubuntu plucky/main ppc64el libglapi-mesa ppc64el 24.2.8-1ubuntu1 [44.6 kB] 721s Get:12 http://ftpmaster.internal/ubuntu plucky/main ppc64el libx11-xcb1 ppc64el 2:1.8.10-2 [8008 B] 721s Get:13 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxcb-dri2-0 ppc64el 1.17.0-2 [7508 B] 721s Get:14 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxcb-dri3-0 ppc64el 1.17.0-2 [7842 B] 721s Get:15 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxcb-present0 ppc64el 1.17.0-2 [6276 B] 721s Get:16 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxcb-sync1 ppc64el 1.17.0-2 [9804 B] 721s Get:17 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxcb-xfixes0 ppc64el 1.17.0-2 [10.7 kB] 721s Get:18 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxshmfence1 ppc64el 1.3-1build5 [4964 B] 721s Get:19 http://ftpmaster.internal/ubuntu plucky/main ppc64el mesa-libgallium ppc64el 24.2.8-1ubuntu1 [9164 kB] 721s Get:20 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgbm1 ppc64el 24.2.8-1ubuntu1 [38.2 kB] 721s Get:21 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-packaging all 24.2-1 [51.5 kB] 721s Get:22 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgio-2.0-dev-bin ppc64el 2.82.4-1 [131 kB] 721s Get:23 http://ftpmaster.internal/ubuntu plucky/main ppc64el libvulkan1 ppc64el 1.3.296.0-1 [163 kB] 721s Get:24 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgl1-mesa-dri ppc64el 24.2.8-1ubuntu1 [34.1 kB] 721s Get:25 http://ftpmaster.internal/ubuntu plucky/main ppc64el libglib2.0-bin ppc64el 2.82.4-1 [111 kB] 721s Get:26 http://ftpmaster.internal/ubuntu plucky/main ppc64el libglib2.0-dev-bin ppc64el 2.82.4-1 [18.1 kB] 721s Get:27 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-dbusmock all 0.34.0-1 [92.2 kB] 721s Get:28 http://ftpmaster.internal/ubuntu plucky/main ppc64el tzdata-legacy all 2024b-4ubuntu1 [99.2 kB] 721s Get:29 http://ftpmaster.internal/ubuntu plucky/universe ppc64el libglib2.0-tests ppc64el 2.82.4-1 [2208 kB] 721s Get:30 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxcb-glx0 ppc64el 1.17.0-2 [26.3 kB] 721s Get:31 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxcb-shm0 ppc64el 1.17.0-2 [5980 B] 721s Get:32 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxfixes3 ppc64el 1:6.0.0-2build1 [11.8 kB] 721s Get:33 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxxf86vm1 ppc64el 1:1.1.4-1build4 [11.1 kB] 721s Get:34 http://ftpmaster.internal/ubuntu plucky/main ppc64el libglx-mesa0 ppc64el 24.2.8-1ubuntu1 [187 kB] 721s Get:35 http://ftpmaster.internal/ubuntu plucky/main ppc64el x11-common all 1:7.7+23ubuntu3 [21.7 kB] 721s Get:36 http://ftpmaster.internal/ubuntu plucky/main ppc64el libice6 ppc64el 2:1.1.1-1 [49.9 kB] 721s Get:37 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpixman-1-0 ppc64el 0.44.0-3 [334 kB] 721s Get:38 http://ftpmaster.internal/ubuntu plucky/main ppc64el libsm6 ppc64el 2:1.2.4-1 [18.4 kB] 721s Get:39 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxt6t64 ppc64el 1:1.2.1-1.2build1 [202 kB] 721s Get:40 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxmu6 ppc64el 2:1.1.3-3build2 [56.8 kB] 721s Get:41 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxpm4 ppc64el 1:3.5.17-1build2 [49.9 kB] 721s Get:42 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxaw7 ppc64el 2:1.0.16-1 [230 kB] 721s Get:43 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxfont2 ppc64el 1:2.0.6-1build1 [116 kB] 721s Get:44 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxkbfile1 ppc64el 1:1.1.0-1build4 [88.9 kB] 721s Get:45 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxrender1 ppc64el 1:0.9.10-1.1build1 [23.1 kB] 721s Get:46 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxrandr2 ppc64el 2:1.5.4-1 [21.7 kB] 721s Get:47 http://ftpmaster.internal/ubuntu plucky/main ppc64el x11-xkb-utils ppc64el 7.7+9 [201 kB] 721s Get:48 http://ftpmaster.internal/ubuntu plucky/main ppc64el xserver-common all 2:21.1.14-2ubuntu1 [33.7 kB] 721s Get:49 http://ftpmaster.internal/ubuntu plucky/main ppc64el libglvnd0 ppc64el 1.7.0-1build1 [72.4 kB] 721s Get:50 http://ftpmaster.internal/ubuntu plucky/main ppc64el libglx0 ppc64el 1.7.0-1build1 [42.7 kB] 722s Get:51 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgl1 ppc64el 1.7.0-1build1 [107 kB] 722s Get:52 http://ftpmaster.internal/ubuntu plucky/universe ppc64el xvfb ppc64el 2:21.1.14-2ubuntu1 [1095 kB] 722s Fetched 15.6 MB in 1s (11.0 MB/s) 722s Selecting previously unselected package dbus-x11. 722s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74025 files and directories currently installed.) 722s Preparing to unpack .../00-dbus-x11_1.14.10-4ubuntu5_ppc64el.deb ... 722s Unpacking dbus-x11 (1.14.10-4ubuntu5) ... 722s Selecting previously unselected package desktop-file-utils. 722s Preparing to unpack .../01-desktop-file-utils_0.28-1_ppc64el.deb ... 722s Unpacking desktop-file-utils (0.28-1) ... 722s Selecting previously unselected package native-architecture. 722s Preparing to unpack .../02-native-architecture_0.2.3_all.deb ... 722s Unpacking native-architecture (0.2.3) ... 722s Selecting previously unselected package libgirepository-2.0-0:ppc64el. 722s Preparing to unpack .../03-libgirepository-2.0-0_2.82.4-1_ppc64el.deb ... 722s Unpacking libgirepository-2.0-0:ppc64el (2.82.4-1) ... 722s Selecting previously unselected package girepository-tools:ppc64el. 722s Preparing to unpack .../04-girepository-tools_2.82.4-1_ppc64el.deb ... 722s Unpacking girepository-tools:ppc64el (2.82.4-1) ... 722s Selecting previously unselected package gnome-desktop-testing. 722s Preparing to unpack .../05-gnome-desktop-testing_2021.1-4_ppc64el.deb ... 722s Unpacking gnome-desktop-testing (2021.1-4) ... 722s Selecting previously unselected package libdrm-radeon1:ppc64el. 722s Preparing to unpack .../06-libdrm-radeon1_2.4.123-1_ppc64el.deb ... 722s Unpacking libdrm-radeon1:ppc64el (2.4.123-1) ... 722s Selecting previously unselected package libfontenc1:ppc64el. 722s Preparing to unpack .../07-libfontenc1_1%3a1.1.8-1build1_ppc64el.deb ... 722s Unpacking libfontenc1:ppc64el (1:1.1.8-1build1) ... 722s Selecting previously unselected package libwayland-server0:ppc64el. 722s Preparing to unpack .../08-libwayland-server0_1.23.0-1_ppc64el.deb ... 722s Unpacking libwayland-server0:ppc64el (1.23.0-1) ... 722s Selecting previously unselected package libxcb-randr0:ppc64el. 722s Preparing to unpack .../09-libxcb-randr0_1.17.0-2_ppc64el.deb ... 722s Unpacking libxcb-randr0:ppc64el (1.17.0-2) ... 722s Selecting previously unselected package libglapi-mesa:ppc64el. 722s Preparing to unpack .../10-libglapi-mesa_24.2.8-1ubuntu1_ppc64el.deb ... 722s Unpacking libglapi-mesa:ppc64el (24.2.8-1ubuntu1) ... 722s Selecting previously unselected package libx11-xcb1:ppc64el. 722s Preparing to unpack .../11-libx11-xcb1_2%3a1.8.10-2_ppc64el.deb ... 722s Unpacking libx11-xcb1:ppc64el (2:1.8.10-2) ... 722s Selecting previously unselected package libxcb-dri2-0:ppc64el. 722s Preparing to unpack .../12-libxcb-dri2-0_1.17.0-2_ppc64el.deb ... 722s Unpacking libxcb-dri2-0:ppc64el (1.17.0-2) ... 722s Selecting previously unselected package libxcb-dri3-0:ppc64el. 722s Preparing to unpack .../13-libxcb-dri3-0_1.17.0-2_ppc64el.deb ... 722s Unpacking libxcb-dri3-0:ppc64el (1.17.0-2) ... 722s Selecting previously unselected package libxcb-present0:ppc64el. 722s Preparing to unpack .../14-libxcb-present0_1.17.0-2_ppc64el.deb ... 722s Unpacking libxcb-present0:ppc64el (1.17.0-2) ... 722s Selecting previously unselected package libxcb-sync1:ppc64el. 722s Preparing to unpack .../15-libxcb-sync1_1.17.0-2_ppc64el.deb ... 722s Unpacking libxcb-sync1:ppc64el (1.17.0-2) ... 722s Selecting previously unselected package libxcb-xfixes0:ppc64el. 722s Preparing to unpack .../16-libxcb-xfixes0_1.17.0-2_ppc64el.deb ... 722s Unpacking libxcb-xfixes0:ppc64el (1.17.0-2) ... 722s Selecting previously unselected package libxshmfence1:ppc64el. 722s Preparing to unpack .../17-libxshmfence1_1.3-1build5_ppc64el.deb ... 722s Unpacking libxshmfence1:ppc64el (1.3-1build5) ... 722s Selecting previously unselected package mesa-libgallium:ppc64el. 722s Preparing to unpack .../18-mesa-libgallium_24.2.8-1ubuntu1_ppc64el.deb ... 722s Unpacking mesa-libgallium:ppc64el (24.2.8-1ubuntu1) ... 723s Selecting previously unselected package libgbm1:ppc64el. 723s Preparing to unpack .../19-libgbm1_24.2.8-1ubuntu1_ppc64el.deb ... 723s Unpacking libgbm1:ppc64el (24.2.8-1ubuntu1) ... 723s Selecting previously unselected package python3-packaging. 723s Preparing to unpack .../20-python3-packaging_24.2-1_all.deb ... 723s Unpacking python3-packaging (24.2-1) ... 723s Selecting previously unselected package libgio-2.0-dev-bin. 723s Preparing to unpack .../21-libgio-2.0-dev-bin_2.82.4-1_ppc64el.deb ... 723s Unpacking libgio-2.0-dev-bin (2.82.4-1) ... 723s Selecting previously unselected package libvulkan1:ppc64el. 723s Preparing to unpack .../22-libvulkan1_1.3.296.0-1_ppc64el.deb ... 723s Unpacking libvulkan1:ppc64el (1.3.296.0-1) ... 723s Selecting previously unselected package libgl1-mesa-dri:ppc64el. 723s Preparing to unpack .../23-libgl1-mesa-dri_24.2.8-1ubuntu1_ppc64el.deb ... 723s Unpacking libgl1-mesa-dri:ppc64el (24.2.8-1ubuntu1) ... 723s Selecting previously unselected package libglib2.0-bin. 723s Preparing to unpack .../24-libglib2.0-bin_2.82.4-1_ppc64el.deb ... 723s Unpacking libglib2.0-bin (2.82.4-1) ... 723s Selecting previously unselected package libglib2.0-dev-bin. 723s Preparing to unpack .../25-libglib2.0-dev-bin_2.82.4-1_ppc64el.deb ... 723s Unpacking libglib2.0-dev-bin (2.82.4-1) ... 723s Selecting previously unselected package python3-dbusmock. 723s Preparing to unpack .../26-python3-dbusmock_0.34.0-1_all.deb ... 723s Unpacking python3-dbusmock (0.34.0-1) ... 723s Selecting previously unselected package tzdata-legacy. 723s Preparing to unpack .../27-tzdata-legacy_2024b-4ubuntu1_all.deb ... 723s Unpacking tzdata-legacy (2024b-4ubuntu1) ... 723s Selecting previously unselected package libglib2.0-tests. 723s Preparing to unpack .../28-libglib2.0-tests_2.82.4-1_ppc64el.deb ... 723s Unpacking libglib2.0-tests (2.82.4-1) ... 723s Selecting previously unselected package libxcb-glx0:ppc64el. 723s Preparing to unpack .../29-libxcb-glx0_1.17.0-2_ppc64el.deb ... 723s Unpacking libxcb-glx0:ppc64el (1.17.0-2) ... 723s Selecting previously unselected package libxcb-shm0:ppc64el. 723s Preparing to unpack .../30-libxcb-shm0_1.17.0-2_ppc64el.deb ... 723s Unpacking libxcb-shm0:ppc64el (1.17.0-2) ... 723s Selecting previously unselected package libxfixes3:ppc64el. 723s Preparing to unpack .../31-libxfixes3_1%3a6.0.0-2build1_ppc64el.deb ... 723s Unpacking libxfixes3:ppc64el (1:6.0.0-2build1) ... 723s Selecting previously unselected package libxxf86vm1:ppc64el. 723s Preparing to unpack .../32-libxxf86vm1_1%3a1.1.4-1build4_ppc64el.deb ... 723s Unpacking libxxf86vm1:ppc64el (1:1.1.4-1build4) ... 723s Selecting previously unselected package libglx-mesa0:ppc64el. 723s Preparing to unpack .../33-libglx-mesa0_24.2.8-1ubuntu1_ppc64el.deb ... 723s Unpacking libglx-mesa0:ppc64el (24.2.8-1ubuntu1) ... 723s Selecting previously unselected package x11-common. 723s Preparing to unpack .../34-x11-common_1%3a7.7+23ubuntu3_all.deb ... 723s Unpacking x11-common (1:7.7+23ubuntu3) ... 723s Selecting previously unselected package libice6:ppc64el. 723s Preparing to unpack .../35-libice6_2%3a1.1.1-1_ppc64el.deb ... 723s Unpacking libice6:ppc64el (2:1.1.1-1) ... 723s Selecting previously unselected package libpixman-1-0:ppc64el. 723s Preparing to unpack .../36-libpixman-1-0_0.44.0-3_ppc64el.deb ... 723s Unpacking libpixman-1-0:ppc64el (0.44.0-3) ... 723s Selecting previously unselected package libsm6:ppc64el. 723s Preparing to unpack .../37-libsm6_2%3a1.2.4-1_ppc64el.deb ... 723s Unpacking libsm6:ppc64el (2:1.2.4-1) ... 723s Selecting previously unselected package libxt6t64:ppc64el. 723s Preparing to unpack .../38-libxt6t64_1%3a1.2.1-1.2build1_ppc64el.deb ... 723s Unpacking libxt6t64:ppc64el (1:1.2.1-1.2build1) ... 723s Selecting previously unselected package libxmu6:ppc64el. 723s Preparing to unpack .../39-libxmu6_2%3a1.1.3-3build2_ppc64el.deb ... 723s Unpacking libxmu6:ppc64el (2:1.1.3-3build2) ... 723s Selecting previously unselected package libxpm4:ppc64el. 723s Preparing to unpack .../40-libxpm4_1%3a3.5.17-1build2_ppc64el.deb ... 723s Unpacking libxpm4:ppc64el (1:3.5.17-1build2) ... 723s Selecting previously unselected package libxaw7:ppc64el. 723s Preparing to unpack .../41-libxaw7_2%3a1.0.16-1_ppc64el.deb ... 723s Unpacking libxaw7:ppc64el (2:1.0.16-1) ... 723s Selecting previously unselected package libxfont2:ppc64el. 723s Preparing to unpack .../42-libxfont2_1%3a2.0.6-1build1_ppc64el.deb ... 723s Unpacking libxfont2:ppc64el (1:2.0.6-1build1) ... 723s Selecting previously unselected package libxkbfile1:ppc64el. 723s Preparing to unpack .../43-libxkbfile1_1%3a1.1.0-1build4_ppc64el.deb ... 723s Unpacking libxkbfile1:ppc64el (1:1.1.0-1build4) ... 723s Selecting previously unselected package libxrender1:ppc64el. 723s Preparing to unpack .../44-libxrender1_1%3a0.9.10-1.1build1_ppc64el.deb ... 723s Unpacking libxrender1:ppc64el (1:0.9.10-1.1build1) ... 723s Selecting previously unselected package libxrandr2:ppc64el. 723s Preparing to unpack .../45-libxrandr2_2%3a1.5.4-1_ppc64el.deb ... 723s Unpacking libxrandr2:ppc64el (2:1.5.4-1) ... 723s Selecting previously unselected package x11-xkb-utils. 723s Preparing to unpack .../46-x11-xkb-utils_7.7+9_ppc64el.deb ... 723s Unpacking x11-xkb-utils (7.7+9) ... 723s Selecting previously unselected package xserver-common. 723s Preparing to unpack .../47-xserver-common_2%3a21.1.14-2ubuntu1_all.deb ... 723s Unpacking xserver-common (2:21.1.14-2ubuntu1) ... 723s Selecting previously unselected package libglvnd0:ppc64el. 723s Preparing to unpack .../48-libglvnd0_1.7.0-1build1_ppc64el.deb ... 723s Unpacking libglvnd0:ppc64el (1.7.0-1build1) ... 723s Selecting previously unselected package libglx0:ppc64el. 723s Preparing to unpack .../49-libglx0_1.7.0-1build1_ppc64el.deb ... 723s Unpacking libglx0:ppc64el (1.7.0-1build1) ... 723s Selecting previously unselected package libgl1:ppc64el. 723s Preparing to unpack .../50-libgl1_1.7.0-1build1_ppc64el.deb ... 723s Unpacking libgl1:ppc64el (1.7.0-1build1) ... 723s Selecting previously unselected package xvfb. 723s Preparing to unpack .../51-xvfb_2%3a21.1.14-2ubuntu1_ppc64el.deb ... 723s Unpacking xvfb (2:21.1.14-2ubuntu1) ... 724s Setting up gnome-desktop-testing (2021.1-4) ... 724s Setting up libxcb-dri3-0:ppc64el (1.17.0-2) ... 724s Setting up libpixman-1-0:ppc64el (0.44.0-3) ... 724s Setting up libwayland-server0:ppc64el (1.23.0-1) ... 724s Setting up libx11-xcb1:ppc64el (2:1.8.10-2) ... 724s Setting up native-architecture (0.2.3) ... 724s Setting up libxcb-xfixes0:ppc64el (1.17.0-2) ... 724s Setting up desktop-file-utils (0.28-1) ... 724s Setting up libxpm4:ppc64el (1:3.5.17-1build2) ... 724s Setting up libxrender1:ppc64el (1:0.9.10-1.1build1) ... 724s Setting up libgirepository-2.0-0:ppc64el (2.82.4-1) ... 724s Setting up libdrm-radeon1:ppc64el (2.4.123-1) ... 724s Setting up libglvnd0:ppc64el (1.7.0-1build1) ... 724s Setting up libxcb-glx0:ppc64el (1.17.0-2) ... 724s Setting up x11-common (1:7.7+23ubuntu3) ... 724s Setting up libglib2.0-bin (2.82.4-1) ... 724s Setting up libxcb-shm0:ppc64el (1.17.0-2) ... 724s Setting up python3-dbusmock (0.34.0-1) ... 724s Setting up tzdata-legacy (2024b-4ubuntu1) ... 724s Setting up libxxf86vm1:ppc64el (1:1.1.4-1build4) ... 724s Setting up libxcb-present0:ppc64el (1.17.0-2) ... 724s Setting up libfontenc1:ppc64el (1:1.1.8-1build1) ... 724s Setting up python3-packaging (24.2-1) ... 724s Setting up libxfixes3:ppc64el (1:6.0.0-2build1) ... 724s Setting up libxcb-sync1:ppc64el (1.17.0-2) ... 724s Setting up libxrandr2:ppc64el (2:1.5.4-1) ... 724s Setting up libglapi-mesa:ppc64el (24.2.8-1ubuntu1) ... 724s Setting up libvulkan1:ppc64el (1.3.296.0-1) ... 724s Setting up libxcb-dri2-0:ppc64el (1.17.0-2) ... 724s Setting up libxshmfence1:ppc64el (1.3-1build5) ... 724s Setting up dbus-x11 (1.14.10-4ubuntu5) ... 724s Setting up libxcb-randr0:ppc64el (1.17.0-2) ... 724s Setting up libxkbfile1:ppc64el (1:1.1.0-1build4) ... 724s Setting up libxfont2:ppc64el (1:2.0.6-1build1) ... 724s Setting up libice6:ppc64el (2:1.1.1-1) ... 724s Setting up mesa-libgallium:ppc64el (24.2.8-1ubuntu1) ... 724s Setting up libgio-2.0-dev-bin (2.82.4-1) ... 725s Setting up girepository-tools:ppc64el (2.82.4-1) ... 725s Setting up libgbm1:ppc64el (24.2.8-1ubuntu1) ... 725s Setting up libgl1-mesa-dri:ppc64el (24.2.8-1ubuntu1) ... 725s Setting up libsm6:ppc64el (2:1.2.4-1) ... 725s Setting up libglib2.0-dev-bin (2.82.4-1) ... 725s Setting up libglx-mesa0:ppc64el (24.2.8-1ubuntu1) ... 725s Setting up libglx0:ppc64el (1.7.0-1build1) ... 725s Setting up libgl1:ppc64el (1.7.0-1build1) ... 725s Setting up libxt6t64:ppc64el (1:1.2.1-1.2build1) ... 725s Setting up libglib2.0-tests (2.82.4-1) ... 725s Setting up libxmu6:ppc64el (2:1.1.3-3build2) ... 725s Setting up libxaw7:ppc64el (2:1.0.16-1) ... 725s Setting up x11-xkb-utils (7.7+9) ... 725s Setting up xserver-common (2:21.1.14-2ubuntu1) ... 725s Setting up xvfb (2:21.1.14-2ubuntu1) ... 725s Processing triggers for man-db (2.13.0-1) ... 726s Processing triggers for libc-bin (2.40-4ubuntu1) ... 736s autopkgtest [15:55:32]: test installed-tests: [----------------------- 736s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),103(lxd) 736s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 736s group entry: ubuntu:x:1000: 736s Environment: 736s ADTTMP=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp 736s ADT_ARTIFACTS=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts 736s ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 736s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts 736s AUTOPKGTEST_TESTBED_ARCH=ppc64el 736s AUTOPKGTEST_TEST_ARCH=ppc64el 736s AUTOPKGTEST_TMP=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp 736s DEBIAN_FRONTEND=noninteractive 736s DEB_BUILD_OPTIONS=parallel=2 736s GIO_USE_VFS=local 736s GIO_USE_VOLUME_MONITOR=unix 736s HOME=/home/ubuntu 736s LANG=C.UTF-8 736s LOGNAME=ubuntu 736s MAIL=/var/mail/ubuntu 736s OLDPWD=/home/ubuntu 736s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 736s PWD=/tmp/autopkgtest.2xbiLG/build.tAR/src 736s SHELL=/bin/bash 736s SHLVL=1 736s SUDO_COMMAND=/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests 736s SUDO_GID=1000 736s SUDO_UID=1000 736s SUDO_USER=ubuntu 736s TERM=linux 736s USER=ubuntu 736s XDG_RUNTIME_DIR=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp 736s http_proxy=http://squid.internal:3128 736s https_proxy=http://squid.internal:3128 736s no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com 736s run-with-locales: de_DE=ISO-8859-1... 736s Character set: ISO-8859-1 736s Source file: de_DE 736s Output: /tmp/tmp.OfmnbL4zEJ/de_DE 737s run-with-locales: de_DE.utf8... 737s Character set: UTF-8 737s Source file: de_DE 737s Output: /tmp/tmp.OfmnbL4zEJ/de_DE.utf8 738s run-with-locales: de_DE@euro.utf8... 738s Character set: UTF-8 738s Source file: de_DE@euro 738s Output: /tmp/tmp.OfmnbL4zEJ/de_DE@euro.utf8 739s run-with-locales: el_GR.utf8... 739s Character set: UTF-8 739s Source file: el_GR 739s Output: /tmp/tmp.OfmnbL4zEJ/el_GR.utf8 741s run-with-locales: en_GB=ISO-8859-1... 741s Character set: ISO-8859-1 741s Source file: en_GB 741s Output: /tmp/tmp.OfmnbL4zEJ/en_GB 741s run-with-locales: en_GB.utf8... 741s Character set: UTF-8 741s Source file: en_GB 741s Output: /tmp/tmp.OfmnbL4zEJ/en_GB.utf8 743s run-with-locales: en_US=ISO-8859-1... 743s Character set: ISO-8859-1 743s Source file: en_US 743s Output: /tmp/tmp.OfmnbL4zEJ/en_US 743s run-with-locales: en_US.utf8... 743s Character set: UTF-8 743s Source file: en_US 743s Output: /tmp/tmp.OfmnbL4zEJ/en_US.utf8 744s run-with-locales: es_ES.utf8... 744s Character set: UTF-8 744s Source file: es_ES 744s Output: /tmp/tmp.OfmnbL4zEJ/es_ES.utf8 746s run-with-locales: fa_IR=UTF-8... 746s Character set: UTF-8 746s Source file: fa_IR 746s Output: /tmp/tmp.OfmnbL4zEJ/fa_IR 747s run-with-locales: fa_IR.utf8... 747s Character set: UTF-8 747s Source file: fa_IR 747s Output: /tmp/tmp.OfmnbL4zEJ/fa_IR.utf8 749s run-with-locales: fr_FR.utf8... 749s Character set: UTF-8 749s Source file: fr_FR 749s Output: /tmp/tmp.OfmnbL4zEJ/fr_FR.utf8 750s run-with-locales: hr_HR.utf8... 750s Character set: UTF-8 750s Source file: hr_HR 750s Output: /tmp/tmp.OfmnbL4zEJ/hr_HR.utf8 751s run-with-locales: ja_JP.utf8... 751s Character set: UTF-8 751s Source file: ja_JP 751s Output: /tmp/tmp.OfmnbL4zEJ/ja_JP.utf8 752s run-with-locales: ja_JP.EUC-JP... 752s Character set: EUC-JP 752s Source file: ja_JP 752s Output: /tmp/tmp.OfmnbL4zEJ/ja_JP.eucjp 753s run-with-locales: lt_LT.utf8... 753s Character set: UTF-8 753s Source file: lt_LT 753s Output: /tmp/tmp.OfmnbL4zEJ/lt_LT.utf8 754s run-with-locales: pl_PL=ISO-8859-2... 754s Character set: ISO-8859-2 754s Source file: pl_PL 754s Output: /tmp/tmp.OfmnbL4zEJ/pl_PL 754s run-with-locales: pl_PL.ISO-8859-2... 754s Character set: ISO-8859-2 754s Source file: pl_PL 754s Output: /tmp/tmp.OfmnbL4zEJ/pl_PL.iso88592 755s run-with-locales: pl_PL.utf8... 755s Character set: UTF-8 755s Source file: pl_PL 755s Output: /tmp/tmp.OfmnbL4zEJ/pl_PL.utf8 756s run-with-locales: ru_RU=ISO-8859-5... 756s Character set: ISO-8859-5 756s Source file: ru_RU 756s Output: /tmp/tmp.OfmnbL4zEJ/ru_RU 757s run-with-locales: ru_RU.utf8... 757s Character set: UTF-8 757s Source file: ru_RU 757s Output: /tmp/tmp.OfmnbL4zEJ/ru_RU.utf8 758s run-with-locales: sr_RS=UTF-8... 758s Character set: UTF-8 758s Source file: sr_RS 758s Output: /tmp/tmp.OfmnbL4zEJ/sr_RS 759s run-with-locales: sr_RS@latin=UTF-8... 759s Character set: UTF-8 759s Source file: sr_RS@latin 759s Output: /tmp/tmp.OfmnbL4zEJ/sr_RS@latin 761s run-with-locales: sv_SE=ISO-8859-1... 761s Character set: ISO-8859-1 761s Source file: sv_SE 761s Output: /tmp/tmp.OfmnbL4zEJ/sv_SE 761s run-with-locales: sv_SE.utf8... 761s Character set: UTF-8 761s Source file: sv_SE 761s Output: /tmp/tmp.OfmnbL4zEJ/sv_SE.utf8 763s run-with-locales: tr_TR=ISO-8859-9... 763s Character set: ISO-8859-9 763s Source file: tr_TR 763s Output: /tmp/tmp.OfmnbL4zEJ/tr_TR 763s run-with-locales: tr_TR.utf8... 763s Character set: UTF-8 763s Source file: tr_TR 763s Output: /tmp/tmp.OfmnbL4zEJ/tr_TR.utf8 764s run-with-locales: tt_RU=UTF-8... 764s Character set: UTF-8 764s Source file: tt_RU 764s Output: /tmp/tmp.OfmnbL4zEJ/tt_RU 766s run-with-locales: tt_RU.utf8... 766s Character set: UTF-8 766s Source file: tt_RU 766s Output: /tmp/tmp.OfmnbL4zEJ/tt_RU.utf8 767s run-with-locales: tt_RU@iqtelif=UTF-8... 767s Character set: UTF-8 767s Source file: tt_RU@iqtelif 767s Output: /tmp/tmp.OfmnbL4zEJ/tt_RU@iqtelif 768s /tmp/tmp.OfmnbL4zEJ 768s /tmp/tmp.OfmnbL4zEJ/ru_RU.utf8 768s /tmp/tmp.OfmnbL4zEJ/ru_RU.utf8/LC_PAPER 768s /tmp/tmp.OfmnbL4zEJ/ru_RU.utf8/LC_MEASUREMENT 768s /tmp/tmp.OfmnbL4zEJ/ru_RU.utf8/LC_MONETARY 768s /tmp/tmp.OfmnbL4zEJ/ru_RU.utf8/LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/ru_RU.utf8/LC_CTYPE 768s /tmp/tmp.OfmnbL4zEJ/ru_RU.utf8/LC_TIME 768s /tmp/tmp.OfmnbL4zEJ/ru_RU.utf8/LC_NAME 768s /tmp/tmp.OfmnbL4zEJ/ru_RU.utf8/LC_COLLATE 768s /tmp/tmp.OfmnbL4zEJ/ru_RU.utf8/LC_TELEPHONE 768s /tmp/tmp.OfmnbL4zEJ/ru_RU.utf8/LC_NUMERIC 768s /tmp/tmp.OfmnbL4zEJ/ru_RU.utf8/LC_IDENTIFICATION 768s /tmp/tmp.OfmnbL4zEJ/ru_RU.utf8/LC_ADDRESS 768s /tmp/tmp.OfmnbL4zEJ/lt_LT.utf8 768s /tmp/tmp.OfmnbL4zEJ/lt_LT.utf8/LC_PAPER 768s /tmp/tmp.OfmnbL4zEJ/lt_LT.utf8/LC_MEASUREMENT 768s /tmp/tmp.OfmnbL4zEJ/lt_LT.utf8/LC_MONETARY 768s /tmp/tmp.OfmnbL4zEJ/lt_LT.utf8/LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/lt_LT.utf8/LC_CTYPE 768s /tmp/tmp.OfmnbL4zEJ/lt_LT.utf8/LC_TIME 768s /tmp/tmp.OfmnbL4zEJ/lt_LT.utf8/LC_NAME 768s /tmp/tmp.OfmnbL4zEJ/lt_LT.utf8/LC_COLLATE 768s /tmp/tmp.OfmnbL4zEJ/lt_LT.utf8/LC_TELEPHONE 768s /tmp/tmp.OfmnbL4zEJ/lt_LT.utf8/LC_NUMERIC 768s /tmp/tmp.OfmnbL4zEJ/lt_LT.utf8/LC_IDENTIFICATION 768s /tmp/tmp.OfmnbL4zEJ/lt_LT.utf8/LC_ADDRESS 768s /tmp/tmp.OfmnbL4zEJ/de_DE@euro.utf8 768s /tmp/tmp.OfmnbL4zEJ/de_DE@euro.utf8/LC_PAPER 768s /tmp/tmp.OfmnbL4zEJ/de_DE@euro.utf8/LC_MEASUREMENT 768s /tmp/tmp.OfmnbL4zEJ/de_DE@euro.utf8/LC_MONETARY 768s /tmp/tmp.OfmnbL4zEJ/de_DE@euro.utf8/LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/de_DE@euro.utf8/LC_CTYPE 768s /tmp/tmp.OfmnbL4zEJ/de_DE@euro.utf8/LC_TIME 768s /tmp/tmp.OfmnbL4zEJ/de_DE@euro.utf8/LC_NAME 768s /tmp/tmp.OfmnbL4zEJ/de_DE@euro.utf8/LC_COLLATE 768s /tmp/tmp.OfmnbL4zEJ/de_DE@euro.utf8/LC_TELEPHONE 768s /tmp/tmp.OfmnbL4zEJ/de_DE@euro.utf8/LC_NUMERIC 768s /tmp/tmp.OfmnbL4zEJ/de_DE@euro.utf8/LC_IDENTIFICATION 768s /tmp/tmp.OfmnbL4zEJ/de_DE@euro.utf8/LC_ADDRESS 768s /tmp/tmp.OfmnbL4zEJ/tr_TR.utf8 768s /tmp/tmp.OfmnbL4zEJ/tr_TR.utf8/LC_PAPER 768s /tmp/tmp.OfmnbL4zEJ/tr_TR.utf8/LC_MEASUREMENT 768s /tmp/tmp.OfmnbL4zEJ/tr_TR.utf8/LC_MONETARY 768s /tmp/tmp.OfmnbL4zEJ/tr_TR.utf8/LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/tr_TR.utf8/LC_CTYPE 768s /tmp/tmp.OfmnbL4zEJ/tr_TR.utf8/LC_TIME 768s /tmp/tmp.OfmnbL4zEJ/tr_TR.utf8/LC_NAME 768s /tmp/tmp.OfmnbL4zEJ/tr_TR.utf8/LC_COLLATE 768s /tmp/tmp.OfmnbL4zEJ/tr_TR.utf8/LC_TELEPHONE 768s /tmp/tmp.OfmnbL4zEJ/tr_TR.utf8/LC_NUMERIC 768s /tmp/tmp.OfmnbL4zEJ/tr_TR.utf8/LC_IDENTIFICATION 768s /tmp/tmp.OfmnbL4zEJ/tr_TR.utf8/LC_ADDRESS 768s /tmp/tmp.OfmnbL4zEJ/sv_SE 768s /tmp/tmp.OfmnbL4zEJ/sv_SE/LC_PAPER 768s /tmp/tmp.OfmnbL4zEJ/sv_SE/LC_MEASUREMENT 768s /tmp/tmp.OfmnbL4zEJ/sv_SE/LC_MONETARY 768s /tmp/tmp.OfmnbL4zEJ/sv_SE/LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/sv_SE/LC_CTYPE 768s /tmp/tmp.OfmnbL4zEJ/sv_SE/LC_TIME 768s /tmp/tmp.OfmnbL4zEJ/sv_SE/LC_NAME 768s /tmp/tmp.OfmnbL4zEJ/sv_SE/LC_COLLATE 768s /tmp/tmp.OfmnbL4zEJ/sv_SE/LC_TELEPHONE 768s /tmp/tmp.OfmnbL4zEJ/sv_SE/LC_NUMERIC 768s /tmp/tmp.OfmnbL4zEJ/sv_SE/LC_IDENTIFICATION 768s /tmp/tmp.OfmnbL4zEJ/sv_SE/LC_ADDRESS 768s /tmp/tmp.OfmnbL4zEJ/de_DE.utf8 768s /tmp/tmp.OfmnbL4zEJ/de_DE.utf8/LC_PAPER 768s /tmp/tmp.OfmnbL4zEJ/de_DE.utf8/LC_MEASUREMENT 768s /tmp/tmp.OfmnbL4zEJ/de_DE.utf8/LC_MONETARY 768s /tmp/tmp.OfmnbL4zEJ/de_DE.utf8/LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/de_DE.utf8/LC_CTYPE 768s /tmp/tmp.OfmnbL4zEJ/de_DE.utf8/LC_TIME 768s /tmp/tmp.OfmnbL4zEJ/de_DE.utf8/LC_NAME 768s /tmp/tmp.OfmnbL4zEJ/de_DE.utf8/LC_COLLATE 768s /tmp/tmp.OfmnbL4zEJ/de_DE.utf8/LC_TELEPHONE 768s /tmp/tmp.OfmnbL4zEJ/de_DE.utf8/LC_NUMERIC 768s /tmp/tmp.OfmnbL4zEJ/de_DE.utf8/LC_IDENTIFICATION 768s /tmp/tmp.OfmnbL4zEJ/de_DE.utf8/LC_ADDRESS 768s /tmp/tmp.OfmnbL4zEJ/en_US 768s /tmp/tmp.OfmnbL4zEJ/en_US/LC_PAPER 768s /tmp/tmp.OfmnbL4zEJ/en_US/LC_MEASUREMENT 768s /tmp/tmp.OfmnbL4zEJ/en_US/LC_MONETARY 768s /tmp/tmp.OfmnbL4zEJ/en_US/LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/en_US/LC_MESSAGES/SYS_LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/en_US/LC_CTYPE 768s /tmp/tmp.OfmnbL4zEJ/en_US/LC_TIME 768s /tmp/tmp.OfmnbL4zEJ/en_US/LC_NAME 768s /tmp/tmp.OfmnbL4zEJ/en_US/LC_COLLATE 768s /tmp/tmp.OfmnbL4zEJ/en_US/LC_TELEPHONE 768s /tmp/tmp.OfmnbL4zEJ/en_US/LC_NUMERIC 768s /tmp/tmp.OfmnbL4zEJ/en_US/LC_IDENTIFICATION 768s /tmp/tmp.OfmnbL4zEJ/en_US/LC_ADDRESS 768s /tmp/tmp.OfmnbL4zEJ/tt_RU.utf8 768s /tmp/tmp.OfmnbL4zEJ/tt_RU.utf8/LC_PAPER 768s /tmp/tmp.OfmnbL4zEJ/tt_RU.utf8/LC_MEASUREMENT 768s /tmp/tmp.OfmnbL4zEJ/tt_RU.utf8/LC_MONETARY 768s /tmp/tmp.OfmnbL4zEJ/tt_RU.utf8/LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/tt_RU.utf8/LC_CTYPE 768s /tmp/tmp.OfmnbL4zEJ/tt_RU.utf8/LC_TIME 768s /tmp/tmp.OfmnbL4zEJ/tt_RU.utf8/LC_NAME 768s /tmp/tmp.OfmnbL4zEJ/tt_RU.utf8/LC_COLLATE 768s /tmp/tmp.OfmnbL4zEJ/tt_RU.utf8/LC_TELEPHONE 768s /tmp/tmp.OfmnbL4zEJ/tt_RU.utf8/LC_NUMERIC 768s /tmp/tmp.OfmnbL4zEJ/tt_RU.utf8/LC_IDENTIFICATION 768s /tmp/tmp.OfmnbL4zEJ/tt_RU.utf8/LC_ADDRESS 768s /tmp/tmp.OfmnbL4zEJ/hr_HR.utf8 768s /tmp/tmp.OfmnbL4zEJ/hr_HR.utf8/LC_PAPER 768s /tmp/tmp.OfmnbL4zEJ/hr_HR.utf8/LC_MEASUREMENT 768s /tmp/tmp.OfmnbL4zEJ/hr_HR.utf8/LC_MONETARY 768s /tmp/tmp.OfmnbL4zEJ/hr_HR.utf8/LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/hr_HR.utf8/LC_CTYPE 768s /tmp/tmp.OfmnbL4zEJ/hr_HR.utf8/LC_TIME 768s /tmp/tmp.OfmnbL4zEJ/hr_HR.utf8/LC_NAME 768s /tmp/tmp.OfmnbL4zEJ/hr_HR.utf8/LC_COLLATE 768s /tmp/tmp.OfmnbL4zEJ/hr_HR.utf8/LC_TELEPHONE 768s /tmp/tmp.OfmnbL4zEJ/hr_HR.utf8/LC_NUMERIC 768s /tmp/tmp.OfmnbL4zEJ/hr_HR.utf8/LC_IDENTIFICATION 768s /tmp/tmp.OfmnbL4zEJ/hr_HR.utf8/LC_ADDRESS 768s /tmp/tmp.OfmnbL4zEJ/fr_FR.utf8 768s /tmp/tmp.OfmnbL4zEJ/fr_FR.utf8/LC_PAPER 768s /tmp/tmp.OfmnbL4zEJ/fr_FR.utf8/LC_MEASUREMENT 768s /tmp/tmp.OfmnbL4zEJ/fr_FR.utf8/LC_MONETARY 768s /tmp/tmp.OfmnbL4zEJ/fr_FR.utf8/LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/fr_FR.utf8/LC_CTYPE 768s /tmp/tmp.OfmnbL4zEJ/fr_FR.utf8/LC_TIME 768s /tmp/tmp.OfmnbL4zEJ/fr_FR.utf8/LC_NAME 768s /tmp/tmp.OfmnbL4zEJ/fr_FR.utf8/LC_COLLATE 768s /tmp/tmp.OfmnbL4zEJ/fr_FR.utf8/LC_TELEPHONE 768s /tmp/tmp.OfmnbL4zEJ/fr_FR.utf8/LC_NUMERIC 768s /tmp/tmp.OfmnbL4zEJ/fr_FR.utf8/LC_IDENTIFICATION 768s /tmp/tmp.OfmnbL4zEJ/fr_FR.utf8/LC_ADDRESS 768s /tmp/tmp.OfmnbL4zEJ/tt_RU@iqtelif 768s /tmp/tmp.OfmnbL4zEJ/tt_RU@iqtelif/LC_PAPER 768s /tmp/tmp.OfmnbL4zEJ/tt_RU@iqtelif/LC_MEASUREMENT 768s /tmp/tmp.OfmnbL4zEJ/tt_RU@iqtelif/LC_MONETARY 768s /tmp/tmp.OfmnbL4zEJ/tt_RU@iqtelif/LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/tt_RU@iqtelif/LC_CTYPE 768s /tmp/tmp.OfmnbL4zEJ/tt_RU@iqtelif/LC_TIME 768s /tmp/tmp.OfmnbL4zEJ/tt_RU@iqtelif/LC_NAME 768s /tmp/tmp.OfmnbL4zEJ/tt_RU@iqtelif/LC_COLLATE 768s /tmp/tmp.OfmnbL4zEJ/tt_RU@iqtelif/LC_TELEPHONE 768s /tmp/tmp.OfmnbL4zEJ/tt_RU@iqtelif/LC_NUMERIC 768s /tmp/tmp.OfmnbL4zEJ/tt_RU@iqtelif/LC_IDENTIFICATION 768s /tmp/tmp.OfmnbL4zEJ/tt_RU@iqtelif/LC_ADDRESS 768s /tmp/tmp.OfmnbL4zEJ/es_ES.utf8 768s /tmp/tmp.OfmnbL4zEJ/es_ES.utf8/LC_PAPER 768s /tmp/tmp.OfmnbL4zEJ/es_ES.utf8/LC_MEASUREMENT 768s /tmp/tmp.OfmnbL4zEJ/es_ES.utf8/LC_MONETARY 768s /tmp/tmp.OfmnbL4zEJ/es_ES.utf8/LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/es_ES.utf8/LC_CTYPE 768s /tmp/tmp.OfmnbL4zEJ/es_ES.utf8/LC_TIME 768s /tmp/tmp.OfmnbL4zEJ/es_ES.utf8/LC_NAME 768s /tmp/tmp.OfmnbL4zEJ/es_ES.utf8/LC_COLLATE 768s /tmp/tmp.OfmnbL4zEJ/es_ES.utf8/LC_TELEPHONE 768s /tmp/tmp.OfmnbL4zEJ/es_ES.utf8/LC_NUMERIC 768s /tmp/tmp.OfmnbL4zEJ/es_ES.utf8/LC_IDENTIFICATION 768s /tmp/tmp.OfmnbL4zEJ/es_ES.utf8/LC_ADDRESS 768s /tmp/tmp.OfmnbL4zEJ/fa_IR 768s /tmp/tmp.OfmnbL4zEJ/fa_IR/LC_PAPER 768s /tmp/tmp.OfmnbL4zEJ/fa_IR/LC_MEASUREMENT 768s /tmp/tmp.OfmnbL4zEJ/fa_IR/LC_MONETARY 768s /tmp/tmp.OfmnbL4zEJ/fa_IR/LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/fa_IR/LC_CTYPE 768s /tmp/tmp.OfmnbL4zEJ/fa_IR/LC_TIME 768s /tmp/tmp.OfmnbL4zEJ/fa_IR/LC_NAME 768s /tmp/tmp.OfmnbL4zEJ/fa_IR/LC_COLLATE 768s /tmp/tmp.OfmnbL4zEJ/fa_IR/LC_TELEPHONE 768s /tmp/tmp.OfmnbL4zEJ/fa_IR/LC_NUMERIC 768s /tmp/tmp.OfmnbL4zEJ/fa_IR/LC_IDENTIFICATION 768s /tmp/tmp.OfmnbL4zEJ/fa_IR/LC_ADDRESS 768s /tmp/tmp.OfmnbL4zEJ/tt_RU 768s /tmp/tmp.OfmnbL4zEJ/tt_RU/LC_PAPER 768s /tmp/tmp.OfmnbL4zEJ/tt_RU/LC_MEASUREMENT 768s /tmp/tmp.OfmnbL4zEJ/tt_RU/LC_MONETARY 768s /tmp/tmp.OfmnbL4zEJ/tt_RU/LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/tt_RU/LC_CTYPE 768s /tmp/tmp.OfmnbL4zEJ/tt_RU/LC_TIME 768s /tmp/tmp.OfmnbL4zEJ/tt_RU/LC_NAME 768s /tmp/tmp.OfmnbL4zEJ/tt_RU/LC_COLLATE 768s /tmp/tmp.OfmnbL4zEJ/tt_RU/LC_TELEPHONE 768s /tmp/tmp.OfmnbL4zEJ/tt_RU/LC_NUMERIC 768s /tmp/tmp.OfmnbL4zEJ/tt_RU/LC_IDENTIFICATION 768s /tmp/tmp.OfmnbL4zEJ/tt_RU/LC_ADDRESS 768s /tmp/tmp.OfmnbL4zEJ/pl_PL.utf8 768s /tmp/tmp.OfmnbL4zEJ/pl_PL.utf8/LC_PAPER 768s /tmp/tmp.OfmnbL4zEJ/pl_PL.utf8/LC_MEASUREMENT 768s /tmp/tmp.OfmnbL4zEJ/pl_PL.utf8/LC_MONETARY 768s /tmp/tmp.OfmnbL4zEJ/pl_PL.utf8/LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/pl_PL.utf8/LC_CTYPE 768s /tmp/tmp.OfmnbL4zEJ/pl_PL.utf8/LC_TIME 768s /tmp/tmp.OfmnbL4zEJ/pl_PL.utf8/LC_NAME 768s /tmp/tmp.OfmnbL4zEJ/pl_PL.utf8/LC_COLLATE 768s /tmp/tmp.OfmnbL4zEJ/pl_PL.utf8/LC_TELEPHONE 768s /tmp/tmp.OfmnbL4zEJ/pl_PL.utf8/LC_NUMERIC 768s /tmp/tmp.OfmnbL4zEJ/pl_PL.utf8/LC_IDENTIFICATION 768s /tmp/tmp.OfmnbL4zEJ/pl_PL.utf8/LC_ADDRESS 768s /tmp/tmp.OfmnbL4zEJ/fa_IR.utf8 768s /tmp/tmp.OfmnbL4zEJ/fa_IR.utf8/LC_PAPER 768s /tmp/tmp.OfmnbL4zEJ/fa_IR.utf8/LC_MEASUREMENT 768s /tmp/tmp.OfmnbL4zEJ/fa_IR.utf8/LC_MONETARY 768s /tmp/tmp.OfmnbL4zEJ/fa_IR.utf8/LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/fa_IR.utf8/LC_CTYPE 768s /tmp/tmp.OfmnbL4zEJ/fa_IR.utf8/LC_TIME 768s /tmp/tmp.OfmnbL4zEJ/fa_IR.utf8/LC_NAME 768s /tmp/tmp.OfmnbL4zEJ/fa_IR.utf8/LC_COLLATE 768s /tmp/tmp.OfmnbL4zEJ/fa_IR.utf8/LC_TELEPHONE 768s /tmp/tmp.OfmnbL4zEJ/fa_IR.utf8/LC_NUMERIC 768s /tmp/tmp.OfmnbL4zEJ/fa_IR.utf8/LC_IDENTIFICATION 768s /tmp/tmp.OfmnbL4zEJ/fa_IR.utf8/LC_ADDRESS 768s /tmp/tmp.OfmnbL4zEJ/ru_RU 768s /tmp/tmp.OfmnbL4zEJ/ru_RU/LC_PAPER 768s /tmp/tmp.OfmnbL4zEJ/ru_RU/LC_MEASUREMENT 768s /tmp/tmp.OfmnbL4zEJ/ru_RU/LC_MONETARY 768s /tmp/tmp.OfmnbL4zEJ/ru_RU/LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/ru_RU/LC_CTYPE 768s /tmp/tmp.OfmnbL4zEJ/ru_RU/LC_TIME 768s /tmp/tmp.OfmnbL4zEJ/ru_RU/LC_NAME 768s /tmp/tmp.OfmnbL4zEJ/ru_RU/LC_COLLATE 768s /tmp/tmp.OfmnbL4zEJ/ru_RU/LC_TELEPHONE 768s /tmp/tmp.OfmnbL4zEJ/ru_RU/LC_NUMERIC 768s /tmp/tmp.OfmnbL4zEJ/ru_RU/LC_IDENTIFICATION 768s /tmp/tmp.OfmnbL4zEJ/ru_RU/LC_ADDRESS 768s /tmp/tmp.OfmnbL4zEJ/pl_PL 768s /tmp/tmp.OfmnbL4zEJ/pl_PL/LC_PAPER 768s /tmp/tmp.OfmnbL4zEJ/pl_PL/LC_MEASUREMENT 768s /tmp/tmp.OfmnbL4zEJ/pl_PL/LC_MONETARY 768s /tmp/tmp.OfmnbL4zEJ/pl_PL/LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/pl_PL/LC_CTYPE 768s /tmp/tmp.OfmnbL4zEJ/pl_PL/LC_TIME 768s /tmp/tmp.OfmnbL4zEJ/pl_PL/LC_NAME 768s /tmp/tmp.OfmnbL4zEJ/pl_PL/LC_COLLATE 768s /tmp/tmp.OfmnbL4zEJ/pl_PL/LC_TELEPHONE 768s /tmp/tmp.OfmnbL4zEJ/pl_PL/LC_NUMERIC 768s /tmp/tmp.OfmnbL4zEJ/pl_PL/LC_IDENTIFICATION 768s /tmp/tmp.OfmnbL4zEJ/pl_PL/LC_ADDRESS 768s /tmp/tmp.OfmnbL4zEJ/pl_PL.iso88592 768s /tmp/tmp.OfmnbL4zEJ/pl_PL.iso88592/LC_PAPER 768s /tmp/tmp.OfmnbL4zEJ/pl_PL.iso88592/LC_MEASUREMENT 768s /tmp/tmp.OfmnbL4zEJ/pl_PL.iso88592/LC_MONETARY 768s /tmp/tmp.OfmnbL4zEJ/pl_PL.iso88592/LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/pl_PL.iso88592/LC_CTYPE 768s /tmp/tmp.OfmnbL4zEJ/pl_PL.iso88592/LC_TIME 768s /tmp/tmp.OfmnbL4zEJ/pl_PL.iso88592/LC_NAME 768s /tmp/tmp.OfmnbL4zEJ/pl_PL.iso88592/LC_COLLATE 768s /tmp/tmp.OfmnbL4zEJ/pl_PL.iso88592/LC_TELEPHONE 768s /tmp/tmp.OfmnbL4zEJ/pl_PL.iso88592/LC_NUMERIC 768s /tmp/tmp.OfmnbL4zEJ/pl_PL.iso88592/LC_IDENTIFICATION 768s /tmp/tmp.OfmnbL4zEJ/pl_PL.iso88592/LC_ADDRESS 768s /tmp/tmp.OfmnbL4zEJ/en_GB.utf8 768s /tmp/tmp.OfmnbL4zEJ/en_GB.utf8/LC_PAPER 768s /tmp/tmp.OfmnbL4zEJ/en_GB.utf8/LC_MEASUREMENT 768s /tmp/tmp.OfmnbL4zEJ/en_GB.utf8/LC_MONETARY 768s /tmp/tmp.OfmnbL4zEJ/en_GB.utf8/LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/en_GB.utf8/LC_CTYPE 768s /tmp/tmp.OfmnbL4zEJ/en_GB.utf8/LC_TIME 768s /tmp/tmp.OfmnbL4zEJ/en_GB.utf8/LC_NAME 768s /tmp/tmp.OfmnbL4zEJ/en_GB.utf8/LC_COLLATE 768s /tmp/tmp.OfmnbL4zEJ/en_GB.utf8/LC_TELEPHONE 768s /tmp/tmp.OfmnbL4zEJ/en_GB.utf8/LC_NUMERIC 768s /tmp/tmp.OfmnbL4zEJ/en_GB.utf8/LC_IDENTIFICATION 768s /tmp/tmp.OfmnbL4zEJ/en_GB.utf8/LC_ADDRESS 768s /tmp/tmp.OfmnbL4zEJ/sr_RS 768s /tmp/tmp.OfmnbL4zEJ/sr_RS/LC_PAPER 768s /tmp/tmp.OfmnbL4zEJ/sr_RS/LC_MEASUREMENT 768s /tmp/tmp.OfmnbL4zEJ/sr_RS/LC_MONETARY 768s /tmp/tmp.OfmnbL4zEJ/sr_RS/LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/sr_RS/LC_CTYPE 768s /tmp/tmp.OfmnbL4zEJ/sr_RS/LC_TIME 768s /tmp/tmp.OfmnbL4zEJ/sr_RS/LC_NAME 768s /tmp/tmp.OfmnbL4zEJ/sr_RS/LC_COLLATE 768s /tmp/tmp.OfmnbL4zEJ/sr_RS/LC_TELEPHONE 768s /tmp/tmp.OfmnbL4zEJ/sr_RS/LC_NUMERIC 768s /tmp/tmp.OfmnbL4zEJ/sr_RS/LC_IDENTIFICATION 768s /tmp/tmp.OfmnbL4zEJ/sr_RS/LC_ADDRESS 768s /tmp/tmp.OfmnbL4zEJ/tr_TR 768s /tmp/tmp.OfmnbL4zEJ/tr_TR/LC_PAPER 768s /tmp/tmp.OfmnbL4zEJ/tr_TR/LC_MEASUREMENT 768s /tmp/tmp.OfmnbL4zEJ/tr_TR/LC_MONETARY 768s /tmp/tmp.OfmnbL4zEJ/tr_TR/LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/tr_TR/LC_CTYPE 768s /tmp/tmp.OfmnbL4zEJ/tr_TR/LC_TIME 768s /tmp/tmp.OfmnbL4zEJ/tr_TR/LC_NAME 768s /tmp/tmp.OfmnbL4zEJ/tr_TR/LC_COLLATE 768s /tmp/tmp.OfmnbL4zEJ/tr_TR/LC_TELEPHONE 768s /tmp/tmp.OfmnbL4zEJ/tr_TR/LC_NUMERIC 768s /tmp/tmp.OfmnbL4zEJ/tr_TR/LC_IDENTIFICATION 768s /tmp/tmp.OfmnbL4zEJ/tr_TR/LC_ADDRESS 768s /tmp/tmp.OfmnbL4zEJ/en_US.utf8 768s /tmp/tmp.OfmnbL4zEJ/en_US.utf8/LC_PAPER 768s /tmp/tmp.OfmnbL4zEJ/en_US.utf8/LC_MEASUREMENT 768s /tmp/tmp.OfmnbL4zEJ/en_US.utf8/LC_MONETARY 768s /tmp/tmp.OfmnbL4zEJ/en_US.utf8/LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/en_US.utf8/LC_CTYPE 768s /tmp/tmp.OfmnbL4zEJ/en_US.utf8/LC_TIME 768s /tmp/tmp.OfmnbL4zEJ/en_US.utf8/LC_NAME 768s /tmp/tmp.OfmnbL4zEJ/en_US.utf8/LC_COLLATE 768s /tmp/tmp.OfmnbL4zEJ/en_US.utf8/LC_TELEPHONE 768s /tmp/tmp.OfmnbL4zEJ/en_US.utf8/LC_NUMERIC 768s /tmp/tmp.OfmnbL4zEJ/en_US.utf8/LC_IDENTIFICATION 768s /tmp/tmp.OfmnbL4zEJ/en_US.utf8/LC_ADDRESS 768s /tmp/tmp.OfmnbL4zEJ/de_DE 768s /tmp/tmp.OfmnbL4zEJ/de_DE/LC_PAPER 768s /tmp/tmp.OfmnbL4zEJ/de_DE/LC_MEASUREMENT 768s /tmp/tmp.OfmnbL4zEJ/de_DE/LC_MONETARY 768s /tmp/tmp.OfmnbL4zEJ/de_DE/LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/de_DE/LC_CTYPE 768s /tmp/tmp.OfmnbL4zEJ/de_DE/LC_TIME 768s /tmp/tmp.OfmnbL4zEJ/de_DE/LC_NAME 768s /tmp/tmp.OfmnbL4zEJ/de_DE/LC_COLLATE 768s /tmp/tmp.OfmnbL4zEJ/de_DE/LC_TELEPHONE 768s /tmp/tmp.OfmnbL4zEJ/de_DE/LC_NUMERIC 768s /tmp/tmp.OfmnbL4zEJ/de_DE/LC_IDENTIFICATION 768s /tmp/tmp.OfmnbL4zEJ/de_DE/LC_ADDRESS 768s /tmp/tmp.OfmnbL4zEJ/ja_JP.eucjp 768s /tmp/tmp.OfmnbL4zEJ/ja_JP.eucjp/LC_PAPER 768s /tmp/tmp.OfmnbL4zEJ/ja_JP.eucjp/LC_MEASUREMENT 768s /tmp/tmp.OfmnbL4zEJ/ja_JP.eucjp/LC_MONETARY 768s /tmp/tmp.OfmnbL4zEJ/ja_JP.eucjp/LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/ja_JP.eucjp/LC_CTYPE 768s /tmp/tmp.OfmnbL4zEJ/ja_JP.eucjp/LC_TIME 768s /tmp/tmp.OfmnbL4zEJ/ja_JP.eucjp/LC_NAME 768s /tmp/tmp.OfmnbL4zEJ/ja_JP.eucjp/LC_COLLATE 768s /tmp/tmp.OfmnbL4zEJ/ja_JP.eucjp/LC_TELEPHONE 768s /tmp/tmp.OfmnbL4zEJ/ja_JP.eucjp/LC_NUMERIC 768s /tmp/tmp.OfmnbL4zEJ/ja_JP.eucjp/LC_IDENTIFICATION 768s /tmp/tmp.OfmnbL4zEJ/ja_JP.eucjp/LC_ADDRESS 768s /tmp/tmp.OfmnbL4zEJ/ja_JP.utf8 768s /tmp/tmp.OfmnbL4zEJ/ja_JP.utf8/LC_PAPER 768s /tmp/tmp.OfmnbL4zEJ/ja_JP.utf8/LC_MEASUREMENT 768s /tmp/tmp.OfmnbL4zEJ/ja_JP.utf8/LC_MONETARY 768s /tmp/tmp.OfmnbL4zEJ/ja_JP.utf8/LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/ja_JP.utf8/LC_CTYPE 768s /tmp/tmp.OfmnbL4zEJ/ja_JP.utf8/LC_TIME 768s /tmp/tmp.OfmnbL4zEJ/ja_JP.utf8/LC_NAME 768s /tmp/tmp.OfmnbL4zEJ/ja_JP.utf8/LC_COLLATE 768s /tmp/tmp.OfmnbL4zEJ/ja_JP.utf8/LC_TELEPHONE 768s /tmp/tmp.OfmnbL4zEJ/ja_JP.utf8/LC_NUMERIC 768s /tmp/tmp.OfmnbL4zEJ/ja_JP.utf8/LC_IDENTIFICATION 768s /tmp/tmp.OfmnbL4zEJ/ja_JP.utf8/LC_ADDRESS 768s /tmp/tmp.OfmnbL4zEJ/en_GB 768s /tmp/tmp.OfmnbL4zEJ/en_GB/LC_PAPER 768s /tmp/tmp.OfmnbL4zEJ/en_GB/LC_MEASUREMENT 768s /tmp/tmp.OfmnbL4zEJ/en_GB/LC_MONETARY 768s /tmp/tmp.OfmnbL4zEJ/en_GB/LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/en_GB/LC_CTYPE 768s /tmp/tmp.OfmnbL4zEJ/en_GB/LC_TIME 768s /tmp/tmp.OfmnbL4zEJ/en_GB/LC_NAME 768s /tmp/tmp.OfmnbL4zEJ/en_GB/LC_COLLATE 768s /tmp/tmp.OfmnbL4zEJ/en_GB/LC_TELEPHONE 768s /tmp/tmp.OfmnbL4zEJ/en_GB/LC_NUMERIC 768s /tmp/tmp.OfmnbL4zEJ/en_GB/LC_IDENTIFICATION 768s /tmp/tmp.OfmnbL4zEJ/en_GB/LC_ADDRESS 768s /tmp/tmp.OfmnbL4zEJ/el_GR.utf8 768s /tmp/tmp.OfmnbL4zEJ/el_GR.utf8/LC_PAPER 768s /tmp/tmp.OfmnbL4zEJ/el_GR.utf8/LC_MEASUREMENT 768s /tmp/tmp.OfmnbL4zEJ/el_GR.utf8/LC_MONETARY 768s /tmp/tmp.OfmnbL4zEJ/el_GR.utf8/LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/el_GR.utf8/LC_CTYPE 768s /tmp/tmp.OfmnbL4zEJ/el_GR.utf8/LC_TIME 768s /tmp/tmp.OfmnbL4zEJ/el_GR.utf8/LC_NAME 768s /tmp/tmp.OfmnbL4zEJ/el_GR.utf8/LC_COLLATE 768s /tmp/tmp.OfmnbL4zEJ/el_GR.utf8/LC_TELEPHONE 768s /tmp/tmp.OfmnbL4zEJ/el_GR.utf8/LC_NUMERIC 768s /tmp/tmp.OfmnbL4zEJ/el_GR.utf8/LC_IDENTIFICATION 768s /tmp/tmp.OfmnbL4zEJ/el_GR.utf8/LC_ADDRESS 768s /tmp/tmp.OfmnbL4zEJ/sr_RS@latin 768s /tmp/tmp.OfmnbL4zEJ/sr_RS@latin/LC_PAPER 768s /tmp/tmp.OfmnbL4zEJ/sr_RS@latin/LC_MEASUREMENT 768s /tmp/tmp.OfmnbL4zEJ/sr_RS@latin/LC_MONETARY 768s /tmp/tmp.OfmnbL4zEJ/sr_RS@latin/LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/sr_RS@latin/LC_CTYPE 768s /tmp/tmp.OfmnbL4zEJ/sr_RS@latin/LC_TIME 768s /tmp/tmp.OfmnbL4zEJ/sr_RS@latin/LC_NAME 768s /tmp/tmp.OfmnbL4zEJ/sr_RS@latin/LC_COLLATE 768s /tmp/tmp.OfmnbL4zEJ/sr_RS@latin/LC_TELEPHONE 768s /tmp/tmp.OfmnbL4zEJ/sr_RS@latin/LC_NUMERIC 768s /tmp/tmp.OfmnbL4zEJ/sr_RS@latin/LC_IDENTIFICATION 768s /tmp/tmp.OfmnbL4zEJ/sr_RS@latin/LC_ADDRESS 768s /tmp/tmp.OfmnbL4zEJ/sv_SE.utf8 768s /tmp/tmp.OfmnbL4zEJ/sv_SE.utf8/LC_PAPER 768s /tmp/tmp.OfmnbL4zEJ/sv_SE.utf8/LC_MEASUREMENT 768s /tmp/tmp.OfmnbL4zEJ/sv_SE.utf8/LC_MONETARY 768s /tmp/tmp.OfmnbL4zEJ/sv_SE.utf8/LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 768s /tmp/tmp.OfmnbL4zEJ/sv_SE.utf8/LC_CTYPE 768s /tmp/tmp.OfmnbL4zEJ/sv_SE.utf8/LC_TIME 768s /tmp/tmp.OfmnbL4zEJ/sv_SE.utf8/LC_NAME 768s /tmp/tmp.OfmnbL4zEJ/sv_SE.utf8/LC_COLLATE 768s /tmp/tmp.OfmnbL4zEJ/sv_SE.utf8/LC_TELEPHONE 768s /tmp/tmp.OfmnbL4zEJ/sv_SE.utf8/LC_NUMERIC 768s /tmp/tmp.OfmnbL4zEJ/sv_SE.utf8/LC_IDENTIFICATION 768s /tmp/tmp.OfmnbL4zEJ/sv_SE.utf8/LC_ADDRESS 768s 1..319 768s # Running test: glib/static-link.test 768s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 768s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 768s and make sure you have glib build dependencies installed, including 768s meson. 768s ok # SKIP - glib/static-link.test 768s # Running test: glib/markup-escape.test 768s TAP version 14 768s # random seed: R02S9c0fc3c8d9b4b0467fa97c5bd920842f 768s 1..41 768s # Start of markup tests 768s ok 1 /markup/format 768s # Start of escape-text tests 768s ok 2 /markup/escape-text/0 768s ok 3 /markup/escape-text/1 768s ok 4 /markup/escape-text/2 768s ok 5 /markup/escape-text/3 768s ok 6 /markup/escape-text/4 768s ok 7 /markup/escape-text/5 768s ok 8 /markup/escape-text/6 768s ok 9 /markup/escape-text/7 768s ok 10 /markup/escape-text/8 768s ok 11 /markup/escape-text/9 768s ok 12 /markup/escape-text/10 768s ok 13 /markup/escape-text/11 768s ok 14 /markup/escape-text/12 768s ok 15 /markup/escape-text/13 768s ok 16 /markup/escape-text/14 768s ok 17 /markup/escape-text/15 768s ok 18 /markup/escape-text/16 768s ok 19 /markup/escape-text/17 768s ok 20 /markup/escape-text/18 768s ok 21 /markup/escape-text/19 768s ok 22 /markup/escape-text/20 768s ok 23 /markup/escape-text/21 768s ok 24 /markup/escape-text/22 768s # End of escape-text tests 768s # Start of escape-unichar tests 768s ok 25 /markup/escape-unichar/0 768s ok 26 /markup/escape-unichar/1 768s ok 27 /markup/escape-unichar/2 768s ok 28 /markup/escape-unichar/3 768s ok 29 /markup/escape-unichar/4 768s ok 30 /markup/escape-unichar/5 768s ok 31 /markup/escape-unichar/6 768s ok 32 /markup/escape-unichar/7 768s ok 33 /markup/escape-unichar/8 768s ok 34 /markup/escape-unichar/9 768s ok 35 /markup/escape-unichar/10 768s ok 36 /markup/escape-unichar/11 768s ok 37 /markup/escape-unichar/12 768s ok 38 /markup/escape-unichar/13 768s ok 39 /markup/escape-unichar/14 768s ok 40 /markup/escape-unichar/15 768s ok 41 /markup/escape-unichar/16 768s # End of escape-unichar tests 768s # End of markup tests 768s ok - glib/markup-escape.test 768s # Running test: glib/io-channel.test 768s TAP version 14 768s # random seed: R02S323db7f7100ad83d644ebb7b38e5c5b5 768s 1..2 768s # Start of io-channel tests 768s # Line one 768s # 768s # Line two 768s # 768s # Line three 768s # 768s # /* Hello */ 768s # 768s # \x1234\x567890\x6666 768s # 768s # read 62 bytes, wrote 62 bytes 768s ok 1 /io-channel/read-write 768s # Start of read-line tests 768s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 768s ok 2 /io-channel/read-line/embedded-nuls 768s # End of read-line tests 768s # End of io-channel tests 768s ok - glib/io-channel.test 768s # Running test: glib/param.test 768s TAP version 14 768s # random seed: R02S3b90601921eff9f077905b55869a98f8 768s 1..32 768s # Start of param tests 768s ok 1 /param/value 768s ok 2 /param/strings 768s ok 3 /param/qdata 768s ok 4 /param/validate 768s ok 5 /param/convert 768s ok 6 /param/implement # SKIP Skipping slow /param/implement test 768s ok 7 /param/default 768s ok 8 /param/is-valid-name 768s # Start of invalid-name tests 768s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 768s ok 9 /param/invalid-name/colon 768s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 768s ok 10 /param/invalid-name/first-char 768s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 769s ok 11 /param/invalid-name/empty 769s # End of invalid-name tests 769s # Start of implement tests 769s # Start of subprocess tests 769s # End of subprocess tests 769s # End of implement tests 769s # End of param tests 769s # Start of value tests 769s ok 12 /value/transform 769s # End of value tests 769s # Start of paramspec tests 769s ok 13 /paramspec/char 769s ok 14 /paramspec/uchar 769s ok 15 /paramspec/int 769s ok 16 /paramspec/uint 769s ok 17 /paramspec/long 769s ok 18 /paramspec/ulong 769s ok 19 /paramspec/int64 769s ok 20 /paramspec/uint64 769s ok 21 /paramspec/float 769s ok 22 /paramspec/double 769s ok 23 /paramspec/unichar 769s ok 24 /paramspec/param 769s ok 25 /paramspec/null-param 769s ok 26 /paramspec/string 769s ok 27 /paramspec/override 769s ok 28 /paramspec/gtype 769s ok 29 /paramspec/variant 769s ok 30 /paramspec/custom 769s ok 31 /paramspec/pool 769s # Start of variant tests 769s ok 32 /paramspec/variant/cmp 769s # End of variant tests 769s # End of paramspec tests 769s ok - glib/param.test 769s # Running test: glib/cxx-03.test 769s TAP version 14 769s # random seed: R02S7def2900d04f3aa69f2000a375f5cd05 769s 1..2 769s # Start of gtask tests 769s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 769s ok 1 /gtask/name 769s # Start of name tests 769s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 769s ok 2 /gtask/name/macro-wrapper 769s # End of name tests 769s # End of gtask tests 769s ok - glib/cxx-03.test 769s # Running test: glib/unix-mounts.test 769s TAP version 14 769s # random seed: R02Sdf21f0a6d573a1b866a43401e3896eea 769s 1..4 769s # Start of unix-mounts tests 769s ok 1 /unix-mounts/is-system-fs-type 769s ok 2 /unix-mounts/is-system-device-path 769s # /unix-mounts/get-mount-points summary: Basic test of g_unix_mount_points_get_from_file() 769s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 769s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 769s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 769s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 769s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 769s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 769s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 769s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 769s ok 3 /unix-mounts/get-mount-points 769s # /unix-mounts/get-mount-entries summary: Basic test of g_unix_mounts_get_from_file() 769s ok 4 /unix-mounts/get-mount-entries 769s # End of unix-mounts tests 769s ok - glib/unix-mounts.test 769s # Running test: glib/testfilemonitor.test 769s TAP version 14 769s # random seed: R02S90cf3a908d69b976f904c33e78ce0a5e 769s 1..8 769s # Start of monitor tests 769s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 769s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 769s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 769s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 769s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 769s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 769s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 769s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 769s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 769s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 769s # Start of file tests 769s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 769s # End of file tests 769s # End of monitor tests 769s ok - glib/testfilemonitor.test 769s # Running test: glib/gdbus-auth.test 769s TAP version 14 769s # random seed: R02S227999c3260597712be57338ff44befb 769s 1..5 769s # Start of gdbus tests 769s # Start of auth tests 769s # Start of client tests 769s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_3XS3Z2/gdbus/auth/client/EXTERNAL/.dirs/home 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_3XS3Z2/gdbus/auth/client/EXTERNAL/.dirs/cache 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_3XS3Z2/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_3XS3Z2/gdbus/auth/client/EXTERNAL/.dirs/system-config2 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_3XS3Z2/gdbus/auth/client/EXTERNAL/.dirs/config 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_3XS3Z2/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_3XS3Z2/gdbus/auth/client/EXTERNAL/.dirs/system-data2 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_3XS3Z2/gdbus/auth/client/EXTERNAL/.dirs/data 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_3XS3Z2/gdbus/auth/client/EXTERNAL/.dirs/state 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_3XS3Z2/gdbus/auth/client/EXTERNAL/.dirs/runtime 769s ok 1 /gdbus/auth/client/EXTERNAL 769s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_3XS3Z2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_3XS3Z2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_3XS3Z2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_3XS3Z2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_3XS3Z2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_3XS3Z2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_3XS3Z2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_3XS3Z2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_3XS3Z2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_3XS3Z2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 769s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 769s # End of client tests 769s # Start of server tests 769s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_3XS3Z2/gdbus/auth/server/ANONYMOUS/.dirs/home 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_3XS3Z2/gdbus/auth/server/ANONYMOUS/.dirs/cache 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_3XS3Z2/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_3XS3Z2/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_3XS3Z2/gdbus/auth/server/ANONYMOUS/.dirs/config 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_3XS3Z2/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_3XS3Z2/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_3XS3Z2/gdbus/auth/server/ANONYMOUS/.dirs/data 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_3XS3Z2/gdbus/auth/server/ANONYMOUS/.dirs/state 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_3XS3Z2/gdbus/auth/server/ANONYMOUS/.dirs/runtime 769s ok 3 /gdbus/auth/server/ANONYMOUS 769s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_3XS3Z2/gdbus/auth/server/EXTERNAL/.dirs/home 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_3XS3Z2/gdbus/auth/server/EXTERNAL/.dirs/cache 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_3XS3Z2/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_3XS3Z2/gdbus/auth/server/EXTERNAL/.dirs/system-config2 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_3XS3Z2/gdbus/auth/server/EXTERNAL/.dirs/config 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_3XS3Z2/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_3XS3Z2/gdbus/auth/server/EXTERNAL/.dirs/system-data2 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_3XS3Z2/gdbus/auth/server/EXTERNAL/.dirs/data 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_3XS3Z2/gdbus/auth/server/EXTERNAL/.dirs/state 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_3XS3Z2/gdbus/auth/server/EXTERNAL/.dirs/runtime 769s ok 4 /gdbus/auth/server/EXTERNAL 769s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_3XS3Z2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_3XS3Z2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_3XS3Z2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_3XS3Z2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_3XS3Z2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_3XS3Z2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_3XS3Z2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_3XS3Z2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_3XS3Z2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_3XS3Z2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 769s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 769s # End of server tests 769s # End of auth tests 769s # End of gdbus tests 769s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 769s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 769s ok - glib/gdbus-auth.test 769s # Running test: glib/gdbus-address-get-session.test 769s TAP version 14 769s # random seed: R02S9d3469ae59ee56c4a66f3e844b47f8ad 769s 1..2 769s # Start of gdbus tests 769s ok 1 /gdbus/x11-autolaunch 769s ok 2 /gdbus/xdg-runtime 769s # End of gdbus tests 769s ok - glib/gdbus-address-get-session.test 769s # Running test: glib/signals-refcount3.test 769s TAP version 14 769s # random seed: R02Se5e7df2581415792d76b383b0fa3d8d5 769s 1..1 769s # Start of gobject tests 769s # Start of refcount tests 769s # init 0x1d43429ff420 769s # 769s # init 0x1d43429ff5c0 769s # 774s # dispose 0x1d43429ff420! 774s # 774s # dispose 0x1d43429ff5c0! 774s # 774s ok 1 /gobject/refcount/signals 774s # slow test /gobject/refcount/signals executed in 5.00 secs 774s # End of refcount tests 774s # End of gobject tests 774s ok - glib/signals-refcount3.test 774s # Running test: glib/gdbus-addresses.test 774s TAP version 14 774s # random seed: R02Sbf563c129d15593fbef01557015b46d3 774s 1..9 774s # Start of gdbus tests 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_42W2Z2/gdbus/empty-address/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_42W2Z2/gdbus/empty-address/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_42W2Z2/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_42W2Z2/gdbus/empty-address/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_42W2Z2/gdbus/empty-address/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_42W2Z2/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_42W2Z2/gdbus/empty-address/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_42W2Z2/gdbus/empty-address/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_42W2Z2/gdbus/empty-address/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_42W2Z2/gdbus/empty-address/.dirs/runtime 774s ok 1 /gdbus/empty-address 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_42W2Z2/gdbus/unsupported-address/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_42W2Z2/gdbus/unsupported-address/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_42W2Z2/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_42W2Z2/gdbus/unsupported-address/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_42W2Z2/gdbus/unsupported-address/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_42W2Z2/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_42W2Z2/gdbus/unsupported-address/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_42W2Z2/gdbus/unsupported-address/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_42W2Z2/gdbus/unsupported-address/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_42W2Z2/gdbus/unsupported-address/.dirs/runtime 774s ok 2 /gdbus/unsupported-address 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_42W2Z2/gdbus/address-parsing/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_42W2Z2/gdbus/address-parsing/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_42W2Z2/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_42W2Z2/gdbus/address-parsing/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_42W2Z2/gdbus/address-parsing/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_42W2Z2/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_42W2Z2/gdbus/address-parsing/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_42W2Z2/gdbus/address-parsing/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_42W2Z2/gdbus/address-parsing/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_42W2Z2/gdbus/address-parsing/.dirs/runtime 774s ok 3 /gdbus/address-parsing 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_42W2Z2/gdbus/unix-address/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_42W2Z2/gdbus/unix-address/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_42W2Z2/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_42W2Z2/gdbus/unix-address/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_42W2Z2/gdbus/unix-address/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_42W2Z2/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_42W2Z2/gdbus/unix-address/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_42W2Z2/gdbus/unix-address/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_42W2Z2/gdbus/unix-address/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_42W2Z2/gdbus/unix-address/.dirs/runtime 774s ok 4 /gdbus/unix-address 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_42W2Z2/gdbus/nonce-tcp-address/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_42W2Z2/gdbus/nonce-tcp-address/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_42W2Z2/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_42W2Z2/gdbus/nonce-tcp-address/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_42W2Z2/gdbus/nonce-tcp-address/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_42W2Z2/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_42W2Z2/gdbus/nonce-tcp-address/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_42W2Z2/gdbus/nonce-tcp-address/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_42W2Z2/gdbus/nonce-tcp-address/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_42W2Z2/gdbus/nonce-tcp-address/.dirs/runtime 774s ok 5 /gdbus/nonce-tcp-address 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_42W2Z2/gdbus/tcp-address/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_42W2Z2/gdbus/tcp-address/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_42W2Z2/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_42W2Z2/gdbus/tcp-address/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_42W2Z2/gdbus/tcp-address/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_42W2Z2/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_42W2Z2/gdbus/tcp-address/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_42W2Z2/gdbus/tcp-address/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_42W2Z2/gdbus/tcp-address/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_42W2Z2/gdbus/tcp-address/.dirs/runtime 774s ok 6 /gdbus/tcp-address 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_42W2Z2/gdbus/autolaunch-address/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_42W2Z2/gdbus/autolaunch-address/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_42W2Z2/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_42W2Z2/gdbus/autolaunch-address/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_42W2Z2/gdbus/autolaunch-address/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_42W2Z2/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_42W2Z2/gdbus/autolaunch-address/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_42W2Z2/gdbus/autolaunch-address/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_42W2Z2/gdbus/autolaunch-address/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_42W2Z2/gdbus/autolaunch-address/.dirs/runtime 774s ok 7 /gdbus/autolaunch-address 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_42W2Z2/gdbus/mixed-address/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_42W2Z2/gdbus/mixed-address/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_42W2Z2/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_42W2Z2/gdbus/mixed-address/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_42W2Z2/gdbus/mixed-address/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_42W2Z2/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_42W2Z2/gdbus/mixed-address/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_42W2Z2/gdbus/mixed-address/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_42W2Z2/gdbus/mixed-address/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_42W2Z2/gdbus/mixed-address/.dirs/runtime 774s ok 8 /gdbus/mixed-address 774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_42W2Z2/gdbus/escape-address/.dirs/home 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_42W2Z2/gdbus/escape-address/.dirs/cache 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_42W2Z2/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_42W2Z2/gdbus/escape-address/.dirs/system-config2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_42W2Z2/gdbus/escape-address/.dirs/config 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_42W2Z2/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_42W2Z2/gdbus/escape-address/.dirs/system-data2 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_42W2Z2/gdbus/escape-address/.dirs/data 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_42W2Z2/gdbus/escape-address/.dirs/state 774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_42W2Z2/gdbus/escape-address/.dirs/runtime 774s ok 9 /gdbus/escape-address 774s # End of gdbus tests 774s ok - glib/gdbus-addresses.test 774s # Running test: glib/performance.test 774s Running test simple-construction 774s # Executing: glib/performance.test 779s # Executing: glib/performance.test 783s simple-construction: Millions of constructed objects per second: 4.224 783s Running test simple-construction1 784s # Executing: glib/performance.test 785s simple-construction1: Millions of constructed objects per second: 55.132 785s Running test complex-construction 789s # Executing: glib/performance.test 789s complex-construction: Millions of constructed objects per second: 2.372 789s Running test complex-construction1 794s # Executing: glib/performance.test 795s complex-construction1: Millions of constructed objects per second: 3.195 795s Running test complex-construction2 799s # Executing: glib/performance.test 801s complex-construction2: Millions of constructed objects per second: 3.477 801s Running test finalization 802s finalization: Millions of finalized objects per second: 0.783 802s Running test type-check 802s type-check: Million type checks per second: inf 802s Running test emit-unhandled 803s emit-unhandled: Emissions per second: 1061525 803s Running test emit-unhandled-empty 804s # Executing: glib/performance.test 804s emit-unhandled-empty: Emissions per second: 10145639 804s Running test emit-unhandled-generic 805s emit-unhandled-generic: Emissions per second: 1365658 805s Running test emit-unhandled-generic-empty 806s emit-unhandled-generic-empty: Emissions per second: 10351700 806s Running test emit-unhandled-args 807s emit-unhandled-args: Emissions per second: 1028826 807s Running test emit-handled 808s emit-handled: Emissions per second: 824520 808s Running test emit-handled-empty 809s # Executing: glib/performance.test 810s emit-handled-empty: Emissions per second: 842038 810s Running test emit-handled-generic 811s emit-handled-generic: Emissions per second: 842317 811s Running test emit-handled-generic-empty 812s emit-handled-generic-empty: Emissions per second: 1305271 812s Running test emit-handled-args 813s emit-handled-args: Emissions per second: 777211 813s Running test notify-unhandled 814s # Executing: glib/performance.test 814s notify-unhandled: Notify (unhandled) per second: 10889919 814s Running test notify-by-pspec-unhandled 815s notify-by-pspec-unhandled: Notify (unhandled) per second: 43697706 815s Running test notify-handled 816s notify-handled: Notify per second: 468334 816s Running test notify-by-pspec-handled 817s notify-by-pspec-handled: Notify per second: 492369 817s Running test property-set 819s property-set: Property set per second: 5666118 819s Running test property-get 819s # Executing: glib/performance.test 820s property-get: Property get per second: 4884318 820s Running test refcount 821s refcount: Million refs+unref per second: 6.14 821s Running test refcount-1 822s refcount-1: Million refs+unref per second: 13.62 822s Running test refcount-toggle 824s # Executing: glib/performance.test 824s refcount-toggle: Million refs+unref per second: 8.45 824s ok - glib/performance.test 824s # Running test: glib/option-context.test 824s TAP version 14 824s # random seed: R02Sb9a22db7404a47185b31cc538163a17f 824s 1..57 824s # Start of option tests 824s ok 1 /option/basic 824s ok 2 /option/translate 824s ok 3 /option/strict-posix 824s # Start of help tests 824s ok 4 /option/help/options 824s ok 5 /option/help/no-options 824s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 824s ok 6 /option/help/no-help-options 824s # End of help tests 824s # Start of group tests 824s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 824s ok 7 /option/group/captions 824s ok 8 /option/group/main 824s ok 9 /option/group/error-hook 824s ok 10 /option/group/parse 824s # Start of captions tests 824s # Start of subprocess tests 824s # End of subprocess tests 824s # End of captions tests 824s # End of group tests 824s # Start of restoration tests 824s ok 11 /option/restoration/int 824s ok 12 /option/restoration/string 824s ok 13 /option/restoration/boolean 824s # End of restoration tests 824s # Start of arg tests 824s ok 14 /option/arg/reverse-string 824s ok 15 /option/arg/optional-int 824s # Start of repetition tests 824s ok 16 /option/arg/repetition/int 824s ok 17 /option/arg/repetition/string 824s ok 18 /option/arg/repetition/filename 824s ok 19 /option/arg/repetition/double 824s ok 20 /option/arg/repetition/locale 824s ok 21 /option/arg/repetition/int64 824s # End of repetition tests 824s # Start of array tests 824s ok 22 /option/arg/array/string 824s # End of array tests 824s # Start of callback tests 824s ok 23 /option/arg/callback/string 824s ok 24 /option/arg/callback/count 824s ok 25 /option/arg/callback/optional1 824s ok 26 /option/arg/callback/optional2 824s ok 27 /option/arg/callback/optional3 824s ok 28 /option/arg/callback/optional4 824s ok 29 /option/arg/callback/optional5 824s ok 30 /option/arg/callback/optional6 824s ok 31 /option/arg/callback/optional7 824s ok 32 /option/arg/callback/optional8 824s # End of callback tests 824s # Start of remaining tests 824s ok 33 /option/arg/remaining/callback 824s ok 34 /option/arg/remaining/callback-false 824s ok 35 /option/arg/remaining/non-option 824s ok 36 /option/arg/remaining/separator 824s ok 37 /option/arg/remaining/array 824s # End of remaining tests 824s # Start of ignore tests 824s ok 38 /option/arg/ignore/long 824s ok 39 /option/arg/ignore/short 824s ok 40 /option/arg/ignore/arg 824s # End of ignore tests 824s # Start of rest tests 824s ok 41 /option/arg/rest/non-option 824s ok 42 /option/arg/rest/separator1 824s ok 43 /option/arg/rest/separator2 824s ok 44 /option/arg/rest/separator3 824s ok 45 /option/arg/rest/separator4 824s ok 46 /option/arg/rest/separator5 824s # End of rest tests 824s # End of arg tests 824s # Start of context tests 824s ok 47 /option/context/add 824s ok 48 /option/context/empty2 824s ok 49 /option/context/empty3 824s # End of context tests 824s # Start of bug tests 824s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 824s ok 50 /option/bug/unknown-short 824s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 824s ok 51 /option/bug/lonely-dash 824s ok 52 /option/bug/triple-dash 824s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 824s ok 53 /option/bug/missing-arg 824s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 824s ok 54 /option/bug/dash-arg 824s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 824s ok 55 /option/bug/short-remaining 824s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 824s ok 56 /option/bug/double-free 824s ok 57 /option/bug/double-zero 824s # End of bug tests 824s # End of option tests 824s ok - glib/option-context.test 824s # Running test: glib/markup-collect.test 824s TAP version 14 824s # random seed: R02S9598de44f24f4df01cdb0fea1b5e94da 824s 1..21 824s # Start of markup tests 824s # Start of collect tests 824s ok 1 /markup/collect/0 824s ok 2 /markup/collect/1 824s ok 3 /markup/collect/2 824s ok 4 /markup/collect/3 824s ok 5 /markup/collect/4 824s ok 6 /markup/collect/5 824s ok 7 /markup/collect/6 824s ok 8 /markup/collect/7 824s ok 9 /markup/collect/8 824s ok 10 /markup/collect/9 824s ok 11 /markup/collect/10 824s ok 12 /markup/collect/11 824s ok 13 /markup/collect/12 824s ok 14 /markup/collect/13 824s ok 15 /markup/collect/14 824s ok 16 /markup/collect/15 824s ok 17 /markup/collect/16 824s ok 18 /markup/collect/17 824s ok 19 /markup/collect/18 824s ok 20 /markup/collect/19 824s ok 21 /markup/collect/cleanup 824s # End of collect tests 824s # End of markup tests 824s ok - glib/markup-collect.test 824s # Running test: glib/overflow.test 824s TAP version 14 824s # random seed: R02S8ca9fa58c850371c6a6e14c380349a01 824s 1..6 824s # Start of glib tests 824s # Start of checked-math tests 824s ok 1 /glib/checked-math/guint-add 824s ok 2 /glib/checked-math/guint-mul 824s ok 3 /glib/checked-math/guint64-add 824s ok 4 /glib/checked-math/guint64-mul 824s ok 5 /glib/checked-math/gsize-add 824s ok 6 /glib/checked-math/gsize-mul 824s # End of checked-math tests 824s # End of glib tests 824s ok - glib/overflow.test 824s # Running test: glib/buffered-input-stream.test 824s TAP version 14 824s # random seed: R02Sfbeb43774938affa73aec37efd0802c9 824s 1..10 824s # Start of buffered-input-stream tests 824s ok 1 /buffered-input-stream/peek 824s ok 2 /buffered-input-stream/peek-buffer 824s ok 3 /buffered-input-stream/set-buffer-size 824s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 824s ok 4 /buffered-input-stream/read-byte 824s ok 5 /buffered-input-stream/read 824s ok 6 /buffered-input-stream/read-async 824s ok 7 /buffered-input-stream/skip 824s ok 8 /buffered-input-stream/skip-async 824s ok 9 /buffered-input-stream/seek 824s # End of buffered-input-stream tests 824s # Start of filter-input-stream tests 824s ok 10 /filter-input-stream/close 824s # End of filter-input-stream tests 824s ok - glib/buffered-input-stream.test 824s # Running test: glib/io-stream.test 824s TAP version 14 824s # random seed: R02Sea7fc615d965c5baff93eef430c9bca0 824s 1..3 824s # Start of io-stream tests 824s ok 1 /io-stream/copy-chunks 824s # Start of close tests 824s # Start of async tests 824s ok 2 /io-stream/close/async/memory 824s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 824s ok 3 /io-stream/close/async/file 824s # End of async tests 824s # End of close tests 824s # End of io-stream tests 824s ok - glib/io-stream.test 824s # Running test: glib/completion.test 824s TAP version 14 824s # random seed: R02S997d6def7f1597d0208bfb2582d6c0dc 824s 1..1 824s # Start of completion tests 824s ok 1 /completion/test-completion 824s # End of completion tests 824s ok - glib/completion.test 824s # Running test: glib/basics-gobject.test 824s TAP version 14 824s # random seed: R02S2afe9f57b14ee8437f9bb3d1ecfb1314 824s 1..1 824s # Start of gobject tests 824s # private data during initialization: 54321 == 54321 824s # MAIN: emit test-signal: 824s # ::test_signal default_handler called 824s # ::test_signal default_handler called 824s # ::test_signal default_handler called 824s # signal return: "" 824s # MAIN: call iface print-string on test and derived object: 824s # Iface-FOO: "iface-string-from-test-type" from 0xa34d1b6f7a0 824s # Iface-BAR: "iface-string-from-derived-type" from 0xa34d1b6f6c0 824s # chaining: 824s # Iface-FOO: "iface-string-from-derived-type" from 0xa34d1b6f6c0 824s # private data after initialization: 54321 == 54321 824s ok 1 /gobject/basics 824s # End of gobject tests 824s ok - glib/basics-gobject.test 824s # Running test: glib/simple-async-result.test 824s TAP version 14 824s # random seed: R02S15ebb3be8de00761cc1f1956d3a2c09e 824s 1..2 824s # Start of gio tests 824s # Start of simple-async-result tests 824s ok 1 /gio/simple-async-result/test 824s # GLib-GIO-DEBUG: GTask 0x173499710720 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 824s ok 2 /gio/simple-async-result/valid 824s # End of simple-async-result tests 824s # End of gio tests 824s ok - glib/simple-async-result.test 824s # Running test: glib/network-address.test 824s TAP version 14 824s # random seed: R02S237ef606822acde4ac9f7109f9860684 824s 1..72 824s # Start of network-address tests 824s ok 1 /network-address/basic 824s ok 2 /network-address/scope-id 824s ok 3 /network-address/uri-scope-id 824s ok 4 /network-address/to-string 824s # Start of parse-host tests 824s ok 5 /network-address/parse-host/0 824s ok 6 /network-address/parse-host/1 824s ok 7 /network-address/parse-host/2 824s ok 8 /network-address/parse-host/3 824s ok 9 /network-address/parse-host/4 824s ok 10 /network-address/parse-host/5 824s ok 11 /network-address/parse-host/6 824s ok 12 /network-address/parse-host/7 824s ok 13 /network-address/parse-host/8 824s ok 14 /network-address/parse-host/9 824s ok 15 /network-address/parse-host/10 824s ok 16 /network-address/parse-host/11 824s ok 17 /network-address/parse-host/12 824s ok 18 /network-address/parse-host/13 824s # End of parse-host tests 824s # Start of parse-uri tests 824s ok 19 /network-address/parse-uri/0 824s ok 20 /network-address/parse-uri/1 824s ok 21 /network-address/parse-uri/2 824s ok 22 /network-address/parse-uri/3 824s ok 23 /network-address/parse-uri/4 824s ok 24 /network-address/parse-uri/5 824s ok 25 /network-address/parse-uri/6 824s ok 26 /network-address/parse-uri/7 824s ok 27 /network-address/parse-uri/8 824s ok 28 /network-address/parse-uri/9 824s # End of parse-uri tests 824s # Start of resolve-address tests 824s # Input: 192.168.1.2 824s ok 29 /network-address/resolve-address/0 824s # Input: fe80::42 824s ok 30 /network-address/resolve-address/1 824s # Input: 192.168.1.2:80 824s ok 31 /network-address/resolve-address/2 824s # Input: [fe80::42] 824s ok 32 /network-address/resolve-address/3 824s # Input: [fe80::42]:80 824s ok 33 /network-address/resolve-address/4 824s # Input: 192.168.258 824s ok 34 /network-address/resolve-address/5 824s # Input: 192.11010306 824s ok 35 /network-address/resolve-address/6 824s # Input: 3232235778 824s ok 36 /network-address/resolve-address/7 824s # Input: 0300.0250.0001.0001 824s ok 37 /network-address/resolve-address/8 824s # Input: 0xC0.0xA8.0x01.0x02 824s ok 38 /network-address/resolve-address/9 824s # Input: 0xc0.0xa8.0x01.0x02 824s ok 39 /network-address/resolve-address/10 824s # Input: 0xc0a80102 824s ok 40 /network-address/resolve-address/11 824s # End of resolve-address tests 824s # Start of loopback tests 824s ok 41 /network-address/loopback/basic 824s ok 42 /network-address/loopback/sync 824s ok 43 /network-address/loopback/async 824s # End of loopback tests 824s # Start of localhost tests 824s ok 44 /network-address/localhost/async 824s ok 45 /network-address/localhost/sync 824s # End of localhost tests 824s # Start of happy-eyeballs tests 824s ok 46 /network-address/happy-eyeballs/basic 824s ok 47 /network-address/happy-eyeballs/parallel 824s ok 48 /network-address/happy-eyeballs/slow-ipv4 824s ok 49 /network-address/happy-eyeballs/slow-ipv6 824s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 825s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 825s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 825s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 825s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 825s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 825s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 825s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 825s # /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow summary: Ensure that we successfully return IPv4 results even when they come significantly later than an IPv6 failure. 825s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 825s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 825s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 825s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 825s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 825s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 825s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 825s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 825s ok 57 /network-address/happy-eyeballs/both-error 825s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 825s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 825s ok 58 /network-address/happy-eyeballs/both-error-delays-1 825s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 825s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 825s ok 59 /network-address/happy-eyeballs/both-error-delays-2 825s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 825s ok 60 /network-address/happy-eyeballs/both-error-delays-3 825s # End of happy-eyeballs tests 825s # End of network-address tests 825s # Start of gresolver tests 825s # Start of resolve-address tests 825s # Input: 192.168.1.2 825s ok 61 /gresolver/resolve-address/0 825s # Input: fe80::42 825s ok 62 /gresolver/resolve-address/1 825s # Input: 192.168.1.2:80 825s # Error: Error resolving ?192.168.1.2:80?: Name or service not known 825s ok 63 /gresolver/resolve-address/2 825s # Input: [fe80::42] 825s # Error: Error resolving ?[fe80::42]?: Name or service not known 825s ok 64 /gresolver/resolve-address/3 825s # Input: [fe80::42]:80 825s # Error: Error resolving ?[fe80::42]:80?: Name or service not known 825s ok 65 /gresolver/resolve-address/4 825s # Input: 192.168.258 825s # Error: Error resolving ?192.168.258?: Name or service not known 825s ok 66 /gresolver/resolve-address/5 825s # Input: 192.11010306 825s # Error: Error resolving ?192.11010306?: Name or service not known 825s ok 67 /gresolver/resolve-address/6 825s # Input: 3232235778 825s # Error: Error resolving ?3232235778?: Name or service not known 825s ok 68 /gresolver/resolve-address/7 825s # Input: 0300.0250.0001.0001 825s # Error: Error resolving ?0300.0250.0001.0001?: Name or service not known 825s ok 69 /gresolver/resolve-address/8 825s # Input: 0xC0.0xA8.0x01.0x02 825s # Error: Error resolving ?0xC0.0xA8.0x01.0x02?: Name or service not known 825s ok 70 /gresolver/resolve-address/9 825s # Input: 0xc0.0xa8.0x01.0x02 825s # Error: Error resolving ?0xc0.0xa8.0x01.0x02?: Name or service not known 825s ok 71 /gresolver/resolve-address/10 825s # Input: 0xc0a80102 825s # Error: Error resolving ?0xc0a80102?: Name or service not known 825s ok 72 /gresolver/resolve-address/11 825s # End of resolve-address tests 825s # End of gresolver tests 825s ok - glib/network-address.test 825s # Running test: glib/power-profile-monitor-dbus.test 826s TAP version 13 826s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 826s 1..1 826s ok - glib/power-profile-monitor-dbus.test 826s # Running test: glib/basic-signals.test 826s TAP version 14 826s # random seed: R02Sc361e72cd740972acd1474bd16cc5c9e 826s 1..1 826s # Start of gobject tests 826s ok 1 /gobject/basic-signals 826s # End of gobject tests 826s ok - glib/basic-signals.test 826s # Running test: glib/mkenums.py.test 826s TAP version 13 826s ok 1 __main__.TestMkenums.test_available_in 826s # tmpdir: /tmp/tmpufc6m2rr 826s # rspfile: False, mkenums: /usr/bin/glib-mkenums 826s # /tmp/tmpufc6m2rr/tmp4xl31hj_.h: 826s # typedef enum { 826s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 826s # } GDBusServerFlags; 826s # 826s # /tmp/tmpufc6m2rr/tmpa61zuccy.template: 826s # /*** BEGIN file-header ***/ 826s # file-header 826s # /*** END file-header ***/ 826s # 826s # /*** BEGIN file-production ***/ 826s # file-production 826s # filename: @filename@ 826s # basename: @basename@ 826s # /*** END file-production ***/ 826s # 826s # /*** BEGIN enumeration-production ***/ 826s # enumeration-production 826s # EnumName: @EnumName@ 826s # enum_name: @enum_name@ 826s # ENUMNAME: @ENUMNAME@ 826s # ENUMSHORT: @ENUMSHORT@ 826s # ENUMPREFIX: @ENUMPREFIX@ 826s # enumsince: @enumsince@ 826s # type: @type@ 826s # Type: @Type@ 826s # TYPE: @TYPE@ 826s # /*** END enumeration-production ***/ 826s # 826s # /*** BEGIN value-header ***/ 826s # value-header 826s # EnumName: @EnumName@ 826s # enum_name: @enum_name@ 826s # ENUMNAME: @ENUMNAME@ 826s # ENUMSHORT: @ENUMSHORT@ 826s # ENUMPREFIX: @ENUMPREFIX@ 826s # enumsince: @enumsince@ 826s # type: @type@ 826s # Type: @Type@ 826s # TYPE: @TYPE@ 826s # /*** END value-header ***/ 826s # 826s # /*** BEGIN value-production ***/ 826s # value-production 826s # VALUENAME: @VALUENAME@ 826s # valuenick: @valuenick@ 826s # valuenum: @valuenum@ 826s # type: @type@ 826s # Type: @Type@ 826s # TYPE: @TYPE@ 826s # /*** END value-production ***/ 826s # 826s # /*** BEGIN value-tail ***/ 826s # value-tail 826s # EnumName: @EnumName@ 826s # enum_name: @enum_name@ 826s # ENUMNAME: @ENUMNAME@ 826s # ENUMSHORT: @ENUMSHORT@ 826s # ENUMPREFIX: @ENUMPREFIX@ 826s # enumsince: @enumsince@ 826s # type: @type@ 826s # Type: @Type@ 826s # TYPE: @TYPE@ 826s # /*** END value-tail ***/ 826s # 826s # /*** BEGIN comment ***/ 826s # comment 826s # comment: @comment@ 826s # /*** END comment ***/ 826s # 826s # /*** BEGIN file-tail ***/ 826s # file-tail 826s # /*** END file-tail ***/ 826s # 826s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpufc6m2rr/tmpa61zuccy.template', '/tmp/tmpufc6m2rr/tmp4xl31hj_.h'] 826s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 826s # Output: comment 826s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 826s # 826s # 826s # file-header 826s # file-production 826s # filename: /tmp/tmpufc6m2rr/tmp4xl31hj_.h 826s # basename: tmp4xl31hj_.h 826s # enumeration-production 826s # EnumName: GDBusServerFlags 826s # enum_name: g_dbus_server_flags 826s # ENUMNAME: G_DBUS_SERVER_FLAGS 826s # ENUMSHORT: DBUS_SERVER_FLAGS 826s # ENUMPREFIX: G 826s # enumsince: 826s # type: flags 826s # Type: Flags 826s # TYPE: FLAGS 826s # value-header 826s # EnumName: GDBusServerFlags 826s # enum_name: g_dbus_server_flags 826s # ENUMNAME: G_DBUS_SERVER_FLAGS 826s # ENUMSHORT: DBUS_SERVER_FLAGS 826s # ENUMPREFIX: G 826s # enumsince: 826s # type: flags 826s # Type: Flags 826s # TYPE: FLAGS 826s # value-production 826s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 826s # valuenick: user 826s # valuenum: 4 826s # type: flags 826s # Type: Flags 826s # TYPE: FLAGS 826s # value-tail 826s # EnumName: GDBusServerFlags 826s # enum_name: g_dbus_server_flags 826s # ENUMNAME: G_DBUS_SERVER_FLAGS 826s # ENUMSHORT: DBUS_SERVER_FLAGS 826s # ENUMPREFIX: G 826s # enumsince: 826s # type: flags 826s # Type: Flags 826s # TYPE: FLAGS 826s # file-tail 826s # 826s # comment 826s # comment: Generated data ends here 826s ok 2 __main__.TestMkenums.test_comma_in_enum_value 826s # tmpdir: /tmp/tmpnp6n9ew3 826s # rspfile: False, mkenums: /usr/bin/glib-mkenums 826s # /tmp/tmpnp6n9ew3/tmppuzi2jt6.h: 826s # typedef enum { 826s # ENUM_VALUE_WITH_COMMA = ',', 826s # } TestCommaEnum; 826s # 826s # /tmp/tmpnp6n9ew3/tmp9dk605eo.template: 826s # /*** BEGIN file-header ***/ 826s # file-header 826s # /*** END file-header ***/ 826s # 826s # /*** BEGIN file-production ***/ 826s # file-production 826s # filename: @filename@ 826s # basename: @basename@ 826s # /*** END file-production ***/ 826s # 826s # /*** BEGIN enumeration-production ***/ 826s # enumeration-production 826s # EnumName: @EnumName@ 826s # enum_name: @enum_name@ 826s # ENUMNAME: @ENUMNAME@ 826s # ENUMSHORT: @ENUMSHORT@ 826s # ENUMPREFIX: @ENUMPREFIX@ 826s # enumsince: @enumsince@ 826s # type: @type@ 826s # Type: @Type@ 826s # TYPE: @TYPE@ 826s # /*** END enumeration-production ***/ 826s # 826s # /*** BEGIN value-header ***/ 826s # value-header 826s # EnumName: @EnumName@ 826s # enum_name: @enum_name@ 826s # ENUMNAME: @ENUMNAME@ 826s # ENUMSHORT: @ENUMSHORT@ 826s # ENUMPREFIX: @ENUMPREFIX@ 826s # enumsince: @enumsince@ 826s # type: @type@ 826s # Type: @Type@ 826s # TYPE: @TYPE@ 826s # /*** END value-header ***/ 826s # 826s # /*** BEGIN value-production ***/ 826s # value-production 826s # VALUENAME: @VALUENAME@ 826s # valuenick: @valuenick@ 826s # valuenum: @valuenum@ 826s # type: @type@ 826s # Type: @Type@ 826s # TYPE: @TYPE@ 826s # /*** END value-production ***/ 826s # 826s # /*** BEGIN value-tail ***/ 826s # value-tail 826s # EnumName: @EnumName@ 826s # enum_name: @enum_name@ 826s # ENUMNAME: @ENUMNAME@ 826s # ENUMSHORT: @ENUMSHORT@ 826s # ENUMPREFIX: @ENUMPREFIX@ 826s # enumsince: @enumsince@ 826s # type: @type@ 826s # Type: @Type@ 826s # TYPE: @TYPE@ 826s # /*** END value-tail ***/ 826s # 826s # /*** BEGIN comment ***/ 826s # comment 826s # comment: @comment@ 826s # /*** END comment ***/ 826s # 826s # /*** BEGIN file-tail ***/ 826s # file-tail 826s # /*** END file-tail ***/ 826s # 826s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpnp6n9ew3/tmp9dk605eo.template', '/tmp/tmpnp6n9ew3/tmppuzi2jt6.h'] 826s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 826s # Output: comment 826s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 826s # 826s # 826s # file-header 826s # file-production 826s # filename: /tmp/tmpnp6n9ew3/tmppuzi2jt6.h 826s # basename: tmppuzi2jt6.h 826s # enumeration-production 826s # EnumName: TestCommaEnum 826s # enum_name: test_comma_enum 826s # ENUMNAME: TEST_COMMA_ENUM 826s # ENUMSHORT: COMMA_ENUM 826s # ENUMPREFIX: TEST 826s # enumsince: 826s # type: enum 826s # Type: Enum 826s # TYPE: ENUM 826s # value-header 826s # EnumName: TestCommaEnum 826s # enum_name: test_comma_enum 826s # ENUMNAME: TEST_COMMA_ENUM 826s # ENUMSHORT: COMMA_ENUM 826s # ENUMPREFIX: TEST 826s # enumsince: 826s # type: enum 826s # Type: Enum 826s # TYPE: ENUM 826s # value-production 826s # VALUENAME: ENUM_VALUE_WITH_COMMA 826s # valuenick: comma 826s # valuenum: 44 826s # type: enum 826s # Type: Enum 826s # TYPE: ENUM 826s # value-tail 826s # EnumName: TestCommaEnum 826s # enum_name: test_comma_enum 826s # ENUMNAME: TEST_COMMA_ENUM 826s # ENUMSHORT: COMMA_ENUM 826s # ENUMPREFIX: TEST 826s # enumsince: 826s # type: enum 826s # Type: Enum 826s # TYPE: ENUM 826s # file-tail 826s # 826s # comment 826s # comment: Generated data ends here 826s ok 3 __main__.TestMkenums.test_deprecated_in 826s # tmpdir: /tmp/tmpj2pnpu0j 826s # rspfile: False, mkenums: /usr/bin/glib-mkenums 826s # /tmp/tmpj2pnpu0j/tmpazy4oqcm.h: 826s # typedef enum { 826s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 826s # } GDBusServerFlags; 826s # 826s # /tmp/tmpj2pnpu0j/tmphd1zyxyz.template: 826s # /*** BEGIN file-header ***/ 826s # file-header 826s # /*** END file-header ***/ 826s # 826s # /*** BEGIN file-production ***/ 826s # file-production 826s # filename: @filename@ 826s # basename: @basename@ 826s # /*** END file-production ***/ 826s # 826s # /*** BEGIN enumeration-production ***/ 826s # enumeration-production 826s # EnumName: @EnumName@ 826s # enum_name: @enum_name@ 826s # ENUMNAME: @ENUMNAME@ 826s # ENUMSHORT: @ENUMSHORT@ 826s # ENUMPREFIX: @ENUMPREFIX@ 826s # enumsince: @enumsince@ 826s # type: @type@ 826s # Type: @Type@ 826s # TYPE: @TYPE@ 826s # /*** END enumeration-production ***/ 826s # 826s # /*** BEGIN value-header ***/ 826s # value-header 826s # EnumName: @EnumName@ 826s # enum_name: @enum_name@ 826s # ENUMNAME: @ENUMNAME@ 826s # ENUMSHORT: @ENUMSHORT@ 826s # ENUMPREFIX: @ENUMPREFIX@ 826s # enumsince: @enumsince@ 826s # type: @type@ 826s # Type: @Type@ 826s # TYPE: @TYPE@ 826s # /*** END value-header ***/ 826s # 826s # /*** BEGIN value-production ***/ 826s # value-production 826s # VALUENAME: @VALUENAME@ 826s # valuenick: @valuenick@ 826s # valuenum: @valuenum@ 826s # type: @type@ 826s # Type: @Type@ 826s # TYPE: @TYPE@ 826s # /*** END value-production ***/ 826s # 826s # /*** BEGIN value-tail ***/ 826s # value-tail 826s # EnumName: @EnumName@ 826s # enum_name: @enum_name@ 826s # ENUMNAME: @ENUMNAME@ 826s # ENUMSHORT: @ENUMSHORT@ 826s # ENUMPREFIX: @ENUMPREFIX@ 826s # enumsince: @enumsince@ 826s # type: @type@ 826s # Type: @Type@ 826s # TYPE: @TYPE@ 826s # /*** END value-tail ***/ 826s # 826s # /*** BEGIN comment ***/ 826s # comment 826s # comment: @comment@ 826s # /*** END comment ***/ 826s # 826s # /*** BEGIN file-tail ***/ 826s # file-tail 826s # /*** END file-tail ***/ 826s # 826s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpj2pnpu0j/tmphd1zyxyz.template', '/tmp/tmpj2pnpu0j/tmpazy4oqcm.h'] 826s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 826s # Output: comment 826s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 826s # 826s # 826s # file-header 826s # file-production 826s # filename: /tmp/tmpj2pnpu0j/tmpazy4oqcm.h 826s # basename: tmpazy4oqcm.h 826s # enumeration-production 826s # EnumName: GDBusServerFlags 826s # enum_name: g_dbus_server_flags 826s # ENUMNAME: G_DBUS_SERVER_FLAGS 826s # ENUMSHORT: DBUS_SERVER_FLAGS 826s # ENUMPREFIX: G 826s # enumsince: 826s # type: flags 826s # Type: Flags 826s # TYPE: FLAGS 826s # value-header 826s # EnumName: GDBusServerFlags 826s # enum_name: g_dbus_server_flags 826s # ENUMNAME: G_DBUS_SERVER_FLAGS 826s # ENUMSHORT: DBUS_SERVER_FLAGS 826s # ENUMPREFIX: G 826s # enumsince: 826s # type: flags 826s # Type: Flags 826s # TYPE: FLAGS 826s # value-production 826s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 826s # valuenick: user 826s # valuenum: 4 826s # type: flags 826s # Type: Flags 826s # TYPE: FLAGS 826s # value-tail 826s # EnumName: GDBusServerFlags 826s # enum_name: g_dbus_server_flags 826s # ENUMNAME: G_DBUS_SERVER_FLAGS 826s # ENUMSHORT: DBUS_SERVER_FLAGS 826s # ENUMPREFIX: G 826s # enumsince: 826s # type: flags 826s # Type: Flags 826s # TYPE: FLAGS 826s # file-tail 826s # 826s # comment 826s # comment: Generated data ends here 826s ok 4 __main__.TestMkenums.test_deprecated_in_for 826s # tmpdir: /tmp/tmp39o6oxru 826s # rspfile: False, mkenums: /usr/bin/glib-mkenums 826s # /tmp/tmp39o6oxru/tmpd_crvepe.h: 826s # typedef enum { 826s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68_FOR(G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER2) = (1<<2) 826s # } GDBusServerFlags; 826s # 826s # /tmp/tmp39o6oxru/tmpnx89jdev.template: 826s # /*** BEGIN file-header ***/ 826s # file-header 826s # /*** END file-header ***/ 826s # 826s # /*** BEGIN file-production ***/ 826s # file-production 826s # filename: @filename@ 826s # basename: @basename@ 826s # /*** END file-production ***/ 826s # 826s # /*** BEGIN enumeration-production ***/ 826s # enumeration-production 826s # EnumName: @EnumName@ 826s # enum_name: @enum_name@ 826s # ENUMNAME: @ENUMNAME@ 826s # ENUMSHORT: @ENUMSHORT@ 826s # ENUMPREFIX: @ENUMPREFIX@ 826s # enumsince: @enumsince@ 826s # type: @type@ 826s # Type: @Type@ 826s # TYPE: @TYPE@ 826s # /*** END enumeration-production ***/ 826s # 826s # /*** BEGIN value-header ***/ 826s # value-header 826s # EnumName: @EnumName@ 826s # enum_name: @enum_name@ 826s # ENUMNAME: @ENUMNAME@ 826s # ENUMSHORT: @ENUMSHORT@ 826s # ENUMPREFIX: @ENUMPREFIX@ 826s # enumsince: @enumsince@ 826s # type: @type@ 826s # Type: @Type@ 826s # TYPE: @TYPE@ 826s # /*** END value-header ***/ 826s # 826s # /*** BEGIN value-production ***/ 826s # value-production 826s # VALUENAME: @VALUENAME@ 826s # valuenick: @valuenick@ 826s # valuenum: @valuenum@ 826s # type: @type@ 826s # Type: @Type@ 826s # TYPE: @TYPE@ 826s # /*** END value-production ***/ 826s # 826s # /*** BEGIN value-tail ***/ 826s # value-tail 826s # EnumName: @EnumName@ 826s # enum_name: @enum_name@ 826s # ENUMNAME: @ENUMNAME@ 826s # ENUMSHORT: @ENUMSHORT@ 826s # ENUMPREFIX: @ENUMPREFIX@ 826s # enumsince: @enumsince@ 826s # type: @type@ 826s # Type: @Type@ 826s # TYPE: @TYPE@ 826s # /*** END value-tail ***/ 826s # 826s # /*** BEGIN comment ***/ 826s # comment 826s # comment: @comment@ 826s # /*** END comment ***/ 826s # 826s # /*** BEGIN file-tail ***/ 826s # file-tail 826s # /*** END file-tail ***/ 826s # 826s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp39o6oxru/tmpnx89jdev.template', '/tmp/tmp39o6oxru/tmpd_crvepe.h'] 826s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 826s # Output: comment 826s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 826s # 826s # 826s # file-header 826s # file-production 826s # filename: /tmp/tmp39o6oxru/tmpd_crvepe.h 826s # basename: tmpd_crvepe.h 826s # enumeration-production 826s # EnumName: GDBusServerFlags 826s # enum_name: g_dbus_server_flags 826s # ENUMNAME: G_DBUS_SERVER_FLAGS 826s # ENUMSHORT: DBUS_SERVER_FLAGS 826s # ENUMPREFIX: G 826s # enumsince: 826s # type: flags 826s # Type: Flags 826s # TYPE: FLAGS 826s # value-header 826s # EnumName: GDBusServerFlags 826s # enum_name: g_dbus_server_flags 826s # ENUMNAME: G_DBUS_SERVER_FLAGS 826s # ENUMSHORT: DBUS_SERVER_FLAGS 826s # ENUMPREFIX: G 826s # enumsince: 826s # type: flags 826s # Type: Flags 826s # TYPE: FLAGS 826s # value-production 826s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 826s # valuenick: user 826s # valuenum: 4 826s # type: flags 826s # Type: Flags 826s # TYPE: FLAGS 826s # value-tail 826s # EnumName: GDBusServerFlags 826s # enum_name: g_dbus_server_flags 826s # ENUMNAME: G_DBUS_SERVER_FLAGS 826s # ENUMSHORT: DBUS_SERVER_FLAGS 826s # ENUMPREFIX: G 826s # enumsince: 826s # type: flags 826s # Type: Flags 826s # TYPE: FLAGS 826s # file-tail 826s # 826s # comment 826s # comment: Generated data ends here 826s ok 5 __main__.TestMkenums.test_empty_header 826s # tmpdir: /tmp/tmp4igdodkc 826s # rspfile: False, mkenums: /usr/bin/glib-mkenums 826s # /tmp/tmp4igdodkc/tmpni_lux5e.h: 826s # /tmp/tmp4igdodkc/tmp6m15l4r4.template: 826s # /*** BEGIN file-header ***/ 826s # file-header 826s # /*** END file-header ***/ 826s # 826s # /*** BEGIN file-production ***/ 826s # file-production 826s # filename: @filename@ 826s # basename: @basename@ 826s # /*** END file-production ***/ 826s # 826s # /*** BEGIN enumeration-production ***/ 826s # enumeration-production 826s # EnumName: @EnumName@ 826s # enum_name: @enum_name@ 826s # ENUMNAME: @ENUMNAME@ 826s # ENUMSHORT: @ENUMSHORT@ 826s # ENUMPREFIX: @ENUMPREFIX@ 826s # enumsince: @enumsince@ 826s # type: @type@ 826s # Type: @Type@ 826s # TYPE: @TYPE@ 826s # /*** END enumeration-production ***/ 826s # 826s # /*** BEGIN value-header ***/ 826s # value-header 826s # EnumName: @EnumName@ 826s # enum_name: @enum_name@ 826s # ENUMNAME: @ENUMNAME@ 826s # ENUMSHORT: @ENUMSHORT@ 826s # ENUMPREFIX: @ENUMPREFIX@ 826s # enumsince: @enumsince@ 826s # type: @type@ 826s # Type: @Type@ 826s # TYPE: @TYPE@ 826s # /*** END value-header ***/ 826s # 826s # /*** BEGIN value-production ***/ 826s # value-production 826s # VALUENAME: @VALUENAME@ 826s # valuenick: @valuenick@ 826s # valuenum: @valuenum@ 826s # type: @type@ 826s # Type: @Type@ 826s # TYPE: @TYPE@ 826s # /*** END value-production ***/ 826s # 826s # /*** BEGIN value-tail ***/ 826s # value-tail 826s # EnumName: @EnumName@ 826s # enum_name: @enum_name@ 826s # ENUMNAME: @ENUMNAME@ 826s # ENUMSHORT: @ENUMSHORT@ 826s # ENUMPREFIX: @ENUMPREFIX@ 826s # enumsince: @enumsince@ 826s # type: @type@ 826s # Type: @Type@ 826s # TYPE: @TYPE@ 826s # /*** END value-tail ***/ 826s # 826s # /*** BEGIN comment ***/ 826s # comment 826s # comment: @comment@ 826s # /*** END comment ***/ 826s # 826s # /*** BEGIN file-tail ***/ 826s # file-tail 826s # /*** END file-tail ***/ 826s # 826s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp4igdodkc/tmp6m15l4r4.template', '/tmp/tmp4igdodkc/tmpni_lux5e.h'] 826s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 826s # Output: comment 826s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 826s # 826s # 826s # file-header 826s # file-tail 826s # 826s # comment 826s # comment: Generated data ends here 826s ok 6 __main__.TestMkenums.test_empty_template 826s # tmpdir: /tmp/tmpad2defvh 826s # rspfile: False, mkenums: /usr/bin/glib-mkenums 826s # /tmp/tmpad2defvh/tmporgezu0k.template: 826s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpad2defvh/tmporgezu0k.template'] 826s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 826s # Output: /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 826s # 826s # 826s # /* Generated data ends here */ 826s ok 7 __main__.TestMkenums.test_enum_name 826s # tmpdir: /tmp/tmp2ai2qety 826s # rspfile: False, mkenums: /usr/bin/glib-mkenums 826s # /tmp/tmp2ai2qety/tmpvr8cf2nq.h: 826s # typedef enum _SomeEnumIdentifier { 826s # ENUM_VALUE 826s # } SomeEnumIdentifier; 826s # 826s # /tmp/tmp2ai2qety/tmpyvjirj_6.template: 826s # /*** BEGIN file-header ***/ 826s # file-header 826s # /*** END file-header ***/ 826s # 826s # /*** BEGIN file-production ***/ 826s # file-production 826s # filename: @filename@ 826s # basename: @basename@ 826s # /*** END file-production ***/ 826s # 826s # /*** BEGIN enumeration-production ***/ 826s # enumeration-production 826s # EnumName: @EnumName@ 826s # enum_name: @enum_name@ 826s # ENUMNAME: @ENUMNAME@ 826s # ENUMSHORT: @ENUMSHORT@ 826s # ENUMPREFIX: @ENUMPREFIX@ 826s # enumsince: @enumsince@ 826s # type: @type@ 826s # Type: @Type@ 826s # TYPE: @TYPE@ 826s # /*** END enumeration-production ***/ 826s # 826s # /*** BEGIN value-header ***/ 826s # value-header 826s # EnumName: @EnumName@ 826s # enum_name: @enum_name@ 826s # ENUMNAME: @ENUMNAME@ 826s # ENUMSHORT: @ENUMSHORT@ 826s # ENUMPREFIX: @ENUMPREFIX@ 826s # enumsince: @enumsince@ 826s # type: @type@ 826s # Type: @Type@ 826s # TYPE: @TYPE@ 826s # /*** END value-header ***/ 826s # 826s # /*** BEGIN value-production ***/ 826s # value-production 826s # VALUENAME: @VALUENAME@ 826s # valuenick: @valuenick@ 826s # valuenum: @valuenum@ 826s # type: @type@ 826s # Type: @Type@ 826s # TYPE: @TYPE@ 826s # /*** END value-production ***/ 826s # 826s # /*** BEGIN value-tail ***/ 826s # value-tail 826s # EnumName: @EnumName@ 826s # enum_name: @enum_name@ 826s # ENUMNAME: @ENUMNAME@ 826s # ENUMSHORT: @ENUMSHORT@ 826s # ENUMPREFIX: @ENUMPREFIX@ 826s # enumsince: @enumsince@ 826s # type: @type@ 826s # Type: @Type@ 826s # TYPE: @TYPE@ 826s # /*** END value-tail ***/ 826s # 826s # /*** BEGIN comment ***/ 826s # comment 826s # comment: @comment@ 826s # /*** END comment ***/ 826s # 826s # /*** BEGIN file-tail ***/ 826s # file-tail 826s # /*** END file-tail ***/ 826s # 826s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp2ai2qety/tmpyvjirj_6.template', '/tmp/tmp2ai2qety/tmpvr8cf2nq.h'] 826s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 826s # Output: comment 826s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 826s # 826s # 826s # file-header 826s # file-production 826s # filename: /tmp/tmp2ai2qety/tmpvr8cf2nq.h 826s # basename: tmpvr8cf2nq.h 826s # enumeration-production 826s # EnumName: SomeEnumIdentifier 826s # enum_name: some_enum_identifier 826s # ENUMNAME: SOME_ENUM_IDENTIFIER 826s # ENUMSHORT: ENUM_IDENTIFIER 826s # ENUMPREFIX: SOME 826s # enumsince: 826s # type: enum 826s # Type: Enum 826s # TYPE: ENUM 826s # value-header 826s # EnumName: SomeEnumIdentifier 826s # enum_name: some_enum_identifier 826s # ENUMNAME: SOME_ENUM_IDENTIFIER 826s # ENUMSHORT: ENUM_IDENTIFIER 826s # ENUMPREFIX: SOME 826s # enumsince: 826s # type: enum 826s # Type: Enum 826s # TYPE: ENUM 826s # value-production 826s # VALUENAME: ENUM_VALUE 826s # valuenick: value 826s # valuenum: 0 826s # type: enum 826s # Type: Enum 826s # TYPE: ENUM 826s # value-tail 826s # EnumName: SomeEnumIdentifier 826s # enum_name: some_enum_identifier 826s # ENUMNAME: SOME_ENUM_IDENTIFIER 826s # ENUMSHORT: ENUM_IDENTIFIER 826s # ENUMPREFIX: SOME 826s # enumsince: 826s # type: enum 826s # Type: Enum 826s # TYPE: ENUM 826s # file-tail 826s # 826s # comment 826s # comment: Generated data ends here 826s ok 8 __main__.TestMkenums.test_enum_private_public 826s # tmpdir: /tmp/tmp03m0row3 826s # rspfile: False, mkenums: /usr/bin/glib-mkenums 826s # /tmp/tmp03m0row3/tmp_imvgkl0.h: 826s # typedef enum { 826s # ENUM_VALUE_PUBLIC1, 826s # /*< private >*/ 826s # ENUM_VALUE_PRIVATE, 826s # } SomeEnumA 826s # 826s # /tmp/tmp03m0row3/tmpmaff0sm1.template: 826s # /*** BEGIN file-header ***/ 826s # file-header 826s # /*** END file-header ***/ 826s # 826s # /*** BEGIN file-production ***/ 826s # file-production 826s # filename: @filename@ 826s # basename: @basename@ 826s # /*** END file-production ***/ 826s # 826s # /*** BEGIN enumeration-production ***/ 826s # enumeration-production 826s # EnumName: @EnumName@ 826s # enum_name: @enum_name@ 826s # ENUMNAME: @ENUMNAME@ 826s # ENUMSHORT: @ENUMSHORT@ 826s # ENUMPREFIX: @ENUMPREFIX@ 826s # enumsince: @enumsince@ 826s # type: @type@ 826s # Type: @Type@ 826s # TYPE: @TYPE@ 826s # /*** END enumeration-production ***/ 826s # 826s # /*** BEGIN value-header ***/ 826s # value-header 826s # EnumName: @EnumName@ 826s # enum_name: @enum_name@ 826s # ENUMNAME: @ENUMNAME@ 826s # ENUMSHORT: @ENUMSHORT@ 826s # ENUMPREFIX: @ENUMPREFIX@ 826s # enumsince: @enumsince@ 826s # type: @type@ 826s # Type: @Type@ 826s # TYPE: @TYPE@ 826s # /*** END value-header ***/ 826s # 826s # /*** BEGIN value-production ***/ 826s # value-production 826s # VALUENAME: @VALUENAME@ 826s # valuenick: @valuenick@ 826s # valuenum: @valuenum@ 826s # type: @type@ 826s # Type: @Type@ 826s # TYPE: @TYPE@ 826s # /*** END value-production ***/ 826s # 826s # /*** BEGIN value-tail ***/ 826s # value-tail 826s # EnumName: @EnumName@ 826s # enum_name: @enum_name@ 826s # ENUMNAME: @ENUMNAME@ 826s # ENUMSHORT: @ENUMSHORT@ 826s # ENUMPREFIX: @ENUMPREFIX@ 826s # enumsince: @enumsince@ 826s # type: @type@ 826s # Type: @Type@ 826s # TYPE: @TYPE@ 826s # /*** END value-tail ***/ 826s # 826s # /*** BEGIN comment ***/ 826s # comment 826s # comment: @comment@ 826s # /*** END comment ***/ 826s # 826s # /*** BEGIN file-tail ***/ 826s # file-tail 826s # /*** END file-tail ***/ 826s # 826s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp03m0row3/tmpmaff0sm1.template', '/tmp/tmp03m0row3/tmp_imvgkl0.h'] 826s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 826s # Output: comment 826s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 826s # 826s # 826s # file-header 826s # file-production 826s # filename: /tmp/tmp03m0row3/tmp_imvgkl0.h 826s # basename: tmp_imvgkl0.h 826s # enumeration-production 826s # EnumName: SomeEnumA 826s # enum_name: some_enum_a 826s # ENUMNAME: SOME_ENUM_A 826s # ENUMSHORT: ENUM_A 826s # ENUMPREFIX: SOME 826s # enumsince: 826s # type: enum 826s # Type: Enum 826s # TYPE: ENUM 826s # value-header 826s # EnumName: SomeEnumA 826s # enum_name: some_enum_a 826s # ENUMNAME: SOME_ENUM_A 826s # ENUMSHORT: ENUM_A 826s # ENUMPREFIX: SOME 826s # enumsince: 826s # type: enum 826s # Type: Enum 826s # TYPE: ENUM 826s # value-production 826s # VALUENAME: ENUM_VALUE_PUBLIC1 826s # valuenick: public1 826s # valuenum: 0 826s # type: enum 826s # Type: Enum 826s # TYPE: ENUM 826s # value-tail 826s # EnumName: SomeEnumA 826s # enum_name: some_enum_a 826s # ENUMNAME: SOME_ENUM_A 826s # ENUMSHORT: ENUM_A 826s # ENUMPREFIX: SOME 826s # enumsince: 826s # type: enum 826s # Type: Enum 826s # TYPE: ENUM 826s # file-tail 826s # 826s # comment 826s # comment: Generated data ends here 826s # /tmp/tmp03m0row3/tmpmj52dnh6.h: 826s # typedef enum { 826s # /*< private >*/ 826s # ENUM_VALUE_PRIVATE, 826s # /*< public >*/ 826s # ENUM_VALUE_PUBLIC2, 826s # } SomeEnumB; 826s # 826s # /tmp/tmp03m0row3/tmpl_w8fmzz.template: 826s # /*** BEGIN file-header ***/ 826s # file-header 826s # /*** END file-header ***/ 826s # 826s # /*** BEGIN file-production ***/ 826s # file-production 826s # filename: @filename@ 826s # basename: @basename@ 826s # /*** END file-production ***/ 826s # 826s # /*** BEGIN enumeration-production ***/ 826s # enumeration-production 826s # EnumName: @EnumName@ 826s # enum_name: @enum_name@ 826s # ENUMNAME: @ENUMNAME@ 826s # ENUMSHORT: @ENUMSHORT@ 826s # ENUMPREFIX: @ENUMPREFIX@ 826s # enumsince: @enumsince@ 826s # type: @type@ 826s # Type: @Type@ 826s # TYPE: @TYPE@ 826s # /*** END enumeration-production ***/ 826s # 826s # /*** BEGIN value-header ***/ 826s # value-header 826s # EnumName: @EnumName@ 826s # enum_name: @enum_name@ 826s # ENUMNAME: @ENUMNAME@ 826s # ENUMSHORT: @ENUMSHORT@ 826s # ENUMPREFIX: @ENUMPREFIX@ 826s # enumsince: @enumsince@ 826s # type: @type@ 826s # Type: @Type@ 826s # TYPE: @TYPE@ 826s # /*** END value-header ***/ 826s # 826s # /*** BEGIN value-production ***/ 826s # value-production 826s # VALUENAME: @VALUENAME@ 826s # valuenick: @valuenick@ 826s # valuenum: @valuenum@ 826s # type: @type@ 826s # Type: @Type@ 826s # TYPE: @TYPE@ 826s # /*** END value-production ***/ 826s # 826s # /*** BEGIN value-tail ***/ 826s # value-tail 826s # EnumName: @EnumName@ 826s # enum_name: @enum_name@ 826s # ENUMNAME: @ENUMNAME@ 826s # ENUMSHORT: @ENUMSHORT@ 826s # ENUMPREFIX: @ENUMPREFIX@ 826s # enumsince: @enumsince@ 826s # type: @type@ 826s # Type: @Type@ 826s # TYPE: @TYPE@ 826s # /*** END value-tail ***/ 826s # 826s # /*** BEGIN comment ***/ 826s # comment 826s # comment: @comment@ 826s # /*** END comment ***/ 826s # 826s # /*** BEGIN file-tail ***/ 826s # file-tail 826s # /*** END file-tail ***/ 826s # 826s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp03m0row3/tmpl_w8fmzz.template', '/tmp/tmp03m0row3/tmpmj52dnh6.h'] 826s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 826s # Output: comment 826s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 826s # 826s # 826s # file-header 826s # file-production 826s # filename: /tmp/tmp03m0row3/tmpmj52dnh6.h 826s # basename: tmpmj52dnh6.h 826s # enumeration-production 826s # EnumName: SomeEnumB 826s # enum_name: some_enum_b 826s # ENUMNAME: SOME_ENUM_B 826s # ENUMSHORT: ENUM_B 826s # ENUMPREFIX: SOME 826s # enumsince: 826s # type: enum 826s # Type: Enum 826s # TYPE: ENUM 826s # value-header 826s # EnumName: SomeEnumB 826s # enum_name: some_enum_b 826s # ENUMNAME: SOME_ENUM_B 826s # ENUMSHORT: ENUM_B 826s # ENUMPREFIX: SOME 826s # enumsince: 826s # type: enum 826s # Type: Enum 826s # TYPE: ENUM 826s # value-production 826s # VALUENAME: ENUM_VALUE_PUBLIC2 826s # valuenick: public2 826s # valuenum: 1 826s # type: enum 826s # Type: Enum 826s # TYPE: ENUM 826s # value-tail 826s # EnumName: SomeEnumB 826s # enum_name: some_enum_b 826s # ENUMNAME: SOME_ENUM_B 826s # ENUMSHORT: ENUM_B 826s # ENUMPREFIX: SOME 826s # enumsince: 826s # type: enum 826s # Type: Enum 826s # TYPE: ENUM 826s # file-tail 826s # 826s # comment 826s # comment: Generated data ends here 826s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 826s # tmpdir: /tmp/tmpmfdathi2 826s # rspfile: False, mkenums: /usr/bin/glib-mkenums 826s # /tmp/tmpmfdathi2/tmpkm_c1md0.h: 826s # typedef enum { 826s # /*< private >*/ 826s # ENUM_VALUE_PRIVATE = 5, 826s # /*< public >*/ 826s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 826s # } TestSymbolicEnum; 826s # 826s # /tmp/tmpmfdathi2/tmpowwcyz6e.template: 826s # /*** BEGIN file-header ***/ 826s # file-header 826s # /*** END file-header ***/ 826s # 826s # /*** BEGIN file-production ***/ 826s # file-production 826s # filename: @filename@ 826s # basename: @basename@ 826s # /*** END file-production ***/ 826s # 826s # /*** BEGIN enumeration-production ***/ 826s # enumeration-production 826s # EnumName: @EnumName@ 826s # enum_name: @enum_name@ 826s # ENUMNAME: @ENUMNAME@ 826s # ENUMSHORT: @ENUMSHORT@ 826s # ENUMPREFIX: @ENUMPREFIX@ 826s # enumsince: @enumsince@ 826s # type: @type@ 826s # Type: @Type@ 826s # TYPE: @TYPE@ 826s # /*** END enumeration-production ***/ 826s # 826s # /*** BEGIN value-header ***/ 826s # value-header 826s # EnumName: @EnumName@ 826s # enum_name: @enum_name@ 826s # ENUMNAME: @ENUMNAME@ 826s # ENUMSHORT: @ENUMSHORT@ 826s # ENUMPREFIX: @ENUMPREFIX@ 826s # enumsince: @enumsince@ 826s # type: @type@ 826s # Type: @Type@ 826s # TYPE: @TYPE@ 826s # /*** END value-header ***/ 826s # 826s # /*** BEGIN value-production ***/ 826s # value-production 826s # VALUENAME: @VALUENAME@ 826s # valuenick: @valuenick@ 826s # valuenum: @valuenum@ 826s # type: @type@ 826s # Type: @Type@ 826s # TYPE: @TYPE@ 826s # /*** END value-production ***/ 826s # 826s # /*** BEGIN value-tail ***/ 826s # value-tail 826s # EnumName: @EnumName@ 826s # enum_name: @enum_name@ 826s # ENUMNAME: @ENUMNAME@ 826s # ENUMSHORT: @ENUMSHORT@ 826s # ENUMPREFIX: @ENUMPREFIX@ 826s # enumsince: @enumsince@ 826s # type: @type@ 826s # Type: @Type@ 826s # TYPE: @TYPE@ 826s # /*** END value-tail ***/ 826s # 826s # /*** BEGIN comment ***/ 826s # comment 826s # comment: @comment@ 826s # /*** END comment ***/ 826s # 826s # /*** BEGIN file-tail ***/ 826s # file-tail 826s # /*** END file-tail ***/ 826s # 826s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpmfdathi2/tmpowwcyz6e.template', '/tmp/tmpmfdathi2/tmpkm_c1md0.h'] 826s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 826s # Output: comment 826s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 826s # 826s # 826s # file-header 826s # file-production 826s # filename: /tmp/tmpmfdathi2/tmpkm_c1md0.h 826s # basename: tmpkm_c1md0.h 826s # enumeration-production 826s # EnumName: TestSymbolicEnum 826s # enum_name: test_symbolic_enum 826s # ENUMNAME: TEST_SYMBOLIC_ENUM 826s # ENUMSHORT: SYMBOLIC_ENUM 826s # ENUMPREFIX: TEST 826s # enumsince: 826s # type: enum 826s # Type: Enum 826s # TYPE: ENUM 826s # value-header 826s # EnumName: TestSymbolicEnum 826s # enum_name: test_symbolic_enum 826s # ENUMNAME: TEST_SYMBOLIC_ENUM 826s # ENUMSHORT: SYMBOLIC_ENUM 826s # ENUMPREFIX: TEST 826s # enumsince: 826s # type: enum 826s # Type: Enum 826s # TYPE: ENUM 826s # value-production 826s # VALUENAME: ENUM_VALUE_PUBLIC 826s # valuenick: public 826s # valuenum: 7 826s # type: enum 826s # Type: Enum 826s # TYPE: ENUM 826s # value-tail 826s # EnumName: TestSymbolicEnum 826s # enum_name: test_symbolic_enum 826s # ENUMNAME: TEST_SYMBOLIC_ENUM 826s # ENUMSHORT: SYMBOLIC_ENUM 826s # ENUMPREFIX: TEST 826s # enumsince: 826s # type: enum 826s # Type: Enum 826s # TYPE: ENUM 826s # file-tail 826s # 826s # comment 826s # comment: Generated data ends here 826s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 826s # tmpdir: /tmp/tmp5kbd_vv0 826s # rspfile: False, mkenums: /usr/bin/glib-mkenums 826s # /tmp/tmp5kbd_vv0/tmpc1wpjj3h.template: 826s # /*** BEGIN file-header ***/ 826s # file-header 826s # filename: @filename@ 826s # basename: @basename@ 826s # /*** END file-header ***/ 826s # 826s # /*** BEGIN comment ***/ 826s # comment 826s # comment: @comment@ 826s # /*** END comment ***/ 826s # 826s # /*** BEGIN file-tail ***/ 826s # file-tail 826s # filename: @filename@ 826s # basename: @basename@ 826s # /*** END file-tail ***/ 826s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp5kbd_vv0/tmpc1wpjj3h.template'] 826s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 826s # Output: comment 826s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 826s # 826s # 826s # file-header 826s # filename: @filename@ 826s # basename: @basename@ 826s # file-tail 826s # filename: @filename@ 826s # basename: @basename@ 826s # 826s # comment 826s # comment: Generated data ends here 827s ok 11 __main__.TestMkenums.test_help 827s # tmpdir: /tmp/tmpg25ujt9h 827s # rspfile: False, mkenums: /usr/bin/glib-mkenums 827s # Running: ['/usr/bin/glib-mkenums', '--help'] 827s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 827s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 827s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 827s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 827s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 827s # [--comments COMMENT_TMPL] [--template TEMPLATE] 827s # [--output OUTPUT] [--version] 827s # [args ...] 827s # 827s # positional arguments: 827s # args One or more input files, or a single argument 827s # @rspfile_path pointing to a file that contains the 827s # actual arguments 827s # 827s # options: 827s # -h, --help show this help message and exit 827s # --identifier-prefix IDPREFIX 827s # Identifier prefix 827s # --symbol-prefix SYMPREFIX 827s # Symbol prefix 827s # --fhead FHEAD Output file header 827s # --ftail FTAIL Output file footer 827s # --fprod FPROD Put out TEXT every time a new input file is being 827s # processed. 827s # --eprod EPROD Per enum text, produced prior to value iterations 827s # --vhead VHEAD Value header, produced before iterating over enum 827s # values 827s # --vprod VPROD Value text, produced for each enum value. 827s # --vtail VTAIL Value tail, produced after iterating over enum values 827s # --comments COMMENT_TMPL 827s # Comment structure 827s # --template TEMPLATE Template file 827s # --output OUTPUT 827s # --version, -v Print version information 827s # 827s # Production text substitutions: 827s # @EnumName@ PrefixTheXEnum 827s # @enum_name@ prefix_the_xenum 827s # @ENUMNAME@ PREFIX_THE_XENUM 827s # @ENUMSHORT@ THE_XENUM 827s # @ENUMPREFIX@ PREFIX 827s # @enumsince@ the user-provided since value given 827s # @VALUENAME@ PREFIX_THE_XVALUE 827s # @valuenick@ the-xvalue 827s # @valuenum@ the integer value (limited support, Since: 2.26) 827s # @type@ either enum or flags 827s # @Type@ either Enum or Flags 827s # @TYPE@ either ENUM or FLAGS 827s # @filename@ name of current input file 827s # @basename@ base name of the current input file (Since: 2.22) 827s ok 12 __main__.TestMkenums.test_no_args 827s # tmpdir: /tmp/tmp9yqgdijb 827s # rspfile: False, mkenums: /usr/bin/glib-mkenums 827s # Running: ['/usr/bin/glib-mkenums'] 827s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 827s # Output: /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 827s # 827s # 827s # /* Generated data ends here */ 827s ok 13 __main__.TestMkenums.test_no_headers 827s # tmpdir: /tmp/tmpf6r5nwnv 827s # rspfile: False, mkenums: /usr/bin/glib-mkenums 827s # /tmp/tmpf6r5nwnv/tmpdk8o6gvy.template: 827s # /*** BEGIN file-header ***/ 827s # file-header 827s # /*** END file-header ***/ 827s # 827s # /*** BEGIN file-production ***/ 827s # file-production 827s # filename: @filename@ 827s # basename: @basename@ 827s # /*** END file-production ***/ 827s # 827s # /*** BEGIN enumeration-production ***/ 827s # enumeration-production 827s # EnumName: @EnumName@ 827s # enum_name: @enum_name@ 827s # ENUMNAME: @ENUMNAME@ 827s # ENUMSHORT: @ENUMSHORT@ 827s # ENUMPREFIX: @ENUMPREFIX@ 827s # enumsince: @enumsince@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END enumeration-production ***/ 827s # 827s # /*** BEGIN value-header ***/ 827s # value-header 827s # EnumName: @EnumName@ 827s # enum_name: @enum_name@ 827s # ENUMNAME: @ENUMNAME@ 827s # ENUMSHORT: @ENUMSHORT@ 827s # ENUMPREFIX: @ENUMPREFIX@ 827s # enumsince: @enumsince@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END value-header ***/ 827s # 827s # /*** BEGIN value-production ***/ 827s # value-production 827s # VALUENAME: @VALUENAME@ 827s # valuenick: @valuenick@ 827s # valuenum: @valuenum@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END value-production ***/ 827s # 827s # /*** BEGIN value-tail ***/ 827s # value-tail 827s # EnumName: @EnumName@ 827s # enum_name: @enum_name@ 827s # ENUMNAME: @ENUMNAME@ 827s # ENUMSHORT: @ENUMSHORT@ 827s # ENUMPREFIX: @ENUMPREFIX@ 827s # enumsince: @enumsince@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END value-tail ***/ 827s # 827s # /*** BEGIN comment ***/ 827s # comment 827s # comment: @comment@ 827s # /*** END comment ***/ 827s # 827s # /*** BEGIN file-tail ***/ 827s # file-tail 827s # /*** END file-tail ***/ 827s # 827s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpf6r5nwnv/tmpdk8o6gvy.template'] 827s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 827s # Output: comment 827s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 827s # 827s # 827s # file-header 827s # file-tail 827s # 827s # comment 827s # comment: Generated data ends here 827s ok 14 __main__.TestMkenums.test_no_nick 827s # tmpdir: /tmp/tmpu9gspfi9 827s # rspfile: False, mkenums: /usr/bin/glib-mkenums 827s # /tmp/tmpu9gspfi9/tmprkqzzcg2.h: 827s # typedef enum { 827s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 827s # } GeglSamplerType; 827s # 827s # /tmp/tmpu9gspfi9/tmpya4kbafc.template: 827s # /*** BEGIN file-header ***/ 827s # file-header 827s # /*** END file-header ***/ 827s # 827s # /*** BEGIN file-production ***/ 827s # file-production 827s # filename: @filename@ 827s # basename: @basename@ 827s # /*** END file-production ***/ 827s # 827s # /*** BEGIN enumeration-production ***/ 827s # enumeration-production 827s # EnumName: @EnumName@ 827s # enum_name: @enum_name@ 827s # ENUMNAME: @ENUMNAME@ 827s # ENUMSHORT: @ENUMSHORT@ 827s # ENUMPREFIX: @ENUMPREFIX@ 827s # enumsince: @enumsince@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END enumeration-production ***/ 827s # 827s # /*** BEGIN value-header ***/ 827s # value-header 827s # EnumName: @EnumName@ 827s # enum_name: @enum_name@ 827s # ENUMNAME: @ENUMNAME@ 827s # ENUMSHORT: @ENUMSHORT@ 827s # ENUMPREFIX: @ENUMPREFIX@ 827s # enumsince: @enumsince@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END value-header ***/ 827s # 827s # /*** BEGIN value-production ***/ 827s # value-production 827s # VALUENAME: @VALUENAME@ 827s # valuenick: @valuenick@ 827s # valuenum: @valuenum@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END value-production ***/ 827s # 827s # /*** BEGIN value-tail ***/ 827s # value-tail 827s # EnumName: @EnumName@ 827s # enum_name: @enum_name@ 827s # ENUMNAME: @ENUMNAME@ 827s # ENUMSHORT: @ENUMSHORT@ 827s # ENUMPREFIX: @ENUMPREFIX@ 827s # enumsince: @enumsince@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END value-tail ***/ 827s # 827s # /*** BEGIN comment ***/ 827s # comment 827s # comment: @comment@ 827s # /*** END comment ***/ 827s # 827s # /*** BEGIN file-tail ***/ 827s # file-tail 827s # /*** END file-tail ***/ 827s # 827s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpu9gspfi9/tmpya4kbafc.template', '/tmp/tmpu9gspfi9/tmprkqzzcg2.h'] 827s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 827s # Output: comment 827s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 827s # 827s # 827s # file-header 827s # file-production 827s # filename: /tmp/tmpu9gspfi9/tmprkqzzcg2.h 827s # basename: tmprkqzzcg2.h 827s # enumeration-production 827s # EnumName: GeglSamplerType 827s # enum_name: gegl_sampler_type 827s # ENUMNAME: GEGL_SAMPLER_TYPE 827s # ENUMSHORT: SAMPLER_TYPE 827s # ENUMPREFIX: GEGL 827s # enumsince: 827s # type: enum 827s # Type: Enum 827s # TYPE: ENUM 827s # value-header 827s # EnumName: GeglSamplerType 827s # enum_name: gegl_sampler_type 827s # ENUMNAME: GEGL_SAMPLER_TYPE 827s # ENUMSHORT: SAMPLER_TYPE 827s # ENUMPREFIX: GEGL 827s # enumsince: 827s # type: enum 827s # Type: Enum 827s # TYPE: ENUM 827s # value-production 827s # VALUENAME: GEGL_SAMPLER_NEAREST 827s # valuenick: nearest 827s # valuenum: 0 827s # type: enum 827s # Type: Enum 827s # TYPE: ENUM 827s # value-tail 827s # EnumName: GeglSamplerType 827s # enum_name: gegl_sampler_type 827s # ENUMNAME: GEGL_SAMPLER_TYPE 827s # ENUMSHORT: SAMPLER_TYPE 827s # ENUMPREFIX: GEGL 827s # enumsince: 827s # type: enum 827s # Type: Enum 827s # TYPE: ENUM 827s # file-tail 827s # 827s # comment 827s # comment: Generated data ends here 827s ok 15 __main__.TestMkenums.test_non_utf8_encoding 827s # tmpdir: /tmp/tmpiwkj_6a8 827s # rspfile: False, mkenums: /usr/bin/glib-mkenums 827s # /tmp/tmpiwkj_6a8/tmprahlxrb8.h: 827s # /* Copyright © La Peña */ 827s # typedef enum { 827s # ENUM_VALUE 827s # } SomeEnumIdentifier; 827s # 827s # /tmp/tmpiwkj_6a8/tmp43467iou.template: 827s # /*** BEGIN file-header ***/ 827s # file-header 827s # /*** END file-header ***/ 827s # 827s # /*** BEGIN file-production ***/ 827s # file-production 827s # filename: @filename@ 827s # basename: @basename@ 827s # /*** END file-production ***/ 827s # 827s # /*** BEGIN enumeration-production ***/ 827s # enumeration-production 827s # EnumName: @EnumName@ 827s # enum_name: @enum_name@ 827s # ENUMNAME: @ENUMNAME@ 827s # ENUMSHORT: @ENUMSHORT@ 827s # ENUMPREFIX: @ENUMPREFIX@ 827s # enumsince: @enumsince@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END enumeration-production ***/ 827s # 827s # /*** BEGIN value-header ***/ 827s # value-header 827s # EnumName: @EnumName@ 827s # enum_name: @enum_name@ 827s # ENUMNAME: @ENUMNAME@ 827s # ENUMSHORT: @ENUMSHORT@ 827s # ENUMPREFIX: @ENUMPREFIX@ 827s # enumsince: @enumsince@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END value-header ***/ 827s # 827s # /*** BEGIN value-production ***/ 827s # value-production 827s # VALUENAME: @VALUENAME@ 827s # valuenick: @valuenick@ 827s # valuenum: @valuenum@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END value-production ***/ 827s # 827s # /*** BEGIN value-tail ***/ 827s # value-tail 827s # EnumName: @EnumName@ 827s # enum_name: @enum_name@ 827s # ENUMNAME: @ENUMNAME@ 827s # ENUMSHORT: @ENUMSHORT@ 827s # ENUMPREFIX: @ENUMPREFIX@ 827s # enumsince: @enumsince@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END value-tail ***/ 827s # 827s # /*** BEGIN comment ***/ 827s # comment 827s # comment: @comment@ 827s # /*** END comment ***/ 827s # 827s # /*** BEGIN file-tail ***/ 827s # file-tail 827s # /*** END file-tail ***/ 827s # 827s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpiwkj_6a8/tmp43467iou.template', '/tmp/tmpiwkj_6a8/tmprahlxrb8.h'] 827s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 827s # Output: comment 827s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 827s # 827s # 827s # file-header 827s # file-production 827s # filename: /tmp/tmpiwkj_6a8/tmprahlxrb8.h 827s # basename: tmprahlxrb8.h 827s # enumeration-production 827s # EnumName: SomeEnumIdentifier 827s # enum_name: some_enum_identifier 827s # ENUMNAME: SOME_ENUM_IDENTIFIER 827s # ENUMSHORT: ENUM_IDENTIFIER 827s # ENUMPREFIX: SOME 827s # enumsince: 827s # type: enum 827s # Type: Enum 827s # TYPE: ENUM 827s # value-header 827s # EnumName: SomeEnumIdentifier 827s # enum_name: some_enum_identifier 827s # ENUMNAME: SOME_ENUM_IDENTIFIER 827s # ENUMSHORT: ENUM_IDENTIFIER 827s # ENUMPREFIX: SOME 827s # enumsince: 827s # type: enum 827s # Type: Enum 827s # TYPE: ENUM 827s # value-production 827s # VALUENAME: ENUM_VALUE 827s # valuenick: value 827s # valuenum: 0 827s # type: enum 827s # Type: Enum 827s # TYPE: ENUM 827s # value-tail 827s # EnumName: SomeEnumIdentifier 827s # enum_name: some_enum_identifier 827s # ENUMNAME: SOME_ENUM_IDENTIFIER 827s # ENUMSHORT: ENUM_IDENTIFIER 827s # ENUMPREFIX: SOME 827s # enumsince: 827s # type: enum 827s # Type: Enum 827s # TYPE: ENUM 827s # file-tail 827s # 827s # comment 827s # comment: Generated data ends here 827s ok 16 __main__.TestMkenums.test_reproducible 827s # tmpdir: /tmp/tmpgp1zpdee 827s # rspfile: False, mkenums: /usr/bin/glib-mkenums 827s # /tmp/tmpgp1zpdee/tmp7ywjl0aa.template: template 827s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpgp1zpdee/tmp7ywjl0aa.template', '/tmp/tmpgp1zpdee/tmp984ju9351.h', '/tmp/tmpgp1zpdee/tmpy7ldd_6l2.h'] 827s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 827s # Output: /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 827s # 827s # 827s # /* Generated data ends here */ 827s # /tmp/tmpgp1zpdee/tmp7bkdkbx8.template: template 827s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpgp1zpdee/tmp7bkdkbx8.template', '/tmp/tmpgp1zpdee/tmpy7ldd_6l2.h', '/tmp/tmpgp1zpdee/tmp984ju9351.h'] 827s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 827s # Output: /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 827s # 827s # 827s # /* Generated data ends here */ 827s ok 17 __main__.TestMkenums.test_since 827s # tmpdir: /tmp/tmp78lrnvct 827s # rspfile: False, mkenums: /usr/bin/glib-mkenums 827s # /tmp/tmp78lrnvct/tmpdzirr3m1.h: 827s # typedef enum { /*< since=1.0 >*/ 827s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 827s # } QmiWmsMessageProtocol; 827s # 827s # /tmp/tmp78lrnvct/tmpzn59p6bm.template: 827s # /*** BEGIN file-header ***/ 827s # file-header 827s # /*** END file-header ***/ 827s # 827s # /*** BEGIN file-production ***/ 827s # file-production 827s # filename: @filename@ 827s # basename: @basename@ 827s # /*** END file-production ***/ 827s # 827s # /*** BEGIN enumeration-production ***/ 827s # enumeration-production 827s # EnumName: @EnumName@ 827s # enum_name: @enum_name@ 827s # ENUMNAME: @ENUMNAME@ 827s # ENUMSHORT: @ENUMSHORT@ 827s # ENUMPREFIX: @ENUMPREFIX@ 827s # enumsince: @enumsince@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END enumeration-production ***/ 827s # 827s # /*** BEGIN value-header ***/ 827s # value-header 827s # EnumName: @EnumName@ 827s # enum_name: @enum_name@ 827s # ENUMNAME: @ENUMNAME@ 827s # ENUMSHORT: @ENUMSHORT@ 827s # ENUMPREFIX: @ENUMPREFIX@ 827s # enumsince: @enumsince@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END value-header ***/ 827s # 827s # /*** BEGIN value-production ***/ 827s # value-production 827s # VALUENAME: @VALUENAME@ 827s # valuenick: @valuenick@ 827s # valuenum: @valuenum@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END value-production ***/ 827s # 827s # /*** BEGIN value-tail ***/ 827s # value-tail 827s # EnumName: @EnumName@ 827s # enum_name: @enum_name@ 827s # ENUMNAME: @ENUMNAME@ 827s # ENUMSHORT: @ENUMSHORT@ 827s # ENUMPREFIX: @ENUMPREFIX@ 827s # enumsince: @enumsince@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END value-tail ***/ 827s # 827s # /*** BEGIN comment ***/ 827s # comment 827s # comment: @comment@ 827s # /*** END comment ***/ 827s # 827s # /*** BEGIN file-tail ***/ 827s # file-tail 827s # /*** END file-tail ***/ 827s # 827s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp78lrnvct/tmpzn59p6bm.template', '/tmp/tmp78lrnvct/tmpdzirr3m1.h'] 827s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 827s # Output: comment 827s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 827s # 827s # 827s # file-header 827s # file-production 827s # filename: /tmp/tmp78lrnvct/tmpdzirr3m1.h 827s # basename: tmpdzirr3m1.h 827s # enumeration-production 827s # EnumName: QmiWmsMessageProtocol 827s # enum_name: qmi_wms_message_protocol 827s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 827s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 827s # ENUMPREFIX: QMI 827s # enumsince: 1.0 827s # type: enum 827s # Type: Enum 827s # TYPE: ENUM 827s # value-header 827s # EnumName: QmiWmsMessageProtocol 827s # enum_name: qmi_wms_message_protocol 827s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 827s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 827s # ENUMPREFIX: QMI 827s # enumsince: 1.0 827s # type: enum 827s # Type: Enum 827s # TYPE: ENUM 827s # value-production 827s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 827s # valuenick: cdma 827s # valuenum: 0 827s # type: enum 827s # Type: Enum 827s # TYPE: ENUM 827s # value-tail 827s # EnumName: QmiWmsMessageProtocol 827s # enum_name: qmi_wms_message_protocol 827s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 827s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 827s # ENUMPREFIX: QMI 827s # enumsince: 1.0 827s # type: enum 827s # Type: Enum 827s # TYPE: ENUM 827s # file-tail 827s # 827s # comment 827s # comment: Generated data ends here 827s ok 18 __main__.TestMkenums.test_with_double_quotes 827s # tmpdir: /tmp/tmp2f0xgonm 827s # rspfile: False, mkenums: /usr/bin/glib-mkenums 827s # /tmp/tmp2f0xgonm/tmpm1yraskv.h: 827s # typedef enum { 827s # FOO_VALUE /*< nick="eek, a comma" >*/ 827s # } Foo; 827s # 827s # /tmp/tmp2f0xgonm/tmpdny410k2.template: 827s # /*** BEGIN file-header ***/ 827s # file-header 827s # /*** END file-header ***/ 827s # 827s # /*** BEGIN file-production ***/ 827s # file-production 827s # filename: @filename@ 827s # basename: @basename@ 827s # /*** END file-production ***/ 827s # 827s # /*** BEGIN enumeration-production ***/ 827s # enumeration-production 827s # EnumName: @EnumName@ 827s # enum_name: @enum_name@ 827s # ENUMNAME: @ENUMNAME@ 827s # ENUMSHORT: @ENUMSHORT@ 827s # ENUMPREFIX: @ENUMPREFIX@ 827s # enumsince: @enumsince@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END enumeration-production ***/ 827s # 827s # /*** BEGIN value-header ***/ 827s # value-header 827s # EnumName: @EnumName@ 827s # enum_name: @enum_name@ 827s # ENUMNAME: @ENUMNAME@ 827s # ENUMSHORT: @ENUMSHORT@ 827s # ENUMPREFIX: @ENUMPREFIX@ 827s # enumsince: @enumsince@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END value-header ***/ 827s # 827s # /*** BEGIN value-production ***/ 827s # value-production 827s # VALUENAME: @VALUENAME@ 827s # valuenick: @valuenick@ 827s # valuenum: @valuenum@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END value-production ***/ 827s # 827s # /*** BEGIN value-tail ***/ 827s # value-tail 827s # EnumName: @EnumName@ 827s # enum_name: @enum_name@ 827s # ENUMNAME: @ENUMNAME@ 827s # ENUMSHORT: @ENUMSHORT@ 827s # ENUMPREFIX: @ENUMPREFIX@ 827s # enumsince: @enumsince@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END value-tail ***/ 827s # 827s # /*** BEGIN comment ***/ 827s # comment 827s # comment: @comment@ 827s # /*** END comment ***/ 827s # 827s # /*** BEGIN file-tail ***/ 827s # file-tail 827s # /*** END file-tail ***/ 827s # 827s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp2f0xgonm/tmpdny410k2.template', '/tmp/tmp2f0xgonm/tmpm1yraskv.h'] 827s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 827s # Output: comment 827s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 827s # 827s # 827s # file-header 827s # file-production 827s # filename: /tmp/tmp2f0xgonm/tmpm1yraskv.h 827s # basename: tmpm1yraskv.h 827s # enumeration-production 827s # EnumName: Foo 827s # enum_name: foo_ 827s # ENUMNAME: FOO_ 827s # ENUMSHORT: 827s # ENUMPREFIX: FOO 827s # enumsince: 827s # type: enum 827s # Type: Enum 827s # TYPE: ENUM 827s # value-header 827s # EnumName: Foo 827s # enum_name: foo_ 827s # ENUMNAME: FOO_ 827s # ENUMSHORT: 827s # ENUMPREFIX: FOO 827s # enumsince: 827s # type: enum 827s # Type: Enum 827s # TYPE: ENUM 827s # value-production 827s # VALUENAME: FOO_VALUE 827s # valuenick: eek, a comma 827s # valuenum: 0 827s # type: enum 827s # Type: Enum 827s # TYPE: ENUM 827s # value-tail 827s # EnumName: Foo 827s # enum_name: foo_ 827s # ENUMNAME: FOO_ 827s # ENUMSHORT: 827s # ENUMPREFIX: FOO 827s # enumsince: 827s # type: enum 827s # Type: Enum 827s # TYPE: ENUM 827s # file-tail 827s # 827s # comment 827s # comment: Generated data ends here 827s ok 19 __main__.TestRspMkenums.test_available_in 827s # tmpdir: /tmp/tmp_5hoqg6g 827s # rspfile: True, mkenums: /usr/bin/glib-mkenums 827s # /tmp/tmp_5hoqg6g/tmpb8jbq2v5.h: 827s # typedef enum { 827s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 827s # } GDBusServerFlags; 827s # 827s # /tmp/tmp_5hoqg6g/tmpw4plam5f.template: 827s # /*** BEGIN file-header ***/ 827s # file-header 827s # /*** END file-header ***/ 827s # 827s # /*** BEGIN file-production ***/ 827s # file-production 827s # filename: @filename@ 827s # basename: @basename@ 827s # /*** END file-production ***/ 827s # 827s # /*** BEGIN enumeration-production ***/ 827s # enumeration-production 827s # EnumName: @EnumName@ 827s # enum_name: @enum_name@ 827s # ENUMNAME: @ENUMNAME@ 827s # ENUMSHORT: @ENUMSHORT@ 827s # ENUMPREFIX: @ENUMPREFIX@ 827s # enumsince: @enumsince@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END enumeration-production ***/ 827s # 827s # /*** BEGIN value-header ***/ 827s # value-header 827s # EnumName: @EnumName@ 827s # enum_name: @enum_name@ 827s # ENUMNAME: @ENUMNAME@ 827s # ENUMSHORT: @ENUMSHORT@ 827s # ENUMPREFIX: @ENUMPREFIX@ 827s # enumsince: @enumsince@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END value-header ***/ 827s # 827s # /*** BEGIN value-production ***/ 827s # value-production 827s # VALUENAME: @VALUENAME@ 827s # valuenick: @valuenick@ 827s # valuenum: @valuenum@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END value-production ***/ 827s # 827s # /*** BEGIN value-tail ***/ 827s # value-tail 827s # EnumName: @EnumName@ 827s # enum_name: @enum_name@ 827s # ENUMNAME: @ENUMNAME@ 827s # ENUMSHORT: @ENUMSHORT@ 827s # ENUMPREFIX: @ENUMPREFIX@ 827s # enumsince: @enumsince@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END value-tail ***/ 827s # 827s # /*** BEGIN comment ***/ 827s # comment 827s # comment: @comment@ 827s # /*** END comment ***/ 827s # 827s # /*** BEGIN file-tail ***/ 827s # file-tail 827s # /*** END file-tail ***/ 827s # 827s # Response file contains: --template /tmp/tmp_5hoqg6g/tmpw4plam5f.template /tmp/tmp_5hoqg6g/tmpb8jbq2v5.h 827s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp_5hoqg6g/tmpk17mnuow'] 827s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 827s # Output: comment 827s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 827s # 827s # 827s # file-header 827s # file-production 827s # filename: /tmp/tmp_5hoqg6g/tmpb8jbq2v5.h 827s # basename: tmpb8jbq2v5.h 827s # enumeration-production 827s # EnumName: GDBusServerFlags 827s # enum_name: g_dbus_server_flags 827s # ENUMNAME: G_DBUS_SERVER_FLAGS 827s # ENUMSHORT: DBUS_SERVER_FLAGS 827s # ENUMPREFIX: G 827s # enumsince: 827s # type: flags 827s # Type: Flags 827s # TYPE: FLAGS 827s # value-header 827s # EnumName: GDBusServerFlags 827s # enum_name: g_dbus_server_flags 827s # ENUMNAME: G_DBUS_SERVER_FLAGS 827s # ENUMSHORT: DBUS_SERVER_FLAGS 827s # ENUMPREFIX: G 827s # enumsince: 827s # type: flags 827s # Type: Flags 827s # TYPE: FLAGS 827s # value-production 827s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 827s # valuenick: user 827s # valuenum: 4 827s # type: flags 827s # Type: Flags 827s # TYPE: FLAGS 827s # value-tail 827s # EnumName: GDBusServerFlags 827s # enum_name: g_dbus_server_flags 827s # ENUMNAME: G_DBUS_SERVER_FLAGS 827s # ENUMSHORT: DBUS_SERVER_FLAGS 827s # ENUMPREFIX: G 827s # enumsince: 827s # type: flags 827s # Type: Flags 827s # TYPE: FLAGS 827s # file-tail 827s # 827s # comment 827s # comment: Generated data ends here 827s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 827s # tmpdir: /tmp/tmpxcrszqbs 827s # rspfile: True, mkenums: /usr/bin/glib-mkenums 827s # /tmp/tmpxcrszqbs/tmp2m0j5n8t.h: 827s # typedef enum { 827s # ENUM_VALUE_WITH_COMMA = ',', 827s # } TestCommaEnum; 827s # 827s # /tmp/tmpxcrszqbs/tmpxl1k82n3.template: 827s # /*** BEGIN file-header ***/ 827s # file-header 827s # /*** END file-header ***/ 827s # 827s # /*** BEGIN file-production ***/ 827s # file-production 827s # filename: @filename@ 827s # basename: @basename@ 827s # /*** END file-production ***/ 827s # 827s # /*** BEGIN enumeration-production ***/ 827s # enumeration-production 827s # EnumName: @EnumName@ 827s # enum_name: @enum_name@ 827s # ENUMNAME: @ENUMNAME@ 827s # ENUMSHORT: @ENUMSHORT@ 827s # ENUMPREFIX: @ENUMPREFIX@ 827s # enumsince: @enumsince@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END enumeration-production ***/ 827s # 827s # /*** BEGIN value-header ***/ 827s # value-header 827s # EnumName: @EnumName@ 827s # enum_name: @enum_name@ 827s # ENUMNAME: @ENUMNAME@ 827s # ENUMSHORT: @ENUMSHORT@ 827s # ENUMPREFIX: @ENUMPREFIX@ 827s # enumsince: @enumsince@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END value-header ***/ 827s # 827s # /*** BEGIN value-production ***/ 827s # value-production 827s # VALUENAME: @VALUENAME@ 827s # valuenick: @valuenick@ 827s # valuenum: @valuenum@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END value-production ***/ 827s # 827s # /*** BEGIN value-tail ***/ 827s # value-tail 827s # EnumName: @EnumName@ 827s # enum_name: @enum_name@ 827s # ENUMNAME: @ENUMNAME@ 827s # ENUMSHORT: @ENUMSHORT@ 827s # ENUMPREFIX: @ENUMPREFIX@ 827s # enumsince: @enumsince@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END value-tail ***/ 827s # 827s # /*** BEGIN comment ***/ 827s # comment 827s # comment: @comment@ 827s # /*** END comment ***/ 827s # 827s # /*** BEGIN file-tail ***/ 827s # file-tail 827s # /*** END file-tail ***/ 827s # 827s # Response file contains: --template /tmp/tmpxcrszqbs/tmpxl1k82n3.template /tmp/tmpxcrszqbs/tmp2m0j5n8t.h 827s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpxcrszqbs/tmpt_7zoxxe'] 827s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 827s # Output: comment 827s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 827s # 827s # 827s # file-header 827s # file-production 827s # filename: /tmp/tmpxcrszqbs/tmp2m0j5n8t.h 827s # basename: tmp2m0j5n8t.h 827s # enumeration-production 827s # EnumName: TestCommaEnum 827s # enum_name: test_comma_enum 827s # ENUMNAME: TEST_COMMA_ENUM 827s # ENUMSHORT: COMMA_ENUM 827s # ENUMPREFIX: TEST 827s # enumsince: 827s # type: enum 827s # Type: Enum 827s # TYPE: ENUM 827s # value-header 827s # EnumName: TestCommaEnum 827s # enum_name: test_comma_enum 827s # ENUMNAME: TEST_COMMA_ENUM 827s # ENUMSHORT: COMMA_ENUM 827s # ENUMPREFIX: TEST 827s # enumsince: 827s # type: enum 827s # Type: Enum 827s # TYPE: ENUM 827s # value-production 827s # VALUENAME: ENUM_VALUE_WITH_COMMA 827s # valuenick: comma 827s # valuenum: 44 827s # type: enum 827s # Type: Enum 827s # TYPE: ENUM 827s # value-tail 827s # EnumName: TestCommaEnum 827s # enum_name: test_comma_enum 827s # ENUMNAME: TEST_COMMA_ENUM 827s # ENUMSHORT: COMMA_ENUM 827s # ENUMPREFIX: TEST 827s # enumsince: 827s # type: enum 827s # Type: Enum 827s # TYPE: ENUM 827s # file-tail 827s # 827s # comment 827s # comment: Generated data ends here 827s ok 21 __main__.TestRspMkenums.test_deprecated_in 827s # tmpdir: /tmp/tmpqckesghc 827s # rspfile: True, mkenums: /usr/bin/glib-mkenums 827s # /tmp/tmpqckesghc/tmprtycwqop.h: 827s # typedef enum { 827s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 827s # } GDBusServerFlags; 827s # 827s # /tmp/tmpqckesghc/tmpl_hb9h4v.template: 827s # /*** BEGIN file-header ***/ 827s # file-header 827s # /*** END file-header ***/ 827s # 827s # /*** BEGIN file-production ***/ 827s # file-production 827s # filename: @filename@ 827s # basename: @basename@ 827s # /*** END file-production ***/ 827s # 827s # /*** BEGIN enumeration-production ***/ 827s # enumeration-production 827s # EnumName: @EnumName@ 827s # enum_name: @enum_name@ 827s # ENUMNAME: @ENUMNAME@ 827s # ENUMSHORT: @ENUMSHORT@ 827s # ENUMPREFIX: @ENUMPREFIX@ 827s # enumsince: @enumsince@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END enumeration-production ***/ 827s # 827s # /*** BEGIN value-header ***/ 827s # value-header 827s # EnumName: @EnumName@ 827s # enum_name: @enum_name@ 827s # ENUMNAME: @ENUMNAME@ 827s # ENUMSHORT: @ENUMSHORT@ 827s # ENUMPREFIX: @ENUMPREFIX@ 827s # enumsince: @enumsince@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END value-header ***/ 827s # 827s # /*** BEGIN value-production ***/ 827s # value-production 827s # VALUENAME: @VALUENAME@ 827s # valuenick: @valuenick@ 827s # valuenum: @valuenum@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END value-production ***/ 827s # 827s # /*** BEGIN value-tail ***/ 827s # value-tail 827s # EnumName: @EnumName@ 827s # enum_name: @enum_name@ 827s # ENUMNAME: @ENUMNAME@ 827s # ENUMSHORT: @ENUMSHORT@ 827s # ENUMPREFIX: @ENUMPREFIX@ 827s # enumsince: @enumsince@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END value-tail ***/ 827s # 827s # /*** BEGIN comment ***/ 827s # comment 827s # comment: @comment@ 827s # /*** END comment ***/ 827s # 827s # /*** BEGIN file-tail ***/ 827s # file-tail 827s # /*** END file-tail ***/ 827s # 827s # Response file contains: --template /tmp/tmpqckesghc/tmpl_hb9h4v.template /tmp/tmpqckesghc/tmprtycwqop.h 827s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpqckesghc/tmp3d7no1ne'] 827s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 827s # Output: comment 827s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 827s # 827s # 827s # file-header 827s # file-production 827s # filename: /tmp/tmpqckesghc/tmprtycwqop.h 827s # basename: tmprtycwqop.h 827s # enumeration-production 827s # EnumName: GDBusServerFlags 827s # enum_name: g_dbus_server_flags 827s # ENUMNAME: G_DBUS_SERVER_FLAGS 827s # ENUMSHORT: DBUS_SERVER_FLAGS 827s # ENUMPREFIX: G 827s # enumsince: 827s # type: flags 827s # Type: Flags 827s # TYPE: FLAGS 827s # value-header 827s # EnumName: GDBusServerFlags 827s # enum_name: g_dbus_server_flags 827s # ENUMNAME: G_DBUS_SERVER_FLAGS 827s # ENUMSHORT: DBUS_SERVER_FLAGS 827s # ENUMPREFIX: G 827s # enumsince: 827s # type: flags 827s # Type: Flags 827s # TYPE: FLAGS 827s # value-production 827s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 827s # valuenick: user 827s # valuenum: 4 827s # type: flags 827s # Type: Flags 827s # TYPE: FLAGS 827s # value-tail 827s # EnumName: GDBusServerFlags 827s # enum_name: g_dbus_server_flags 827s # ENUMNAME: G_DBUS_SERVER_FLAGS 827s # ENUMSHORT: DBUS_SERVER_FLAGS 827s # ENUMPREFIX: G 827s # enumsince: 827s # type: flags 827s # Type: Flags 827s # TYPE: FLAGS 827s # file-tail 827s # 827s # comment 827s # comment: Generated data ends here 827s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 827s # tmpdir: /tmp/tmpvhdml1ur 827s # rspfile: True, mkenums: /usr/bin/glib-mkenums 827s # /tmp/tmpvhdml1ur/tmpzcxmpr9l.h: 827s # typedef enum { 827s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68_FOR(G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER2) = (1<<2) 827s # } GDBusServerFlags; 827s # 827s # /tmp/tmpvhdml1ur/tmpnh8lqxil.template: 827s # /*** BEGIN file-header ***/ 827s # file-header 827s # /*** END file-header ***/ 827s # 827s # /*** BEGIN file-production ***/ 827s # file-production 827s # filename: @filename@ 827s # basename: @basename@ 827s # /*** END file-production ***/ 827s # 827s # /*** BEGIN enumeration-production ***/ 827s # enumeration-production 827s # EnumName: @EnumName@ 827s # enum_name: @enum_name@ 827s # ENUMNAME: @ENUMNAME@ 827s # ENUMSHORT: @ENUMSHORT@ 827s # ENUMPREFIX: @ENUMPREFIX@ 827s # enumsince: @enumsince@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END enumeration-production ***/ 827s # 827s # /*** BEGIN value-header ***/ 827s # value-header 827s # EnumName: @EnumName@ 827s # enum_name: @enum_name@ 827s # ENUMNAME: @ENUMNAME@ 827s # ENUMSHORT: @ENUMSHORT@ 827s # ENUMPREFIX: @ENUMPREFIX@ 827s # enumsince: @enumsince@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END value-header ***/ 827s # 827s # /*** BEGIN value-production ***/ 827s # value-production 827s # VALUENAME: @VALUENAME@ 827s # valuenick: @valuenick@ 827s # valuenum: @valuenum@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END value-production ***/ 827s # 827s # /*** BEGIN value-tail ***/ 827s # value-tail 827s # EnumName: @EnumName@ 827s # enum_name: @enum_name@ 827s # ENUMNAME: @ENUMNAME@ 827s # ENUMSHORT: @ENUMSHORT@ 827s # ENUMPREFIX: @ENUMPREFIX@ 827s # enumsince: @enumsince@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END value-tail ***/ 827s # 827s # /*** BEGIN comment ***/ 827s # comment 827s # comment: @comment@ 827s # /*** END comment ***/ 827s # 827s # /*** BEGIN file-tail ***/ 827s # file-tail 827s # /*** END file-tail ***/ 827s # 827s # Response file contains: --template /tmp/tmpvhdml1ur/tmpnh8lqxil.template /tmp/tmpvhdml1ur/tmpzcxmpr9l.h 827s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpvhdml1ur/tmpbdfwhh9u'] 827s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 827s # Output: comment 827s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 827s # 827s # 827s # file-header 827s # file-production 827s # filename: /tmp/tmpvhdml1ur/tmpzcxmpr9l.h 827s # basename: tmpzcxmpr9l.h 827s # enumeration-production 827s # EnumName: GDBusServerFlags 827s # enum_name: g_dbus_server_flags 827s # ENUMNAME: G_DBUS_SERVER_FLAGS 827s # ENUMSHORT: DBUS_SERVER_FLAGS 827s # ENUMPREFIX: G 827s # enumsince: 827s # type: flags 827s # Type: Flags 827s # TYPE: FLAGS 827s # value-header 827s # EnumName: GDBusServerFlags 827s # enum_name: g_dbus_server_flags 827s # ENUMNAME: G_DBUS_SERVER_FLAGS 827s # ENUMSHORT: DBUS_SERVER_FLAGS 827s # ENUMPREFIX: G 827s # enumsince: 827s # type: flags 827s # Type: Flags 827s # TYPE: FLAGS 827s # value-production 827s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 827s # valuenick: user 827s # valuenum: 4 827s # type: flags 827s # Type: Flags 827s # TYPE: FLAGS 827s # value-tail 827s # EnumName: GDBusServerFlags 827s # enum_name: g_dbus_server_flags 827s # ENUMNAME: G_DBUS_SERVER_FLAGS 827s # ENUMSHORT: DBUS_SERVER_FLAGS 827s # ENUMPREFIX: G 827s # enumsince: 827s # type: flags 827s # Type: Flags 827s # TYPE: FLAGS 827s # file-tail 827s # 827s # comment 827s # comment: Generated data ends here 827s ok 23 __main__.TestRspMkenums.test_empty_header 827s # tmpdir: /tmp/tmpcbpko8qo 827s # rspfile: True, mkenums: /usr/bin/glib-mkenums 827s # /tmp/tmpcbpko8qo/tmpqcqi8zsm.h: 827s # /tmp/tmpcbpko8qo/tmpgrmw6b17.template: 827s # /*** BEGIN file-header ***/ 827s # file-header 827s # /*** END file-header ***/ 827s # 827s # /*** BEGIN file-production ***/ 827s # file-production 827s # filename: @filename@ 827s # basename: @basename@ 827s # /*** END file-production ***/ 827s # 827s # /*** BEGIN enumeration-production ***/ 827s # enumeration-production 827s # EnumName: @EnumName@ 827s # enum_name: @enum_name@ 827s # ENUMNAME: @ENUMNAME@ 827s # ENUMSHORT: @ENUMSHORT@ 827s # ENUMPREFIX: @ENUMPREFIX@ 827s # enumsince: @enumsince@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END enumeration-production ***/ 827s # 827s # /*** BEGIN value-header ***/ 827s # value-header 827s # EnumName: @EnumName@ 827s # enum_name: @enum_name@ 827s # ENUMNAME: @ENUMNAME@ 827s # ENUMSHORT: @ENUMSHORT@ 827s # ENUMPREFIX: @ENUMPREFIX@ 827s # enumsince: @enumsince@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END value-header ***/ 827s # 827s # /*** BEGIN value-production ***/ 827s # value-production 827s # VALUENAME: @VALUENAME@ 827s # valuenick: @valuenick@ 827s # valuenum: @valuenum@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END value-production ***/ 827s # 827s # /*** BEGIN value-tail ***/ 827s # value-tail 827s # EnumName: @EnumName@ 827s # enum_name: @enum_name@ 827s # ENUMNAME: @ENUMNAME@ 827s # ENUMSHORT: @ENUMSHORT@ 827s # ENUMPREFIX: @ENUMPREFIX@ 827s # enumsince: @enumsince@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END value-tail ***/ 827s # 827s # /*** BEGIN comment ***/ 827s # comment 827s # comment: @comment@ 827s # /*** END comment ***/ 827s # 827s # /*** BEGIN file-tail ***/ 827s # file-tail 827s # /*** END file-tail ***/ 827s # 827s # Response file contains: --template /tmp/tmpcbpko8qo/tmpgrmw6b17.template /tmp/tmpcbpko8qo/tmpqcqi8zsm.h 827s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpcbpko8qo/tmp435lko8z'] 827s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 827s # Output: comment 827s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 827s # 827s # 827s # file-header 827s # file-tail 827s # 827s # comment 827s # comment: Generated data ends here 827s ok 24 __main__.TestRspMkenums.test_empty_template 827s # tmpdir: /tmp/tmp4zp0v1dc 827s # rspfile: True, mkenums: /usr/bin/glib-mkenums 827s # /tmp/tmp4zp0v1dc/tmp6l1ik17f.template: 827s # Response file contains: --template /tmp/tmp4zp0v1dc/tmp6l1ik17f.template 827s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp4zp0v1dc/tmpsepu5f_7'] 827s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 827s # Output: /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 827s # 827s # 827s # /* Generated data ends here */ 827s ok 25 __main__.TestRspMkenums.test_enum_name 827s # tmpdir: /tmp/tmp69kz0nwu 827s # rspfile: True, mkenums: /usr/bin/glib-mkenums 827s # /tmp/tmp69kz0nwu/tmpqkhdyamy.h: 827s # typedef enum _SomeEnumIdentifier { 827s # ENUM_VALUE 827s # } SomeEnumIdentifier; 827s # 827s # /tmp/tmp69kz0nwu/tmp9v4pqkfy.template: 827s # /*** BEGIN file-header ***/ 827s # file-header 827s # /*** END file-header ***/ 827s # 827s # /*** BEGIN file-production ***/ 827s # file-production 827s # filename: @filename@ 827s # basename: @basename@ 827s # /*** END file-production ***/ 827s # 827s # /*** BEGIN enumeration-production ***/ 827s # enumeration-production 827s # EnumName: @EnumName@ 827s # enum_name: @enum_name@ 827s # ENUMNAME: @ENUMNAME@ 827s # ENUMSHORT: @ENUMSHORT@ 827s # ENUMPREFIX: @ENUMPREFIX@ 827s # enumsince: @enumsince@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END enumeration-production ***/ 827s # 827s # /*** BEGIN value-header ***/ 827s # value-header 827s # EnumName: @EnumName@ 827s # enum_name: @enum_name@ 827s # ENUMNAME: @ENUMNAME@ 827s # ENUMSHORT: @ENUMSHORT@ 827s # ENUMPREFIX: @ENUMPREFIX@ 827s # enumsince: @enumsince@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END value-header ***/ 827s # 827s # /*** BEGIN value-production ***/ 827s # value-production 827s # VALUENAME: @VALUENAME@ 827s # valuenick: @valuenick@ 827s # valuenum: @valuenum@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END value-production ***/ 827s # 827s # /*** BEGIN value-tail ***/ 827s # value-tail 827s # EnumName: @EnumName@ 827s # enum_name: @enum_name@ 827s # ENUMNAME: @ENUMNAME@ 827s # ENUMSHORT: @ENUMSHORT@ 827s # ENUMPREFIX: @ENUMPREFIX@ 827s # enumsince: @enumsince@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END value-tail ***/ 827s # 827s # /*** BEGIN comment ***/ 827s # comment 827s # comment: @comment@ 827s # /*** END comment ***/ 827s # 827s # /*** BEGIN file-tail ***/ 827s # file-tail 827s # /*** END file-tail ***/ 827s # 827s # Response file contains: --template /tmp/tmp69kz0nwu/tmp9v4pqkfy.template /tmp/tmp69kz0nwu/tmpqkhdyamy.h 827s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp69kz0nwu/tmp76e6043g'] 827s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 827s # Output: comment 827s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 827s # 827s # 827s # file-header 827s # file-production 827s # filename: /tmp/tmp69kz0nwu/tmpqkhdyamy.h 827s # basename: tmpqkhdyamy.h 827s # enumeration-production 827s # EnumName: SomeEnumIdentifier 827s # enum_name: some_enum_identifier 827s # ENUMNAME: SOME_ENUM_IDENTIFIER 827s # ENUMSHORT: ENUM_IDENTIFIER 827s # ENUMPREFIX: SOME 827s # enumsince: 827s # type: enum 827s # Type: Enum 827s # TYPE: ENUM 827s # value-header 827s # EnumName: SomeEnumIdentifier 827s # enum_name: some_enum_identifier 827s # ENUMNAME: SOME_ENUM_IDENTIFIER 827s # ENUMSHORT: ENUM_IDENTIFIER 827s # ENUMPREFIX: SOME 827s # enumsince: 827s # type: enum 827s # Type: Enum 827s # TYPE: ENUM 827s # value-production 827s # VALUENAME: ENUM_VALUE 827s # valuenick: value 827s # valuenum: 0 827s # type: enum 827s # Type: Enum 827s # TYPE: ENUM 827s # value-tail 827s # EnumName: SomeEnumIdentifier 827s # enum_name: some_enum_identifier 827s # ENUMNAME: SOME_ENUM_IDENTIFIER 827s # ENUMSHORT: ENUM_IDENTIFIER 827s # ENUMPREFIX: SOME 827s # enumsince: 827s # type: enum 827s # Type: Enum 827s # TYPE: ENUM 827s # file-tail 827s # 827s # comment 827s # comment: Generated data ends here 827s ok 26 __main__.TestRspMkenums.test_enum_private_public 827s # tmpdir: /tmp/tmpo4yf2_3h 827s # rspfile: True, mkenums: /usr/bin/glib-mkenums 827s # /tmp/tmpo4yf2_3h/tmpxa_1a5qe.h: 827s # typedef enum { 827s # ENUM_VALUE_PUBLIC1, 827s # /*< private >*/ 827s # ENUM_VALUE_PRIVATE, 827s # } SomeEnumA 827s # 827s # /tmp/tmpo4yf2_3h/tmpli1i35ep.template: 827s # /*** BEGIN file-header ***/ 827s # file-header 827s # /*** END file-header ***/ 827s # 827s # /*** BEGIN file-production ***/ 827s # file-production 827s # filename: @filename@ 827s # basename: @basename@ 827s # /*** END file-production ***/ 827s # 827s # /*** BEGIN enumeration-production ***/ 827s # enumeration-production 827s # EnumName: @EnumName@ 827s # enum_name: @enum_name@ 827s # ENUMNAME: @ENUMNAME@ 827s # ENUMSHORT: @ENUMSHORT@ 827s # ENUMPREFIX: @ENUMPREFIX@ 827s # enumsince: @enumsince@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END enumeration-production ***/ 827s # 827s # /*** BEGIN value-header ***/ 827s # value-header 827s # EnumName: @EnumName@ 827s # enum_name: @enum_name@ 827s # ENUMNAME: @ENUMNAME@ 827s # ENUMSHORT: @ENUMSHORT@ 827s # ENUMPREFIX: @ENUMPREFIX@ 827s # enumsince: @enumsince@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END value-header ***/ 827s # 827s # /*** BEGIN value-production ***/ 827s # value-production 827s # VALUENAME: @VALUENAME@ 827s # valuenick: @valuenick@ 827s # valuenum: @valuenum@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END value-production ***/ 827s # 827s # /*** BEGIN value-tail ***/ 827s # value-tail 827s # EnumName: @EnumName@ 827s # enum_name: @enum_name@ 827s # ENUMNAME: @ENUMNAME@ 827s # ENUMSHORT: @ENUMSHORT@ 827s # ENUMPREFIX: @ENUMPREFIX@ 827s # enumsince: @enumsince@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END value-tail ***/ 827s # 827s # /*** BEGIN comment ***/ 827s # comment 827s # comment: @comment@ 827s # /*** END comment ***/ 827s # 827s # /*** BEGIN file-tail ***/ 827s # file-tail 827s # /*** END file-tail ***/ 827s # 827s # Response file contains: --template /tmp/tmpo4yf2_3h/tmpli1i35ep.template /tmp/tmpo4yf2_3h/tmpxa_1a5qe.h 827s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpo4yf2_3h/tmpjza5o4te'] 827s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 827s # Output: comment 827s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 827s # 827s # 827s # file-header 827s # file-production 827s # filename: /tmp/tmpo4yf2_3h/tmpxa_1a5qe.h 827s # basename: tmpxa_1a5qe.h 827s # enumeration-production 827s # EnumName: SomeEnumA 827s # enum_name: some_enum_a 827s # ENUMNAME: SOME_ENUM_A 827s # ENUMSHORT: ENUM_A 827s # ENUMPREFIX: SOME 827s # enumsince: 827s # type: enum 827s # Type: Enum 827s # TYPE: ENUM 827s # value-header 827s # EnumName: SomeEnumA 827s # enum_name: some_enum_a 827s # ENUMNAME: SOME_ENUM_A 827s # ENUMSHORT: ENUM_A 827s # ENUMPREFIX: SOME 827s # enumsince: 827s # type: enum 827s # Type: Enum 827s # TYPE: ENUM 827s # value-production 827s # VALUENAME: ENUM_VALUE_PUBLIC1 827s # valuenick: public1 827s # valuenum: 0 827s # type: enum 827s # Type: Enum 827s # TYPE: ENUM 827s # value-tail 827s # EnumName: SomeEnumA 827s # enum_name: some_enum_a 827s # ENUMNAME: SOME_ENUM_A 827s # ENUMSHORT: ENUM_A 827s # ENUMPREFIX: SOME 827s # enumsince: 827s # type: enum 827s # Type: Enum 827s # TYPE: ENUM 827s # file-tail 827s # 827s # comment 827s # comment: Generated data ends here 827s # /tmp/tmpo4yf2_3h/tmp0j7uwu_n.h: 827s # typedef enum { 827s # /*< private >*/ 827s # ENUM_VALUE_PRIVATE, 827s # /*< public >*/ 827s # ENUM_VALUE_PUBLIC2, 827s # } SomeEnumB; 827s # 827s # /tmp/tmpo4yf2_3h/tmp216zf9wz.template: 827s # /*** BEGIN file-header ***/ 827s # file-header 827s # /*** END file-header ***/ 827s # 827s # /*** BEGIN file-production ***/ 827s # file-production 827s # filename: @filename@ 827s # basename: @basename@ 827s # /*** END file-production ***/ 827s # 827s # /*** BEGIN enumeration-production ***/ 827s # enumeration-production 827s # EnumName: @EnumName@ 827s # enum_name: @enum_name@ 827s # ENUMNAME: @ENUMNAME@ 827s # ENUMSHORT: @ENUMSHORT@ 827s # ENUMPREFIX: @ENUMPREFIX@ 827s # enumsince: @enumsince@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END enumeration-production ***/ 827s # 827s # /*** BEGIN value-header ***/ 827s # value-header 827s # EnumName: @EnumName@ 827s # enum_name: @enum_name@ 827s # ENUMNAME: @ENUMNAME@ 827s # ENUMSHORT: @ENUMSHORT@ 827s # ENUMPREFIX: @ENUMPREFIX@ 827s # enumsince: @enumsince@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END value-header ***/ 827s # 827s # /*** BEGIN value-production ***/ 827s # value-production 827s # VALUENAME: @VALUENAME@ 827s # valuenick: @valuenick@ 827s # valuenum: @valuenum@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END value-production ***/ 827s # 827s # /*** BEGIN value-tail ***/ 827s # value-tail 827s # EnumName: @EnumName@ 827s # enum_name: @enum_name@ 827s # ENUMNAME: @ENUMNAME@ 827s # ENUMSHORT: @ENUMSHORT@ 827s # ENUMPREFIX: @ENUMPREFIX@ 827s # enumsince: @enumsince@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END value-tail ***/ 827s # 827s # /*** BEGIN comment ***/ 827s # comment 827s # comment: @comment@ 827s # /*** END comment ***/ 827s # 827s # /*** BEGIN file-tail ***/ 827s # file-tail 827s # /*** END file-tail ***/ 827s # 827s # Response file contains: --template /tmp/tmpo4yf2_3h/tmp216zf9wz.template /tmp/tmpo4yf2_3h/tmp0j7uwu_n.h 827s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpo4yf2_3h/tmpn5hj4vg4'] 827s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 827s # Output: comment 827s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 827s # 827s # 827s # file-header 827s # file-production 827s # filename: /tmp/tmpo4yf2_3h/tmp0j7uwu_n.h 827s # basename: tmp0j7uwu_n.h 827s # enumeration-production 827s # EnumName: SomeEnumB 827s # enum_name: some_enum_b 827s # ENUMNAME: SOME_ENUM_B 827s # ENUMSHORT: ENUM_B 827s # ENUMPREFIX: SOME 827s # enumsince: 827s # type: enum 827s # Type: Enum 827s # TYPE: ENUM 827s # value-header 827s # EnumName: SomeEnumB 827s # enum_name: some_enum_b 827s # ENUMNAME: SOME_ENUM_B 827s # ENUMSHORT: ENUM_B 827s # ENUMPREFIX: SOME 827s # enumsince: 827s # type: enum 827s # Type: Enum 827s # TYPE: ENUM 827s # value-production 827s # VALUENAME: ENUM_VALUE_PUBLIC2 827s # valuenick: public2 827s # valuenum: 1 827s # type: enum 827s # Type: Enum 827s # TYPE: ENUM 827s # value-tail 827s # EnumName: SomeEnumB 827s # enum_name: some_enum_b 827s # ENUMNAME: SOME_ENUM_B 827s # ENUMSHORT: ENUM_B 827s # ENUMPREFIX: SOME 827s # enumsince: 827s # type: enum 827s # Type: Enum 827s # TYPE: ENUM 827s # file-tail 827s # 827s # comment 827s # comment: Generated data ends here 827s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 827s # tmpdir: /tmp/tmpll9qw7_7 827s # rspfile: True, mkenums: /usr/bin/glib-mkenums 827s # /tmp/tmpll9qw7_7/tmp5cf_yl7q.h: 827s # typedef enum { 827s # /*< private >*/ 827s # ENUM_VALUE_PRIVATE = 5, 827s # /*< public >*/ 827s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 827s # } TestSymbolicEnum; 827s # 827s # /tmp/tmpll9qw7_7/tmp3d0_sjey.template: 827s # /*** BEGIN file-header ***/ 827s # file-header 827s # /*** END file-header ***/ 827s # 827s # /*** BEGIN file-production ***/ 827s # file-production 827s # filename: @filename@ 827s # basename: @basename@ 827s # /*** END file-production ***/ 827s # 827s # /*** BEGIN enumeration-production ***/ 827s # enumeration-production 827s # EnumName: @EnumName@ 827s # enum_name: @enum_name@ 827s # ENUMNAME: @ENUMNAME@ 827s # ENUMSHORT: @ENUMSHORT@ 827s # ENUMPREFIX: @ENUMPREFIX@ 827s # enumsince: @enumsince@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END enumeration-production ***/ 827s # 827s # /*** BEGIN value-header ***/ 827s # value-header 827s # EnumName: @EnumName@ 827s # enum_name: @enum_name@ 827s # ENUMNAME: @ENUMNAME@ 827s # ENUMSHORT: @ENUMSHORT@ 827s # ENUMPREFIX: @ENUMPREFIX@ 827s # enumsince: @enumsince@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END value-header ***/ 827s # 827s # /*** BEGIN value-production ***/ 827s # value-production 827s # VALUENAME: @VALUENAME@ 827s # valuenick: @valuenick@ 827s # valuenum: @valuenum@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END value-production ***/ 827s # 827s # /*** BEGIN value-tail ***/ 827s # value-tail 827s # EnumName: @EnumName@ 827s # enum_name: @enum_name@ 827s # ENUMNAME: @ENUMNAME@ 827s # ENUMSHORT: @ENUMSHORT@ 827s # ENUMPREFIX: @ENUMPREFIX@ 827s # enumsince: @enumsince@ 827s # type: @type@ 827s # Type: @Type@ 827s # TYPE: @TYPE@ 827s # /*** END value-tail ***/ 827s # 827s # /*** BEGIN comment ***/ 827s # comment 827s # comment: @comment@ 827s # /*** END comment ***/ 827s # 827s # /*** BEGIN file-tail ***/ 827s # file-tail 827s # /*** END file-tail ***/ 827s # 827s # Response file contains: --template /tmp/tmpll9qw7_7/tmp3d0_sjey.template /tmp/tmpll9qw7_7/tmp5cf_yl7q.h 827s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpll9qw7_7/tmp3wuiwflt'] 827s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 827s # Output: comment 827s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 827s # 827s # 827s # file-header 827s # file-production 827s # filename: /tmp/tmpll9qw7_7/tmp5cf_yl7q.h 827s # basename: tmp5cf_yl7q.h 827s # enumeration-production 827s # EnumName: TestSymbolicEnum 827s # enum_name: test_symbolic_enum 827s # ENUMNAME: TEST_SYMBOLIC_ENUM 827s # ENUMSHORT: SYMBOLIC_ENUM 827s # ENUMPREFIX: TEST 827s # enumsince: 827s # type: enum 827s # Type: Enum 827s # TYPE: ENUM 827s # value-header 827s # EnumName: TestSymbolicEnum 827s # enum_name: test_symbolic_enum 827s # ENUMNAME: TEST_SYMBOLIC_ENUM 827s # ENUMSHORT: SYMBOLIC_ENUM 827s # ENUMPREFIX: TEST 827s # enumsince: 827s # type: enum 827s # Type: Enum 827s # TYPE: ENUM 827s # value-production 827s # VALUENAME: ENUM_VALUE_PUBLIC 827s # valuenick: public 827s # valuenum: 7 827s # type: enum 827s # Type: Enum 827s # TYPE: ENUM 827s # value-tail 827s # EnumName: TestSymbolicEnum 827s # enum_name: test_symbolic_enum 827s # ENUMNAME: TEST_SYMBOLIC_ENUM 827s # ENUMSHORT: SYMBOLIC_ENUM 827s # ENUMPREFIX: TEST 827s # enumsince: 827s # type: enum 827s # Type: Enum 827s # TYPE: ENUM 827s # file-tail 827s # 827s # comment 827s # comment: Generated data ends here 827s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 827s # tmpdir: /tmp/tmpslxc3jfd 827s # rspfile: True, mkenums: /usr/bin/glib-mkenums 827s # /tmp/tmpslxc3jfd/tmp2ykv0t_w.template: 827s # /*** BEGIN file-header ***/ 827s # file-header 827s # filename: @filename@ 827s # basename: @basename@ 827s # /*** END file-header ***/ 827s # 827s # /*** BEGIN comment ***/ 827s # comment 827s # comment: @comment@ 827s # /*** END comment ***/ 827s # 827s # /*** BEGIN file-tail ***/ 827s # file-tail 827s # filename: @filename@ 827s # basename: @basename@ 827s # /*** END file-tail ***/ 827s # Response file contains: --template /tmp/tmpslxc3jfd/tmp2ykv0t_w.template 827s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpslxc3jfd/tmpoo_fnhr1'] 827s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 827s # Output: comment 827s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 827s # 827s # 827s # file-header 827s # filename: @filename@ 827s # basename: @basename@ 827s # file-tail 827s # filename: @filename@ 827s # basename: @basename@ 827s # 827s # comment 827s # comment: Generated data ends here 827s ok 29 __main__.TestRspMkenums.test_help 827s # tmpdir: /tmp/tmptpl4yw2w 827s # rspfile: True, mkenums: /usr/bin/glib-mkenums 827s # Response file contains: --help 827s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmptpl4yw2w/tmp3hpjgko6'] 827s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 827s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 827s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 827s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 827s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 827s # [--comments COMMENT_TMPL] [--template TEMPLATE] 827s # [--output OUTPUT] [--version] 827s # [args ...] 827s # 827s # positional arguments: 827s # args One or more input files, or a single argument 827s # @rspfile_path pointing to a file that contains the 827s # actual arguments 827s # 827s # options: 827s # -h, --help show this help message and exit 827s # --identifier-prefix IDPREFIX 827s # Identifier prefix 827s # --symbol-prefix SYMPREFIX 827s # Symbol prefix 827s # --fhead FHEAD Output file header 827s # --ftail FTAIL Output file footer 827s # --fprod FPROD Put out TEXT every time a new input file is being 827s # processed. 827s # --eprod EPROD Per enum text, produced prior to value iterations 827s # --vhead VHEAD Value header, produced before iterating over enum 827s # values 827s # --vprod VPROD Value text, produced for each enum value. 827s # --vtail VTAIL Value tail, produced after iterating over enum values 827s # --comments COMMENT_TMPL 827s # Comment structure 827s # --template TEMPLATE Template file 827s # --output OUTPUT 827s # --version, -v Print version information 827s # 827s # Production text substitutions: 827s # @EnumName@ PrefixTheXEnum 827s # @enum_name@ prefix_the_xenum 827s # @ENUMNAME@ PREFIX_THE_XENUM 827s # @ENUMSHORT@ THE_XENUM 827s # @ENUMPREFIX@ PREFIX 827s # @enumsince@ the user-provided since value given 827s # @VALUENAME@ PREFIX_THE_XVALUE 827s # @valuenick@ the-xvalue 827s # @valuenum@ the integer value (limited support, Since: 2.26) 827s # @type@ either enum or flags 827s # @Type@ either Enum or Flags 827s # @TYPE@ either ENUM or FLAGS 827s # @filename@ name of current input file 827s # @basename@ base name of the current input file (Since: 2.22) 827s ok 30 __main__.TestRspMkenums.test_no_args 827s # tmpdir: /tmp/tmpzua6lh4t 827s # rspfile: True, mkenums: /usr/bin/glib-mkenums 827s # Response file contains: 827s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpzua6lh4t/tmp_7betclf'] 827s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 827s # Output: /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 827s # 827s # 827s # /* Generated data ends here */ 828s ok 31 __main__.TestRspMkenums.test_no_headers 828s # tmpdir: /tmp/tmptyarilek 828s # rspfile: True, mkenums: /usr/bin/glib-mkenums 828s # /tmp/tmptyarilek/tmp7l85kq31.template: 828s # /*** BEGIN file-header ***/ 828s # file-header 828s # /*** END file-header ***/ 828s # 828s # /*** BEGIN file-production ***/ 828s # file-production 828s # filename: @filename@ 828s # basename: @basename@ 828s # /*** END file-production ***/ 828s # 828s # /*** BEGIN enumeration-production ***/ 828s # enumeration-production 828s # EnumName: @EnumName@ 828s # enum_name: @enum_name@ 828s # ENUMNAME: @ENUMNAME@ 828s # ENUMSHORT: @ENUMSHORT@ 828s # ENUMPREFIX: @ENUMPREFIX@ 828s # enumsince: @enumsince@ 828s # type: @type@ 828s # Type: @Type@ 828s # TYPE: @TYPE@ 828s # /*** END enumeration-production ***/ 828s # 828s # /*** BEGIN value-header ***/ 828s # value-header 828s # EnumName: @EnumName@ 828s # enum_name: @enum_name@ 828s # ENUMNAME: @ENUMNAME@ 828s # ENUMSHORT: @ENUMSHORT@ 828s # ENUMPREFIX: @ENUMPREFIX@ 828s # enumsince: @enumsince@ 828s # type: @type@ 828s # Type: @Type@ 828s # TYPE: @TYPE@ 828s # /*** END value-header ***/ 828s # 828s # /*** BEGIN value-production ***/ 828s # value-production 828s # VALUENAME: @VALUENAME@ 828s # valuenick: @valuenick@ 828s # valuenum: @valuenum@ 828s # type: @type@ 828s # Type: @Type@ 828s # TYPE: @TYPE@ 828s # /*** END value-production ***/ 828s # 828s # /*** BEGIN value-tail ***/ 828s # value-tail 828s # EnumName: @EnumName@ 828s # enum_name: @enum_name@ 828s # ENUMNAME: @ENUMNAME@ 828s # ENUMSHORT: @ENUMSHORT@ 828s # ENUMPREFIX: @ENUMPREFIX@ 828s # enumsince: @enumsince@ 828s # type: @type@ 828s # Type: @Type@ 828s # TYPE: @TYPE@ 828s # /*** END value-tail ***/ 828s # 828s # /*** BEGIN comment ***/ 828s # comment 828s # comment: @comment@ 828s # /*** END comment ***/ 828s # 828s # /*** BEGIN file-tail ***/ 828s # file-tail 828s # /*** END file-tail ***/ 828s # 828s # Response file contains: --template /tmp/tmptyarilek/tmp7l85kq31.template 828s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmptyarilek/tmp_ti1zesc'] 828s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 828s # Output: comment 828s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 828s # 828s # 828s # file-header 828s # file-tail 828s # 828s # comment 828s # comment: Generated data ends here 828s ok 32 __main__.TestRspMkenums.test_no_nick 828s # tmpdir: /tmp/tmp9g8hedpt 828s # rspfile: True, mkenums: /usr/bin/glib-mkenums 828s # /tmp/tmp9g8hedpt/tmp_7_6l5q6.h: 828s # typedef enum { 828s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 828s # } GeglSamplerType; 828s # 828s # /tmp/tmp9g8hedpt/tmpawp_91em.template: 828s # /*** BEGIN file-header ***/ 828s # file-header 828s # /*** END file-header ***/ 828s # 828s # /*** BEGIN file-production ***/ 828s # file-production 828s # filename: @filename@ 828s # basename: @basename@ 828s # /*** END file-production ***/ 828s # 828s # /*** BEGIN enumeration-production ***/ 828s # enumeration-production 828s # EnumName: @EnumName@ 828s # enum_name: @enum_name@ 828s # ENUMNAME: @ENUMNAME@ 828s # ENUMSHORT: @ENUMSHORT@ 828s # ENUMPREFIX: @ENUMPREFIX@ 828s # enumsince: @enumsince@ 828s # type: @type@ 828s # Type: @Type@ 828s # TYPE: @TYPE@ 828s # /*** END enumeration-production ***/ 828s # 828s # /*** BEGIN value-header ***/ 828s # value-header 828s # EnumName: @EnumName@ 828s # enum_name: @enum_name@ 828s # ENUMNAME: @ENUMNAME@ 828s # ENUMSHORT: @ENUMSHORT@ 828s # ENUMPREFIX: @ENUMPREFIX@ 828s # enumsince: @enumsince@ 828s # type: @type@ 828s # Type: @Type@ 828s # TYPE: @TYPE@ 828s # /*** END value-header ***/ 828s # 828s # /*** BEGIN value-production ***/ 828s # value-production 828s # VALUENAME: @VALUENAME@ 828s # valuenick: @valuenick@ 828s # valuenum: @valuenum@ 828s # type: @type@ 828s # Type: @Type@ 828s # TYPE: @TYPE@ 828s # /*** END value-production ***/ 828s # 828s # /*** BEGIN value-tail ***/ 828s # value-tail 828s # EnumName: @EnumName@ 828s # enum_name: @enum_name@ 828s # ENUMNAME: @ENUMNAME@ 828s # ENUMSHORT: @ENUMSHORT@ 828s # ENUMPREFIX: @ENUMPREFIX@ 828s # enumsince: @enumsince@ 828s # type: @type@ 828s # Type: @Type@ 828s # TYPE: @TYPE@ 828s # /*** END value-tail ***/ 828s # 828s # /*** BEGIN comment ***/ 828s # comment 828s # comment: @comment@ 828s # /*** END comment ***/ 828s # 828s # /*** BEGIN file-tail ***/ 828s # file-tail 828s # /*** END file-tail ***/ 828s # 828s # Response file contains: --template /tmp/tmp9g8hedpt/tmpawp_91em.template /tmp/tmp9g8hedpt/tmp_7_6l5q6.h 828s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp9g8hedpt/tmpw_2ofgxp'] 828s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 828s # Output: comment 828s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 828s # 828s # 828s # file-header 828s # file-production 828s # filename: /tmp/tmp9g8hedpt/tmp_7_6l5q6.h 828s # basename: tmp_7_6l5q6.h 828s # enumeration-production 828s # EnumName: GeglSamplerType 828s # enum_name: gegl_sampler_type 828s # ENUMNAME: GEGL_SAMPLER_TYPE 828s # ENUMSHORT: SAMPLER_TYPE 828s # ENUMPREFIX: GEGL 828s # enumsince: 828s # type: enum 828s # Type: Enum 828s # TYPE: ENUM 828s # value-header 828s # EnumName: GeglSamplerType 828s # enum_name: gegl_sampler_type 828s # ENUMNAME: GEGL_SAMPLER_TYPE 828s # ENUMSHORT: SAMPLER_TYPE 828s # ENUMPREFIX: GEGL 828s # enumsince: 828s # type: enum 828s # Type: Enum 828s # TYPE: ENUM 828s # value-production 828s # VALUENAME: GEGL_SAMPLER_NEAREST 828s # valuenick: nearest 828s # valuenum: 0 828s # type: enum 828s # Type: Enum 828s # TYPE: ENUM 828s # value-tail 828s # EnumName: GeglSamplerType 828s # enum_name: gegl_sampler_type 828s # ENUMNAME: GEGL_SAMPLER_TYPE 828s # ENUMSHORT: SAMPLER_TYPE 828s # ENUMPREFIX: GEGL 828s # enumsince: 828s # type: enum 828s # Type: Enum 828s # TYPE: ENUM 828s # file-tail 828s # 828s # comment 828s # comment: Generated data ends here 828s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 828s # tmpdir: /tmp/tmpfrx53vl0 828s # rspfile: True, mkenums: /usr/bin/glib-mkenums 828s # /tmp/tmpfrx53vl0/tmpt3thtb8f.h: 828s # /* Copyright © La Peña */ 828s # typedef enum { 828s # ENUM_VALUE 828s # } SomeEnumIdentifier; 828s # 828s # /tmp/tmpfrx53vl0/tmp62sv_hut.template: 828s # /*** BEGIN file-header ***/ 828s # file-header 828s # /*** END file-header ***/ 828s # 828s # /*** BEGIN file-production ***/ 828s # file-production 828s # filename: @filename@ 828s # basename: @basename@ 828s # /*** END file-production ***/ 828s # 828s # /*** BEGIN enumeration-production ***/ 828s # enumeration-production 828s # EnumName: @EnumName@ 828s # enum_name: @enum_name@ 828s # ENUMNAME: @ENUMNAME@ 828s # ENUMSHORT: @ENUMSHORT@ 828s # ENUMPREFIX: @ENUMPREFIX@ 828s # enumsince: @enumsince@ 828s # type: @type@ 828s # Type: @Type@ 828s # TYPE: @TYPE@ 828s # /*** END enumeration-production ***/ 828s # 828s # /*** BEGIN value-header ***/ 828s # value-header 828s # EnumName: @EnumName@ 828s # enum_name: @enum_name@ 828s # ENUMNAME: @ENUMNAME@ 828s # ENUMSHORT: @ENUMSHORT@ 828s # ENUMPREFIX: @ENUMPREFIX@ 828s # enumsince: @enumsince@ 828s # type: @type@ 828s # Type: @Type@ 828s # TYPE: @TYPE@ 828s # /*** END value-header ***/ 828s # 828s # /*** BEGIN value-production ***/ 828s # value-production 828s # VALUENAME: @VALUENAME@ 828s # valuenick: @valuenick@ 828s # valuenum: @valuenum@ 828s # type: @type@ 828s # Type: @Type@ 828s # TYPE: @TYPE@ 828s # /*** END value-production ***/ 828s # 828s # /*** BEGIN value-tail ***/ 828s # value-tail 828s # EnumName: @EnumName@ 828s # enum_name: @enum_name@ 828s # ENUMNAME: @ENUMNAME@ 828s # ENUMSHORT: @ENUMSHORT@ 828s # ENUMPREFIX: @ENUMPREFIX@ 828s # enumsince: @enumsince@ 828s # type: @type@ 828s # Type: @Type@ 828s # TYPE: @TYPE@ 828s # /*** END value-tail ***/ 828s # 828s # /*** BEGIN comment ***/ 828s # comment 828s # comment: @comment@ 828s # /*** END comment ***/ 828s # 828s # /*** BEGIN file-tail ***/ 828s # file-tail 828s # /*** END file-tail ***/ 828s # 828s # Response file contains: --template /tmp/tmpfrx53vl0/tmp62sv_hut.template /tmp/tmpfrx53vl0/tmpt3thtb8f.h 828s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpfrx53vl0/tmpfnz96_r_'] 828s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 828s # Output: comment 828s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 828s # 828s # 828s # file-header 828s # file-production 828s # filename: /tmp/tmpfrx53vl0/tmpt3thtb8f.h 828s # basename: tmpt3thtb8f.h 828s # enumeration-production 828s # EnumName: SomeEnumIdentifier 828s # enum_name: some_enum_identifier 828s # ENUMNAME: SOME_ENUM_IDENTIFIER 828s # ENUMSHORT: ENUM_IDENTIFIER 828s # ENUMPREFIX: SOME 828s # enumsince: 828s # type: enum 828s # Type: Enum 828s # TYPE: ENUM 828s # value-header 828s # EnumName: SomeEnumIdentifier 828s # enum_name: some_enum_identifier 828s # ENUMNAME: SOME_ENUM_IDENTIFIER 828s # ENUMSHORT: ENUM_IDENTIFIER 828s # ENUMPREFIX: SOME 828s # enumsince: 828s # type: enum 828s # Type: Enum 828s # TYPE: ENUM 828s # value-production 828s # VALUENAME: ENUM_VALUE 828s # valuenick: value 828s # valuenum: 0 828s # type: enum 828s # Type: Enum 828s # TYPE: ENUM 828s # value-tail 828s # EnumName: SomeEnumIdentifier 828s # enum_name: some_enum_identifier 828s # ENUMNAME: SOME_ENUM_IDENTIFIER 828s # ENUMSHORT: ENUM_IDENTIFIER 828s # ENUMPREFIX: SOME 828s # enumsince: 828s # type: enum 828s # Type: Enum 828s # TYPE: ENUM 828s # file-tail 828s # 828s # comment 828s # comment: Generated data ends here 828s ok 34 __main__.TestRspMkenums.test_reproducible 828s # tmpdir: /tmp/tmpf0xc123k 828s # rspfile: True, mkenums: /usr/bin/glib-mkenums 828s # /tmp/tmpf0xc123k/tmpih0k7qan.template: template 828s # Response file contains: --template /tmp/tmpf0xc123k/tmpih0k7qan.template /tmp/tmpf0xc123k/tmpi_v2os_p1.h /tmp/tmpf0xc123k/tmp4fqdr8px2.h 828s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpf0xc123k/tmp7tsk_y90'] 828s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 828s # Output: /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 828s # 828s # 828s # /* Generated data ends here */ 828s # /tmp/tmpf0xc123k/tmpkm01957w.template: template 828s # Response file contains: --template /tmp/tmpf0xc123k/tmpkm01957w.template /tmp/tmpf0xc123k/tmp4fqdr8px2.h /tmp/tmpf0xc123k/tmpi_v2os_p1.h 828s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpf0xc123k/tmp41fm_xhz'] 828s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 828s # Output: /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 828s # 828s # 828s # /* Generated data ends here */ 828s ok 35 __main__.TestRspMkenums.test_since 828s # tmpdir: /tmp/tmp3bqfh5m2 828s # rspfile: True, mkenums: /usr/bin/glib-mkenums 828s # /tmp/tmp3bqfh5m2/tmp88yimery.h: 828s # typedef enum { /*< since=1.0 >*/ 828s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 828s # } QmiWmsMessageProtocol; 828s # 828s # /tmp/tmp3bqfh5m2/tmpm70o99mt.template: 828s # /*** BEGIN file-header ***/ 828s # file-header 828s # /*** END file-header ***/ 828s # 828s # /*** BEGIN file-production ***/ 828s # file-production 828s # filename: @filename@ 828s # basename: @basename@ 828s # /*** END file-production ***/ 828s # 828s # /*** BEGIN enumeration-production ***/ 828s # enumeration-production 828s # EnumName: @EnumName@ 828s # enum_name: @enum_name@ 828s # ENUMNAME: @ENUMNAME@ 828s # ENUMSHORT: @ENUMSHORT@ 828s # ENUMPREFIX: @ENUMPREFIX@ 828s # enumsince: @enumsince@ 828s # type: @type@ 828s # Type: @Type@ 828s # TYPE: @TYPE@ 828s # /*** END enumeration-production ***/ 828s # 828s # /*** BEGIN value-header ***/ 828s # value-header 828s # EnumName: @EnumName@ 828s # enum_name: @enum_name@ 828s # ENUMNAME: @ENUMNAME@ 828s # ENUMSHORT: @ENUMSHORT@ 828s # ENUMPREFIX: @ENUMPREFIX@ 828s # enumsince: @enumsince@ 828s # type: @type@ 828s # Type: @Type@ 828s # TYPE: @TYPE@ 828s # /*** END value-header ***/ 828s # 828s # /*** BEGIN value-production ***/ 828s # value-production 828s # VALUENAME: @VALUENAME@ 828s # valuenick: @valuenick@ 828s # valuenum: @valuenum@ 828s # type: @type@ 828s # Type: @Type@ 828s # TYPE: @TYPE@ 828s # /*** END value-production ***/ 828s # 828s # /*** BEGIN value-tail ***/ 828s # value-tail 828s # EnumName: @EnumName@ 828s # enum_name: @enum_name@ 828s # ENUMNAME: @ENUMNAME@ 828s # ENUMSHORT: @ENUMSHORT@ 828s # ENUMPREFIX: @ENUMPREFIX@ 828s # enumsince: @enumsince@ 828s # type: @type@ 828s # Type: @Type@ 828s # TYPE: @TYPE@ 828s # /*** END value-tail ***/ 828s # 828s # /*** BEGIN comment ***/ 828s # comment 828s # comment: @comment@ 828s # /*** END comment ***/ 828s # 828s # /*** BEGIN file-tail ***/ 828s # file-tail 828s # /*** END file-tail ***/ 828s # 828s # Response file contains: --template /tmp/tmp3bqfh5m2/tmpm70o99mt.template /tmp/tmp3bqfh5m2/tmp88yimery.h 828s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp3bqfh5m2/tmpsobphwcx'] 828s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 828s # Output: comment 828s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 828s # 828s # 828s # file-header 828s # file-production 828s # filename: /tmp/tmp3bqfh5m2/tmp88yimery.h 828s # basename: tmp88yimery.h 828s # enumeration-production 828s # EnumName: QmiWmsMessageProtocol 828s # enum_name: qmi_wms_message_protocol 828s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 828s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 828s # ENUMPREFIX: QMI 828s # enumsince: 1.0 828s # type: enum 828s # Type: Enum 828s # TYPE: ENUM 828s # value-header 828s # EnumName: QmiWmsMessageProtocol 828s # enum_name: qmi_wms_message_protocol 828s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 828s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 828s # ENUMPREFIX: QMI 828s # enumsince: 1.0 828s # type: enum 828s # Type: Enum 828s # TYPE: ENUM 828s # value-production 828s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 828s # valuenick: cdma 828s # valuenum: 0 828s # type: enum 828s # Type: Enum 828s # TYPE: ENUM 828s # value-tail 828s # EnumName: QmiWmsMessageProtocol 828s # enum_name: qmi_wms_message_protocol 828s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 828s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 828s # ENUMPREFIX: QMI 828s # enumsince: 1.0 828s # type: enum 828s # Type: Enum 828s # TYPE: ENUM 828s # file-tail 828s # 828s # comment 828s # comment: Generated data ends here 828s ok 36 __main__.TestRspMkenums.test_with_double_quotes 828s # tmpdir: /tmp/tmpjksqn7kn 828s # rspfile: True, mkenums: /usr/bin/glib-mkenums 828s # /tmp/tmpjksqn7kn/tmp62j0rn15.h: 828s # typedef enum { 828s # FOO_VALUE /*< nick="eek, a comma" >*/ 828s # } Foo; 828s # 828s # /tmp/tmpjksqn7kn/tmp_52b_59a.template: 828s # /*** BEGIN file-header ***/ 828s # file-header 828s # /*** END file-header ***/ 828s # 828s # /*** BEGIN file-production ***/ 828s # file-production 828s # filename: @filename@ 828s # basename: @basename@ 828s # /*** END file-production ***/ 828s # 828s # /*** BEGIN enumeration-production ***/ 828s # enumeration-production 828s # EnumName: @EnumName@ 828s # enum_name: @enum_name@ 828s # ENUMNAME: @ENUMNAME@ 828s # ENUMSHORT: @ENUMSHORT@ 828s # ENUMPREFIX: @ENUMPREFIX@ 828s # enumsince: @enumsince@ 828s # type: @type@ 828s # Type: @Type@ 828s # TYPE: @TYPE@ 828s # /*** END enumeration-production ***/ 828s # 828s # /*** BEGIN value-header ***/ 828s # value-header 828s # EnumName: @EnumName@ 828s # enum_name: @enum_name@ 828s # ENUMNAME: @ENUMNAME@ 828s # ENUMSHORT: @ENUMSHORT@ 828s # ENUMPREFIX: @ENUMPREFIX@ 828s # enumsince: @enumsince@ 828s # type: @type@ 828s # Type: @Type@ 828s # TYPE: @TYPE@ 828s # /*** END value-header ***/ 828s # 828s # /*** BEGIN value-production ***/ 828s # value-production 828s # VALUENAME: @VALUENAME@ 828s # valuenick: @valuenick@ 828s # valuenum: @valuenum@ 828s # type: @type@ 828s # Type: @Type@ 828s # TYPE: @TYPE@ 828s # /*** END value-production ***/ 828s # 828s # /*** BEGIN value-tail ***/ 828s # value-tail 828s # EnumName: @EnumName@ 828s # enum_name: @enum_name@ 828s # ENUMNAME: @ENUMNAME@ 828s # ENUMSHORT: @ENUMSHORT@ 828s # ENUMPREFIX: @ENUMPREFIX@ 828s # enumsince: @enumsince@ 828s # type: @type@ 828s # Type: @Type@ 828s # TYPE: @TYPE@ 828s # /*** END value-tail ***/ 828s # 828s # /*** BEGIN comment ***/ 828s # comment 828s # comment: @comment@ 828s # /*** END comment ***/ 828s # 828s # /*** BEGIN file-tail ***/ 828s # file-tail 828s # /*** END file-tail ***/ 828s # 828s # Response file contains: --template /tmp/tmpjksqn7kn/tmp_52b_59a.template /tmp/tmpjksqn7kn/tmp62j0rn15.h 828s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpjksqn7kn/tmpyreahuh5'] 828s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 828s # Output: comment 828s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 828s # 828s # 828s # file-header 828s # file-production 828s # filename: /tmp/tmpjksqn7kn/tmp62j0rn15.h 828s # basename: tmp62j0rn15.h 828s # enumeration-production 828s # EnumName: Foo 828s # enum_name: foo_ 828s # ENUMNAME: FOO_ 828s # ENUMSHORT: 828s # ENUMPREFIX: FOO 828s # enumsince: 828s # type: enum 828s # Type: Enum 828s # TYPE: ENUM 828s # value-header 828s # EnumName: Foo 828s # enum_name: foo_ 828s # ENUMNAME: FOO_ 828s # ENUMSHORT: 828s # ENUMPREFIX: FOO 828s # enumsince: 828s # type: enum 828s # Type: Enum 828s # TYPE: ENUM 828s # value-production 828s # VALUENAME: FOO_VALUE 828s # valuenick: eek, a comma 828s # valuenum: 0 828s # type: enum 828s # Type: Enum 828s # TYPE: ENUM 828s # value-tail 828s # EnumName: Foo 828s # enum_name: foo_ 828s # ENUMNAME: FOO_ 828s # ENUMSHORT: 828s # ENUMPREFIX: FOO 828s # enumsince: 828s # type: enum 828s # Type: Enum 828s # TYPE: ENUM 828s # file-tail 828s # 828s # comment 828s # comment: Generated data ends here 828s 1..36 828s ok - glib/mkenums.py.test 828s # Running test: glib/markup-parse.test 828s TAP version 14 828s # random seed: R02S8e96503162388ff2c128b5b1a9ab8834 828s 1..71 828s # Start of markup tests 828s # Start of parse tests 828s ok 1 /markup/parse/valid-13.gmarkup 828s ok 2 /markup/parse/valid-14.gmarkup 828s ok 3 /markup/parse/fail-35.gmarkup 828s ok 4 /markup/parse/valid-2.gmarkup 828s ok 5 /markup/parse/fail-36.gmarkup 828s ok 6 /markup/parse/valid-10.gmarkup 828s ok 7 /markup/parse/fail-40.gmarkup 828s ok 8 /markup/parse/valid-1.gmarkup 828s ok 9 /markup/parse/fail-39.gmarkup 828s ok 10 /markup/parse/fail-46.gmarkup 828s ok 11 /markup/parse/fail-13.gmarkup 828s ok 12 /markup/parse/fail-28.gmarkup 828s ok 13 /markup/parse/fail-4.gmarkup 828s ok 14 /markup/parse/fail-52.gmarkup 828s ok 15 /markup/parse/fail-32.gmarkup 828s ok 16 /markup/parse/fail-8.gmarkup 828s ok 17 /markup/parse/fail-34.gmarkup 828s ok 18 /markup/parse/fail-16.gmarkup 828s ok 19 /markup/parse/valid-16.gmarkup 828s ok 20 /markup/parse/valid-7.gmarkup 828s ok 21 /markup/parse/fail-51.gmarkup 828s ok 22 /markup/parse/valid-4.gmarkup 828s ok 23 /markup/parse/fail-15.gmarkup 828s ok 24 /markup/parse/fail-2.gmarkup 828s ok 25 /markup/parse/valid-6.gmarkup 828s ok 26 /markup/parse/fail-7.gmarkup 828s ok 27 /markup/parse/valid-11.gmarkup 828s ok 28 /markup/parse/fail-3.gmarkup 828s ok 29 /markup/parse/fail-19.gmarkup 828s ok 30 /markup/parse/valid-12.gmarkup 828s ok 31 /markup/parse/fail-44.gmarkup 828s ok 32 /markup/parse/valid-17.gmarkup 828s ok 33 /markup/parse/fail-47.gmarkup 828s ok 34 /markup/parse/fail-43.gmarkup 828s ok 35 /markup/parse/fail-1.gmarkup 828s ok 36 /markup/parse/valid-15.gmarkup 828s ok 37 /markup/parse/valid-3.gmarkup 828s ok 38 /markup/parse/fail-17.gmarkup 828s ok 39 /markup/parse/fail-29.gmarkup 828s ok 40 /markup/parse/fail-12.gmarkup 828s ok 41 /markup/parse/fail-33.gmarkup 828s ok 42 /markup/parse/fail-38.gmarkup 828s ok 43 /markup/parse/fail-9.gmarkup 828s ok 44 /markup/parse/fail-26.gmarkup 828s ok 45 /markup/parse/fail-42.gmarkup 828s ok 46 /markup/parse/fail-54.gmarkup 828s ok 47 /markup/parse/fail-27.gmarkup 828s ok 48 /markup/parse/fail-30.gmarkup 828s ok 49 /markup/parse/fail-14.gmarkup 828s ok 50 /markup/parse/valid-9.gmarkup 828s ok 51 /markup/parse/fail-41.gmarkup 828s ok 52 /markup/parse/fail-21.gmarkup 828s ok 53 /markup/parse/fail-53.gmarkup 828s ok 54 /markup/parse/fail-45.gmarkup 828s ok 55 /markup/parse/fail-37.gmarkup 828s ok 56 /markup/parse/fail-22.gmarkup 828s ok 57 /markup/parse/fail-23.gmarkup 828s ok 58 /markup/parse/valid-8.gmarkup 828s ok 59 /markup/parse/fail-20.gmarkup 828s ok 60 /markup/parse/fail-10.gmarkup 828s ok 61 /markup/parse/fail-25.gmarkup 828s ok 62 /markup/parse/fail-6.gmarkup 828s ok 63 /markup/parse/fail-50.gmarkup 828s ok 64 /markup/parse/fail-5.gmarkup 828s ok 65 /markup/parse/valid-5.gmarkup 828s ok 66 /markup/parse/fail-31.gmarkup 828s ok 67 /markup/parse/fail-24.gmarkup 828s ok 68 /markup/parse/fail-11.gmarkup 828s ok 69 /markup/parse/fail-48.gmarkup 828s ok 70 /markup/parse/fail-49.gmarkup 828s ok 71 /markup/parse/fail-18.gmarkup 828s # End of parse tests 828s # End of markup tests 828s ok - glib/markup-parse.test 828s # Running test: glib/permission.test 828s TAP version 14 828s # random seed: R02Sf614b5824ee91fbd9d240d4eebb6cc9d 828s 1..1 828s # Start of permission tests 828s ok 1 /permission/simple 828s # End of permission tests 828s ok - glib/permission.test 828s # Running test: glib/actions.test 828s TAP version 14 828s # random seed: R02Sea86e3d442d48857e9f8b3e3015b8c45 828s 1..13 828s # Start of actions tests 828s ok 1 /actions/basic 828s ok 2 /actions/name 828s ok 3 /actions/simplegroup 828s ok 4 /actions/stateful 828s ok 5 /actions/default-activate 828s ok 6 /actions/entries 828s ok 7 /actions/parse-detailed 828s ok 8 /actions/property 828s ok 9 /actions/no-properties 828s # Start of dbus tests 828s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 828s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 828s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 828s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 828s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 828s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 828s ok 10 /actions/dbus/export 828s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 828s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 828s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 828s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 828s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 828s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 828s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 829s # Executing: glib/actions.test 830s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 830s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 830s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 830s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 830s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 830s ok 11 /actions/dbus/threaded 830s # slow test /actions/dbus/threaded executed in 2.14 secs 830s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 830s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 830s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 830s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 830s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 830s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 830s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 830s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 830s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 830s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 830s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 830s ok 12 /actions/dbus/bug679509 830s # Start of export tests 830s # /actions/dbus/export/error-handling summary: Test that error handling of action group export failure works 830s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 830s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 830s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 830s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 830s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 830s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 830s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 830s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 830s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 830s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 830s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 830s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 830s ok 13 /actions/dbus/export/error-handling 830s # End of export tests 830s # End of dbus tests 830s # End of actions tests 830s ok - glib/actions.test 830s # Running test: glib/gdbus-introspection.test 830s TAP version 14 830s # random seed: R02S43a5e43556f624759a6a73b420a42d59 830s 1..4 830s # Start of gdbus tests 830s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_GZKRZ2/gdbus/introspection-parser/.dirs/home 830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_GZKRZ2/gdbus/introspection-parser/.dirs/cache 830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_GZKRZ2/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_GZKRZ2/gdbus/introspection-parser/.dirs/system-config2 830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_GZKRZ2/gdbus/introspection-parser/.dirs/config 830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_GZKRZ2/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_GZKRZ2/gdbus/introspection-parser/.dirs/system-data2 830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_GZKRZ2/gdbus/introspection-parser/.dirs/data 830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_GZKRZ2/gdbus/introspection-parser/.dirs/state 830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_GZKRZ2/gdbus/introspection-parser/.dirs/runtime 830s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 830s ok 1 /gdbus/introspection-parser 830s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_GZKRZ2/gdbus/introspection-generate/.dirs/home 830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_GZKRZ2/gdbus/introspection-generate/.dirs/cache 830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_GZKRZ2/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_GZKRZ2/gdbus/introspection-generate/.dirs/system-config2 830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_GZKRZ2/gdbus/introspection-generate/.dirs/config 830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_GZKRZ2/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_GZKRZ2/gdbus/introspection-generate/.dirs/system-data2 830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_GZKRZ2/gdbus/introspection-generate/.dirs/data 830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_GZKRZ2/gdbus/introspection-generate/.dirs/state 830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_GZKRZ2/gdbus/introspection-generate/.dirs/runtime 830s ok 2 /gdbus/introspection-generate 830s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_GZKRZ2/gdbus/introspection-default-direction/.dirs/home 830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_GZKRZ2/gdbus/introspection-default-direction/.dirs/cache 830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_GZKRZ2/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_GZKRZ2/gdbus/introspection-default-direction/.dirs/system-config2 830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_GZKRZ2/gdbus/introspection-default-direction/.dirs/config 830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_GZKRZ2/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_GZKRZ2/gdbus/introspection-default-direction/.dirs/system-data2 830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_GZKRZ2/gdbus/introspection-default-direction/.dirs/data 830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_GZKRZ2/gdbus/introspection-default-direction/.dirs/state 830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_GZKRZ2/gdbus/introspection-default-direction/.dirs/runtime 830s ok 3 /gdbus/introspection-default-direction 830s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_GZKRZ2/gdbus/introspection-extra-data/.dirs/home 830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_GZKRZ2/gdbus/introspection-extra-data/.dirs/cache 830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_GZKRZ2/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_GZKRZ2/gdbus/introspection-extra-data/.dirs/system-config2 830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_GZKRZ2/gdbus/introspection-extra-data/.dirs/config 830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_GZKRZ2/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_GZKRZ2/gdbus/introspection-extra-data/.dirs/system-data2 830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_GZKRZ2/gdbus/introspection-extra-data/.dirs/data 830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_GZKRZ2/gdbus/introspection-extra-data/.dirs/state 830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_GZKRZ2/gdbus/introspection-extra-data/.dirs/runtime 830s ok 4 /gdbus/introspection-extra-data 830s # End of gdbus tests 830s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 830s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 830s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 830s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 830s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 830s ok - glib/gdbus-introspection.test 830s # Running test: glib/defaultiface.test 830s TAP version 14 830s # random seed: R02S0c5855346bc1c7b4858fd3286ecafb2a 830s 1..2 830s # Start of gobject tests 830s ok 1 /gobject/static-iface 830s ok 2 /gobject/dynamic-iface 830s # End of gobject tests 830s ok - glib/defaultiface.test 830s # Running test: glib/dir.test 830s TAP version 14 830s # random seed: R02Sf0486c6f1da01a062c567e7f0ab2488d 830s 1..3 830s # Start of dir tests 830s ok 1 /dir/read 830s ok 2 /dir/nonexisting 830s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 830s ok 3 /dir/refcounting 830s # End of dir tests 830s ok - glib/dir.test 830s # Running test: glib/gsubprocess.test 830s TAP version 14 830s # random seed: R02Sdc6f99c5ca7edd464b60114534941165 830s 1..83 830s # Start of gsubprocess tests 830s ok 1 /gsubprocess/noop 830s ok 2 /gsubprocess/noop-all-to-null 830s ok 3 /gsubprocess/noop-no-wait 830s ok 4 /gsubprocess/noop-stdin-inherit 830s ok 5 /gsubprocess/search-path 830s ok 6 /gsubprocess/search-path-from-envp 834s # Executing: glib/gsubprocess.test 834s ok 7 /gsubprocess/signal 834s # slow test /gsubprocess/signal executed in 3.56 secs 834s ok 8 /gsubprocess/exit1 834s ok 9 /gsubprocess/echo1 834s ok 10 /gsubprocess/echo-merged 834s ok 11 /gsubprocess/cat-utf8 835s ok 12 /gsubprocess/cat-eof 835s # slow test /gsubprocess/cat-eof executed in 1.00 secs 838s ok 13 /gsubprocess/multi1 838s # slow test /gsubprocess/multi1 executed in 3.01 secs 838s ok 14 /gsubprocess/communicate 839s # Executing: glib/gsubprocess.test 841s ok 15 /gsubprocess/terminate 841s # slow test /gsubprocess/terminate executed in 2.98 secs 841s ok 16 /gsubprocess/env 841s ok 17 /gsubprocess/cwd 841s ok 18 /gsubprocess/launcher-close 841s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 841s ok 19 /gsubprocess/stdout-file 841s ok 20 /gsubprocess/stdout-fd 841s ok 21 /gsubprocess/child-setup 841s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 841s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 841s ok 22 /gsubprocess/launcher-environment 841s # Start of exit1 tests 841s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 841s ok 23 /gsubprocess/exit1/cancel 841s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 841s ok 24 /gsubprocess/exit1/cancel_in_cb 841s # End of exit1 tests 841s # Start of communicate tests 841s ok 25 /gsubprocess/communicate/cancelled 841s ok 26 /gsubprocess/communicate/async 841s ok 27 /gsubprocess/communicate/utf8 841s # hello world 841s ok 28 /gsubprocess/communicate/no-pipes 841s ok 29 /gsubprocess/communicate/separate-stderr 841s ok 30 /gsubprocess/communicate/stdout-only 841s # hello world 841s ok 31 /gsubprocess/communicate/stderr-only 841s ok 32 /gsubprocess/communicate/stdout-silence 841s ok 33 /gsubprocess/communicate/nothing 841s # Start of async tests 841s ok 34 /gsubprocess/communicate/async/cancelled 841s # hello world 841s ok 35 /gsubprocess/communicate/async/no-pipes 841s ok 36 /gsubprocess/communicate/async/separate-stderr 841s ok 37 /gsubprocess/communicate/async/stdout-only 841s # hello world 841s ok 38 /gsubprocess/communicate/async/stderr-only 841s ok 39 /gsubprocess/communicate/async/stdout-silence 841s # Start of cancelled tests 841s ok 40 /gsubprocess/communicate/async/cancelled/no-pipes 841s ok 41 /gsubprocess/communicate/async/cancelled/separate-stderr 841s ok 42 /gsubprocess/communicate/async/cancelled/stdout-only 841s ok 43 /gsubprocess/communicate/async/cancelled/stderr-only 841s ok 44 /gsubprocess/communicate/async/cancelled/stdout-silence 841s # End of cancelled tests 841s # End of async tests 841s # Start of utf8 tests 841s ok 45 /gsubprocess/communicate/utf8/cancelled 841s ok 46 /gsubprocess/communicate/utf8/async 841s # hello world 841s ok 47 /gsubprocess/communicate/utf8/no-pipes 841s ok 48 /gsubprocess/communicate/utf8/separate-stderr 841s ok 49 /gsubprocess/communicate/utf8/stdout-only 841s # hello world 841s ok 50 /gsubprocess/communicate/utf8/stderr-only 841s ok 51 /gsubprocess/communicate/utf8/stdout-silence 841s ok 52 /gsubprocess/communicate/utf8/invalid 841s # Start of async tests 841s ok 53 /gsubprocess/communicate/utf8/async/cancelled 841s # hello world 841s ok 54 /gsubprocess/communicate/utf8/async/no-pipes 841s ok 55 /gsubprocess/communicate/utf8/async/separate-stderr 841s ok 56 /gsubprocess/communicate/utf8/async/stdout-only 841s # hello world 841s ok 57 /gsubprocess/communicate/utf8/async/stderr-only 841s ok 58 /gsubprocess/communicate/utf8/async/stdout-silence 841s ok 59 /gsubprocess/communicate/utf8/async/invalid 841s # Start of cancelled tests 841s ok 60 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 841s ok 61 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 841s ok 62 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 841s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 841s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 841s # End of cancelled tests 841s # End of async tests 841s # Start of cancelled tests 841s ok 65 /gsubprocess/communicate/utf8/cancelled/no-pipes 841s ok 66 /gsubprocess/communicate/utf8/cancelled/separate-stderr 841s ok 67 /gsubprocess/communicate/utf8/cancelled/stdout-only 841s ok 68 /gsubprocess/communicate/utf8/cancelled/stderr-only 841s ok 69 /gsubprocess/communicate/utf8/cancelled/stdout-silence 841s # End of cancelled tests 841s # End of utf8 tests 841s # Start of cancelled tests 841s ok 70 /gsubprocess/communicate/cancelled/no-pipes 841s ok 71 /gsubprocess/communicate/cancelled/separate-stderr 841s ok 72 /gsubprocess/communicate/cancelled/stdout-only 841s ok 73 /gsubprocess/communicate/cancelled/stderr-only 841s ok 74 /gsubprocess/communicate/cancelled/stdout-silence 841s # End of cancelled tests 841s # End of communicate tests 841s # Start of env tests 841s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 841s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 841s ok 75 /gsubprocess/env/inherit 841s # End of env tests 841s # Start of pass-fd tests 841s ok 76 /gsubprocess/pass-fd/basic 841s ok 77 /gsubprocess/pass-fd/empty-child-setup 841s ok 78 /gsubprocess/pass-fd/inherit-fds 841s # End of pass-fd tests 841s # Start of fd-conflation tests 841s ok 79 /gsubprocess/fd-conflation/basic 841s ok 80 /gsubprocess/fd-conflation/empty-child-setup 841s ok 81 /gsubprocess/fd-conflation/inherit-fds 841s ok 82 /gsubprocess/fd-conflation/child-err-report-fd 841s # End of fd-conflation tests 841s # Start of exit-status tests 841s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 841s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 841s ok 83 /gsubprocess/exit-status/trapped 841s # End of exit-status tests 841s # End of gsubprocess tests 841s ok - glib/gsubprocess.test 841s # Running test: glib/bitlock.test 841s TAP version 14 841s # random seed: R02S545185efefaaa823f2d81ccf3ade514b 841s 1..1 841s # Start of bitlock tests 841s # Start of performance tests 841s # max perf: iterations per second 841s ok 1 /bitlock/performance/uncontended 841s # End of performance tests 841s # End of bitlock tests 841s ok - glib/bitlock.test 841s # Running test: glib/cxx-14.test 841s TAP version 14 841s # random seed: R02Sf302adf6109cab17c69584c3624882b2 841s 1..2 841s # Start of gtask tests 841s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 841s ok 1 /gtask/name 841s # Start of name tests 841s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 841s ok 2 /gtask/name/macro-wrapper 841s # End of name tests 841s # End of gtask tests 841s ok - glib/cxx-14.test 841s # Running test: glib/unicode.test 841s TAP version 14 841s # random seed: R02S4b5297054826414332e7d74f2568d1f4 841s 1..39 841s # Start of unicode tests 841s ok 1 /unicode/alnum 841s ok 2 /unicode/alpha 841s ok 3 /unicode/break-type 841s ok 4 /unicode/canonical-decomposition 841s ok 5 /unicode/casefold 841s # Cannot set locale to lt_LT, skipping 841s # Cannot set locale to lt_LT, skipping 841s # Cannot set locale to lt_LT, skipping 841s # Cannot set locale to lt_LT, skipping 841s # Cannot set locale to lt_LT, skipping 841s # Cannot set locale to lt_LT, skipping 841s # Cannot set locale to lt_LT, skipping 841s # Cannot set locale to lt_LT, skipping 841s # Cannot set locale to lt_LT, skipping 841s # Cannot set locale to lt_LT, skipping 841s # Cannot set locale to lt_LT, skipping 841s ok 6 /unicode/casemap_and_casefold 841s ok 7 /unicode/cases 841s ok 8 /unicode/character-type 841s ok 9 /unicode/cntrl 841s ok 10 /unicode/combining-class 841s ok 11 /unicode/compose 841s ok 12 /unicode/decompose 841s ok 13 /unicode/decompose-tail 841s ok 14 /unicode/defined 841s ok 15 /unicode/digit 841s ok 16 /unicode/digit-value 841s ok 17 /unicode/fully-decompose-canonical 841s ok 18 /unicode/fully-decompose-len 841s ok 19 /unicode/normalization 841s ok 20 /unicode/graph 841s # Testing script Zyyy (code 1517910393) 841s # Testing script Zinh (code 1516858984) 841s # Testing script Zmth (code 1517122664) 841s # Testing script Arab (code 1098015074) 841s # Testing script Armn (code 1098018158) 841s # Testing script Beng (code 1113943655) 841s # Testing script Bopo (code 1114599535) 841s # Testing script Cher (code 1130915186) 841s # Testing script Copt (code 1131376756) 841s # Testing script Cyrl (code 1132032620) 841s # Testing script Dsrt (code 1148416628) 841s # Testing script Deva (code 1147500129) 841s # Testing script Ethi (code 1165256809) 841s # Testing script Geor (code 1197830002) 841s # Testing script Goth (code 1198486632) 841s # Testing script Grek (code 1198679403) 841s # Testing script Gujr (code 1198877298) 841s # Testing script Guru (code 1198879349) 841s # Testing script Hani (code 1214344809) 841s # Testing script Hang (code 1214344807) 841s # Testing script Hebr (code 1214603890) 841s # Testing script Hira (code 1214870113) 841s # Testing script Knda (code 1265525857) 841s # Testing script Kana (code 1264676449) 841s # Testing script Khmr (code 1265134962) 841s # Testing script Laoo (code 1281453935) 841s # Testing script Latn (code 1281455214) 841s # Testing script Mlym (code 1298954605) 841s # Testing script Mong (code 1299148391) 841s # Testing script Mymr (code 1299803506) 841s # Testing script Ogam (code 1332175213) 841s # Testing script Ital (code 1232363884) 841s # Testing script Orya (code 1332902241) 841s # Testing script Runr (code 1383427698) 841s # Testing script Sinh (code 1399418472) 841s # Testing script Syrc (code 1400468067) 841s # Testing script Taml (code 1415671148) 841s # Testing script Telu (code 1415933045) 841s # Testing script Thaa (code 1416126817) 841s # Testing script Thai (code 1416126825) 841s # Testing script Tibt (code 1416192628) 841s # Testing script Cans (code 1130458739) 841s # Testing script Yiii (code 1500080489) 841s # Testing script Tglg (code 1416064103) 841s # Testing script Hano (code 1214344815) 841s # Testing script Buhd (code 1114990692) 841s # Testing script Tagb (code 1415669602) 841s # Testing script Brai (code 1114792297) 841s # Testing script Cprt (code 1131442804) 841s # Testing script Limb (code 1281977698) 841s # Testing script Osma (code 1332964705) 841s # Testing script Shaw (code 1399349623) 841s # Testing script Linb (code 1281977954) 841s # Testing script Tale (code 1415670885) 841s # Testing script Ugar (code 1432838514) 841s # Testing script Talu (code 1415670901) 841s # Testing script Bugi (code 1114990441) 841s # Testing script Glag (code 1198285159) 841s # Testing script Tfng (code 1415999079) 841s # Testing script Sylo (code 1400466543) 841s # Testing script Xpeo (code 1483761007) 841s # Testing script Khar (code 1265131890) 841s # Testing script Zzzz (code 1517976186) 841s # Testing script Bali (code 1113681001) 841s # Testing script Xsux (code 1483961720) 841s # Testing script Phnx (code 1349021304) 841s # Testing script Phag (code 1349017959) 841s # Testing script Nkoo (code 1315663727) 841s # Testing script Kali (code 1264675945) 841s # Testing script Lepc (code 1281716323) 841s # Testing script Rjng (code 1382706791) 841s # Testing script Sund (code 1400204900) 841s # Testing script Saur (code 1398895986) 841s # Testing script Cham (code 1130914157) 841s # Testing script Olck (code 1332503403) 841s # Testing script Vaii (code 1449224553) 841s # Testing script Cari (code 1130459753) 841s # Testing script Lyci (code 1283023721) 841s # Testing script Lydi (code 1283023977) 841s # Testing script Avst (code 1098281844) 841s # Testing script Bamu (code 1113681269) 841s # Testing script Egyp (code 1164409200) 841s # Testing script Armi (code 1098018153) 841s # Testing script Phli (code 1349020777) 841s # Testing script Prti (code 1349678185) 841s # Testing script Java (code 1247901281) 841s # Testing script Kthi (code 1265920105) 841s # Testing script Lisu (code 1281979253) 841s # Testing script Mtei (code 1299473769) 841s # Testing script Sarb (code 1398895202) 841s # Testing script Orkh (code 1332898664) 841s # Testing script Samr (code 1398893938) 841s # Testing script Lana (code 1281453665) 841s # Testing script Tavt (code 1415673460) 841s # Testing script Batk (code 1113683051) 841s # Testing script Brah (code 1114792296) 841s # Testing script Mand (code 1298230884) 841s # Testing script Cakm (code 1130457965) 841s # Testing script Merc (code 1298494051) 841s # Testing script Mero (code 1298494063) 841s # Testing script Plrd (code 1349284452) 841s # Testing script Shrd (code 1399353956) 841s # Testing script Sora (code 1399812705) 841s # Testing script Takr (code 1415670642) 841s # Testing script Bass (code 1113682803) 841s # Testing script Aghb (code 1097295970) 841s # Testing script Dupl (code 1148547180) 841s # Testing script Elba (code 1164730977) 841s # Testing script Gran (code 1198678382) 841s # Testing script Khoj (code 1265135466) 841s # Testing script Sind (code 1399418468) 841s # Testing script Lina (code 1281977953) 841s # Testing script Mahj (code 1298229354) 841s # Testing script Mani (code 1298230889) 841s # Testing script Mend (code 1298493028) 841s # Testing script Modi (code 1299145833) 841s # Testing script Mroo (code 1299345263) 841s # Testing script Nbat (code 1315070324) 841s # Testing script Narb (code 1315009122) 841s # Testing script Perm (code 1348825709) 841s # Testing script Hmng (code 1215131239) 841s # Testing script Palm (code 1348562029) 841s # Testing script Pauc (code 1348564323) 841s # Testing script Phlp (code 1349020784) 841s # Testing script Sidd (code 1399415908) 841s # Testing script Tirh (code 1416196712) 841s # Testing script Wara (code 1466004065) 841s # Testing script Ahom (code 1097363309) 841s # Testing script Hluw (code 1215067511) 841s # Testing script Hatr (code 1214346354) 841s # Testing script Mult (code 1299541108) 841s # Testing script Hung (code 1215655527) 841s # Testing script Sgnw (code 1399287415) 841s # Testing script Adlm (code 1097100397) 841s # Testing script Bhks (code 1114139507) 841s # Testing script Marc (code 1298231907) 841s # Testing script Newa (code 1315272545) 841s # Testing script Osge (code 1332963173) 841s # Testing script Tang (code 1415671399) 841s # Testing script Gonm (code 1198485101) 841s # Testing script Nshu (code 1316186229) 841s # Testing script Soyo (code 1399814511) 841s # Testing script Zanb (code 1516334690) 841s # Testing script Dogr (code 1148151666) 841s # Testing script Gong (code 1198485095) 841s # Testing script Rohg (code 1383032935) 841s # Testing script Maka (code 1298230113) 841s # Testing script Medf (code 1298490470) 841s # Testing script Sogo (code 1399809903) 841s # Testing script Sogd (code 1399809892) 841s # Testing script Elym (code 1164736877) 841s # Testing script Nand (code 1315008100) 841s # Testing script Hmnp (code 1215131248) 841s # Testing script Wcho (code 1466132591) 841s # Testing script Chrs (code 1130918515) 841s # Testing script Diak (code 1147756907) 841s # Testing script Kits (code 1265202291) 841s # Testing script Yezi (code 1499822697) 841s # Testing script Cpmn (code 1131441518) 841s # Testing script Ougr (code 1333094258) 841s # Testing script Tnsa (code 1416524641) 841s # Testing script Toto (code 1416590447) 841s # Testing script Vith (code 1449751656) 841s # Testing script Kawi (code 1264678761) 841s # Testing script Nagm (code 1315006317) 841s ok 21 /unicode/iso15924 841s ok 22 /unicode/lower 841s ok 23 /unicode/mark 841s ok 24 /unicode/mirror 841s ok 25 /unicode/print 841s ok 26 /unicode/punctuation 841s ok 27 /unicode/script 841s ok 28 /unicode/space 841s ok 29 /unicode/strdown 841s ok 30 /unicode/strup 841s ok 31 /unicode/turkish-strupdown 841s ok 32 /unicode/title 841s ok 33 /unicode/upper 841s ok 34 /unicode/validate 841s ok 35 /unicode/wide 841s ok 36 /unicode/xdigit 841s ok 37 /unicode/xdigit-value 841s ok 38 /unicode/zero-width 841s ok 39 /unicode/normalize 841s # End of unicode tests 841s ok - glib/unicode.test 841s # Running test: glib/giomodule.test 841s TAP version 14 841s # random seed: R02S342b12f15f7f940c0ce11af1f5d3100e 841s 1..3 841s # Start of giomodule tests 841s ok 1 /giomodule/extension-point 841s ok 2 /giomodule/module-scan-all 841s ok 3 /giomodule/module-scan-all-with-scope 841s # End of giomodule tests 841s ok - glib/giomodule.test 841s # Running test: glib/mapping.test 841s TAP version 14 841s # random seed: R02Sc3e6aad3858719630b36b8bf95f0b928 841s 1..3 841s # Start of mapping tests 841s # test_mapping: ok 841s ok 1 /mapping/flags 841s ok 2 /mapping/private 841s # Subtest: /usr/libexec/installed-tests/glib/mapping 841s # random seed: R02Sfdcd211f66e56617aa2876e376c6e29d 841s # test_child_private: child spawned 841s # test_child_private: received first child signal 841s # test_child_private: received parent signal 841s # Child exited with status 0 841s # test_child_private: received second child signal 841s ok 3 /mapping/private-child 841s # End of mapping tests 841s ok - glib/mapping.test 841s # Running test: glib/hook.test 841s TAP version 14 841s # random seed: R02S86dc3ea0f64d6ba0209cb90039c69503 841s 1..2 841s # Start of hook tests 841s ok 1 /hook/basics 841s ok 2 /hook/corner-cases 841s # End of hook tests 841s ok - glib/hook.test 841s # Running test: glib/srvtarget.test 841s TAP version 14 841s # random seed: R02S85f09d45ea904a169296e666fedcafe5 841s 1..1 841s # Start of srvtarget tests 842s ok 1 /srvtarget/srv-target-ordering 842s # slow test /srvtarget/srv-target-ordering executed in 0.81 secs 842s # End of srvtarget tests 842s ok - glib/srvtarget.test 842s # Running test: glib/pollable.test 842s TAP version 14 842s # random seed: R02Sa121a6e2a3143f42d824d589c19f6e00 842s 1..6 842s # Start of pollable tests 842s ok 1 /pollable/converter 842s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 842s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x15d82b51f7d0 and GSocketClientAsyncConnectData 0x15d82b512ad0 842s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 842s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 842s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x15d82b520850 for GSocketClientAsyncConnectData 0x15d82b512ad0 842s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 842s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 842s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 842s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 842s ok 2 /pollable/socket 842s # Start of unix tests 842s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 842s ok 3 /pollable/unix/pipe 842s # /pollable/unix/pty summary: Test that PTYs are considered pollable 842s ok 4 /pollable/unix/pty 842s # /pollable/unix/file summary: Test that regular files are not considered pollable 842s ok 5 /pollable/unix/file 842s # /pollable/unix/nulldev summary: Test that /dev/null is not considered pollable, but only if on a system where we are able to tell it apart from devices that actually implement poll 842s ok 6 /pollable/unix/nulldev # SKIP Cannot detect /dev/null as non-pollable on this system 842s # End of unix tests 842s # End of pollable tests 842s ok - glib/pollable.test 842s # Running test: glib/sort.test 842s TAP version 14 842s # random seed: R02S7dcc08758f4c189721a705db641de682 842s 1..5 842s # Start of sort tests 842s ok 1 /sort/basic 842s ok 2 /sort/zero-elements 842s ok 3 /sort/stable 842s ok 4 /sort/big 842s ok 5 /sort/deprecated 842s # End of sort tests 842s ok - glib/sort.test 842s # Running test: glib/gmenumodel.test 842s TAP version 14 842s # random seed: R02Sdd311aa94a5f45b143d242004c3b59f0 842s 1..15 842s # Start of gmenu tests 844s # Executing: glib/gmenumodel.test 844s ok 1 /gmenu/equality 844s # slow test /gmenu/equality executed in 2.00 secs 846s ok 2 /gmenu/random 846s # slow test /gmenu/random executed in 2.14 secs 846s ok 3 /gmenu/attributes 846s ok 4 /gmenu/links 846s ok 5 /gmenu/mutable 846s ok 6 /gmenu/convenience 846s ok 7 /gmenu/menuitem 846s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 846s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 846s ok 8 /gmenu/input-validation 846s # Start of dbus tests 846s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 847s ok 9 /gmenu/dbus/roundtrip 847s # slow test /gmenu/dbus/roundtrip executed in 1.05 secs 848s ok 10 /gmenu/dbus/subscriptions 849s # Executing: glib/gmenumodel.test 849s ok 11 /gmenu/dbus/threaded 849s # slow test /gmenu/dbus/threaded executed in 1.64 secs 849s # Start of peer tests 850s ok 12 /gmenu/dbus/peer/roundtrip 850s # slow test /gmenu/dbus/peer/roundtrip executed in 1.04 secs 851s ok 13 /gmenu/dbus/peer/subscriptions 851s # End of peer tests 851s # Start of export tests 851s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 851s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s ok 14 /gmenu/dbus/export/error-handling 851s # End of export tests 851s # End of dbus tests 851s # Start of attributes tests 851s ok 15 /gmenu/attributes/iterate 851s # End of attributes tests 851s # End of gmenu tests 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s ok - glib/gmenumodel.test 851s # Running test: glib/memory-monitor.test 851s TAP version 14 851s # random seed: R02Sdcf89fe54b64f8bc45f21011ebf37d56 851s 1..1 851s # Start of memory-monitor tests 851s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 851s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ?gio-memory-monitor? 851s ok 1 /memory-monitor/default 851s # End of memory-monitor tests 851s ok - glib/memory-monitor.test 851s # Running test: glib/gdbus-bz627724.test 851s TAP version 14 851s # random seed: R02Sbf4e2f290b33aa2ad6f7cf326a6b4a76 851s 1..1 851s # Start of gdbus tests 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_04C2Z2/gdbus/bz627724/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_04C2Z2/gdbus/bz627724/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_04C2Z2/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_04C2Z2/gdbus/bz627724/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_04C2Z2/gdbus/bz627724/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_04C2Z2/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_04C2Z2/gdbus/bz627724/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_04C2Z2/gdbus/bz627724/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_04C2Z2/gdbus/bz627724/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_04C2Z2/gdbus/bz627724/.dirs/runtime 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s ok 1 /gdbus/bz627724 851s # End of gdbus tests 851s ok - glib/gdbus-bz627724.test 851s # Running test: glib/type.test 851s TAP version 14 851s # random seed: R02Se88827c40fc7ec7f24d3f23f48f5582e 851s 1..6 851s # Start of type tests 851s ok 1 /type/registration-serial 851s ok 2 /type/interface-prerequisite 851s ok 3 /type/interface-check 851s ok 4 /type/next-base 851s ok 5 /type/is-a 851s # Invalid types can?t be queried. 851s # Unclassed types can?t be queried. 851s ok 6 /type/query 851s # End of type tests 851s ok - glib/type.test 851s # Running test: glib/strvbuilder.test 851s TAP version 14 851s # random seed: R02S805f4ef7e52eef70a9cd6f189e53d818 851s 1..7 851s # Start of strvbuilder tests 851s ok 1 /strvbuilder/empty 851s ok 2 /strvbuilder/add 851s ok 3 /strvbuilder/addv 851s ok 4 /strvbuilder/add_many 851s ok 5 /strvbuilder/take 851s ok 6 /strvbuilder/ref 851s ok 7 /strvbuilder/unref_to_strv 851s # End of strvbuilder tests 851s ok - glib/strvbuilder.test 851s # Running test: glib/tls-database.test 851s TAP version 14 851s # random seed: R02Se3e7a677764801e04f3c361b9430e17e 851s 1..1 851s # Start of tls-backend tests 851s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 851s ok 1 /tls-backend/set-default-database 851s # End of tls-backend tests 851s ok - glib/tls-database.test 851s # Running test: glib/g-icon.test 851s TAP version 14 851s # random seed: R02S8a2289e7e9b4a5cb951d1f15087353db 851s 1..6 851s # Start of icons tests 851s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 851s ok 1 /icons/to-string 851s ok 2 /icons/serialize 851s ok 3 /icons/themed 851s ok 4 /icons/emblemed 851s ok 5 /icons/file 851s ok 6 /icons/bytes 851s # End of icons tests 851s ok - glib/g-icon.test 851s # Running test: glib/dataset.test 851s TAP version 14 851s # random seed: R02S5c6d4aba1e5cc7ca1798bc4b2f8d1c6d 851s 1..14 851s # Start of quark tests 851s ok 1 /quark/basic 851s ok 2 /quark/string 851s # End of quark tests 851s # Start of dataset tests 851s ok 3 /dataset/basic 851s ok 4 /dataset/id 851s ok 5 /dataset/full 851s ok 6 /dataset/foreach 851s ok 7 /dataset/destroy 851s # End of dataset tests 851s # Start of datalist tests 851s ok 8 /datalist/basic 851s ok 9 /datalist/id 851s ok 10 /datalist/recursive-clear 851s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 851s ok 11 /datalist/id-remove-multiple 851s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 851s ok 12 /datalist/id-remove-multiple-destroy-order 851s ok 13 /datalist/update-atomic 851s # Start of id-remove-multiple tests 851s ok 14 /datalist/id-remove-multiple/resize 851s # End of id-remove-multiple tests 851s # End of datalist tests 851s ok - glib/dataset.test 851s # Running test: glib/async-close-output-stream.test 851s TAP version 14 851s # random seed: R02S86fcb569b420a720047b8b90739bfb47 851s 1..3 851s # Start of close-async tests 851s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 851s ok 1 /close-async/without-flush 851s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 851s ok 2 /close-async/with-flush 851s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 851s ok 3 /close-async/with-async-flush 851s # End of close-async tests 851s ok - glib/async-close-output-stream.test 851s # Running test: glib/hash.test 851s TAP version 14 851s # random seed: R02S6f459ac95b71e93b2a0cb90327d7705c 851s 1..34 851s # Start of hash tests 851s ok 1 /hash/misc 851s ok 2 /hash/one 851s ok 3 /hash/honeyman 851s ok 4 /hash/direct 851s ok 5 /hash/direct2 851s ok 6 /hash/int 851s ok 7 /hash/int64 851s ok 8 /hash/double 851s ok 9 /hash/string 851s ok 10 /hash/set 851s ok 11 /hash/set-ref 851s ok 12 /hash/ref 851s ok 13 /hash/remove-all 851s ok 14 /hash/recursive-remove-all 851s ok 15 /hash/find 851s ok 16 /hash/foreach 851s ok 17 /hash/foreach-steal 851s ok 18 /hash/steal-extended 851s ok 19 /hash/steal-all-keys 851s ok 20 /hash/steal-all-values 851s ok 21 /hash/lookup-extended 851s ok 22 /hash/new-similar 851s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 851s ok 23 /hash/lookup-null-key 851s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 851s ok 24 /hash/destroy-modify 851s ok 25 /hash/consistency 851s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 851s ok 26 /hash/iter-replace 851s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 851s ok 27 /hash/set-insert-corruption 851s ok 28 /hash/set-to-strv 851s ok 29 /hash/get-keys-as-ptr-array 851s ok 30 /hash/get-values-as-ptr-array 851s ok 31 /hash/primes 851s # Start of int64 tests 851s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 851s ok 32 /hash/int64/collisions 851s # End of int64 tests 851s # Start of double tests 851s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 851s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 851s ok 33 /hash/double/collisions 851s # End of double tests 851s # Start of recursive-remove-all tests 851s # End of recursive-remove-all tests 851s # Start of steal-extended tests 851s ok 34 /hash/steal-extended/optional 851s # End of steal-extended tests 851s # End of hash tests 851s ok - glib/hash.test 851s # Running test: glib/memchunk.test 851s TAP version 14 851s # random seed: R02S2d464c8a3edf2f155daf076ed20a9eac 851s 1..1 851s # Start of memchunk tests 851s ok 1 /memchunk/basic 851s # End of memchunk tests 851s ok - glib/memchunk.test 851s # Running test: glib/deprecated-properties.test 851s TAP version 14 851s # random seed: R02S101e9000138a8464d2b11d7420b8c549 851s 1..3 851s # Start of deprecated-properties tests 851s ok 1 /deprecated-properties/construct 851s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 851s ok 2 /deprecated-properties/default-construct 851s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 851s ok 3 /deprecated-properties/set 851s # End of deprecated-properties tests 851s ok - glib/deprecated-properties.test 851s # Running test: glib/gdbus-threading.test 851s TAP version 14 851s # random seed: R02S0109b55352714fb01d48ef1f5471b31e 851s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 851s ok - glib/gdbus-threading.test 851s # Running test: glib/macros-c-89.test 851s TAP version 14 851s # random seed: R02S2048ce90d8739a91b819e8006751aa6b 851s 1..4 851s # Start of C tests 851s ok 1 /C/standard-89 851s # End of C tests 851s # Start of alignof tests 851s ok 2 /alignof/fallback 851s # End of alignof tests 851s # Start of assert tests 851s ok 3 /assert/static 851s # End of assert tests 851s # Start of struct tests 851s ok 4 /struct/sizeof_member 851s # End of struct tests 851s ok - glib/macros-c-89.test 851s # Running test: glib/signals-refcount1.test 851s TAP version 14 851s # random seed: R02S4f04563ba86c2a491b3bec86a2acadc9 851s 1..1 851s # Start of gobject tests 851s # Start of refcount tests 851s # init 0xa0b1ca9f420 851s # 851s # init 0xa0b1ca9f5c0 851s # 854s # Executing: glib/signals-refcount1.test 856s # dispose 0xa0b1ca9f420! 856s # 856s # dispose 0xa0b1ca9f5c0! 856s # 856s ok 1 /gobject/refcount/signals 856s # slow test /gobject/refcount/signals executed in 5.00 secs 856s # End of refcount tests 856s # End of gobject tests 856s ok - glib/signals-refcount1.test 856s # Running test: glib/utf8-validate.test 856s TAP version 14 856s # random seed: R02Sf1689041fe62741e7b6f7c0d53269291 856s 1..216 856s # Start of utf8 tests 856s # Vector 0 856s # Vector 1 856s # Vector 2 856s # Vector 3 856s # Vector 4 856s # Vector 5 856s # Vector 6 856s # Vector 7 856s # Vector 8 856s # Vector 9 856s # Vector 10 856s # Vector 11 856s # Vector 12 856s # Vector 13 856s # Vector 14 856s # Vector 15 856s # Vector 16 856s # Vector 17 856s # Vector 18 856s # Vector 19 856s # Vector 20 856s # Vector 21 856s # Vector 22 856s # Vector 23 856s # Vector 24 856s # Vector 25 856s # Vector 26 856s # Vector 27 856s ok 1 /utf8/get-char-validated 856s # Start of validate tests 856s ok 2 /utf8/validate/0 856s ok 3 /utf8/validate/1 856s ok 4 /utf8/validate/2 856s ok 5 /utf8/validate/3 856s ok 6 /utf8/validate/4 856s ok 7 /utf8/validate/5 856s ok 8 /utf8/validate/6 856s ok 9 /utf8/validate/7 856s ok 10 /utf8/validate/8 856s ok 11 /utf8/validate/9 856s ok 12 /utf8/validate/10 856s ok 13 /utf8/validate/11 856s ok 14 /utf8/validate/12 856s ok 15 /utf8/validate/13 856s ok 16 /utf8/validate/14 856s ok 17 /utf8/validate/15 856s ok 18 /utf8/validate/16 856s ok 19 /utf8/validate/17 856s ok 20 /utf8/validate/18 856s ok 21 /utf8/validate/19 856s ok 22 /utf8/validate/20 856s ok 23 /utf8/validate/21 856s ok 24 /utf8/validate/22 856s ok 25 /utf8/validate/23 856s ok 26 /utf8/validate/24 856s ok 27 /utf8/validate/25 856s ok 28 /utf8/validate/26 856s ok 29 /utf8/validate/27 856s ok 30 /utf8/validate/28 856s ok 31 /utf8/validate/29 856s ok 32 /utf8/validate/30 856s ok 33 /utf8/validate/31 856s ok 34 /utf8/validate/32 856s ok 35 /utf8/validate/33 856s ok 36 /utf8/validate/34 856s ok 37 /utf8/validate/35 856s ok 38 /utf8/validate/36 856s ok 39 /utf8/validate/37 856s ok 40 /utf8/validate/38 856s ok 41 /utf8/validate/39 856s ok 42 /utf8/validate/40 856s ok 43 /utf8/validate/41 856s ok 44 /utf8/validate/42 856s ok 45 /utf8/validate/43 856s ok 46 /utf8/validate/44 856s ok 47 /utf8/validate/45 856s ok 48 /utf8/validate/46 856s ok 49 /utf8/validate/47 856s ok 50 /utf8/validate/48 856s ok 51 /utf8/validate/49 856s ok 52 /utf8/validate/50 856s ok 53 /utf8/validate/51 856s ok 54 /utf8/validate/52 856s ok 55 /utf8/validate/53 856s ok 56 /utf8/validate/54 856s ok 57 /utf8/validate/55 856s ok 58 /utf8/validate/56 856s ok 59 /utf8/validate/57 856s ok 60 /utf8/validate/58 856s ok 61 /utf8/validate/59 856s ok 62 /utf8/validate/60 856s ok 63 /utf8/validate/61 856s ok 64 /utf8/validate/62 856s ok 65 /utf8/validate/63 856s ok 66 /utf8/validate/64 856s ok 67 /utf8/validate/65 856s ok 68 /utf8/validate/66 856s ok 69 /utf8/validate/67 856s ok 70 /utf8/validate/68 856s ok 71 /utf8/validate/69 856s ok 72 /utf8/validate/70 856s ok 73 /utf8/validate/71 856s ok 74 /utf8/validate/72 856s ok 75 /utf8/validate/73 856s ok 76 /utf8/validate/74 856s ok 77 /utf8/validate/75 856s ok 78 /utf8/validate/76 856s ok 79 /utf8/validate/77 856s ok 80 /utf8/validate/78 856s ok 81 /utf8/validate/79 856s ok 82 /utf8/validate/80 856s ok 83 /utf8/validate/81 856s ok 84 /utf8/validate/82 856s ok 85 /utf8/validate/83 856s ok 86 /utf8/validate/84 856s ok 87 /utf8/validate/85 856s ok 88 /utf8/validate/86 856s ok 89 /utf8/validate/87 856s ok 90 /utf8/validate/88 856s ok 91 /utf8/validate/89 856s ok 92 /utf8/validate/90 856s ok 93 /utf8/validate/91 856s ok 94 /utf8/validate/92 856s ok 95 /utf8/validate/93 856s ok 96 /utf8/validate/94 856s ok 97 /utf8/validate/95 856s ok 98 /utf8/validate/96 856s ok 99 /utf8/validate/97 856s ok 100 /utf8/validate/98 856s ok 101 /utf8/validate/99 856s ok 102 /utf8/validate/100 856s ok 103 /utf8/validate/101 856s ok 104 /utf8/validate/102 856s ok 105 /utf8/validate/103 856s ok 106 /utf8/validate/104 856s ok 107 /utf8/validate/105 856s ok 108 /utf8/validate/106 856s ok 109 /utf8/validate/107 856s ok 110 /utf8/validate/108 856s ok 111 /utf8/validate/109 856s ok 112 /utf8/validate/110 856s ok 113 /utf8/validate/111 856s ok 114 /utf8/validate/112 856s ok 115 /utf8/validate/113 856s ok 116 /utf8/validate/114 856s ok 117 /utf8/validate/115 856s ok 118 /utf8/validate/116 856s ok 119 /utf8/validate/117 856s ok 120 /utf8/validate/118 856s ok 121 /utf8/validate/119 856s ok 122 /utf8/validate/120 856s ok 123 /utf8/validate/121 856s ok 124 /utf8/validate/122 856s ok 125 /utf8/validate/123 856s ok 126 /utf8/validate/124 856s ok 127 /utf8/validate/125 856s ok 128 /utf8/validate/126 856s ok 129 /utf8/validate/127 856s ok 130 /utf8/validate/128 856s ok 131 /utf8/validate/129 856s ok 132 /utf8/validate/130 856s ok 133 /utf8/validate/131 856s ok 134 /utf8/validate/132 856s ok 135 /utf8/validate/133 856s ok 136 /utf8/validate/134 856s ok 137 /utf8/validate/135 856s ok 138 /utf8/validate/136 856s ok 139 /utf8/validate/137 856s ok 140 /utf8/validate/138 856s ok 141 /utf8/validate/139 856s ok 142 /utf8/validate/140 856s ok 143 /utf8/validate/141 856s ok 144 /utf8/validate/142 856s ok 145 /utf8/validate/143 856s ok 146 /utf8/validate/144 856s ok 147 /utf8/validate/145 856s ok 148 /utf8/validate/146 856s ok 149 /utf8/validate/147 856s ok 150 /utf8/validate/148 856s ok 151 /utf8/validate/149 856s ok 152 /utf8/validate/150 856s ok 153 /utf8/validate/151 856s ok 154 /utf8/validate/152 856s ok 155 /utf8/validate/153 856s ok 156 /utf8/validate/154 856s ok 157 /utf8/validate/155 856s ok 158 /utf8/validate/156 856s ok 159 /utf8/validate/157 856s ok 160 /utf8/validate/158 856s ok 161 /utf8/validate/159 856s ok 162 /utf8/validate/160 856s ok 163 /utf8/validate/161 856s ok 164 /utf8/validate/162 856s ok 165 /utf8/validate/163 856s ok 166 /utf8/validate/164 856s ok 167 /utf8/validate/165 856s ok 168 /utf8/validate/166 856s ok 169 /utf8/validate/167 856s ok 170 /utf8/validate/168 856s ok 171 /utf8/validate/169 856s ok 172 /utf8/validate/170 856s ok 173 /utf8/validate/171 856s ok 174 /utf8/validate/172 856s ok 175 /utf8/validate/173 856s ok 176 /utf8/validate/174 856s ok 177 /utf8/validate/175 856s ok 178 /utf8/validate/176 856s ok 179 /utf8/validate/177 856s ok 180 /utf8/validate/178 856s ok 181 /utf8/validate/179 856s ok 182 /utf8/validate/180 856s ok 183 /utf8/validate/181 856s ok 184 /utf8/validate/182 856s ok 185 /utf8/validate/183 856s ok 186 /utf8/validate/184 856s ok 187 /utf8/validate/185 856s ok 188 /utf8/validate/186 856s ok 189 /utf8/validate/187 856s ok 190 /utf8/validate/188 856s ok 191 /utf8/validate/189 856s ok 192 /utf8/validate/190 856s ok 193 /utf8/validate/191 856s ok 194 /utf8/validate/192 856s ok 195 /utf8/validate/193 856s ok 196 /utf8/validate/194 856s ok 197 /utf8/validate/195 856s ok 198 /utf8/validate/196 856s ok 199 /utf8/validate/197 856s ok 200 /utf8/validate/198 856s ok 201 /utf8/validate/199 856s ok 202 /utf8/validate/200 856s ok 203 /utf8/validate/201 856s ok 204 /utf8/validate/202 856s ok 205 /utf8/validate/203 856s ok 206 /utf8/validate/204 856s ok 207 /utf8/validate/205 856s ok 208 /utf8/validate/206 856s ok 209 /utf8/validate/207 856s ok 210 /utf8/validate/208 856s ok 211 /utf8/validate/209 856s ok 212 /utf8/validate/210 856s ok 213 /utf8/validate/211 856s ok 214 /utf8/validate/212 856s ok 215 /utf8/validate/213 856s ok 216 /utf8/validate/214 856s # End of validate tests 856s # End of utf8 tests 856s ok - glib/utf8-validate.test 856s # Running test: glib/gdbus-proxy-well-known-name.test 856s TAP version 14 856s # random seed: R02Sf9bff23808ac189817e094c4d3951078 856s 1..1 856s # Start of gdbus tests 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_3XC0Z2/gdbus/proxy-well-known-name/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_3XC0Z2/gdbus/proxy-well-known-name/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_3XC0Z2/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_3XC0Z2/gdbus/proxy-well-known-name/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_3XC0Z2/gdbus/proxy-well-known-name/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_3XC0Z2/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_3XC0Z2/gdbus/proxy-well-known-name/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_3XC0Z2/gdbus/proxy-well-known-name/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_3XC0Z2/gdbus/proxy-well-known-name/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_3XC0Z2/gdbus/proxy-well-known-name/.dirs/runtime 856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 856s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 856s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 856s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 856s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 856s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 856s ok 1 /gdbus/proxy-well-known-name 856s # End of gdbus tests 856s ok - glib/gdbus-proxy-well-known-name.test 856s # Running test: glib/struct-info.test 856s TAP version 14 856s # random seed: R02S41b0c1fd9dab36399ab43b6e7411249f 856s 1..4 856s # Start of struct-info tests 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_CSGZZ2/struct-info/field-iterators/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_CSGZZ2/struct-info/field-iterators/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_CSGZZ2/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_CSGZZ2/struct-info/field-iterators/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_CSGZZ2/struct-info/field-iterators/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_CSGZZ2/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_CSGZZ2/struct-info/field-iterators/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_CSGZZ2/struct-info/field-iterators/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_CSGZZ2/struct-info/field-iterators/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_CSGZZ2/struct-info/field-iterators/.dirs/runtime 856s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 856s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 856s ok 1 /struct-info/field-iterators 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_CSGZZ2/struct-info/sizeof-gvalue/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_CSGZZ2/struct-info/sizeof-gvalue/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_CSGZZ2/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_CSGZZ2/struct-info/sizeof-gvalue/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_CSGZZ2/struct-info/sizeof-gvalue/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_CSGZZ2/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_CSGZZ2/struct-info/sizeof-gvalue/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_CSGZZ2/struct-info/sizeof-gvalue/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_CSGZZ2/struct-info/sizeof-gvalue/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_CSGZZ2/struct-info/sizeof-gvalue/.dirs/runtime 856s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 856s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 856s ok 2 /struct-info/sizeof-gvalue 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_CSGZZ2/struct-info/is-pointer-for-struct-method-arg/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_CSGZZ2/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_CSGZZ2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_CSGZZ2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_CSGZZ2/struct-info/is-pointer-for-struct-method-arg/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_CSGZZ2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_CSGZZ2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_CSGZZ2/struct-info/is-pointer-for-struct-method-arg/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_CSGZZ2/struct-info/is-pointer-for-struct-method-arg/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_CSGZZ2/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 856s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 856s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 856s ok 3 /struct-info/is-pointer-for-struct-method-arg 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_CSGZZ2/struct-info/boxed/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_CSGZZ2/struct-info/boxed/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_CSGZZ2/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_CSGZZ2/struct-info/boxed/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_CSGZZ2/struct-info/boxed/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_CSGZZ2/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_CSGZZ2/struct-info/boxed/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_CSGZZ2/struct-info/boxed/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_CSGZZ2/struct-info/boxed/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_CSGZZ2/struct-info/boxed/.dirs/runtime 856s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 856s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 856s ok 4 /struct-info/boxed 856s # End of struct-info tests 856s ok - glib/struct-info.test 856s # Running test: glib/null-settings-backend.test 856s TAP version 14 856s # random seed: R02Sef8bb2fc12f2560a04746bdabe3a7f8c 856s 1..1 856s # Start of null-settings-backend tests 856s ok 1 /null-settings-backend/extension-point-registered 856s # End of null-settings-backend tests 856s ok - glib/null-settings-backend.test 856s # Running test: glib/gdbus-server-auth.test 856s TAP version 14 856s # random seed: R02Sffe482197a420555067801a25881da80 856s 1..9 856s # Start of gdbus tests 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/.dirs/runtime 856s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_9Y7YZ2/gdbus-server-auth-EP7YZ2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 856s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_9Y7YZ2/gdbus-server-auth-EP7YZ2/dbus-AmK44wXS 856s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 856s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 856s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 856s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 856s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 856s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 856s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 856s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 856s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 856s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 856s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 856s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 856s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 856s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 856s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 856s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 856s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 856s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 856s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 856s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 856s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 856s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 856s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 856s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 856s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 856s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 856s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 856s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 856s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 856s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 856s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 856s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 856s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 856s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 856s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 856s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 856s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 856s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 856s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 856s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 856s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 856s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 856s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 2905 856s ok 1 /gdbus/server-auth 856s # Start of server-auth tests 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/abstract/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/abstract/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/abstract/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/abstract/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/abstract/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/abstract/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/abstract/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/abstract/.dirs/runtime 856s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_9Y7YZ2/gdbus-server-auth-2ISYZ2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 856s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_9Y7YZ2/gdbus-server-auth-2ISYZ2/dbus-W6wKvHwC 856s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 856s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 856s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 856s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 856s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 856s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 856s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 856s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 856s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 856s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 856s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 856s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 856s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 856s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 856s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 856s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 856s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 856s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 856s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 856s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 856s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 856s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 856s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 856s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 856s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 856s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 856s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 856s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 856s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 856s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 856s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 856s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 856s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 856s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 856s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 856s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 856s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 856s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 856s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 856s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 856s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 856s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 856s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 2905 856s ok 2 /gdbus/server-auth/abstract 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/tcp/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/tcp/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/tcp/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/tcp/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/tcp/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/tcp/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/tcp/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/tcp/.dirs/runtime 856s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 856s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/anonymous/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/anonymous/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/anonymous/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/anonymous/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/anonymous/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/anonymous/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/anonymous/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/anonymous/.dirs/runtime 856s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_9Y7YZ2/gdbus-server-auth-VMDYZ2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 856s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_9Y7YZ2/gdbus-server-auth-VMDYZ2/dbus-3PoGlEWd 856s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 856s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 856s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 856s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 856s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 856s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 856s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 856s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 856s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 856s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 856s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 856s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 856s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 856s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 856s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 856s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 856s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 856s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 856s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 856s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 856s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 856s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 2905 856s ok 4 /gdbus/server-auth/anonymous 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/external/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/external/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/external/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/external/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/external/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/external/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/external/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/external/.dirs/runtime 856s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_9Y7YZ2/gdbus-server-auth-H9BXZ2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 856s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_9Y7YZ2/gdbus-server-auth-H9BXZ2/dbus-sfUAOhha 856s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 2905 856s ok 5 /gdbus/server-auth/external 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/sha1/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/sha1/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/sha1/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/sha1/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/sha1/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/sha1/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/sha1/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/sha1/.dirs/runtime 856s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_9Y7YZ2/gdbus-server-auth-5ZWWZ2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 856s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 856s # Start of anonymous tests 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/anonymous/tcp/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/anonymous/tcp/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/anonymous/tcp/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/anonymous/tcp/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/anonymous/tcp/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 856s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 856s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 856s # End of anonymous tests 856s # Start of external tests 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/external/require-same-user/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/external/require-same-user/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/external/require-same-user/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/external/require-same-user/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/external/require-same-user/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/external/require-same-user/.dirs/runtime 856s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_9Y7YZ2/gdbus-server-auth-87WWZ2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 856s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_9Y7YZ2/gdbus-server-auth-87WWZ2/dbus-xVypbpKe 856s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 2905 856s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 856s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 856s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 856s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=2905,uid=1000,gid=1000 856s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 2905 856s ok 8 /gdbus/server-auth/external/require-same-user 856s # End of external tests 856s # Start of sha1 tests 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/sha1/tcp/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/sha1/tcp/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/sha1/tcp/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/sha1/tcp/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/sha1/tcp/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_9Y7YZ2/gdbus/server-auth/sha1/tcp/.dirs/runtime 856s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 856s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 856s # End of sha1 tests 856s # End of server-auth tests 856s # End of gdbus tests 856s ok - glib/gdbus-server-auth.test 856s # Running test: glib/cmph-bdz.test 856s TAP version 14 856s # random seed: R02Sf94de170e198318506c673a291141bce 856s 1..2 856s # Start of cmph-bdz tests 856s ok 1 /cmph-bdz/search 856s ok 2 /cmph-bdz/search-packed 856s # End of cmph-bdz tests 856s ok - glib/cmph-bdz.test 856s # Running test: glib/bookmarkfile.test 856s TAP version 14 856s # random seed: R02S2c5b009a26b0926f58a220cdcfc8e0bd 856s 1..96 856s # Start of bookmarks tests 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/load-from-data-dirs/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/load-from-data-dirs/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/load-from-data-dirs/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/load-from-data-dirs/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/load-from-data-dirs/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/load-from-data-dirs/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/load-from-data-dirs/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/load-from-data-dirs/.dirs/runtime 856s ok 1 /bookmarks/load-from-data-dirs 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/to-file/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/to-file/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/to-file/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/to-file/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/to-file/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/to-file/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/to-file/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/to-file/.dirs/runtime 856s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_PF7VZ2/bookmarkfile-test-UM8VZ2.xbel 856s # Roundtrip from a valid bookmark file 856s ok 2 /bookmarks/to-file 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/move-item/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/move-item/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/move-item/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/move-item/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/move-item/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/move-item/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/move-item/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/move-item/.dirs/runtime 856s ok 3 /bookmarks/move-item 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/corner-cases/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/corner-cases/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/corner-cases/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/corner-cases/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/corner-cases/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/corner-cases/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/corner-cases/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/corner-cases/.dirs/runtime 856s ok 4 /bookmarks/corner-cases 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/misc/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/misc/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/misc/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/misc/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/misc/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/misc/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/misc/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/misc/.dirs/runtime 856s ok 5 /bookmarks/misc 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/deprecated/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/deprecated/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/deprecated/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/deprecated/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/deprecated/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/deprecated/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/deprecated/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/deprecated/.dirs/runtime 856s ok 6 /bookmarks/deprecated 856s # Start of parse tests 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/valid-01.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/valid-01.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/valid-01.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/valid-01.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/valid-01.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/valid-01.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/valid-01.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/valid-01.xbel/.dirs/runtime 856s ok 7 /bookmarks/parse/valid-01.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/valid-02.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/valid-02.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/valid-02.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/valid-02.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/valid-02.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/valid-02.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/valid-02.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/valid-02.xbel/.dirs/runtime 856s ok 8 /bookmarks/parse/valid-02.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-07.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-07.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-07.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-07.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-07.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-07.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-07.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-07.xbel/.dirs/runtime 856s ok 9 /bookmarks/parse/fail-07.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-32.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-32.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-32.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-32.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-32.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-32.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-32.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-32.xbel/.dirs/runtime 856s ok 10 /bookmarks/parse/fail-32.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-28.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-28.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-28.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-28.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-28.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-28.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-28.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-28.xbel/.dirs/runtime 856s ok 11 /bookmarks/parse/fail-28.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-04.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-04.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-04.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-04.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-04.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-04.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-04.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-04.xbel/.dirs/runtime 856s ok 12 /bookmarks/parse/fail-04.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-40.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-40.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-40.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-40.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-40.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-40.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-40.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-40.xbel/.dirs/runtime 856s ok 13 /bookmarks/parse/fail-40.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-26.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-26.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-26.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-26.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-26.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-26.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-26.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-26.xbel/.dirs/runtime 856s ok 14 /bookmarks/parse/fail-26.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-23.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-23.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-23.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-23.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-23.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-23.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-23.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-23.xbel/.dirs/runtime 856s ok 15 /bookmarks/parse/fail-23.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-17.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-17.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-17.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-17.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-17.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-17.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-17.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-17.xbel/.dirs/runtime 856s ok 16 /bookmarks/parse/fail-17.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-38.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-38.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-38.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-38.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-38.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-38.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-38.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-38.xbel/.dirs/runtime 856s ok 17 /bookmarks/parse/fail-38.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-25.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-25.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-25.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-25.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-25.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-25.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-25.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-25.xbel/.dirs/runtime 856s ok 18 /bookmarks/parse/fail-25.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-01.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-01.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-01.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-01.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-01.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-01.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-01.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-01.xbel/.dirs/runtime 856s ok 19 /bookmarks/parse/fail-01.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-29.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-29.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-29.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-29.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-29.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-29.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-29.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-29.xbel/.dirs/runtime 856s ok 20 /bookmarks/parse/fail-29.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-12.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-12.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-12.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-12.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-12.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-12.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-12.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-12.xbel/.dirs/runtime 856s ok 21 /bookmarks/parse/fail-12.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-20.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-20.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-20.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-20.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-20.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-20.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-20.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-20.xbel/.dirs/runtime 856s ok 22 /bookmarks/parse/fail-20.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-10.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-10.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-10.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-10.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-10.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-10.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-10.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-10.xbel/.dirs/runtime 856s ok 23 /bookmarks/parse/fail-10.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-16.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-16.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-16.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-16.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-16.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-16.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-16.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-16.xbel/.dirs/runtime 856s ok 24 /bookmarks/parse/fail-16.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-22.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-22.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-22.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-22.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-22.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-22.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-22.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-22.xbel/.dirs/runtime 856s ok 25 /bookmarks/parse/fail-22.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-21.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-21.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-21.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-21.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-21.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-21.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-21.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-21.xbel/.dirs/runtime 856s ok 26 /bookmarks/parse/fail-21.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-30.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-30.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-30.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-30.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-30.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-30.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-30.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-30.xbel/.dirs/runtime 856s ok 27 /bookmarks/parse/fail-30.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-13.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-13.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-13.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-13.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-13.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-13.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-13.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-13.xbel/.dirs/runtime 856s ok 28 /bookmarks/parse/fail-13.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-03.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-03.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-03.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-03.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-03.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-03.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-03.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-03.xbel/.dirs/runtime 856s ok 29 /bookmarks/parse/fail-03.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-42.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-42.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-42.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-42.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-42.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-42.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-42.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-42.xbel/.dirs/runtime 856s ok 30 /bookmarks/parse/fail-42.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-36.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-36.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-36.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-36.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-36.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-36.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-36.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-36.xbel/.dirs/runtime 856s ok 31 /bookmarks/parse/fail-36.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-24.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-24.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-24.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-24.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-24.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-24.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-24.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-24.xbel/.dirs/runtime 856s ok 32 /bookmarks/parse/fail-24.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-06.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-06.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-06.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-06.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-06.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-06.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-06.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-06.xbel/.dirs/runtime 856s ok 33 /bookmarks/parse/fail-06.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-41.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-41.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-41.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-41.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-41.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-41.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-41.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-41.xbel/.dirs/runtime 856s ok 34 /bookmarks/parse/fail-41.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-19.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-19.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-19.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-19.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-19.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-19.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-19.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-19.xbel/.dirs/runtime 856s ok 35 /bookmarks/parse/fail-19.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-27.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-27.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-27.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-27.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-27.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-27.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-27.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-27.xbel/.dirs/runtime 856s ok 36 /bookmarks/parse/fail-27.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/valid-03.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/valid-03.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/valid-03.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/valid-03.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/valid-03.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/valid-03.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/valid-03.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/valid-03.xbel/.dirs/runtime 856s ok 37 /bookmarks/parse/valid-03.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-18.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-18.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-18.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-18.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-18.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-18.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-18.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-18.xbel/.dirs/runtime 856s ok 38 /bookmarks/parse/fail-18.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-39.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-39.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-39.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-39.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-39.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-39.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-39.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-39.xbel/.dirs/runtime 856s ok 39 /bookmarks/parse/fail-39.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-37.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-37.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-37.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-37.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-37.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-37.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-37.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-37.xbel/.dirs/runtime 856s ok 40 /bookmarks/parse/fail-37.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-34.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-34.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-34.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-34.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-34.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-34.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-34.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-34.xbel/.dirs/runtime 856s ok 41 /bookmarks/parse/fail-34.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-09.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-09.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-09.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-09.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-09.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-09.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-09.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-09.xbel/.dirs/runtime 856s ok 42 /bookmarks/parse/fail-09.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-11.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-11.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-11.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-11.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-11.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-11.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-11.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-11.xbel/.dirs/runtime 856s ok 43 /bookmarks/parse/fail-11.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-31.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-31.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-31.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-31.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-31.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-31.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-31.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-31.xbel/.dirs/runtime 856s ok 44 /bookmarks/parse/fail-31.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-33.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-33.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-33.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-33.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-33.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-33.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-33.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-33.xbel/.dirs/runtime 856s ok 45 /bookmarks/parse/fail-33.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-35.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-35.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-35.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-35.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-35.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-35.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-35.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-35.xbel/.dirs/runtime 856s ok 46 /bookmarks/parse/fail-35.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-14.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-14.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-14.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-14.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-14.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-14.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-14.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-14.xbel/.dirs/runtime 856s ok 47 /bookmarks/parse/fail-14.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-08.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-08.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-08.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-08.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-08.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-08.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-08.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-08.xbel/.dirs/runtime 856s ok 48 /bookmarks/parse/fail-08.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-05.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-05.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-05.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-05.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-05.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-05.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-05.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-05.xbel/.dirs/runtime 856s ok 49 /bookmarks/parse/fail-05.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-02.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-02.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-02.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-02.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-02.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-02.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-02.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-02.xbel/.dirs/runtime 856s ok 50 /bookmarks/parse/fail-02.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-15.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-15.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-15.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-15.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-15.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-15.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-15.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/parse/fail-15.xbel/.dirs/runtime 856s ok 51 /bookmarks/parse/fail-15.xbel 856s # End of parse tests 856s # Start of copy tests 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/valid-01.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/valid-01.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/valid-01.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/valid-01.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/valid-01.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/valid-01.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/valid-01.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/valid-01.xbel/.dirs/runtime 856s ok 52 /bookmarks/copy/valid-01.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/valid-02.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/valid-02.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/valid-02.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/valid-02.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/valid-02.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/valid-02.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/valid-02.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/valid-02.xbel/.dirs/runtime 856s ok 53 /bookmarks/copy/valid-02.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-07.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-07.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-07.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-07.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-07.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-07.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-07.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-07.xbel/.dirs/runtime 856s ok 54 /bookmarks/copy/fail-07.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-32.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-32.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-32.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-32.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-32.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-32.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-32.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-32.xbel/.dirs/runtime 856s ok 55 /bookmarks/copy/fail-32.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-28.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-28.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-28.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-28.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-28.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-28.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-28.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-28.xbel/.dirs/runtime 856s ok 56 /bookmarks/copy/fail-28.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-04.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-04.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-04.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-04.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-04.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-04.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-04.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-04.xbel/.dirs/runtime 856s ok 57 /bookmarks/copy/fail-04.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-40.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-40.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-40.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-40.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-40.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-40.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-40.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-40.xbel/.dirs/runtime 856s ok 58 /bookmarks/copy/fail-40.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-26.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-26.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-26.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-26.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-26.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-26.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-26.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-26.xbel/.dirs/runtime 856s ok 59 /bookmarks/copy/fail-26.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-23.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-23.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-23.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-23.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-23.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-23.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-23.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-23.xbel/.dirs/runtime 856s ok 60 /bookmarks/copy/fail-23.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-17.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-17.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-17.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-17.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-17.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-17.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-17.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-17.xbel/.dirs/runtime 856s ok 61 /bookmarks/copy/fail-17.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-38.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-38.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-38.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-38.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-38.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-38.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-38.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-38.xbel/.dirs/runtime 856s ok 62 /bookmarks/copy/fail-38.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-25.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-25.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-25.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-25.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-25.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-25.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-25.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-25.xbel/.dirs/runtime 856s ok 63 /bookmarks/copy/fail-25.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-01.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-01.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-01.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-01.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-01.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-01.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-01.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-01.xbel/.dirs/runtime 856s ok 64 /bookmarks/copy/fail-01.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-29.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-29.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-29.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-29.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-29.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-29.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-29.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-29.xbel/.dirs/runtime 856s ok 65 /bookmarks/copy/fail-29.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-12.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-12.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-12.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-12.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-12.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-12.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-12.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-12.xbel/.dirs/runtime 856s ok 66 /bookmarks/copy/fail-12.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-20.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-20.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-20.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-20.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-20.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-20.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-20.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-20.xbel/.dirs/runtime 856s ok 67 /bookmarks/copy/fail-20.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-10.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-10.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-10.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-10.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-10.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-10.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-10.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-10.xbel/.dirs/runtime 856s ok 68 /bookmarks/copy/fail-10.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-16.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-16.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-16.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-16.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-16.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-16.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-16.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-16.xbel/.dirs/runtime 856s ok 69 /bookmarks/copy/fail-16.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-22.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-22.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-22.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-22.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-22.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-22.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-22.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-22.xbel/.dirs/runtime 856s ok 70 /bookmarks/copy/fail-22.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-21.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-21.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-21.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-21.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-21.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-21.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-21.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-21.xbel/.dirs/runtime 856s ok 71 /bookmarks/copy/fail-21.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-30.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-30.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-30.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-30.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-30.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-30.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-30.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-30.xbel/.dirs/runtime 856s ok 72 /bookmarks/copy/fail-30.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-13.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-13.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-13.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-13.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-13.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-13.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-13.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-13.xbel/.dirs/runtime 856s ok 73 /bookmarks/copy/fail-13.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-03.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-03.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-03.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-03.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-03.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-03.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-03.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-03.xbel/.dirs/runtime 856s ok 74 /bookmarks/copy/fail-03.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-42.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-42.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-42.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-42.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-42.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-42.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-42.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-42.xbel/.dirs/runtime 856s ok 75 /bookmarks/copy/fail-42.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-36.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-36.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-36.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-36.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-36.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-36.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-36.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-36.xbel/.dirs/runtime 856s ok 76 /bookmarks/copy/fail-36.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-24.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-24.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-24.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-24.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-24.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-24.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-24.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-24.xbel/.dirs/runtime 856s ok 77 /bookmarks/copy/fail-24.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-06.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-06.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-06.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-06.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-06.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-06.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-06.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-06.xbel/.dirs/runtime 856s ok 78 /bookmarks/copy/fail-06.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-41.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-41.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-41.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-41.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-41.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-41.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-41.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-41.xbel/.dirs/runtime 856s ok 79 /bookmarks/copy/fail-41.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-19.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-19.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-19.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-19.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-19.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-19.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-19.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-19.xbel/.dirs/runtime 856s ok 80 /bookmarks/copy/fail-19.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-27.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-27.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-27.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-27.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-27.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-27.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-27.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-27.xbel/.dirs/runtime 856s ok 81 /bookmarks/copy/fail-27.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/valid-03.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/valid-03.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/valid-03.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/valid-03.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/valid-03.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/valid-03.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/valid-03.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/valid-03.xbel/.dirs/runtime 856s ok 82 /bookmarks/copy/valid-03.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-18.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-18.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-18.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-18.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-18.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-18.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-18.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-18.xbel/.dirs/runtime 856s ok 83 /bookmarks/copy/fail-18.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-39.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-39.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-39.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-39.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-39.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-39.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-39.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-39.xbel/.dirs/runtime 856s ok 84 /bookmarks/copy/fail-39.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-37.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-37.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-37.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-37.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-37.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-37.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-37.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-37.xbel/.dirs/runtime 856s ok 85 /bookmarks/copy/fail-37.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-34.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-34.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-34.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-34.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-34.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-34.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-34.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-34.xbel/.dirs/runtime 856s ok 86 /bookmarks/copy/fail-34.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-09.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-09.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-09.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-09.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-09.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-09.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-09.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-09.xbel/.dirs/runtime 856s ok 87 /bookmarks/copy/fail-09.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-11.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-11.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-11.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-11.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-11.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-11.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-11.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-11.xbel/.dirs/runtime 856s ok 88 /bookmarks/copy/fail-11.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-31.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-31.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-31.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-31.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-31.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-31.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-31.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-31.xbel/.dirs/runtime 856s ok 89 /bookmarks/copy/fail-31.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-33.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-33.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-33.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-33.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-33.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-33.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-33.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-33.xbel/.dirs/runtime 856s ok 90 /bookmarks/copy/fail-33.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-35.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-35.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-35.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-35.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-35.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-35.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-35.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-35.xbel/.dirs/runtime 856s ok 91 /bookmarks/copy/fail-35.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-14.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-14.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-14.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-14.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-14.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-14.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-14.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-14.xbel/.dirs/runtime 856s ok 92 /bookmarks/copy/fail-14.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-08.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-08.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-08.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-08.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-08.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-08.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-08.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-08.xbel/.dirs/runtime 856s ok 93 /bookmarks/copy/fail-08.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-05.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-05.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-05.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-05.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-05.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-05.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-05.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-05.xbel/.dirs/runtime 856s ok 94 /bookmarks/copy/fail-05.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-02.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-02.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-02.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-02.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-02.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-02.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-02.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-02.xbel/.dirs/runtime 856s ok 95 /bookmarks/copy/fail-02.xbel 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-15.xbel/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-15.xbel/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-15.xbel/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-15.xbel/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-15.xbel/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-15.xbel/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-15.xbel/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PF7VZ2/bookmarks/copy/fail-15.xbel/.dirs/runtime 856s ok 96 /bookmarks/copy/fail-15.xbel 856s # End of copy tests 856s # End of bookmarks tests 856s ok - glib/bookmarkfile.test 856s # Running test: glib/gdbus-test-codegen.test 856s TAP version 14 856s # random seed: R02S8ff236ca19080d7ccdf807fddc754dad 856s 1..8 856s # Start of gdbus tests 856s # Start of codegen tests 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/annotations/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/annotations/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/annotations/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/annotations/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/annotations/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/annotations/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/annotations/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/annotations/.dirs/runtime 856s ok 1 /gdbus/codegen/annotations 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/interface_stability/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/interface_stability/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/interface_stability/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/interface_stability/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/interface_stability/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/interface_stability/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/interface_stability/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/interface_stability/.dirs/runtime 856s ok 2 /gdbus/codegen/interface_stability 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/object-manager/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/object-manager/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/object-manager/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/object-manager/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/object-manager/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/object-manager/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/object-manager/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/object-manager/.dirs/runtime 856s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 856s ok 3 /gdbus/codegen/object-manager 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/property-naming/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/property-naming/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/property-naming/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/property-naming/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/property-naming/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/property-naming/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/property-naming/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/property-naming/.dirs/runtime 856s ok 4 /gdbus/codegen/property-naming 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/autocleanups/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/autocleanups/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/autocleanups/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/autocleanups/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/autocleanups/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/autocleanups/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/autocleanups/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/autocleanups/.dirs/runtime 856s ok 5 /gdbus/codegen/autocleanups 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/deprecations/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/deprecations/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/deprecations/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/deprecations/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/deprecations/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/deprecations/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/deprecations/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/deprecations/.dirs/runtime 856s ok 6 /gdbus/codegen/deprecations 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/standalone-interface-info/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/standalone-interface-info/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/standalone-interface-info/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/standalone-interface-info/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/standalone-interface-info/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/standalone-interface-info/.dirs/runtime 856s ok 7 /gdbus/codegen/standalone-interface-info 856s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/unix-fd-list/.dirs/home 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/unix-fd-list/.dirs/cache 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/unix-fd-list/.dirs/system-config2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/unix-fd-list/.dirs/config 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/unix-fd-list/.dirs/system-data2 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/unix-fd-list/.dirs/data 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/unix-fd-list/.dirs/state 856s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_PPBVZ2/gdbus/codegen/unix-fd-list/.dirs/runtime 856s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 856s ok 8 /gdbus/codegen/unix-fd-list 856s # End of codegen tests 856s # End of gdbus tests 856s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 856s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 856s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 856s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 856s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 856s ok - glib/gdbus-test-codegen.test 856s # Running test: glib/unicode-normalize.test 856s TAP version 14 856s # random seed: R02S95c9e2c5dcb6869a2f4b5260cd349d57 856s 1..3 856s # Start of unicode tests 856s # Processing Part0 # Specific cases 856s # Processing Part1 # Character by character test 856s # Processing Part2 # Canonical Order Test 856s # Processing Part3 # PRI #29 Test 856s ok 1 /unicode/normalize 856s # Invalid UTF-8 vector 0 856s # Invalid UTF-8 vector 1 856s # Invalid UTF-8 vector 2 856s # Invalid UTF-8 vector 3 856s # Invalid UTF-8 vector 4 856s # Invalid UTF-8 vector 5 856s # Invalid UTF-8 vector 6 856s # Invalid UTF-8 vector 7 856s # Invalid UTF-8 vector 8 856s # Invalid UTF-8 vector 9 856s # Invalid UTF-8 vector 10 856s # Invalid UTF-8 vector 11 856s # Invalid UTF-8 vector 12 856s ok 2 /unicode/normalize-invalid 856s # Start of normalize tests 856s ok 3 /unicode/normalize/bad-length 856s # End of normalize tests 856s # End of unicode tests 856s ok - glib/unicode-normalize.test 856s # Running test: glib/accumulator.test 856s TAP version 14 856s # random seed: R02See2cd8ad82ed3dfcbaa86fa4e6ca2bd5 856s 1..1 856s # Start of gobject tests 856s ok 1 /gobject/accumulator 856s # End of gobject tests 856s ok - glib/accumulator.test 856s # Running test: glib/utils-c-99.test 856s TAP version 14 856s # random seed: R02S609dfc5f5afa696e0c355f706d42336d 856s 1..40 856s # Start of utils tests 856s ok 1 /utils/language-names 856s ok 2 /utils/locale-variants 856s ok 3 /utils/version 856s ok 4 /utils/appname 856s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 856s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 856s ok 5 /utils/prgname-thread-safety 856s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 856s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 856s ok 6 /utils/tmpdir 856s ok 7 /utils/basic_bits 856s ok 8 /utils/bits 856s ok 9 /utils/swap 856s ok 10 /utils/find-program 856s ok 11 /utils/find-program-for-path 856s ok 12 /utils/debug 856s ok 13 /utils/codeset 856s ok 14 /utils/codeset2 856s ok 15 /utils/console-charset 856s ok 16 /utils/gettext 856s ok 17 /utils/username 856s ok 18 /utils/realname 856s ok 19 /utils/hostname 856s ok 20 /utils/xdgdirs 856s ok 21 /utils/specialdir 856s # NAME: Ubuntu 856s ok 22 /utils/os-info 856s ok 23 /utils/clear-pointer 856s ok 24 /utils/clear-pointer-cast 856s ok 25 /utils/take-pointer 856s ok 26 /utils/clear-source 856s ok 27 /utils/misc-mem 856s # /utils/aligned-mem summary: Aligned memory allocator 856s # Alignment must not be zero 856s # Alignment must be a power of two 856s # Alignment must be a multiple of sizeof(void*) 856s ok 28 /utils/aligned-mem 856s # /utils/free-sized summary: Check that g_free_sized() works 856s ok 29 /utils/free-sized 856s ok 30 /utils/nullify 856s ok 31 /utils/atexit 856s ok 32 /utils/check-setuid 856s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 856s ok 33 /utils/int-limits 856s ok 34 /utils/clear-list 856s ok 35 /utils/clear-slist 856s # Start of specialdir tests 856s ok 36 /utils/specialdir/desktop 856s # End of specialdir tests 856s # Start of clear-pointer tests 856s ok 37 /utils/clear-pointer/side-effects 856s # End of clear-pointer tests 856s # Start of aligned-mem tests 856s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 856s ok 38 /utils/aligned-mem/alignment 856s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 856s ok 39 /utils/aligned-mem/zeroed 856s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 856s ok 40 /utils/aligned-mem/free-sized 856s # Start of subprocess tests 856s # End of subprocess tests 856s # End of aligned-mem tests 856s # End of utils tests 856s ok - glib/utils-c-99.test 856s # Running test: glib/signals-refcount2.test 856s TAP version 14 856s # random seed: R02Se1bac634bb6aa15675c3f40762e21c61 856s 1..1 856s # Start of gobject tests 856s # Start of refcount tests 856s # init 0x1296bbddf420 856s # 856s # init 0x1296bbddf5c0 856s # 859s # Executing: glib/signals-refcount2.test 861s # dispose 0x1296bbddf420! 861s # 861s # dispose 0x1296bbddf5c0! 861s # 861s ok 1 /gobject/refcount/signals 861s # slow test /gobject/refcount/signals executed in 5.00 secs 861s # End of refcount tests 861s # End of gobject tests 861s ok - glib/signals-refcount2.test 861s # Running test: glib/stream-rw_all.test 861s TAP version 14 861s # random seed: R02S150c012aaa68ae68cd33b4da581e640a 861s 1..3 861s # Start of stream tests 861s # Start of read_all_async tests 861s ok 1 /stream/read_all_async/memory 861s # End of read_all_async tests 861s # Start of write_all_async tests 861s ok 2 /stream/write_all_async/memory 861s # End of write_all_async tests 861s # Start of read_write_all_async tests 861s ok 3 /stream/read_write_all_async/pipe 861s # End of read_write_all_async tests 861s # End of stream tests 861s ok - glib/stream-rw_all.test 861s # Running test: glib/gthash.test 861s TAP version 14 861s # random seed: R02Se76eccfa8f26025e2889b35a33db8f5d 861s 1..1 861s # Start of gthash tests 861s ok 1 /gthash/build-retrieve 861s # End of gthash tests 861s ok - glib/gthash.test 861s # Running test: glib/macros-c-17.test 861s TAP version 14 861s # random seed: R02Scb780e87cd8a4b04679b11a5ad345dfa 861s 1..4 861s # Start of C tests 861s ok 1 /C/standard-17 861s # End of C tests 861s # Start of alignof tests 861s ok 2 /alignof/fallback 861s # End of alignof tests 861s # Start of assert tests 861s ok 3 /assert/static 861s # End of assert tests 861s # Start of struct tests 861s ok 4 /struct/sizeof_member 861s # End of struct tests 861s ok - glib/macros-c-17.test 861s # Running test: glib/string.test 861s TAP version 14 861s # random seed: R02Sb9a132cfb51da3e23a5a76519c9456d9 861s 1..23 861s # Start of string tests 861s ok 1 /string/test-string-chunks 861s ok 2 /string/test-string-chunk-insert 861s ok 3 /string/test-string-new 861s ok 4 /string/test-string-printf 861s ok 5 /string/test-string-assign 861s ok 6 /string/test-string-append-c 861s ok 7 /string/test-string-append 861s ok 8 /string/test-string-append-vprintf 861s ok 9 /string/test-string-prepend-c 861s ok 10 /string/test-string-prepend 861s ok 11 /string/test-string-insert 861s ok 12 /string/test-string-insert-unichar 861s ok 13 /string/test-string-equal 861s ok 14 /string/test-string-truncate 861s ok 15 /string/test-string-overwrite 861s ok 16 /string/test-string-nul-handling 861s ok 17 /string/test-string-up-down 861s ok 18 /string/test-string-set-size 861s ok 19 /string/test-string-to-bytes 861s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 861s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 861s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 861s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 861s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 861s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 861s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 861s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 861s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 861s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 861s # 5: Replacing "o" with "" (limit 0) in "food for foals" 861s # -> 4 replacements, "fd fr fals" 861s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 861s # -> 3 replacements, "aaaaaaaaa" 861s # 7: Replacing "a" with "" (limit 0) in "aaa" 861s # -> 3 replacements, "" 861s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 861s # -> 1 replacements, "bba" 861s # 9: Replacing "" with "bar" (limit 0) in "foo" 861s # -> 4 replacements, "barfbarobarobar" 861s # 10: Replacing "" with "x" (limit 0) in "" 861s # -> 1 replacements, "x" 861s # 11: Replacing "" with "" (limit 0) in "" 861s # -> 1 replacements, "" 861s ok 20 /string/test-string-replace 861s ok 21 /string/test-string-steal 861s ok 22 /string/test-string-new-take 861s # Start of test-string-new-take tests 861s ok 23 /string/test-string-new-take/null 861s # End of test-string-new-take tests 861s # End of string tests 861s ok - glib/string.test 861s # Running test: glib/repository.test 861s TAP version 14 861s # random seed: R02Sbd49fd649e0aec9d8fb6061a2b9518bf 861s 1..23 861s # Start of repository tests 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KNIMZ2/repository/basic/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KNIMZ2/repository/basic/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KNIMZ2/repository/basic/.dirs/system-config1:/tmp/test_repository_KNIMZ2/repository/basic/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KNIMZ2/repository/basic/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KNIMZ2/repository/basic/.dirs/system-data1:/tmp/test_repository_KNIMZ2/repository/basic/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KNIMZ2/repository/basic/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KNIMZ2/repository/basic/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KNIMZ2/repository/basic/.dirs/runtime 861s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 861s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 861s ok 1 /repository/basic 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KNIMZ2/repository/info/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KNIMZ2/repository/info/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KNIMZ2/repository/info/.dirs/system-config1:/tmp/test_repository_KNIMZ2/repository/info/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KNIMZ2/repository/info/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KNIMZ2/repository/info/.dirs/system-data1:/tmp/test_repository_KNIMZ2/repository/info/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KNIMZ2/repository/info/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KNIMZ2/repository/info/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KNIMZ2/repository/info/.dirs/runtime 861s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 861s # /repository/info summary: Test retrieving some basic info blobs from a typelib 861s ok 2 /repository/info 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KNIMZ2/repository/dependencies/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KNIMZ2/repository/dependencies/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KNIMZ2/repository/dependencies/.dirs/system-config1:/tmp/test_repository_KNIMZ2/repository/dependencies/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KNIMZ2/repository/dependencies/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KNIMZ2/repository/dependencies/.dirs/system-data1:/tmp/test_repository_KNIMZ2/repository/dependencies/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KNIMZ2/repository/dependencies/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KNIMZ2/repository/dependencies/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KNIMZ2/repository/dependencies/.dirs/runtime 861s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 861s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 861s ok 3 /repository/dependencies 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KNIMZ2/repository/arg-info/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KNIMZ2/repository/arg-info/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KNIMZ2/repository/arg-info/.dirs/system-config1:/tmp/test_repository_KNIMZ2/repository/arg-info/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KNIMZ2/repository/arg-info/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KNIMZ2/repository/arg-info/.dirs/system-data1:/tmp/test_repository_KNIMZ2/repository/arg-info/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KNIMZ2/repository/arg-info/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KNIMZ2/repository/arg-info/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KNIMZ2/repository/arg-info/.dirs/runtime 861s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 861s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 861s ok 4 /repository/arg-info 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KNIMZ2/repository/callable-info/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KNIMZ2/repository/callable-info/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KNIMZ2/repository/callable-info/.dirs/system-config1:/tmp/test_repository_KNIMZ2/repository/callable-info/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KNIMZ2/repository/callable-info/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KNIMZ2/repository/callable-info/.dirs/system-data1:/tmp/test_repository_KNIMZ2/repository/callable-info/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KNIMZ2/repository/callable-info/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KNIMZ2/repository/callable-info/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KNIMZ2/repository/callable-info/.dirs/runtime 861s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 861s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 861s ok 5 /repository/callable-info 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KNIMZ2/repository/callback-info/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KNIMZ2/repository/callback-info/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KNIMZ2/repository/callback-info/.dirs/system-config1:/tmp/test_repository_KNIMZ2/repository/callback-info/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KNIMZ2/repository/callback-info/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KNIMZ2/repository/callback-info/.dirs/system-data1:/tmp/test_repository_KNIMZ2/repository/callback-info/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KNIMZ2/repository/callback-info/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KNIMZ2/repository/callback-info/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KNIMZ2/repository/callback-info/.dirs/runtime 861s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 861s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 861s ok 6 /repository/callback-info 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KNIMZ2/repository/char-types/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KNIMZ2/repository/char-types/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KNIMZ2/repository/char-types/.dirs/system-config1:/tmp/test_repository_KNIMZ2/repository/char-types/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KNIMZ2/repository/char-types/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KNIMZ2/repository/char-types/.dirs/system-data1:/tmp/test_repository_KNIMZ2/repository/char-types/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KNIMZ2/repository/char-types/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KNIMZ2/repository/char-types/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KNIMZ2/repository/char-types/.dirs/runtime 861s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 861s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 861s ok 7 /repository/char-types 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KNIMZ2/repository/constructor-return-type/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KNIMZ2/repository/constructor-return-type/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KNIMZ2/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_KNIMZ2/repository/constructor-return-type/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KNIMZ2/repository/constructor-return-type/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KNIMZ2/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_KNIMZ2/repository/constructor-return-type/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KNIMZ2/repository/constructor-return-type/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KNIMZ2/repository/constructor-return-type/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KNIMZ2/repository/constructor-return-type/.dirs/runtime 861s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 861s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 861s ok 8 /repository/constructor-return-type 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KNIMZ2/repository/enum-info-c-identifier/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KNIMZ2/repository/enum-info-c-identifier/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KNIMZ2/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_KNIMZ2/repository/enum-info-c-identifier/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KNIMZ2/repository/enum-info-c-identifier/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KNIMZ2/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_KNIMZ2/repository/enum-info-c-identifier/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KNIMZ2/repository/enum-info-c-identifier/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KNIMZ2/repository/enum-info-c-identifier/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KNIMZ2/repository/enum-info-c-identifier/.dirs/runtime 861s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 861s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 861s ok 9 /repository/enum-info-c-identifier 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KNIMZ2/repository/enum-info-static-methods/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KNIMZ2/repository/enum-info-static-methods/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KNIMZ2/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_KNIMZ2/repository/enum-info-static-methods/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KNIMZ2/repository/enum-info-static-methods/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KNIMZ2/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_KNIMZ2/repository/enum-info-static-methods/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KNIMZ2/repository/enum-info-static-methods/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KNIMZ2/repository/enum-info-static-methods/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KNIMZ2/repository/enum-info-static-methods/.dirs/runtime 861s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 861s # /repository/enum-info-static-methods summary: Test an enum with methods 861s ok 10 /repository/enum-info-static-methods 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KNIMZ2/repository/error-quark/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KNIMZ2/repository/error-quark/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KNIMZ2/repository/error-quark/.dirs/system-config1:/tmp/test_repository_KNIMZ2/repository/error-quark/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KNIMZ2/repository/error-quark/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KNIMZ2/repository/error-quark/.dirs/system-data1:/tmp/test_repository_KNIMZ2/repository/error-quark/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KNIMZ2/repository/error-quark/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KNIMZ2/repository/error-quark/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KNIMZ2/repository/error-quark/.dirs/runtime 861s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 861s # /repository/error-quark summary: Test finding an error quark by error domain 861s ok 11 /repository/error-quark 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KNIMZ2/repository/flags-info-c-identifier/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KNIMZ2/repository/flags-info-c-identifier/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KNIMZ2/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_KNIMZ2/repository/flags-info-c-identifier/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KNIMZ2/repository/flags-info-c-identifier/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KNIMZ2/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_KNIMZ2/repository/flags-info-c-identifier/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KNIMZ2/repository/flags-info-c-identifier/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KNIMZ2/repository/flags-info-c-identifier/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KNIMZ2/repository/flags-info-c-identifier/.dirs/runtime 861s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 861s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 861s ok 12 /repository/flags-info-c-identifier 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KNIMZ2/repository/fundamental-ref-func/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KNIMZ2/repository/fundamental-ref-func/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KNIMZ2/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_KNIMZ2/repository/fundamental-ref-func/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KNIMZ2/repository/fundamental-ref-func/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KNIMZ2/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_KNIMZ2/repository/fundamental-ref-func/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KNIMZ2/repository/fundamental-ref-func/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KNIMZ2/repository/fundamental-ref-func/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KNIMZ2/repository/fundamental-ref-func/.dirs/runtime 861s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 861s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 861s ok 13 /repository/fundamental-ref-func 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KNIMZ2/repository/instance-method-ownership-transfer/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KNIMZ2/repository/instance-method-ownership-transfer/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KNIMZ2/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_KNIMZ2/repository/instance-method-ownership-transfer/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KNIMZ2/repository/instance-method-ownership-transfer/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KNIMZ2/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_KNIMZ2/repository/instance-method-ownership-transfer/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KNIMZ2/repository/instance-method-ownership-transfer/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KNIMZ2/repository/instance-method-ownership-transfer/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KNIMZ2/repository/instance-method-ownership-transfer/.dirs/runtime 861s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 861s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 861s ok 14 /repository/instance-method-ownership-transfer 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KNIMZ2/repository/object-gtype-interfaces/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KNIMZ2/repository/object-gtype-interfaces/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KNIMZ2/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_KNIMZ2/repository/object-gtype-interfaces/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KNIMZ2/repository/object-gtype-interfaces/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KNIMZ2/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_KNIMZ2/repository/object-gtype-interfaces/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KNIMZ2/repository/object-gtype-interfaces/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KNIMZ2/repository/object-gtype-interfaces/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KNIMZ2/repository/object-gtype-interfaces/.dirs/runtime 861s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 861s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 861s ok 15 /repository/object-gtype-interfaces 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KNIMZ2/repository/signal-info-with-array-length-arg/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KNIMZ2/repository/signal-info-with-array-length-arg/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KNIMZ2/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_KNIMZ2/repository/signal-info-with-array-length-arg/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KNIMZ2/repository/signal-info-with-array-length-arg/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KNIMZ2/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_KNIMZ2/repository/signal-info-with-array-length-arg/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KNIMZ2/repository/signal-info-with-array-length-arg/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KNIMZ2/repository/signal-info-with-array-length-arg/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KNIMZ2/repository/signal-info-with-array-length-arg/.dirs/runtime 861s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 861s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 861s ok 16 /repository/signal-info-with-array-length-arg 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KNIMZ2/repository/type-info-name/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KNIMZ2/repository/type-info-name/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KNIMZ2/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_KNIMZ2/repository/type-info-name/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KNIMZ2/repository/type-info-name/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KNIMZ2/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_KNIMZ2/repository/type-info-name/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KNIMZ2/repository/type-info-name/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KNIMZ2/repository/type-info-name/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KNIMZ2/repository/type-info-name/.dirs/runtime 861s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 861s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 861s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 861s ok 17 /repository/type-info-name 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KNIMZ2/repository/vfunc-info-with-no-invoker/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KNIMZ2/repository/vfunc-info-with-no-invoker/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KNIMZ2/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_KNIMZ2/repository/vfunc-info-with-no-invoker/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KNIMZ2/repository/vfunc-info-with-no-invoker/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KNIMZ2/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_KNIMZ2/repository/vfunc-info-with-no-invoker/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KNIMZ2/repository/vfunc-info-with-no-invoker/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KNIMZ2/repository/vfunc-info-with-no-invoker/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KNIMZ2/repository/vfunc-info-with-no-invoker/.dirs/runtime 861s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 861s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 861s ok 18 /repository/vfunc-info-with-no-invoker 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KNIMZ2/repository/vfunc-info-with-invoker-on-interface/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KNIMZ2/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KNIMZ2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_KNIMZ2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KNIMZ2/repository/vfunc-info-with-invoker-on-interface/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KNIMZ2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_KNIMZ2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KNIMZ2/repository/vfunc-info-with-invoker-on-interface/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KNIMZ2/repository/vfunc-info-with-invoker-on-interface/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KNIMZ2/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 861s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 861s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 861s ok 19 /repository/vfunc-info-with-invoker-on-interface 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KNIMZ2/repository/vfunc-info-with-invoker-on-object/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KNIMZ2/repository/vfunc-info-with-invoker-on-object/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KNIMZ2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_KNIMZ2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KNIMZ2/repository/vfunc-info-with-invoker-on-object/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KNIMZ2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_KNIMZ2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KNIMZ2/repository/vfunc-info-with-invoker-on-object/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KNIMZ2/repository/vfunc-info-with-invoker-on-object/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KNIMZ2/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 861s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 861s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 861s ok 20 /repository/vfunc-info-with-invoker-on-object 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KNIMZ2/repository/find-by-gtype/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KNIMZ2/repository/find-by-gtype/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KNIMZ2/repository/find-by-gtype/.dirs/system-config1:/tmp/test_repository_KNIMZ2/repository/find-by-gtype/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KNIMZ2/repository/find-by-gtype/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KNIMZ2/repository/find-by-gtype/.dirs/system-data1:/tmp/test_repository_KNIMZ2/repository/find-by-gtype/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KNIMZ2/repository/find-by-gtype/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KNIMZ2/repository/find-by-gtype/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KNIMZ2/repository/find-by-gtype/.dirs/runtime 861s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 861s # /repository/find-by-gtype summary: Test finding a GType 861s ok 21 /repository/find-by-gtype 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KNIMZ2/repository/loaded-namespaces/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KNIMZ2/repository/loaded-namespaces/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KNIMZ2/repository/loaded-namespaces/.dirs/system-config1:/tmp/test_repository_KNIMZ2/repository/loaded-namespaces/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KNIMZ2/repository/loaded-namespaces/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KNIMZ2/repository/loaded-namespaces/.dirs/system-data1:/tmp/test_repository_KNIMZ2/repository/loaded-namespaces/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KNIMZ2/repository/loaded-namespaces/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KNIMZ2/repository/loaded-namespaces/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KNIMZ2/repository/loaded-namespaces/.dirs/runtime 861s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 861s # /repository/loaded-namespaces summary: Test listing loaded namespaces 861s ok 22 /repository/loaded-namespaces 861s # Start of base-info tests 861s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_KNIMZ2/repository/base-info/clear/.dirs/home 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_KNIMZ2/repository/base-info/clear/.dirs/cache 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_KNIMZ2/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_KNIMZ2/repository/base-info/clear/.dirs/system-config2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_KNIMZ2/repository/base-info/clear/.dirs/config 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_KNIMZ2/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_KNIMZ2/repository/base-info/clear/.dirs/system-data2 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_KNIMZ2/repository/base-info/clear/.dirs/data 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_KNIMZ2/repository/base-info/clear/.dirs/state 861s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_KNIMZ2/repository/base-info/clear/.dirs/runtime 861s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 861s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct 861s ok 23 /repository/base-info/clear 861s # End of base-info tests 861s # End of repository tests 861s ok - glib/repository.test 861s # Running test: glib/mem-overflow.test 861s TAP version 14 861s # random seed: R02Sc90c01536967ed2067076972886aee8d 861s 1..2 861s # Start of mem tests 861s ok 1 /mem/overflow 861s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 861s ok 2 /mem/empty-alloc 861s # Start of overflow tests 861s # Start of subprocess tests 861s # End of subprocess tests 861s # End of overflow tests 861s # Start of empty-alloc tests 861s # End of empty-alloc tests 861s # End of mem tests 861s ok - glib/mem-overflow.test 861s # Running test: glib/642026.test 861s TAP version 14 861s # random seed: R02Sc52ee2ce9bc9c3c19a4a075bfca86ffd 861s 1..1 861s # Start of glib tests 861s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 861s ok 1 /glib/642026 861s # End of glib tests 861s ok - glib/642026.test 861s # Running test: glib/unix-streams.test 861s TAP version 14 861s # random seed: R02Se10df6f514b3827303bae3220ee40096 861s 1..9 861s # Start of unix-streams tests 861s ok 1 /unix-streams/basic 862s ok 2 /unix-streams/pipe-io-test 862s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 862s ok 3 /unix-streams/nonblocking-io-test 862s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 862s ok 4 /unix-streams/read_write 862s ok 5 /unix-streams/read_writev 862s ok 6 /unix-streams/write-wouldblock 862s ok 7 /unix-streams/writev-wouldblock 862s ok 8 /unix-streams/write-async-wouldblock 862s ok 9 /unix-streams/writev-async-wouldblock 862s # End of unix-streams tests 862s ok - glib/unix-streams.test 862s # Running test: glib/file-thumbnail.test 862s TAP version 14 862s # random seed: R02S63bb6ca5a6a7f8699813541e84da6532 862s 1..7 862s # Start of file-thumbnail tests 862s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/fail/.dirs/home 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/fail/.dirs/cache 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/fail/.dirs/system-config2 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/fail/.dirs/config 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/fail/.dirs/system-data2 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/fail/.dirs/data 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/fail/.dirs/state 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/fail/.dirs/runtime 862s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 862s # Created test thumbnail at /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 862s ok 1 /file-thumbnail/fail 862s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/size-priority/.dirs/home 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/size-priority/.dirs/cache 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/size-priority/.dirs/system-config2 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/size-priority/.dirs/config 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/size-priority/.dirs/system-data2 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/size-priority/.dirs/data 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/size-priority/.dirs/state 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/size-priority/.dirs/runtime 862s # Created test thumbnail at /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 862s # Created test thumbnail at /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 862s # Created test thumbnail at /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 862s # Created test thumbnail at /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 862s # Created test thumbnail at /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 862s ok 2 /file-thumbnail/size-priority 862s # Start of valid tests 862s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/valid/normal/.dirs/home 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/valid/normal/.dirs/cache 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/valid/normal/.dirs/system-config2 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/valid/normal/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/valid/normal/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/valid/normal/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/valid/normal/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/valid/normal/.dirs/runtime 863s # Created test thumbnail at /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 863s ok 3 /file-thumbnail/valid/normal 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/valid/large/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/valid/large/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/valid/large/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/valid/large/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/valid/large/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/valid/large/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/valid/large/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/valid/large/.dirs/runtime 863s # Created test thumbnail at /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 863s ok 4 /file-thumbnail/valid/large 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/valid/x-large/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/valid/x-large/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/valid/x-large/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/valid/x-large/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/valid/x-large/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/valid/x-large/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/valid/x-large/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/valid/x-large/.dirs/runtime 863s # Created test thumbnail at /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 863s ok 5 /file-thumbnail/valid/x-large 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/valid/xx-large/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/valid/xx-large/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/valid/xx-large/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/valid/xx-large/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/valid/xx-large/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/valid/xx-large/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/valid/xx-large/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/valid/xx-large/.dirs/runtime 863s # Created test thumbnail at /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 863s ok 6 /file-thumbnail/valid/xx-large 863s # End of valid tests 863s # Start of unknown tests 863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/unknown/super-large/.dirs/home 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/unknown/super-large/.dirs/cache 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/unknown/super-large/.dirs/system-config2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/unknown/super-large/.dirs/config 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/unknown/super-large/.dirs/system-data2 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/unknown/super-large/.dirs/data 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/unknown/super-large/.dirs/state 863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/unknown/super-large/.dirs/runtime 863s # Created test thumbnail at /tmp/test_file-thumbnail_NR7JZ2/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 863s ok 7 /file-thumbnail/unknown/super-large 863s # End of unknown tests 863s # End of file-thumbnail tests 863s ok - glib/file-thumbnail.test 863s # Running test: glib/macros.test 863s TAP version 14 863s # random seed: R02S40c16b56d1d817fbe2b765e786f430f0 863s 1..3 863s # Start of alignof tests 863s ok 1 /alignof/fallback 863s # End of alignof tests 863s # Start of assert tests 863s ok 2 /assert/static 863s # End of assert tests 863s # Start of struct tests 863s ok 3 /struct/sizeof_member 863s # End of struct tests 863s ok - glib/macros.test 863s # Running test: glib/cxx-11.test 863s TAP version 14 863s # random seed: R02S28a9cc0aa0a8c5f355d62ce683171bbd 863s 1..2 863s # Start of gtask tests 863s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 863s ok 1 /gtask/name 863s # Start of name tests 863s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 863s ok 2 /gtask/name/macro-wrapper 863s # End of name tests 863s # End of gtask tests 863s ok - glib/cxx-11.test 863s # Running test: glib/tls-certificate.test 863s TAP version 14 863s # random seed: R02Sd815ec8fec361d89efaa4ca92a49e702 863s 1..19 863s # Start of tls-certificate tests 863s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 863s ok 1 /tls-certificate/pem-parser 863s ok 2 /tls-certificate/pem-parser-handles-chain 863s ok 3 /tls-certificate/from_file 863s ok 4 /tls-certificate/from_files 863s ok 5 /tls-certificate/from_files_crlf 863s ok 6 /tls-certificate/from_files_pkcs8 863s ok 7 /tls-certificate/from_files_pkcs8enc 863s ok 8 /tls-certificate/list_from_file 863s ok 9 /tls-certificate/pkcs11-uri 863s ok 10 /tls-certificate/pkcs11-uri-unsupported 863s ok 11 /tls-certificate/from_pkcs12 863s ok 12 /tls-certificate/from_pkcs12_file 863s ok 13 /tls-certificate/not-valid-before 863s ok 14 /tls-certificate/not-valid-after 863s ok 15 /tls-certificate/subject-name 863s ok 16 /tls-certificate/issuer-name 863s ok 17 /tls-certificate/dns-names 863s ok 18 /tls-certificate/ip-addresses 863s ok 19 /tls-certificate/pem-parser-no-sentinel 863s # End of tls-certificate tests 863s ok - glib/tls-certificate.test 863s # Running test: glib/socket.test 863s TAP version 14 863s # random seed: R02S4981714f3d863c755df66ebbd627766f 863s 1..28 863s # Start of socket tests 864s ok 1 /socket/ipv4_sync 864s # slow test /socket/ipv4_sync executed in 1.00 secs 864s # Executing: glib/socket.test 865s ok 2 /socket/ipv4_async 865s # slow test /socket/ipv4_async executed in 1.00 secs 865s ok 3 /socket/ipv6_sync 865s ok 4 /socket/ipv6_async 865s ok 5 /socket/ipv6_v4mapped 866s ok 6 /socket/close_graceful 866s # slow test /socket/close_graceful executed in 1.00 secs 866s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 866s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 866s ok 8 /socket/fd_reuse 866s ok 9 /socket/address 866s ok 10 /socket/unix-from-fd 866s ok 11 /socket/unix-connection 866s ok 12 /socket/unix-connection-ancillary-data 866s ok 13 /socket/source-postmortem 866s ok 14 /socket/read_write 866s ok 15 /socket/read_writev 866s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 866s ok 16 /socket/receive_bytes 866s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 866s ok 17 /socket/receive_bytes_from 866s # Start of ipv4_sync tests 866s ok 18 /socket/ipv4_sync/datagram 866s # Start of datagram tests 867s ok 19 /socket/ipv4_sync/datagram/timeouts 867s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 867s # End of datagram tests 867s # End of ipv4_sync tests 867s # Start of ipv6_sync tests 867s ok 20 /socket/ipv6_sync/datagram 867s # Start of datagram tests 868s ok 21 /socket/ipv6_sync/datagram/timeouts 868s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 868s # End of datagram tests 868s # End of ipv6_sync tests 868s # Start of reuse tests 868s ok 22 /socket/reuse/tcp 868s ok 23 /socket/reuse/udp 868s # End of reuse tests 868s # Start of get_available tests 868s ok 24 /socket/get_available/datagram 868s ok 25 /socket/get_available/stream 868s # End of get_available tests 868s # Start of credentials tests 868s # Supported on this OS: GCredentials:linux-ucred:pid=0 868s ok 26 /socket/credentials/tcp_client 868s # Supported on this OS: GCredentials:linux-ucred:pid=0 868s ok 27 /socket/credentials/tcp_server 868s # Supported on this OS: GCredentials:linux-ucred:pid=4011,uid=1000,gid=1000 868s ok 28 /socket/credentials/unix_socketpair 868s # End of credentials tests 868s # End of socket tests 868s ok - glib/socket.test 868s # Running test: glib/gobject-private.test 868s TAP version 14 868s # random seed: R02Sacc8bec738ade97e10ba4ed0b5794596 868s 1..3 868s # Start of private tests 868s ok 1 /private/instance 868s ok 2 /private/derived-instance 868s ok 3 /private/mixed-derived-instance 868s # End of private tests 868s ok - glib/gobject-private.test 868s # Running test: glib/bytes.test 868s TAP version 14 868s # random seed: R02S78a096a278dbe01fa0370ed9eb10b9a6 868s 1..21 868s # Start of bytes tests 868s ok 1 /bytes/new 868s ok 2 /bytes/new-take 868s ok 3 /bytes/new-static 868s ok 4 /bytes/new-with-free-func 868s ok 5 /bytes/new-from-bytes 868s ok 6 /bytes/new-from-bytes-slice 868s ok 7 /bytes/new-from-bytes-shared-ref 868s ok 8 /bytes/hash 868s ok 9 /bytes/equal 868s ok 10 /bytes/compare 868s ok 11 /bytes/null 868s ok 12 /bytes/get-region 868s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 868s ok 13 /bytes/unref-null 868s # Start of to-data tests 868s ok 14 /bytes/to-data/transferred 868s ok 15 /bytes/to-data/two-refs 868s ok 16 /bytes/to-data/non-malloc 868s ok 17 /bytes/to-data/different-free-func 868s # End of to-data tests 868s # Start of to-array tests 868s ok 18 /bytes/to-array/transferred 868s ok 19 /bytes/to-array/two-refs 868s ok 20 /bytes/to-array/non-malloc 868s # Start of transferred tests 868s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 868s ok 21 /bytes/to-array/transferred/oversize 868s # End of transferred tests 868s # End of to-array tests 868s # End of bytes tests 868s ok - glib/bytes.test 868s # Running test: glib/gdbus-close-pending.test 868s TAP version 14 868s # random seed: R02S25cf73986399bd8e71b1ed1d115d19df 868s 1..2 868s # Start of gdbus tests 868s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_8PUXZ2/gdbus/close-pending/.dirs/home 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_8PUXZ2/gdbus/close-pending/.dirs/cache 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_8PUXZ2/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_8PUXZ2/gdbus/close-pending/.dirs/system-config2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_8PUXZ2/gdbus/close-pending/.dirs/config 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_8PUXZ2/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_8PUXZ2/gdbus/close-pending/.dirs/system-data2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_8PUXZ2/gdbus/close-pending/.dirs/data 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_8PUXZ2/gdbus/close-pending/.dirs/state 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_8PUXZ2/gdbus/close-pending/.dirs/runtime 868s ok 1 /gdbus/close-pending 868s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_8PUXZ2/gdbus/unref-pending/.dirs/home 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_8PUXZ2/gdbus/unref-pending/.dirs/cache 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_8PUXZ2/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_8PUXZ2/gdbus/unref-pending/.dirs/system-config2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_8PUXZ2/gdbus/unref-pending/.dirs/config 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_8PUXZ2/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_8PUXZ2/gdbus/unref-pending/.dirs/system-data2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_8PUXZ2/gdbus/unref-pending/.dirs/data 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_8PUXZ2/gdbus/unref-pending/.dirs/state 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_8PUXZ2/gdbus/unref-pending/.dirs/runtime 869s ok 2 /gdbus/unref-pending 869s # End of gdbus tests 869s ok - glib/gdbus-close-pending.test 869s # Running test: glib/private.test 869s TAP version 14 869s # random seed: R02S8a6a18ccd4d6d9472c90212c92918ab7 869s 1..8 869s # Start of thread tests 869s ok 1 /thread/private1 869s # Executing: glib/private.test 870s ok 2 /thread/private2 870s # slow test /thread/private2 executed in 1.13 secs 870s ok 3 /thread/private3 870s ok 4 /thread/staticprivate1 870s ok 5 /thread/staticprivate2 870s ok 6 /thread/staticprivate3 871s ok 7 /thread/staticprivate4 871s # slow test /thread/staticprivate4 executed in 1.16 secs 871s ok 8 /thread/staticprivate5 871s # End of thread tests 871s ok - glib/private.test 871s # Running test: glib/gdbus-names.test 871s TAP version 14 871s # random seed: R02S8b64a7deb982077d3938974d05ceec80 871s 1..10 871s # Start of gdbus tests 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_3ZZVZ2/gdbus/validate-names/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_3ZZVZ2/gdbus/validate-names/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_3ZZVZ2/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_3ZZVZ2/gdbus/validate-names/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_3ZZVZ2/gdbus/validate-names/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_3ZZVZ2/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_3ZZVZ2/gdbus/validate-names/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_3ZZVZ2/gdbus/validate-names/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_3ZZVZ2/gdbus/validate-names/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_3ZZVZ2/gdbus/validate-names/.dirs/runtime 871s ok 1 /gdbus/validate-names 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-own-name/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-own-name/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-own-name/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-own-name/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-own-name/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-own-name/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-own-name/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-own-name/.dirs/runtime 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 871s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s ok 2 /gdbus/bus-own-name 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-name/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-name/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-name/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-name/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-name/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-name/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-name/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-name/.dirs/runtime 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 871s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s ok 3 /gdbus/bus-watch-name 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-name-auto-start/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-name-auto-start/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-name-auto-start/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-name-auto-start/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-name-auto-start/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-name-auto-start/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-name-auto-start/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-name-auto-start/.dirs/runtime 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 871s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s ok 4 /gdbus/bus-watch-name-auto-start 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 871s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 871s dbus-daemon[4088]: [session uid=1000 pid=4088] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=4079 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 871s # Acquired a message bus connection 871s dbus-daemon[4088]: [session uid=1000 pid=4088] Successfully activated service 'org.gtk.GDBus.FakeService' 871s # Acquired the name org.gtk.GDBus.FakeService 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-name-closures/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-name-closures/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-name-closures/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-name-closures/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-name-closures/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-name-closures/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-name-closures/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-name-closures/.dirs/runtime 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 871s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s ok 6 /gdbus/bus-watch-name-closures 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-name-closures-auto-start/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-name-closures-auto-start/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-name-closures-auto-start/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-name-closures-auto-start/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 871s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s ok 7 /gdbus/bus-watch-name-closures-auto-start 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-different-context/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-different-context/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-different-context/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-different-context/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-different-context/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-different-context/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-different-context/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-watch-different-context/.dirs/runtime 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 871s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s ok 8 /gdbus/bus-watch-different-context 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-unwatch-early/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-unwatch-early/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-unwatch-early/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-unwatch-early/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-unwatch-early/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-unwatch-early/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-unwatch-early/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_3ZZVZ2/gdbus/bus-unwatch-early/.dirs/runtime 871s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 871s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 871s ok 9 /gdbus/bus-unwatch-early 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_3ZZVZ2/gdbus/escape-object-path/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_3ZZVZ2/gdbus/escape-object-path/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_3ZZVZ2/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_3ZZVZ2/gdbus/escape-object-path/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_3ZZVZ2/gdbus/escape-object-path/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_3ZZVZ2/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_3ZZVZ2/gdbus/escape-object-path/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_3ZZVZ2/gdbus/escape-object-path/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_3ZZVZ2/gdbus/escape-object-path/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_3ZZVZ2/gdbus/escape-object-path/.dirs/runtime 871s ok 10 /gdbus/escape-object-path 871s # End of gdbus tests 871s ok - glib/gdbus-names.test 871s # Running test: glib/signals.test 871s TAP version 14 871s # random seed: R02S93e31689ff8b82c41e6117bb22dc9e14 871s 1..31 871s # Start of gobject tests 871s # Start of signals tests 871s ok 1 /gobject/signals/all-types 871s ok 2 /gobject/signals/variant 871s ok 3 /gobject/signals/destroy-target-object 871s ok 4 /gobject/signals/generic-marshaller-1 871s ok 5 /gobject/signals/generic-marshaller-2 871s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 871s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 871s ok 8 /gobject/signals/generic-marshaller-int-return 871s ok 9 /gobject/signals/generic-marshaller-uint-return 871s ok 10 /gobject/signals/generic-marshaller-interface-return 871s ok 11 /gobject/signals/custom-marshaller 871s ok 12 /gobject/signals/connect 871s ok 13 /gobject/signals/emission-hook 871s ok 14 /gobject/signals/emitv 871s ok 15 /gobject/signals/accumulator 871s # Signal: accumulator-class-first 871s # Signal: accumulator-class-last 871s # Signal: accumulator-class-cleanup 871s # Signal: accumulator-class-first-last 871s # Signal: accumulator-class-first-last-cleanup 871s # Signal: accumulator-class-last-cleanup 871s ok 16 /gobject/signals/accumulator-class 871s ok 17 /gobject/signals/introspection 871s ok 18 /gobject/signals/block-handler 871s ok 19 /gobject/signals/stop-emission 871s ok 20 /gobject/signals/invocation-hint 871s ok 21 /gobject/signals/test-disconnection-wrong-object 871s ok 22 /gobject/signals/clear-signal-handler 871s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 871s ok 23 /gobject/signals/lookup 871s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 871s ok 24 /gobject/signals/parse-name 871s ok 25 /gobject/signals/is-valid-name 871s ok 26 /gobject/signals/weak-ref-disconnect 871s # Start of lookup tests 871s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 871s ok 27 /gobject/signals/lookup/invalid 871s # End of lookup tests 871s # Start of parse-name tests 871s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 871s # Parser input: 871s # Parser input: 7zip 871s # Parser input: invalid:signal 871s # Parser input: simple-detailed:: 871s # Parser input: simple-detailed: 871s # Parser input: : 871s # Parser input: :: 871s # Parser input: :valid-detail 871s # Parser input: ::valid-detail 871s ok 28 /gobject/signals/parse-name/invalid 871s # End of parse-name tests 871s # Start of invalid-name tests 871s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 871s ok 29 /gobject/signals/invalid-name/colon 871s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 871s ok 30 /gobject/signals/invalid-name/first-char 871s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 871s ok 31 /gobject/signals/invalid-name/empty 871s # End of invalid-name tests 871s # End of signals tests 871s # End of gobject tests 871s ok - glib/signals.test 871s # Running test: glib/converter-stream.test 871s TAP version 14 871s # random seed: R02S7374b7a32a658e1092a0a1c50604752e 871s 1..17 871s # Start of converter tests 871s ok 1 /converter/basics 871s # End of converter tests 871s # Start of converter-input-stream tests 871s ok 2 /converter-input-stream/expander 871s ok 3 /converter-input-stream/compressor 871s # Start of truncation tests 871s ok 4 /converter-input-stream/truncation/zlib 871s ok 5 /converter-input-stream/truncation/gzip 872s ok 6 /converter-input-stream/truncation/raw 872s # End of truncation tests 872s # Start of charset tests 872s ok 7 /converter-input-stream/charset/utf8->latin1 872s ok 8 /converter-input-stream/charset/latin1->utf8 872s ok 9 /converter-input-stream/charset/fallbacks 872s # End of charset tests 872s # End of converter-input-stream tests 872s # Start of converter-output-stream tests 872s # Start of roundtrip tests 872s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 872s ok 10 /converter-output-stream/roundtrip/zlib-0 872s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 872s ok 11 /converter-output-stream/roundtrip/zlib-9 872s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 872s ok 12 /converter-output-stream/roundtrip/gzip-0 872s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 872s ok 13 /converter-output-stream/roundtrip/gzip-9 872s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 872s ok 14 /converter-output-stream/roundtrip/raw-0 872s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 873s ok 15 /converter-output-stream/roundtrip/raw-9 873s # End of roundtrip tests 873s # End of converter-output-stream tests 873s # Start of converter-stream tests 873s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 873s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x19a688a79ec0 and GSocketClientAsyncConnectData 0x19a688e652c0 873s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 873s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 873s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x19a688a83020 for GSocketClientAsyncConnectData 0x19a688e652c0 873s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 873s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 873s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 873s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 873s ok 16 /converter-stream/pollable 873s ok 17 /converter-stream/leftover 873s # End of converter-stream tests 873s ok - glib/converter-stream.test 873s # Running test: glib/markup.test 873s TAP version 14 873s # random seed: R02See72a2b12fb4facd3aae96f676b0ce6c 873s 1..1 873s # Start of markup tests 873s ok 1 /markup/stack 873s # End of markup tests 873s ok - glib/markup.test 873s # Running test: glib/data-input-stream.test 873s TAP version 14 873s # random seed: R02S9f9da9c2ba165c2cd415abbce4873462 873s 1..10 873s # Start of data-input-stream tests 873s ok 1 /data-input-stream/basic 873s ok 2 /data-input-stream/read-lines-LF 873s ok 3 /data-input-stream/read-lines-LF-valid-utf8 873s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 873s ok 5 /data-input-stream/read-lines-CR 873s ok 6 /data-input-stream/read-lines-CR-LF 873s ok 7 /data-input-stream/read-lines-any 873s ok 8 /data-input-stream/read-until 873s ok 9 /data-input-stream/read-upto 873s ok 10 /data-input-stream/read-int 873s # End of data-input-stream tests 873s ok - glib/data-input-stream.test 873s # Running test: glib/performance-threaded.test 873s Running test "liststore-is-a" 874s # Executing: glib/performance-threaded.test 874s 2164 runs, min/avg/max = 0.445/0.462/0.640 ms 874s Running test "liststore-interface-peek" 875s 2727 runs, min/avg/max = 0.356/0.367/0.615 ms 875s Running test "liststore-interface-peek-same" 876s 2692 runs, min/avg/max = 0.351/0.371/10.473 ms 876s ok - glib/performance-threaded.test 876s # Running test: glib/uri.test 876s TAP version 14 876s # random seed: R02S850b14cfa98fd0967ae2f4885f8f1a09 876s 1..24 876s # Start of uri tests 876s ok 1 /uri/file-to-uri 876s ok 2 /uri/file-from-uri 876s ok 3 /uri/file-roundtrip 876s ok 4 /uri/list 876s # Test 0: %2Babc %4F 876s # Test 1: %2Babc %4F 876s # Test 2: %00abc %4F 876s # Test 3: /cursors/none.png 876s # Test 4: /cursors%2fbad-subdir/none.png 876s # Test 5: %0 876s # Test 6: %ra 876s # Test 7: %2r 876s # Test 8: Timm B?der 876s # Test 9: (null) 876s ok 5 /uri/unescape-string 876s ok 6 /uri/unescape-segment 876s # Test 0: abcdefgABCDEFG._~ 876s # Test 1: :+ \\?# 876s # Test 2: a+b:c 876s # Test 3: a+b:c\303\234 876s # Test 4: \374;\322 876s # Test 5: \303\261\303( 876s ok 7 /uri/escape-string 876s ok 8 /uri/escape-bytes 876s ok 9 /uri/scheme 876s ok 10 /uri/build 876s ok 11 /uri/split 876s ok 12 /uri/is_valid 876s ok 13 /uri/to-string 876s ok 14 /uri/join 876s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 876s # Combination 0 876s # Combination 1 876s # Combination 2 876s # Combination 3 876s # Combination 4 876s # Combination 5 876s # Combination 6 876s # Combination 7 876s # Combination 8 876s # Combination 9 876s # Combination 10 876s # Combination 11 876s # Combination 12 876s # Combination 13 876s # Combination 14 876s # Combination 15 876s # Combination 16 876s # Combination 17 876s # Combination 18 876s # Combination 19 876s # Combination 20 876s # Combination 21 876s # Combination 22 876s # Combination 23 876s # Combination 24 876s # Combination 25 876s # Combination 26 876s # Combination 27 876s # Combination 28 876s # Combination 29 876s # Combination 30 876s # Combination 31 876s # Combination 32 876s # Combination 33 876s # Combination 34 876s # Combination 35 876s # Combination 36 876s # Combination 37 876s # Combination 38 876s # Combination 39 876s # Combination 40 876s # Combination 41 876s # Combination 42 876s # Combination 43 876s # Combination 44 876s # Combination 45 876s # Combination 46 876s # Combination 47 876s # Combination 48 876s # Combination 49 876s # Combination 50 876s # Combination 51 876s # Combination 52 876s # Combination 53 876s # Combination 54 876s # Combination 55 876s # Combination 56 876s # Combination 57 876s # Combination 58 876s # Combination 59 876s # Combination 60 876s # Combination 61 876s # Combination 62 876s # Combination 63 876s # Combination 64 876s # Combination 65 876s # Combination 66 876s # Combination 67 876s # Combination 68 876s # Combination 69 876s # Combination 70 876s # Combination 71 876s # Combination 72 876s # Combination 73 876s # Combination 74 876s # Combination 75 876s # Combination 76 876s # Combination 77 876s # Combination 78 876s # Combination 79 876s # Combination 80 876s # Combination 81 876s # Combination 82 876s # Combination 83 876s # Combination 84 876s # Combination 85 876s # Combination 86 876s # Combination 87 876s # Combination 88 876s # Combination 89 876s # Combination 90 876s # Combination 91 876s # Combination 92 876s # Combination 93 876s # Combination 94 876s # Combination 95 876s # Combination 96 876s # Combination 97 876s # Combination 98 876s # Combination 99 876s # Combination 100 876s # Combination 101 876s # Combination 102 876s # Combination 103 876s # Combination 104 876s # Combination 105 876s # Combination 106 876s # Combination 107 876s # Combination 108 876s # Combination 109 876s # Combination 110 876s # Combination 111 876s # Combination 112 876s # Combination 113 876s # Combination 114 876s # Combination 115 876s # Combination 116 876s # Combination 117 876s # Combination 118 876s # Combination 119 876s # Combination 120 876s # Combination 121 876s # Combination 122 876s # Combination 123 876s # Combination 124 876s # Combination 125 876s # Combination 126 876s # Combination 127 876s # Combination 128 876s # Combination 129 876s # Combination 130 876s # Combination 131 876s # Combination 132 876s # Combination 133 876s # Combination 134 876s # Combination 135 876s # Combination 136 876s # Combination 137 876s # Combination 138 876s # Combination 139 876s # Combination 140 876s # Combination 141 876s # Combination 142 876s # Combination 143 876s # Combination 144 876s # Combination 145 876s # Combination 146 876s # Combination 147 876s # Combination 148 876s # Combination 149 876s # Combination 150 876s # Combination 151 876s # Combination 152 876s # Combination 153 876s # Combination 154 876s # Combination 155 876s # Combination 156 876s # Combination 157 876s # Combination 158 876s # Combination 159 876s # Combination 160 876s # Combination 161 876s # Combination 162 876s # Combination 163 876s # Combination 164 876s # Combination 165 876s # Combination 166 876s # Combination 167 876s # Combination 168 876s # Combination 169 876s # Combination 170 876s # Combination 171 876s # Combination 172 876s # Combination 173 876s # Combination 174 876s # Combination 175 876s # Combination 176 876s # Combination 177 876s # Combination 178 876s # Combination 179 876s # Combination 180 876s # Combination 181 876s # Combination 182 876s # Combination 183 876s # Combination 184 876s # Combination 185 876s # Combination 186 876s # Combination 187 876s # Combination 188 876s # Combination 189 876s # Combination 190 876s # Combination 191 876s # Combination 192 876s # Combination 193 876s # Combination 194 876s # Combination 195 876s # Combination 196 876s # Combination 197 876s # Combination 198 876s # Combination 199 876s # Combination 200 876s # Combination 201 876s # Combination 202 876s # Combination 203 876s # Combination 204 876s # Combination 205 876s # Combination 206 876s # Combination 207 876s # Combination 208 876s # Combination 209 876s # Combination 210 876s # Combination 211 876s # Combination 212 876s # Combination 213 876s # Combination 214 876s # Combination 215 876s # Combination 216 876s # Combination 217 876s # Combination 218 876s # Combination 219 876s # Combination 220 876s # Combination 221 876s # Combination 222 876s # Combination 223 876s # Combination 224 876s # Combination 225 876s # Combination 226 876s # Combination 227 876s # Combination 228 876s # Combination 229 876s # Combination 230 876s # Combination 231 876s # Combination 232 876s # Combination 233 876s # Combination 234 876s # Combination 235 876s # Combination 236 876s # Combination 237 876s # Combination 238 876s # Combination 239 876s # Combination 240 876s # Combination 241 876s # Combination 242 876s # Combination 243 876s # Combination 244 876s # Combination 245 876s # Combination 246 876s # Combination 247 876s # Combination 248 876s # Combination 249 876s # Combination 250 876s # Combination 251 876s # Combination 252 876s # Combination 253 876s # Combination 254 876s # Combination 255 876s ok 15 /uri/join-split-round-trip 876s ok 16 /uri/normalize 876s # Start of unescape-bytes tests 876s # Test 0: %00%00 876s # Test 1: /cursors/none.png 876s # Test 2: /cursors%2fbad-subdir/none.png 876s # Test 3: %% 876s # Test 4: % 876s ok 17 /uri/unescape-bytes/nul-terminated 876s # Test 0: %00%00 876s # Test 1: /cursors/none.png 876s # Test 2: /cursors%2fbad-subdir/none.png 876s # Test 3: %% 876s # Test 4: % 876s ok 18 /uri/unescape-bytes/length 876s # End of unescape-bytes tests 876s # Start of parsing tests 876s # Test 0: foo: 876s # Test 1: file:/dev/null 876s # Test 2: file:///dev/null 876s # Test 3: ftp://user@host/path 876s # Test 4: ftp://user@host:9999/path 876s # Test 5: ftp://user:password@host/path 876s # Test 6: ftp://user:password@host:9999/path 876s # Test 7: ftp://user:password@host 876s # Test 8: http://us%65r@host 876s # Test 9: http://us%40r@host 876s # Test 10: http://us%3ar@host 876s # Test 11: http://us%2fr@host 876s # Test 12: http://us%3fr@host 876s # Test 13: http://host?query 876s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 876s # Test 15: http://control-chars/%01%02%03%04%05%06%07%08%09%0A%0B%0C%0D%0E%0F%10%11%12%13%14%15%16%17%18%19%1A%1B%1C%1D%1E%1F%7F 876s # Test 16: http://space/%20 876s # Test 17: http://delims/%3C%3E%23%25%22 876s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 876s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 876s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 876s # Test 21: http://[3ffe:2a00:100:7031::1] 876s # Test 22: http://[1080::8:800:200C:417A]/foo 876s # Test 23: http://[::192.9.5.5]/ipng 876s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 876s # Test 25: http://[2010:836B:4179::836B:4179] 876s # Test 26: http://host/path with spaces 876s # Test 27: http://host/path 876s # Test 28: http://host/path 876s # Test 29: http://host 876s # Test 30: http://host:999 876s # Test 31: http://host/pa 876s # th 876s # Test 32: http: 876s # //host/path 876s # Test 33: http:// host/path 876s # Test 34: http://host/path? 876s # Test 35: http://host/path# 876s # Test 36: http://host/path% 876s # Test 37: http://h%ost/path 876s # Test 38: http://host/path%% 876s # Test 39: http://host/path%%% 876s # Test 40: http://host/path%/x/ 876s # Test 41: http://host/path%0x/ 876s # Test 42: http://host/path%ax 876s # Test 43: http://host/p?th/ 876s # Test 44: HTTP://////////////// 876s # Test 45: http://@host 876s # Test 46: http://:@host 876s # Test 47: scheme://foo%3Abar._webdav._tcp.local 876s # Test 48: http://example.com/.. 876s # Test 49: foo0://host/path 876s # Test 50: f0.o://host/path 876s # Test 51: http++://host/path 876s # Test 52: http-ish://host/path 876s # Test 53: http://[fe80::dead:beef%]/ 876s # Test 54: http://[fe80::dead:beef%em1]/ 876s # Test 55: http://[fe80::dead:beef%em1]/ 876s # Test 56: http://[fe80::dead:beef%25em1]/ 876s # Test 57: http://[fe80::dead:beef%25em1%20]/ 876s # Test 58: http://[fe80::dead:beef%25em%31]/ 876s # Test 59: http://[fe80::dead:beef%10]/ 876s # Test 60: http://[fe80::dead:beef%10]/ 876s # Test 61: http://[fe80::dead:beef%25]/ 876s # Test 62: http://[fe80::dead:beef%25]/ 876s # Test 63: http://[192.168.0.1%25em1]/ 876s # Test 64: http://[fe80::dead:beef%2em1]/ 876s # Test 65: http://[fe80::dead:beef%2em1]/ 876s # Test 66: http://[fe80::dead:beef%25em1%00]/ 876s # Test 67: http://[fe80::dead:beef%25em1%00]/ 876s # Test 68: http://xn--mixed-?p/ 876s ok 19 /uri/parsing/absolute 876s ok 20 /uri/parsing/relative 876s # End of parsing tests 876s # Start of iter-params tests 876s # URI 0: p1=foo&p2=bar;p3=baz 876s # URI 1: p1=foo&p2=bar 876s # URI 2: p1=foo&&P1=bar 876s # URI 3: %00=foo 876s # URI 4: p1=%00 876s # URI 5: p1=foo&p1=bar 876s # URI 6: p1=foo&P1=bar 876s # URI 7: =% 876s # URI 8: = 876s # URI 9: foo 876s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 876s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 876s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 876s ok 21 /uri/iter-params/nul-terminated 876s # URI 0: p1=foo&p2=bar;p3=baz 876s # URI 1: p1=foo&p2=bar 876s # URI 2: p1=foo&&P1=bar 876s # URI 3: %00=foo 876s # URI 4: p1=%00 876s # URI 5: p1=foo&p1=bar 876s # URI 6: p1=foo&P1=bar 876s # URI 7: =% 876s # URI 8: = 876s # URI 9: foo 876s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 876s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 876s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 876s ok 22 /uri/iter-params/length 876s # End of iter-params tests 876s # Start of parse-params tests 876s # URI 0: p1=foo&p2=bar;p3=baz 876s # URI 1: p1=foo&p2=bar 876s # URI 2: p1=foo&&P1=bar 876s # URI 3: %00=foo 876s # URI 4: p1=%00 876s # URI 5: p1=foo&p1=bar 876s # URI 6: p1=foo&P1=bar 876s # URI 7: =% 876s # URI 8: = 876s # URI 9: foo 876s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 876s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 876s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 876s ok 23 /uri/parse-params/nul-terminated 876s # URI 0: p1=foo&p2=bar;p3=baz 876s # URI 1: p1=foo&p2=bar 876s # URI 2: p1=foo&&P1=bar 876s # URI 3: %00=foo 876s # URI 4: p1=%00 876s # URI 5: p1=foo&p1=bar 876s # URI 6: p1=foo&P1=bar 876s # URI 7: =% 876s # URI 8: = 876s # URI 9: foo 876s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 876s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 876s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 876s ok 24 /uri/parse-params/length 876s # End of parse-params tests 876s # End of uri tests 876s ok - glib/uri.test 876s # Running test: glib/enums.test 876s TAP version 14 876s # random seed: R02Sea1629c3cabfb1c7eb052ce1aceb580d 876s 1..4 876s # Start of enum tests 876s ok 1 /enum/basic 876s ok 2 /enum/define-type 876s # End of enum tests 876s # Start of flags tests 876s ok 3 /flags/basic 876s ok 4 /flags/define-type 876s # End of flags tests 876s ok - glib/enums.test 876s # Running test: glib/utils-c-17.test 876s TAP version 14 876s # random seed: R02S739cd9a8149223d4e9c9a5e3a5124346 876s 1..40 876s # Start of utils tests 876s ok 1 /utils/language-names 876s ok 2 /utils/locale-variants 876s ok 3 /utils/version 876s ok 4 /utils/appname 876s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 876s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 876s ok 5 /utils/prgname-thread-safety 876s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 876s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 876s ok 6 /utils/tmpdir 876s ok 7 /utils/basic_bits 876s ok 8 /utils/bits 876s ok 9 /utils/swap 876s ok 10 /utils/find-program 876s ok 11 /utils/find-program-for-path 876s ok 12 /utils/debug 876s ok 13 /utils/codeset 876s ok 14 /utils/codeset2 876s ok 15 /utils/console-charset 876s ok 16 /utils/gettext 876s ok 17 /utils/username 876s ok 18 /utils/realname 876s ok 19 /utils/hostname 876s ok 20 /utils/xdgdirs 876s ok 21 /utils/specialdir 876s # NAME: Ubuntu 876s ok 22 /utils/os-info 876s ok 23 /utils/clear-pointer 876s ok 24 /utils/clear-pointer-cast 876s ok 25 /utils/take-pointer 876s ok 26 /utils/clear-source 876s ok 27 /utils/misc-mem 876s # /utils/aligned-mem summary: Aligned memory allocator 876s # Alignment must not be zero 876s # Alignment must be a power of two 876s # Alignment must be a multiple of sizeof(void*) 876s ok 28 /utils/aligned-mem 876s # /utils/free-sized summary: Check that g_free_sized() works 876s ok 29 /utils/free-sized 876s ok 30 /utils/nullify 876s ok 31 /utils/atexit 876s ok 32 /utils/check-setuid 876s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 876s ok 33 /utils/int-limits 876s ok 34 /utils/clear-list 876s ok 35 /utils/clear-slist 876s # Start of specialdir tests 876s ok 36 /utils/specialdir/desktop 876s # End of specialdir tests 876s # Start of clear-pointer tests 876s ok 37 /utils/clear-pointer/side-effects 876s # End of clear-pointer tests 876s # Start of aligned-mem tests 876s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 876s ok 38 /utils/aligned-mem/alignment 876s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 876s ok 39 /utils/aligned-mem/zeroed 876s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 876s ok 40 /utils/aligned-mem/free-sized 876s # Start of subprocess tests 876s # End of subprocess tests 876s # End of aligned-mem tests 876s # End of utils tests 876s ok - glib/utils-c-17.test 876s # Running test: glib/gdbus-proxy.test 876s TAP version 14 876s # random seed: R02S0b937a6263dc7d95c9fb94b34b2be8d2 876s 1..5 876s # Start of gdbus tests 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_G7WWZ2/gdbus/proxy/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_G7WWZ2/gdbus/proxy/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_G7WWZ2/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_G7WWZ2/gdbus/proxy/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_G7WWZ2/gdbus/proxy/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_G7WWZ2/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_G7WWZ2/gdbus/proxy/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_G7WWZ2/gdbus/proxy/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_G7WWZ2/gdbus/proxy/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_G7WWZ2/gdbus/proxy/.dirs/runtime 876s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s ok 1 /gdbus/proxy 878s # slow test /gdbus/proxy executed in 1.73 secs 878s # Start of proxy tests 878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_G7WWZ2/gdbus/proxy/no-properties/.dirs/home 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_G7WWZ2/gdbus/proxy/no-properties/.dirs/cache 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_G7WWZ2/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_G7WWZ2/gdbus/proxy/no-properties/.dirs/system-config2 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_G7WWZ2/gdbus/proxy/no-properties/.dirs/config 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_G7WWZ2/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_G7WWZ2/gdbus/proxy/no-properties/.dirs/system-data2 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_G7WWZ2/gdbus/proxy/no-properties/.dirs/data 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_G7WWZ2/gdbus/proxy/no-properties/.dirs/state 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_G7WWZ2/gdbus/proxy/no-properties/.dirs/runtime 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s ok 2 /gdbus/proxy/no-properties 878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_G7WWZ2/gdbus/proxy/wellknown-noauto/.dirs/home 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_G7WWZ2/gdbus/proxy/wellknown-noauto/.dirs/cache 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_G7WWZ2/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_G7WWZ2/gdbus/proxy/wellknown-noauto/.dirs/system-config2 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_G7WWZ2/gdbus/proxy/wellknown-noauto/.dirs/config 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_G7WWZ2/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_G7WWZ2/gdbus/proxy/wellknown-noauto/.dirs/system-data2 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_G7WWZ2/gdbus/proxy/wellknown-noauto/.dirs/data 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_G7WWZ2/gdbus/proxy/wellknown-noauto/.dirs/state 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_G7WWZ2/gdbus/proxy/wellknown-noauto/.dirs/runtime 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s ok 3 /gdbus/proxy/wellknown-noauto 878s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_G7WWZ2/gdbus/proxy/async/.dirs/home 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_G7WWZ2/gdbus/proxy/async/.dirs/cache 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_G7WWZ2/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_G7WWZ2/gdbus/proxy/async/.dirs/system-config2 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_G7WWZ2/gdbus/proxy/async/.dirs/config 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_G7WWZ2/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_G7WWZ2/gdbus/proxy/async/.dirs/system-data2 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_G7WWZ2/gdbus/proxy/async/.dirs/data 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_G7WWZ2/gdbus/proxy/async/.dirs/state 878s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_G7WWZ2/gdbus/proxy/async/.dirs/runtime 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 879s # Executing: glib/gdbus-proxy.test 879s ok 4 /gdbus/proxy/async 879s # slow test /gdbus/proxy/async executed in 1.73 secs 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_G7WWZ2/gdbus/proxy/no-match-rule/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_G7WWZ2/gdbus/proxy/no-match-rule/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_G7WWZ2/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_G7WWZ2/gdbus/proxy/no-match-rule/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_G7WWZ2/gdbus/proxy/no-match-rule/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_G7WWZ2/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_G7WWZ2/gdbus/proxy/no-match-rule/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_G7WWZ2/gdbus/proxy/no-match-rule/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_G7WWZ2/gdbus/proxy/no-match-rule/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_G7WWZ2/gdbus/proxy/no-match-rule/.dirs/runtime 879s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 879s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 879s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 881s ok 5 /gdbus/proxy/no-match-rule 881s # slow test /gdbus/proxy/no-match-rule executed in 1.74 secs 881s # End of proxy tests 881s # End of gdbus tests 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 881s ok - glib/gdbus-proxy.test 881s # Running test: glib/g-file-info-filesystem-readonly.test 881s TAP version 14 881s # random seed: R02Sedd399c07d07fb021aa1c46e6e8b0837 881s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 881s 1..2 881s # Start of g-file-info-filesystem-readonly tests 881s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 881s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 881s # End of g-file-info-filesystem-readonly tests 881s ok - glib/g-file-info-filesystem-readonly.test 881s # Running test: glib/resolver-parsing.test 881s TAP version 14 881s # random seed: R02S289c4a24bbb1f6b44c71913621eeabe0 881s 1..21 881s # Start of gresolver tests 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/invalid-header/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/invalid-header/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_MX0RZ2/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_MX0RZ2/gresolver/invalid-header/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/invalid-header/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_MX0RZ2/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_MX0RZ2/gresolver/invalid-header/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/invalid-header/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/invalid-header/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_MX0RZ2/gresolver/invalid-header/.dirs/runtime 881s ok 1 /gresolver/invalid-header 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/record-ownership/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/record-ownership/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_MX0RZ2/gresolver/record-ownership/.dirs/system-config1:/tmp/test_resolver-parsing_MX0RZ2/gresolver/record-ownership/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/record-ownership/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_MX0RZ2/gresolver/record-ownership/.dirs/system-data1:/tmp/test_resolver-parsing_MX0RZ2/gresolver/record-ownership/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/record-ownership/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/record-ownership/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_MX0RZ2/gresolver/record-ownership/.dirs/runtime 881s ok 2 /gresolver/record-ownership 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/unknown-record-type/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/unknown-record-type/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_MX0RZ2/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_MX0RZ2/gresolver/unknown-record-type/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/unknown-record-type/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_MX0RZ2/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_MX0RZ2/gresolver/unknown-record-type/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/unknown-record-type/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/unknown-record-type/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_MX0RZ2/gresolver/unknown-record-type/.dirs/runtime 881s # GLib-GIO-DEBUG: Unrecognized DNS record type 20 881s ok 3 /gresolver/unknown-record-type 881s # Start of mx tests 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/mx/valid/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/mx/valid/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_MX0RZ2/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_MX0RZ2/gresolver/mx/valid/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/mx/valid/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_MX0RZ2/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_MX0RZ2/gresolver/mx/valid/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/mx/valid/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/mx/valid/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_MX0RZ2/gresolver/mx/valid/.dirs/runtime 881s ok 4 /gresolver/mx/valid 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/mx/invalid/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/mx/invalid/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_MX0RZ2/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_MX0RZ2/gresolver/mx/invalid/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/mx/invalid/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_MX0RZ2/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_MX0RZ2/gresolver/mx/invalid/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/mx/invalid/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/mx/invalid/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_MX0RZ2/gresolver/mx/invalid/.dirs/runtime 881s ok 5 /gresolver/mx/invalid 881s # Start of invalid tests 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/mx/invalid/too-short/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/mx/invalid/too-short/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_MX0RZ2/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_MX0RZ2/gresolver/mx/invalid/too-short/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/mx/invalid/too-short/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_MX0RZ2/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_MX0RZ2/gresolver/mx/invalid/too-short/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/mx/invalid/too-short/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/mx/invalid/too-short/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_MX0RZ2/gresolver/mx/invalid/too-short/.dirs/runtime 881s ok 6 /gresolver/mx/invalid/too-short 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/mx/invalid/too-short2/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/mx/invalid/too-short2/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_MX0RZ2/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_MX0RZ2/gresolver/mx/invalid/too-short2/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/mx/invalid/too-short2/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_MX0RZ2/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_MX0RZ2/gresolver/mx/invalid/too-short2/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/mx/invalid/too-short2/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/mx/invalid/too-short2/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_MX0RZ2/gresolver/mx/invalid/too-short2/.dirs/runtime 881s ok 7 /gresolver/mx/invalid/too-short2 881s # End of invalid tests 881s # End of mx tests 881s # Start of ns tests 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/ns/valid/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/ns/valid/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_MX0RZ2/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_MX0RZ2/gresolver/ns/valid/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/ns/valid/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_MX0RZ2/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_MX0RZ2/gresolver/ns/valid/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/ns/valid/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/ns/valid/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_MX0RZ2/gresolver/ns/valid/.dirs/runtime 881s ok 8 /gresolver/ns/valid 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/ns/invalid/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/ns/invalid/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_MX0RZ2/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_MX0RZ2/gresolver/ns/invalid/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/ns/invalid/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_MX0RZ2/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_MX0RZ2/gresolver/ns/invalid/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/ns/invalid/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/ns/invalid/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_MX0RZ2/gresolver/ns/invalid/.dirs/runtime 881s ok 9 /gresolver/ns/invalid 881s # End of ns tests 881s # Start of soa tests 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/soa/valid/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/soa/valid/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_MX0RZ2/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_MX0RZ2/gresolver/soa/valid/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/soa/valid/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_MX0RZ2/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_MX0RZ2/gresolver/soa/valid/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/soa/valid/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/soa/valid/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_MX0RZ2/gresolver/soa/valid/.dirs/runtime 881s ok 10 /gresolver/soa/valid 881s # Start of invalid tests 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/soa/invalid/mname/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/soa/invalid/mname/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_MX0RZ2/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_MX0RZ2/gresolver/soa/invalid/mname/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/soa/invalid/mname/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_MX0RZ2/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_MX0RZ2/gresolver/soa/invalid/mname/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/soa/invalid/mname/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/soa/invalid/mname/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_MX0RZ2/gresolver/soa/invalid/mname/.dirs/runtime 881s ok 11 /gresolver/soa/invalid/mname 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/soa/invalid/rname/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/soa/invalid/rname/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_MX0RZ2/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_MX0RZ2/gresolver/soa/invalid/rname/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/soa/invalid/rname/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_MX0RZ2/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_MX0RZ2/gresolver/soa/invalid/rname/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/soa/invalid/rname/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/soa/invalid/rname/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_MX0RZ2/gresolver/soa/invalid/rname/.dirs/runtime 881s ok 12 /gresolver/soa/invalid/rname 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/soa/invalid/too-short/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/soa/invalid/too-short/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_MX0RZ2/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_MX0RZ2/gresolver/soa/invalid/too-short/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/soa/invalid/too-short/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_MX0RZ2/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_MX0RZ2/gresolver/soa/invalid/too-short/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/soa/invalid/too-short/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/soa/invalid/too-short/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_MX0RZ2/gresolver/soa/invalid/too-short/.dirs/runtime 881s ok 13 /gresolver/soa/invalid/too-short 881s # End of invalid tests 881s # End of soa tests 881s # Start of srv tests 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/srv/valid/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/srv/valid/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_MX0RZ2/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_MX0RZ2/gresolver/srv/valid/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/srv/valid/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_MX0RZ2/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_MX0RZ2/gresolver/srv/valid/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/srv/valid/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/srv/valid/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_MX0RZ2/gresolver/srv/valid/.dirs/runtime 881s ok 14 /gresolver/srv/valid 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/srv/invalid/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/srv/invalid/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_MX0RZ2/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_MX0RZ2/gresolver/srv/invalid/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/srv/invalid/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_MX0RZ2/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_MX0RZ2/gresolver/srv/invalid/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/srv/invalid/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/srv/invalid/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_MX0RZ2/gresolver/srv/invalid/.dirs/runtime 881s ok 15 /gresolver/srv/invalid 881s # Start of invalid tests 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/srv/invalid/too-short/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/srv/invalid/too-short/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_MX0RZ2/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_MX0RZ2/gresolver/srv/invalid/too-short/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/srv/invalid/too-short/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_MX0RZ2/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_MX0RZ2/gresolver/srv/invalid/too-short/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/srv/invalid/too-short/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/srv/invalid/too-short/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_MX0RZ2/gresolver/srv/invalid/too-short/.dirs/runtime 881s ok 16 /gresolver/srv/invalid/too-short 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/srv/invalid/too-short2/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/srv/invalid/too-short2/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_MX0RZ2/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_MX0RZ2/gresolver/srv/invalid/too-short2/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/srv/invalid/too-short2/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_MX0RZ2/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_MX0RZ2/gresolver/srv/invalid/too-short2/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/srv/invalid/too-short2/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/srv/invalid/too-short2/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_MX0RZ2/gresolver/srv/invalid/too-short2/.dirs/runtime 881s ok 17 /gresolver/srv/invalid/too-short2 881s # End of invalid tests 881s # End of srv tests 881s # Start of txt tests 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/txt/valid/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/txt/valid/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_MX0RZ2/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_MX0RZ2/gresolver/txt/valid/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/txt/valid/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_MX0RZ2/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_MX0RZ2/gresolver/txt/valid/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/txt/valid/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/txt/valid/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_MX0RZ2/gresolver/txt/valid/.dirs/runtime 881s ok 18 /gresolver/txt/valid 881s # Start of valid tests 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/txt/valid/multiple-strings/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/txt/valid/multiple-strings/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_MX0RZ2/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_MX0RZ2/gresolver/txt/valid/multiple-strings/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/txt/valid/multiple-strings/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_MX0RZ2/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_MX0RZ2/gresolver/txt/valid/multiple-strings/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/txt/valid/multiple-strings/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/txt/valid/multiple-strings/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_MX0RZ2/gresolver/txt/valid/multiple-strings/.dirs/runtime 881s ok 19 /gresolver/txt/valid/multiple-strings 881s # End of valid tests 881s # Start of invalid tests 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/txt/invalid/empty/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/txt/invalid/empty/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_MX0RZ2/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_MX0RZ2/gresolver/txt/invalid/empty/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/txt/invalid/empty/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_MX0RZ2/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_MX0RZ2/gresolver/txt/invalid/empty/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/txt/invalid/empty/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/txt/invalid/empty/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_MX0RZ2/gresolver/txt/invalid/empty/.dirs/runtime 881s ok 20 /gresolver/txt/invalid/empty 881s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/txt/invalid/overflow/.dirs/home 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/txt/invalid/overflow/.dirs/cache 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_MX0RZ2/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_MX0RZ2/gresolver/txt/invalid/overflow/.dirs/system-config2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/txt/invalid/overflow/.dirs/config 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_MX0RZ2/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_MX0RZ2/gresolver/txt/invalid/overflow/.dirs/system-data2 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/txt/invalid/overflow/.dirs/data 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_MX0RZ2/gresolver/txt/invalid/overflow/.dirs/state 881s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_MX0RZ2/gresolver/txt/invalid/overflow/.dirs/runtime 881s ok 21 /gresolver/txt/invalid/overflow 881s # End of invalid tests 881s # End of txt tests 881s # End of gresolver tests 881s ok - glib/resolver-parsing.test 881s # Running test: glib/flags.test 881s TAP version 14 881s # random seed: R02Safd46565ed3df9c57bbe090211b064b7 881s 1..1 881s # Start of gobject tests 881s # Start of flags tests 881s ok 1 /gobject/flags/validate 881s # End of flags tests 881s # End of gobject tests 881s ok - glib/flags.test 881s # Running test: glib/assert-msg-test.py.test 881s TAP version 13 881s ok 1 __main__.TestAssertMessage.test_gassert 881s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 881s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 881s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8'} 881s # Output: Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 881s # Error: ** 881s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 881s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 881s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 881s 1..2 881s ok - glib/assert-msg-test.py.test 881s # Running test: glib/properties-refcount3.test 881s TAP version 14 881s # random seed: R02Sc57ba8ed32cf9f146e8b64039000da83 881s 1..1 881s # Start of gobject tests 881s # Start of refcount tests 884s # Executing: glib/properties-refcount3.test 889s # Executing: glib/properties-refcount3.test 894s # Executing: glib/properties-refcount3.test 899s # Executing: glib/properties-refcount3.test 904s # Executing: glib/properties-refcount3.test 909s # Executing: glib/properties-refcount3.test 911s # 911s # stopping 911s # 911s # stopped 911s # 911s # 13558280 427827 911s # 911s ok 1 /gobject/refcount/properties-3 911s # slow test /gobject/refcount/properties-3 executed in 30.00 secs 911s # End of refcount tests 911s # End of gobject tests 911s ok - glib/properties-refcount3.test 911s # Running test: glib/testing.test 911s TAP version 14 911s # random seed: R02Sb2df50c81e8f21beac199da81352eea7 911s 1..1 911s # Start of assert tests 911s ok 1 /assert/finalize_object 911s # Start of finalize_object tests 911s # Start of subprocess tests 911s # End of subprocess tests 911s # End of finalize_object tests 911s # End of assert tests 911s ok - glib/testing.test 911s # Running test: glib/base64.test 911s TAP version 14 911s # random seed: R02S3ce29e51fc4dfa6fdbdbe96087ee36e4 911s 1..28 911s # Start of base64 tests 911s ok 1 /base64/encode 911s ok 2 /base64/decode 911s ok 3 /base64/decode-inplace 911s ok 4 /base64/encode-decode 911s # Start of full tests 911s ok 5 /base64/full/1 911s ok 6 /base64/full/2 911s ok 7 /base64/full/3 911s ok 8 /base64/full/4 911s # End of full tests 911s # Start of encode tests 911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 911s ok 9 /base64/encode/empty 911s # Start of incremental tests 911s # Start of small-block tests 911s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 911s ok 10 /base64/encode/incremental/small-block/1 911s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 911s ok 11 /base64/encode/incremental/small-block/2 911s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 911s ok 12 /base64/encode/incremental/small-block/3 911s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 911s ok 13 /base64/encode/incremental/small-block/4 911s # End of small-block tests 911s # End of incremental tests 911s # End of encode tests 911s # Start of incremental tests 911s # Start of nobreak tests 911s ok 14 /base64/incremental/nobreak/1 911s ok 15 /base64/incremental/nobreak/2 911s ok 16 /base64/incremental/nobreak/3 911s ok 17 /base64/incremental/nobreak/4-a 911s ok 18 /base64/incremental/nobreak/4-b 911s ok 19 /base64/incremental/nobreak/4-c 911s # End of nobreak tests 911s # Start of break tests 911s ok 20 /base64/incremental/break/1 911s ok 21 /base64/incremental/break/2 911s ok 22 /base64/incremental/break/3 911s # End of break tests 911s # Start of smallblock tests 911s ok 23 /base64/incremental/smallblock/1 911s ok 24 /base64/incremental/smallblock/2 911s ok 25 /base64/incremental/smallblock/3 911s ok 26 /base64/incremental/smallblock/4 911s # End of smallblock tests 911s # End of incremental tests 911s # Start of decode tests 911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 911s ok 27 /base64/decode/empty 911s # End of decode tests 911s # Start of encode-decode tests 911s # Vector 0: 911s # Vector 1: f 911s # Vector 2: fo 911s # Vector 3: foo 911s # Vector 4: foob 911s # Vector 5: fooba 911s # Vector 6: foobar 911s ok 28 /base64/encode-decode/rfc4648 911s # End of encode-decode tests 911s # End of base64 tests 911s ok - glib/base64.test 911s # Running test: glib/gio-tool.py.test 911s TAP version 13 911s ok 1 __main__.TestGioTool.test_help 911s # tmpdir: /tmp/tmp72emvd66 911s # gio: /usr/bin/gio 911s # Running: ['/usr/bin/gio', '--help'] 911s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 911s # Output: Usage: 911s # gio COMMAND [ARGS…] 911s # 911s # Commands: 911s # help Print help 911s # version Print version 911s # cat Concatenate files to standard output 911s # copy Copy one or more files 911s # info Show information about locations 911s # launch Launch an application from a desktop file 911s # list List the contents of locations 911s # mime Get or set the handler for a mimetype 911s # mkdir Create directories 911s # monitor Monitor files and directories for changes 911s # mount Mount or unmount the locations 911s # move Move one or more files 911s # open Open files with the default application 911s # rename Rename a file 911s # remove Delete one or more files 911s # save Read from standard input and save 911s # set Set a file attribute 911s # trash Move files or directories to the trash 911s # tree Lists the contents of locations in a tree 911s # 911s # Use “gio help COMMAND†to get detailed help. 911s # Running: ['/usr/bin/gio', 'help'] 911s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 911s # Output: Usage: 911s # gio COMMAND [ARGS…] 911s # 911s # Commands: 911s # help Print help 911s # version Print version 911s # cat Concatenate files to standard output 911s # copy Copy one or more files 911s # info Show information about locations 911s # launch Launch an application from a desktop file 911s # list List the contents of locations 911s # mime Get or set the handler for a mimetype 911s # mkdir Create directories 911s # monitor Monitor files and directories for changes 911s # mount Mount or unmount the locations 911s # move Move one or more files 911s # open Open files with the default application 911s # rename Rename a file 911s # remove Delete one or more files 911s # save Read from standard input and save 911s # set Set a file attribute 911s # trash Move files or directories to the trash 911s # tree Lists the contents of locations in a tree 911s # 911s # Use “gio help COMMAND†to get detailed help. 911s ok 2 __main__.TestGioTool.test_info_non_default_attributes 911s # tmpdir: /tmp/tmpsf3jvokr 911s # gio: /usr/bin/gio 911s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmpsf3jvokr/tmp1mu9ycm1'] 911s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 911s # Output: uri: file:///tmp/tmpsf3jvokr/tmp1mu9ycm1 911s # local path: /tmp/tmpsf3jvokr/tmp1mu9ycm1 911s # unix mount: /dev/vda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30 911s # attributes: 911s # standard::content-type: application/x-zerosize 911s ok 3 __main__.TestGioTool.test_no_args 911s # tmpdir: /tmp/tmpr2_h2va7 911s # gio: /usr/bin/gio 911s # Running: ['/usr/bin/gio'] 911s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 911s 1..3 911s ok - glib/gio-tool.py.test 911s # Running test: glib/g-file.test 911s TAP version 14 911s # random seed: R02See9ab0edc8ff9e3fb76ccbef3670eeda 911s 1..8 911s # Start of g-file tests 911s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 911s ok 1 /g-file/test_g_file_new_null 911s ok 2 /g-file/test_g_file_new_for_path 911s ok 3 /g-file/test_g_file_new_for_uri 911s ok 4 /g-file/test_g_file_dup 911s ok 5 /g-file/test_g_file_get_parse_name_utf8 911s file:///tmp/test-tmp-glib_g-file.test-069NZ2 911s file:///tmp 911s file:///tmp 911s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 911s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 911s ok 6 /g-file/test_g_file_new_for_commandline_arg 911s /dir1 /dir1/dir2/dir3/ 911s /dir1/ /dir1/dir2/dir3/ 911s /dir1 /dir1/dir2/dir3 911s /dir1/ /dir1/dir2/dir3 911s /tmp/ /something/ 911s /dir1/dir2 /dir1/ 911s //dir1/new //dir1/new/dir2/dir3 911s /dir/UTF-8 p??li? ?lu?ou?k? k?? /dir/UTF-8 p??li? ?lu?ou?k? k??/dir2 911s file:///dir1 file:///dir1/dir2/dir3/ 911s file:///dir1/ file:///dir1/dir2/dir3/ 911s file:///dir1 file:///dir1/dir2/dir3 911s file:///dir1/ file:///dir1/dir2/dir3 911s file:///tmp/ file:///something/ 911s file:///dir1/dir2 file:///dir1/ 911s file:////dir1/new file:////dir1/new/dir2/dir3 911s file:///dir/UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 file:///dir/UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88/dir2 911s ok 7 /g-file/test_g_file_has_prefix 911s ok 8 /g-file/test_g_file_get_parent_child 911s # End of g-file tests 911s ok - glib/g-file.test 911s # Running test: glib/atomic-c-11.test 911s TAP version 14 911s # random seed: R02Se88decfd7875b9962ff3e7e69971dd3f 911s 1..2 911s # Start of atomic tests 911s ok 1 /atomic/types 911s ok 2 /atomic/threaded 911s # End of atomic tests 911s ok - glib/atomic-c-11.test 911s # Running test: glib/sandbox.test 911s TAP version 14 911s # random seed: R02S599d42c68c29b2770b22d76845aac65d 911s 1..4 911s # Start of sandbox tests 911s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_EHZLZ2/sandbox/none/.dirs/home 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_EHZLZ2/sandbox/none/.dirs/cache 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_EHZLZ2/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_EHZLZ2/sandbox/none/.dirs/system-config2 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_EHZLZ2/sandbox/none/.dirs/config 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_EHZLZ2/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_EHZLZ2/sandbox/none/.dirs/system-data2 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_EHZLZ2/sandbox/none/.dirs/data 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_EHZLZ2/sandbox/none/.dirs/state 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_EHZLZ2/sandbox/none/.dirs/runtime 911s ok 1 /sandbox/none 911s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_EHZLZ2/sandbox/snap/.dirs/home 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_EHZLZ2/sandbox/snap/.dirs/cache 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_EHZLZ2/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_EHZLZ2/sandbox/snap/.dirs/system-config2 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_EHZLZ2/sandbox/snap/.dirs/config 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_EHZLZ2/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_EHZLZ2/sandbox/snap/.dirs/system-data2 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_EHZLZ2/sandbox/snap/.dirs/data 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_EHZLZ2/sandbox/snap/.dirs/state 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_EHZLZ2/sandbox/snap/.dirs/runtime 911s # Created snap.yaml in /tmp/test_sandbox_EHZLZ2/snap/current/meta/snap.yaml 911s ok 2 /sandbox/snap 911s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_EHZLZ2/sandbox/classic-snap/.dirs/home 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_EHZLZ2/sandbox/classic-snap/.dirs/cache 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_EHZLZ2/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_EHZLZ2/sandbox/classic-snap/.dirs/system-config2 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_EHZLZ2/sandbox/classic-snap/.dirs/config 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_EHZLZ2/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_EHZLZ2/sandbox/classic-snap/.dirs/system-data2 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_EHZLZ2/sandbox/classic-snap/.dirs/data 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_EHZLZ2/sandbox/classic-snap/.dirs/state 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_EHZLZ2/sandbox/classic-snap/.dirs/runtime 911s # Created snap.yaml in /tmp/test_sandbox_EHZLZ2/snap/current/meta/snap.yaml 911s ok 3 /sandbox/classic-snap 911s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_EHZLZ2/sandbox/flatpak/.dirs/home 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_EHZLZ2/sandbox/flatpak/.dirs/cache 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_EHZLZ2/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_EHZLZ2/sandbox/flatpak/.dirs/system-config2 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_EHZLZ2/sandbox/flatpak/.dirs/config 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_EHZLZ2/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_EHZLZ2/sandbox/flatpak/.dirs/system-data2 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_EHZLZ2/sandbox/flatpak/.dirs/data 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_EHZLZ2/sandbox/flatpak/.dirs/state 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_EHZLZ2/sandbox/flatpak/.dirs/runtime 911s # Creating .flatpak-info in /tmp/test_sandbox_EHZLZ2/sandbox/flatpak/.dirs/runtime/.flatpak-info 911s ok 4 /sandbox/flatpak 911s # End of sandbox tests 911s ok - glib/sandbox.test 911s # Running test: glib/properties.test 911s TAP version 14 911s # random seed: R02Scc2cd909ea3c26eca8d567b62e54ca77 911s 1..13 911s # Start of properties tests 911s ok 1 /properties/install 911s ok 2 /properties/install-many 911s ok 3 /properties/notify 911s ok 4 /properties/notify-queue 911s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 911s ok 5 /properties/construct 911s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 911s # Test g_object_get_property with an initialized value 911s # Test g_object_get_property with an uninitialized value 911s # Test g_object_get_property with a transformable value 911s ok 6 /properties/get-property 911s ok 7 /properties/testv_with_no_properties 911s ok 8 /properties/testv_with_valid_properties 911s ok 9 /properties/testv_with_invalid_property_type 911s ok 10 /properties/testv_with_invalid_property_names 911s ok 11 /properties/testv_getv 911s ok 12 /properties/testv_notify_queue 911s # Start of set-property tests 911s # Start of variant tests 911s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 911s ok 13 /properties/set-property/variant/floating 911s # End of variant tests 911s # End of set-property tests 911s # End of properties tests 911s ok - glib/properties.test 911s # Running test: glib/portal-support-snap.test 911s TAP version 14 911s # random seed: R02S3c25a29980c94cc9a1c4e5bda9db292c 911s 1..7 911s # Start of portal-support tests 911s # Start of snap tests 911s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/no-snapctl/.dirs/home 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/no-snapctl/.dirs/cache 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/no-snapctl/.dirs/system-config2 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/no-snapctl/.dirs/config 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/no-snapctl/.dirs/system-data2 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/no-snapctl/.dirs/data 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/no-snapctl/.dirs/state 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/no-snapctl/.dirs/runtime 911s # Created snap.yaml in /tmp/test_portal-support-snap_OYMLZ2/meta/snap.yaml 911s Unable to clean up temporary directory /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/no-snapctl: No such file or directory 911s ok 1 /portal-support/snap/no-snapctl 911s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/none/.dirs/home 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/none/.dirs/cache 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/none/.dirs/system-config2 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/none/.dirs/config 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/none/.dirs/system-data2 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/none/.dirs/data 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/none/.dirs/state 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/none/.dirs/runtime 911s # Created snap.yaml in /tmp/test_portal-support-snap_OYMLZ2/meta/snap.yaml 911s # Created snapctl in /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/none/.dirs/runtime/snapctl 911s Unable to clean up temporary directory /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/none: No such file or directory 911s ok 2 /portal-support/snap/none 911s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/all/.dirs/home 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/all/.dirs/cache 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/all/.dirs/system-config2 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/all/.dirs/config 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/all/.dirs/system-data2 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/all/.dirs/data 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/all/.dirs/state 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/all/.dirs/runtime 911s # Created snap.yaml in /tmp/test_portal-support-snap_OYMLZ2/meta/snap.yaml 911s # Created snapctl in /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/all/.dirs/runtime/snapctl 911s Unable to clean up temporary directory /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/all: No such file or directory 911s ok 3 /portal-support/snap/all 911s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/desktop-only/.dirs/home 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/desktop-only/.dirs/cache 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/desktop-only/.dirs/system-config2 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/desktop-only/.dirs/config 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/desktop-only/.dirs/system-data2 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/desktop-only/.dirs/data 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/desktop-only/.dirs/state 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/desktop-only/.dirs/runtime 911s # Created snap.yaml in /tmp/test_portal-support-snap_OYMLZ2/meta/snap.yaml 911s # Created snapctl in /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/desktop-only/.dirs/runtime/snapctl 911s Unable to clean up temporary directory /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/desktop-only: No such file or directory 911s ok 4 /portal-support/snap/desktop-only 911s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/network-only/.dirs/home 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/network-only/.dirs/cache 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/network-only/.dirs/system-config2 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/network-only/.dirs/config 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/network-only/.dirs/system-data2 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/network-only/.dirs/data 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/network-only/.dirs/state 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/network-only/.dirs/runtime 911s # Created snap.yaml in /tmp/test_portal-support-snap_OYMLZ2/meta/snap.yaml 911s # Created snapctl in /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/network-only/.dirs/runtime/snapctl 911s Unable to clean up temporary directory /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/network-only: No such file or directory 911s ok 5 /portal-support/snap/network-only 911s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/gsettings-only/.dirs/home 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/gsettings-only/.dirs/cache 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/gsettings-only/.dirs/system-config2 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/gsettings-only/.dirs/config 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/gsettings-only/.dirs/system-data2 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/gsettings-only/.dirs/data 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/gsettings-only/.dirs/state 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/gsettings-only/.dirs/runtime 911s # Created snap.yaml in /tmp/test_portal-support-snap_OYMLZ2/meta/snap.yaml 911s # Created snapctl in /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 911s Unable to clean up temporary directory /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/gsettings-only: No such file or directory 911s ok 6 /portal-support/snap/gsettings-only 911s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/updates-dynamically/.dirs/home 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/updates-dynamically/.dirs/cache 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/updates-dynamically/.dirs/system-config2 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/updates-dynamically/.dirs/config 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/updates-dynamically/.dirs/system-data2 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/updates-dynamically/.dirs/data 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/updates-dynamically/.dirs/state 911s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/updates-dynamically/.dirs/runtime 911s # Created snap.yaml in /tmp/test_portal-support-snap_OYMLZ2/meta/snap.yaml 911s # Created snapctl in /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 911s # Created snapctl in /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 911s # Created snapctl in /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 911s # Created snapctl in /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 911s # Created snapctl in /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 911s # Created snapctl in /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 911s # Created snapctl in /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 911s Unable to clean up temporary directory /tmp/test_portal-support-snap_OYMLZ2/portal-support/snap/updates-dynamically: No such file or directory 911s ok 7 /portal-support/snap/updates-dynamically 911s # End of snap tests 911s # End of portal-support tests 911s Unable to clean up temporary directory /tmp/test_portal-support-snap_OYMLZ2: No such file or directory 911s ok - glib/portal-support-snap.test 911s # Running test: glib/cxx-98.test 911s TAP version 14 911s # random seed: R02S4baf4498320e7354ee9373d211030714 911s 1..2 911s # Start of gtask tests 911s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 911s ok 1 /gtask/name 911s # Start of name tests 911s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 911s ok 2 /gtask/name/macro-wrapper 911s # End of name tests 911s # End of gtask tests 911s ok - glib/cxx-98.test 911s # Running test: glib/tls-bindings.test 911s TAP version 14 911s # random seed: R02S3a26a3eb906130d50495f145be3d5ef3 911s 1..2 911s # Start of tls-connection tests 911s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 911s ok 1 /tls-connection/get-tls-channel-binding 911s ok 2 /tls-connection/get-dtls-channel-binding 911s # End of tls-connection tests 911s ok - glib/tls-bindings.test 911s # Running test: glib/utf8-misc.test 911s TAP version 14 911s # random seed: R02S301bc54e8daa983e63e07fa346aaa50c 911s 1..7 911s # Start of utf8 tests 911s ok 1 /utf8/strlen 911s ok 2 /utf8/strncpy 911s ok 3 /utf8/strrchr 911s ok 4 /utf8/reverse 911s ok 5 /utf8/substring 911s ok 6 /utf8/make-valid 911s ok 7 /utf8/truncate-middle 911s # End of utf8 tests 911s ok - glib/utf8-misc.test 911s # Running test: glib/memory-monitor-dbus.test 912s TAP version 13 912s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 912s 1..1 912s ok - glib/memory-monitor-dbus.test 912s # Running test: glib/types.test 912s TAP version 14 912s # random seed: R02Sbd3391315bcdcbf69456ec0e849bc134 912s 1..1 912s # Start of types tests 912s ok 1 /types/basic_types 912s # End of types tests 912s ok - glib/types.test 912s # Running test: glib/notify-init.test 912s TAP version 14 912s # random seed: R02S9b72f2441e176adee141293a8c56876a 912s 1..1 912s # Start of properties tests 912s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 912s ok 1 /properties/notify-in-init 912s # End of properties tests 912s ok - glib/notify-init.test 912s # Running test: glib/readwrite.test 912s TAP version 14 912s # random seed: R02S08a9d12b625eee2ba53b9c97db6d5c44 912s 1..3 912s # Start of readwrite tests 912s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 912s ok 1 /readwrite/test_g_file_open_readwrite 912s ok 2 /readwrite/test_g_file_create_readwrite 912s ok 3 /readwrite/test_g_file_replace_readwrite 912s # End of readwrite tests 912s ok - glib/readwrite.test 912s # Running test: glib/glistmodel.test 912s TAP version 14 912s # random seed: R02Sebf74c0c625f0b78bdd352b4d560e825 912s 1..18 912s # Start of glistmodel tests 912s # Start of store tests 912s ok 1 /glistmodel/store/properties 912s ok 2 /glistmodel/store/non-gobjects 912s ok 3 /glistmodel/store/boundaries 912s ok 4 /glistmodel/store/refcounts 912s ok 5 /glistmodel/store/sorted 912s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 912s ok 6 /glistmodel/store/splice-replace-middle 912s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 912s ok 7 /glistmodel/store/splice-replace-all 912s ok 8 /glistmodel/store/splice-noop 912s ok 9 /glistmodel/store/splice-remove-multiple 912s ok 10 /glistmodel/store/splice-add-multiple 912s ok 11 /glistmodel/store/splice-wrong-type 912s ok 12 /glistmodel/store/item-type 912s ok 13 /glistmodel/store/remove-all 912s ok 14 /glistmodel/store/sort 912s ok 15 /glistmodel/store/get-item-cache 912s ok 16 /glistmodel/store/items-changed 912s ok 17 /glistmodel/store/past-end 912s ok 18 /glistmodel/store/find 912s # End of store tests 912s # End of glistmodel tests 912s ok - glib/glistmodel.test 912s # Running test: glib/reference.test 912s TAP version 14 912s # random seed: R02S10a93d2b398032d0a986a905f5fbeab3 912s 1..29 912s # Start of type tests 912s ok 1 /type/fundamentals 912s ok 2 /type/qdata 912s ok 3 /type/query 912s ok 4 /type/class-private 912s # End of type tests 912s # Start of object tests 912s ok 5 /object/clear 912s ok 6 /object/clear-function 912s ok 7 /object/set 912s ok 8 /object/set-function 912s ok 9 /object/value 912s ok 10 /object/initially-unowned 912s ok 11 /object/weak-pointer 912s ok 12 /object/weak-ref 912s ok 13 /object/toggle-ref 912s ok 14 /object/qdata 912s ok 15 /object/qdata2 912s # Start of set tests 912s # /object/set/derived-type summary: Check that g_set_object() doesn?t give strict aliasing warnings when used on types derived from GObject 912s ok 16 /object/set/derived-type 912s # End of set tests 912s # Start of weak-pointer tests 912s ok 17 /object/weak-pointer/clear 912s ok 18 /object/weak-pointer/clear-function 912s ok 19 /object/weak-pointer/set 912s ok 20 /object/weak-pointer/set-function 912s # End of weak-pointer tests 912s # Start of weak-ref tests 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 912s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 912s ok 21 /object/weak-ref/on-dispose 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 912s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 912s ok 22 /object/weak-ref/on-run-dispose 912s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 912s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 912s ok 23 /object/weak-ref/on-toggle-notify 912s ok 24 /object/weak-ref/in-toggle-notify 912s ok 25 /object/weak-ref/many 912s # Start of concurrent tests 912s ok 26 /object/weak-ref/concurrent/0 912s ok 27 /object/weak-ref/concurrent/1 912s # End of concurrent tests 912s # End of weak-ref tests 912s # Start of toggle-ref tests 912s ok 28 /object/toggle-ref/ref-on-dispose 912s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 912s # End of toggle-ref tests 912s # End of object tests 912s ok - glib/reference.test 912s # Running test: glib/hmac.test 912s TAP version 14 912s # random seed: R02S2bc0111ee0b4dd724929c6ff8d4486b7 912s 1..37 912s # Start of hmac tests 912s ok 1 /hmac/sha1-1 912s ok 2 /hmac/sha1-2 912s ok 3 /hmac/sha1-3 912s ok 4 /hmac/sha1-4 912s ok 5 /hmac/sha1-5 912s ok 6 /hmac/sha1-6 912s ok 7 /hmac/sha1-7 912s ok 8 /hmac/sha256-1 912s ok 9 /hmac/sha256-2 912s ok 10 /hmac/sha256-3 912s ok 11 /hmac/sha256-4 912s ok 12 /hmac/sha256-5 912s ok 13 /hmac/sha256-6 912s ok 14 /hmac/sha384-1 912s ok 15 /hmac/sha384-2 912s ok 16 /hmac/sha384-3 912s ok 17 /hmac/sha384-4 912s ok 18 /hmac/sha384-5 912s ok 19 /hmac/sha384-6 912s ok 20 /hmac/sha512-1 912s ok 21 /hmac/sha512-2 912s ok 22 /hmac/sha512-3 912s ok 23 /hmac/sha512-4 912s ok 24 /hmac/sha512-5 912s ok 25 /hmac/sha512-6 912s ok 26 /hmac/md5-1 912s ok 27 /hmac/md5-2 912s ok 28 /hmac/md5-3 912s ok 29 /hmac/md5-4 912s ok 30 /hmac/md5-5 912s ok 31 /hmac/md5-6 912s ok 32 /hmac/md5-7 912s ok 33 /hmac/ref-unref 912s ok 34 /hmac/copy 912s ok 35 /hmac/for-data 912s ok 36 /hmac/for-string 912s ok 37 /hmac/for-bytes 912s # End of hmac tests 912s ok - glib/hmac.test 912s # Running test: glib/strfuncs.test 912s TAP version 14 912s # random seed: R02S421de1fa19ff45737aa8ca2afcd2523c 912s 1..50 912s # Start of strfuncs tests 912s ok 1 /strfuncs/ascii-strcasecmp 912s ok 2 /strfuncs/ascii_strdown 912s ok 3 /strfuncs/ascii_strdup 912s ok 4 /strfuncs/ascii_strtod 912s ok 5 /strfuncs/bounds-check 912s ok 6 /strfuncs/has-prefix 912s ok 7 /strfuncs/has-prefix-macro 912s ok 8 /strfuncs/has-suffix 912s ok 9 /strfuncs/has-suffix-macro 912s ok 10 /strfuncs/memdup 912s ok 11 /strfuncs/memdup2 912s ok 12 /strfuncs/set_str 912s ok 13 /strfuncs/stpcpy 912s ok 14 /strfuncs/str_match_string 912s ok 15 /strfuncs/str_tokenize_and_fold 912s ok 16 /strfuncs/strcanon 912s ok 17 /strfuncs/strchomp 912s ok 18 /strfuncs/strchug 912s ok 19 /strfuncs/strcompress-strescape 912s ok 20 /strfuncs/strconcat 912s ok 21 /strfuncs/strdelimit 912s ok 22 /strfuncs/strdup 912s ok 23 /strfuncs/strdup-printf 912s ok 24 /strfuncs/strdupv 912s ok 25 /strfuncs/strerror 912s ok 26 /strfuncs/strip-context 912s ok 27 /strfuncs/strjoin 912s ok 28 /strfuncs/strjoinv 912s ok 29 /strfuncs/strlcat 912s ok 30 /strfuncs/strlcpy 912s ok 31 /strfuncs/strncasecmp 912s ok 32 /strfuncs/strndup 912s ok 33 /strfuncs/strnfill 912s ok 34 /strfuncs/strreverse 912s ok 35 /strfuncs/strsignal 912s ok 36 /strfuncs/strsplit 912s ok 37 /strfuncs/strsplit-set 912s ok 38 /strfuncs/strstr 912s ok 39 /strfuncs/strtod 912s ok 40 /strfuncs/strtoull-strtoll 912s ok 41 /strfuncs/strup 912s ok 42 /strfuncs/strv-contains 912s ok 43 /strfuncs/strv-equal 912s ok 44 /strfuncs/strv-length 912s ok 45 /strfuncs/test-is-to-digit 912s ok 46 /strfuncs/transliteration 912s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 912s ok 47 /strfuncs/str-equal 912s # Start of ascii-string-to-num tests 912s ok 48 /strfuncs/ascii-string-to-num/pathological 912s ok 49 /strfuncs/ascii-string-to-num/usual 912s # End of ascii-string-to-num tests 912s # Start of strdup tests 912s ok 50 /strfuncs/strdup/inline 912s # End of strdup tests 912s # End of strfuncs tests 912s ok - glib/strfuncs.test 912s # Running test: glib/gvariant.test 912s TAP version 14 912s # random seed: R02S2ca4c133134d4341a8ac9c70b757aea6 912s 1..64 912s # Start of gvariant tests 912s ok 1 /gvariant/type 912s ok 2 /gvariant/typeinfo 912s ok 3 /gvariant/string 912s ok 4 /gvariant/utf8 913s ok 5 /gvariant/containers 913s # slow test /gvariant/containers executed in 0.81 secs 913s ok 6 /gvariant/format-strings 913s ok 7 /gvariant/invalid-varargs 913s ok 8 /gvariant/varargs 913s ok 9 /gvariant/valist 913s ok 10 /gvariant/builder-memory 913s ok 11 /gvariant/hashing 913s ok 12 /gvariant/byteswap 914s ok 13 /gvariant/parser 914s ok 14 /gvariant/parse-failures 914s ok 15 /gvariant/parse-positional 914s ok 16 /gvariant/floating 914s ok 17 /gvariant/bytestring 914s ok 18 /gvariant/lookup-value 914s ok 19 /gvariant/lookup 914s ok 20 /gvariant/compare 914s ok 21 /gvariant/equal 914s ok 22 /gvariant/fixed-array 914s ok 23 /gvariant/check-format-string 914s ok 24 /gvariant/checksum-basic 914s ok 25 /gvariant/checksum-nested 914s ok 26 /gvariant/gbytes 914s ok 27 /gvariant/print-context 914s ok 28 /gvariant/error-quark 914s ok 29 /gvariant/stack-builder-init 914s ok 30 /gvariant/stack-dict-init 914s ok 31 /gvariant/unaligned-construction 914s # Start of type tests 914s # Start of string-scan tests 914s # Start of recursion tests 914s ok 32 /gvariant/type/string-scan/recursion/tuple 914s ok 33 /gvariant/type/string-scan/recursion/array 914s # End of recursion tests 914s # End of string-scan tests 914s # End of type tests 914s # Start of serialiser tests 914s # Executing: glib/gvariant.test 914s ok 34 /gvariant/serialiser/maybe 914s ok 35 /gvariant/serialiser/array 914s ok 36 /gvariant/serialiser/tuple 914s ok 37 /gvariant/serialiser/variant 914s ok 38 /gvariant/serialiser/strings 916s ok 39 /gvariant/serialiser/byteswap 916s # slow test /gvariant/serialiser/byteswap executed in 1.62 secs 916s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 916s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 916s ok 40 /gvariant/serialiser/children 916s # Start of fuzz tests 917s ok 41 /gvariant/serialiser/fuzz/1% 917s # slow test /gvariant/serialiser/fuzz/1% executed in 0.76 secs 917s ok 42 /gvariant/serialiser/fuzz/5% 917s # slow test /gvariant/serialiser/fuzz/5% executed in 0.53 secs 918s ok 43 /gvariant/serialiser/fuzz/9% 918s # slow test /gvariant/serialiser/fuzz/9% executed in 0.85 secs 919s ok 44 /gvariant/serialiser/fuzz/13% 919s # slow test /gvariant/serialiser/fuzz/13% executed in 0.63 secs 919s # Executing: glib/gvariant.test 919s ok 45 /gvariant/serialiser/fuzz/17% 919s # slow test /gvariant/serialiser/fuzz/17% executed in 0.69 secs 919s # End of fuzz tests 919s # End of serialiser tests 919s # Start of varargs tests 919s # Start of subprocess tests 919s # End of subprocess tests 919s # End of varargs tests 919s # Start of byteswap tests 919s # /gvariant/byteswap/non-normal-non-aligned summary: Test that calling g_variant_byteswap() on a variant which is in non-normal form and doesn?t need byteswapping returns the same variant in normal form. 919s ok 46 /gvariant/byteswap/non-normal-non-aligned 919s # End of byteswap tests 919s # Start of parser tests 919s ok 47 /gvariant/parser/integer-bounds 919s ok 48 /gvariant/parser/recursion 919s # Start of recursion tests 919s ok 49 /gvariant/parser/recursion/typedecls 919s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 919s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 919s # Text form 0: @mmmu 5 919s # Text form 1: @mmmas ['hello'] 919s # Text form 2: @mmmu just just nothing 919s # Text form 3: @mmmas just just nothing 919s # Text form 4: @mmmu just nothing 919s # Text form 5: @mmmas just nothing 919s # Text form 6: @mmmu nothing 919s # Text form 7: @mmmas nothing 919s ok 50 /gvariant/parser/recursion/maybes 919s # End of recursion tests 919s # End of parser tests 919s # Start of parse tests 919s # Start of subprocess tests 919s # End of subprocess tests 919s # End of parse tests 919s # Start of normal-checking tests 919s ok 51 /gvariant/normal-checking/tuples 919s ok 52 /gvariant/normal-checking/array-offsets 919s ok 53 /gvariant/normal-checking/array-offsets2 919s ok 54 /gvariant/normal-checking/tuple-offsets 919s ok 55 /gvariant/normal-checking/tuple-offsets2 919s ok 56 /gvariant/normal-checking/tuple-offsets3 919s ok 57 /gvariant/normal-checking/tuple-offsets4 919s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 919s ok 58 /gvariant/normal-checking/tuple-offsets5 919s ok 59 /gvariant/normal-checking/empty-object-path 919s # Start of array-offsets tests 919s ok 60 /gvariant/normal-checking/array-offsets/overlapped 919s ok 61 /gvariant/normal-checking/array-offsets/minimal-sized 919s # End of array-offsets tests 919s # Start of tuple-offsets tests 919s ok 62 /gvariant/normal-checking/tuple-offsets/minimal-sized 919s # End of tuple-offsets tests 919s # End of normal-checking tests 919s # Start of recursion-limits tests 919s ok 63 /gvariant/recursion-limits/variant-in-variant 919s ok 64 /gvariant/recursion-limits/array-in-variant 919s # End of recursion-limits tests 919s # End of gvariant tests 919s ok - glib/gvariant.test 919s # Running test: glib/refcount.test 919s TAP version 14 919s # random seed: R02S3ec50fc4445bd7680e354f9c8bad70c5 919s 1..4 919s # Start of refcount tests 919s ok 1 /refcount/grefcount 919s ok 2 /refcount/gatomicrefcount 919s # Start of grefcount tests 919s ok 3 /refcount/grefcount/saturation 919s # End of grefcount tests 919s # Start of gatomicrefcount tests 919s ok 4 /refcount/gatomicrefcount/saturation 919s # End of gatomicrefcount tests 919s # End of refcount tests 919s ok - glib/refcount.test 919s # Running test: glib/objects-refcount2.test 919s TAP version 14 919s # random seed: R02S8cb6f8f07a98edb4419e9d7b469c2b2a 919s 1..1 919s # Start of gobject tests 919s # Start of refcount tests 919s # init 0x11963724e740 919s # 919s # . 919s # . 919s # . 919s # . 919s # . 919s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 920s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 921s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 922s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 923s # . 924s # . 924s # . 924s # . 924s # . 924s # . 924s # . 924s # Executing: glib/objects-refcount2.test 924s # . 924s # . 924s # . 924s # . 924s # . 924s # . 924s # . 924s # . 924s # . 924s # . 924s # . 924s # . 924s # . 924s # . 924s # . 924s # . 924s # . 924s # . 924s # . 924s # . 924s # . 925s # . 925s # . 925s # . 925s # . 925s # . 925s # . 925s # . 925s # . 925s # . 925s # . 925s # . 925s # . 925s # . 925s # . 925s # . 925s # . 925s # . 925s # . 925s # . 925s # . 925s # . 925s # . 925s # . 925s # . 925s # . 925s # . 925s # . 926s # . 926s # . 926s # . 926s # . 926s # . 926s # . 926s # . 926s # . 926s # . 926s # . 926s # . 926s # . 926s # . 926s # . 926s # . 926s # . 926s # . 926s # . 926s # . 926s # . 926s # . 926s # . 926s # . 926s # . 926s # . 926s # . 926s # . 927s # . 927s # . 927s # . 927s # . 927s # . 927s # . 927s # . 927s # . 927s # . 927s # . 927s # . 927s # . 927s # . 927s # . 927s # . 927s # . 927s # . 927s # . 927s # . 927s # . 927s # . 927s # . 927s # . 927s # . 927s # . 927s # . 928s # . 928s # . 928s # . 928s # . 928s # . 928s # . 928s # . 928s # . 928s # . 928s # . 928s # . 928s # . 928s # . 928s # . 928s # . 928s # . 928s # . 928s # . 928s # . 928s # . 928s # . 928s # . 928s # . 928s # . 928s # . 928s # . 928s # . 928s # . 929s # . 929s # . 929s # . 929s # . 929s # . 929s # . 929s # Executing: glib/objects-refcount2.test 929s # . 929s # . 929s # . 929s # . 929s # . 929s # . 929s # . 929s # . 929s # . 929s # . 929s # . 929s # . 929s # . 929s # . 929s # . 929s # . 929s # . 929s # . 929s # . 929s # . 929s # . 930s # . 930s # . 930s # . 930s # . 930s # . 930s # . 930s # . 930s # . 930s # . 930s # . 930s # . 930s # . 930s # . 930s # . 930s # . 930s # . 930s # . 930s # . 930s # . 930s # . 930s # . 930s # . 930s # . 930s # . 930s # . 930s # . 930s # . 931s # . 931s # . 931s # . 931s # . 931s # . 931s # . 931s # . 931s # . 931s # . 931s # . 931s # . 931s # . 931s # . 931s # . 931s # . 931s # . 931s # . 931s # . 931s # . 931s # . 931s # . 931s # . 931s # . 931s # . 931s # . 931s # . 931s # . 932s # . 932s # . 932s # . 932s # . 932s # . 932s # . 932s # . 932s # . 932s # . 932s # . 932s # . 932s # . 932s # . 932s # . 932s # . 932s # . 932s # . 932s # . 932s # . 932s # . 932s # . 932s # . 932s # . 932s # . 932s # . 932s # . 932s # . 933s # . 933s # . 933s # . 933s # . 933s # . 933s # . 933s # . 933s # . 933s # . 933s # . 933s # . 933s # . 933s # . 933s # . 933s # . 933s # . 933s # . 933s # . 933s # . 933s # . 933s # . 933s # . 933s # . 933s # . 933s # . 933s # . 933s # . 934s # . 934s # . 934s # . 934s # . 934s # . 934s # . 934s # Executing: glib/objects-refcount2.test 934s # . 934s # . 934s # . 934s # . 934s # . 934s # . 934s # . 934s # . 934s # . 934s # . 934s # . 934s # . 934s # . 934s # . 934s # . 934s # . 934s # . 934s # . 934s # . 934s # . 934s # . 935s # . 935s # . 935s # . 935s # . 935s # . 935s # . 935s # . 935s # . 935s # . 935s # . 935s # . 935s # . 935s # . 935s # . 935s # . 935s # . 935s # . 935s # . 935s # . 935s # . 935s # . 935s # . 935s # . 935s # . 935s # . 935s # . 935s # . 936s # . 936s # . 936s # . 936s # . 936s # . 936s # . 936s # . 936s # . 936s # . 936s # . 936s # . 936s # . 936s # . 936s # . 936s # . 936s # . 936s # . 936s # . 936s # . 936s # . 936s # . 936s # . 936s # . 936s # . 936s # . 936s # . 936s # . 937s # . 937s # . 937s # . 937s # . 937s # . 937s # . 937s # . 937s # . 937s # . 937s # . 937s # . 937s # . 937s # . 937s # . 937s # . 937s # . 937s # . 937s # . 937s # . 937s # . 937s # . 937s # . 937s # . 937s # . 937s # . 937s # . 937s # . 938s # . 938s # . 938s # . 938s # . 938s # . 938s # . 938s # . 938s # . 938s # . 938s # . 938s # . 938s # . 938s # . 938s # . 938s # . 938s # . 938s # . 938s # . 938s # . 938s # . 938s # . 938s # . 938s # . 938s # . 938s # . 938s # . 938s # . 939s # . 939s # . 939s # . 939s # . 939s # . 939s # . 939s # Executing: glib/objects-refcount2.test 939s # . 939s # . 939s # . 939s # . 939s # . 939s # . 939s # . 939s # . 939s # . 939s # . 939s # . 939s # . 939s # . 939s # . 939s # . 939s # . 939s # . 939s # . 939s # . 939s # . 939s # . 940s # . 940s # . 940s # . 940s # . 940s # . 940s # . 940s # . 940s # . 940s # . 940s # . 940s # . 940s # . 940s # . 940s # . 940s # . 940s # . 940s # . 940s # . 940s # . 940s # . 940s # . 940s # . 940s # . 940s # . 940s # . 940s # . 941s # . 941s # . 941s # . 941s # . 941s # . 941s # . 941s # . 941s # . 941s # . 941s # . 941s # . 941s # . 941s # . 941s # . 941s # . 941s # . 941s # . 941s # . 941s # . 941s # . 941s # . 941s # . 941s # . 941s # . 941s # . 941s # . 941s # . 942s # . 942s # . 942s # . 942s # . 942s # . 942s # . 942s # . 942s # . 942s # . 942s # . 942s # . 942s # . 942s # . 942s # . 942s # . 942s # . 942s # . 942s # . 942s # . 942s # . 942s # . 942s # . 942s # . 942s # . 942s # . 942s # . 942s # . 943s # . 943s # . 943s # . 943s # . 943s # . 943s # . 943s # . 943s # . 943s # . 943s # . 943s # . 943s # . 943s # . 943s # . 943s # . 943s # . 943s # . 943s # . 943s # . 943s # . 943s # . 943s # . 943s # . 943s # . 943s # . 943s # . 943s # . 944s # . 944s # . 944s # . 944s # . 944s # . 944s # . 944s # Executing: glib/objects-refcount2.test 944s # . 944s # . 944s # . 944s # . 944s # . 944s # . 944s # . 944s # . 944s # . 944s # . 944s # . 944s # . 944s # . 944s # . 944s # . 944s # . 944s # . 944s # . 944s # . 944s # . 945s # . 945s # . 945s # . 945s # . 945s # . 945s # . 945s # . 945s # . 945s # . 945s # . 945s # . 945s # . 945s # . 945s # . 945s # . 945s # . 945s # . 945s # . 945s # . 945s # . 945s # . 945s # . 945s # . 945s # . 945s # . 945s # . 945s # . 946s # . 946s # . 946s # . 946s # . 946s # . 946s # . 946s # . 946s # . 946s # . 946s # . 946s # . 946s # . 946s # . 946s # . 946s # . 946s # . 946s # . 946s # . 946s # . 946s # . 946s # . 946s # . 946s # . 946s # . 946s # . 946s # . 946s # . 947s # . 947s # . 947s # . 947s # . 947s # . 947s # . 947s # . 947s # . 947s # . 947s # . 947s # . 947s # . 947s # . 947s # . 947s # . 947s # . 947s # . 947s # . 947s # . 947s # . 947s # . 947s # . 947s # . 947s # . 947s # . 947s # . 947s # . 948s # . 948s # . 948s # . 948s # . 948s # . 948s # . 948s # . 948s # . 948s # . 948s # . 948s # . 948s # . 948s # . 948s # . 948s # . 948s # . 948s # . 948s # . 948s # . 948s # . 948s # . 948s # . 948s # . 948s # . 948s # . 948s # . 948s # . 949s # . 949s # . 949s # . 949s # . 949s # . 949s # . 949s # Executing: glib/objects-refcount2.test 949s # . 949s # . 949s # . 949s # . 949s # . 949s # . 949s # . 949s # . 949s # . 949s # . 949s # . 949s # . 949s # . 949s # . 949s # . 949s # . 949s # . 949s # . 949s # . 949s # . 949s # . 950s # . 950s # . 950s # . 950s # . 950s # . 950s # . 950s # . 950s # . 950s # . 950s # . 950s # . 950s # . 950s # . 950s # . 950s # . 950s # . 950s # . 950s # . 950s # . 950s # . 950s # . 950s # . 950s # . 950s # . 950s # . 950s # . 950s # . 951s # . 951s # . 951s # . 951s # . 951s # . 951s # . 951s # . 951s # . 951s # . 951s # . 951s # . 951s # . 951s # . 951s # . 951s # . 951s # . 951s # . 951s # . 951s # . 951s # . 951s # . 951s # . 951s # . 951s # . 951s # . 951s # . 952s # . 952s # . 952s # . 952s # . 952s # . 952s # . 952s # . 952s # . 952s # . 952s # . 952s # . 952s # . 952s # . 952s # . 952s # . 952s # . 952s # . 952s # . 952s # . 952s # . 952s # . 952s # . 952s # . 952s # . 952s # . 952s # . 952s # . 953s # . 953s # . 953s # . 953s # . 953s # . 953s # . 953s # . 953s # . 953s # . 953s # . 953s # . 953s # . 953s # . 953s # . 953s # . 953s # . 953s # . 953s # . 953s # . 953s # . 953s # . 953s # . 953s # . 953s # . 953s # . 953s # . 954s # . 954s # . 954s # . 954s # . 954s # . 954s # . 954s # Executing: glib/objects-refcount2.test 954s # . 954s # . 954s # . 954s # . 954s # . 954s # . 954s # . 954s # . 954s # . 954s # . 954s # . 954s # . 954s # . 954s # . 954s # . 954s # . 954s # . 954s # . 954s # . 954s # . 954s # . 955s # . 955s # . 955s # . 955s # . 955s # . 955s # . 955s # . 955s # . 955s # . 955s # . 955s # . 955s # . 955s # . 955s # . 955s # . 955s # . 955s # . 955s # . 955s # . 955s # . 955s # . 955s # . 955s # . 955s # . 955s # . 955s # . 955s # . 956s # . 956s # . 956s # . 956s # . 956s # . 956s # . 956s # . 956s # . 956s # . 956s # . 956s # . 956s # . 956s # . 956s # . 956s # . 956s # . 956s # . 956s # . 956s # . 956s # . 956s # . 956s # . 956s # . 956s # . 956s # . 956s # . 956s # . 956s # dispose 0x11963724e740! 956s # 956s ok 1 /gobject/refcount/object-advanced 956s # slow test /gobject/refcount/object-advanced executed in 37.23 secs 956s # End of refcount tests 956s # End of gobject tests 956s ok - glib/objects-refcount2.test 957s # Running test: glib/codegen.py.test 957s TAP version 13 957s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 957s # tmpdir: /tmp/tmpyogkswm4 957s # codegen: /usr/bin/gdbus-codegen 957s # /tmp/tmpyogkswm4/tmpgtdcaf87.xml: 957s # 957s # 957s # 957s # 957s # 957s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyogkswm4/tmpgtdcaf87.xml', '--output', '-', '--header'] 957s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 957s # Output: /* 957s # * This file is generated by gdbus-codegen, do not modify it. 957s # * 957s # * The license of this code is the same as for the D-Bus interface description 957s # * it was derived from. Note that it links to GLib, so must comply with the 957s # * LGPL linking clauses. 957s # */ 957s # 957s # #ifndef __STDOUT__ 957s # #define __STDOUT__ 957s # 957s # #include 957s # 957s # G_BEGIN_DECLS 957s # 957s # 957s # /* ------------------------------------------------------------------------ */ 957s # /* Declarations for org.project.UsefulInterface */ 957s # 957s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 957s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 957s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 957s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 957s # 957s # struct _OrgProjectUsefulInterface; 957s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 957s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 957s # 957s # struct _OrgProjectUsefulInterfaceIface 957s # { 957s # GTypeInterface parent_iface; 957s # 957s # gboolean (*handle_useful_method) ( 957s # OrgProjectUsefulInterface *object, 957s # GDBusMethodInvocation *invocation); 957s # 957s # }; 957s # 957s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 957s # 957s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 957s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 957s # 957s # 957s # /* D-Bus method call completion functions: */ 957s # void org_project_useful_interface_complete_useful_method ( 957s # OrgProjectUsefulInterface *object, 957s # GDBusMethodInvocation *invocation); 957s # 957s # 957s # 957s # /* D-Bus method calls: */ 957s # void org_project_useful_interface_call_useful_method ( 957s # OrgProjectUsefulInterface *proxy, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data); 957s # 957s # gboolean org_project_useful_interface_call_useful_method_finish ( 957s # OrgProjectUsefulInterface *proxy, 957s # GAsyncResult *res, 957s # GError **error); 957s # 957s # gboolean org_project_useful_interface_call_useful_method_sync ( 957s # OrgProjectUsefulInterface *proxy, 957s # GCancellable *cancellable, 957s # GError **error); 957s # 957s # 957s # 957s # /* ---- */ 957s # 957s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 957s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 957s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 957s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 957s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 957s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 957s # 957s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 957s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 957s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 957s # 957s # struct _OrgProjectUsefulInterfaceProxy 957s # { 957s # /*< private >*/ 957s # GDBusProxy parent_instance; 957s # OrgProjectUsefulInterfaceProxyPrivate *priv; 957s # }; 957s # 957s # struct _OrgProjectUsefulInterfaceProxyClass 957s # { 957s # GDBusProxyClass parent_class; 957s # }; 957s # 957s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 957s # 957s # #if GLIB_CHECK_VERSION(2, 44, 0) 957s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 957s # #endif 957s # 957s # void org_project_useful_interface_proxy_new ( 957s # GDBusConnection *connection, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data); 957s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 957s # GAsyncResult *res, 957s # GError **error); 957s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 957s # GDBusConnection *connection, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GError **error); 957s # 957s # void org_project_useful_interface_proxy_new_for_bus ( 957s # GBusType bus_type, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data); 957s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 957s # GAsyncResult *res, 957s # GError **error); 957s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 957s # GBusType bus_type, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GError **error); 957s # 957s # 957s # /* ---- */ 957s # 957s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 957s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 957s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 957s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 957s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 957s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 957s # 957s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 957s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 957s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 957s # 957s # struct _OrgProjectUsefulInterfaceSkeleton 957s # { 957s # /*< private >*/ 957s # GDBusInterfaceSkeleton parent_instance; 957s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 957s # }; 957s # 957s # struct _OrgProjectUsefulInterfaceSkeletonClass 957s # { 957s # GDBusInterfaceSkeletonClass parent_class; 957s # }; 957s # 957s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 957s # 957s # #if GLIB_CHECK_VERSION(2, 44, 0) 957s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 957s # #endif 957s # 957s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 957s # 957s # 957s # G_END_DECLS 957s # 957s # #endif /* __STDOUT__ */ 957s # /tmp/tmpyogkswm4/tmp9hhvbk_n.xml: 957s # 957s # 957s # 957s # 957s # 957s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyogkswm4/tmp9hhvbk_n.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 957s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 957s # Output: /* 957s # * This file is generated by gdbus-codegen, do not modify it. 957s # * 957s # * The license of this code is the same as for the D-Bus interface description 957s # * it was derived from. Note that it links to GLib, so must comply with the 957s # * LGPL linking clauses. 957s # */ 957s # 957s # #ifndef __STDOUT__ 957s # #define __STDOUT__ 957s # 957s # #include 957s # 957s # G_BEGIN_DECLS 957s # 957s # 957s # /* ------------------------------------------------------------------------ */ 957s # /* Declarations for org.project.UsefulInterface */ 957s # 957s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 957s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 957s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 957s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 957s # 957s # struct _OrgProjectUsefulInterface; 957s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 957s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 957s # 957s # struct _OrgProjectUsefulInterfaceIface 957s # { 957s # GTypeInterface parent_iface; 957s # 957s # gboolean (*handle_useful_method) ( 957s # OrgProjectUsefulInterface *object, 957s # GDBusMethodInvocation *invocation); 957s # 957s # }; 957s # 957s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 957s # 957s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 957s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 957s # 957s # 957s # /* D-Bus method call completion functions: */ 957s # void org_project_useful_interface_complete_useful_method ( 957s # OrgProjectUsefulInterface *object, 957s # GDBusMethodInvocation *invocation); 957s # 957s # 957s # 957s # /* D-Bus method calls: */ 957s # void org_project_useful_interface_call_useful_method ( 957s # OrgProjectUsefulInterface *proxy, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data); 957s # 957s # gboolean org_project_useful_interface_call_useful_method_finish ( 957s # OrgProjectUsefulInterface *proxy, 957s # GAsyncResult *res, 957s # GError **error); 957s # 957s # gboolean org_project_useful_interface_call_useful_method_sync ( 957s # OrgProjectUsefulInterface *proxy, 957s # GCancellable *cancellable, 957s # GError **error); 957s # 957s # 957s # 957s # /* ---- */ 957s # 957s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 957s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 957s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 957s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 957s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 957s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 957s # 957s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 957s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 957s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 957s # 957s # struct _OrgProjectUsefulInterfaceProxy 957s # { 957s # /*< private >*/ 957s # GDBusProxy parent_instance; 957s # OrgProjectUsefulInterfaceProxyPrivate *priv; 957s # }; 957s # 957s # struct _OrgProjectUsefulInterfaceProxyClass 957s # { 957s # GDBusProxyClass parent_class; 957s # }; 957s # 957s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 957s # 957s # #if GLIB_CHECK_VERSION(2, 44, 0) 957s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 957s # #endif 957s # 957s # void org_project_useful_interface_proxy_new ( 957s # GDBusConnection *connection, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data); 957s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 957s # GAsyncResult *res, 957s # GError **error); 957s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 957s # GDBusConnection *connection, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GError **error); 957s # 957s # void org_project_useful_interface_proxy_new_for_bus ( 957s # GBusType bus_type, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data); 957s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 957s # GAsyncResult *res, 957s # GError **error); 957s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 957s # GBusType bus_type, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GError **error); 957s # 957s # 957s # /* ---- */ 957s # 957s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 957s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 957s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 957s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 957s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 957s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 957s # 957s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 957s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 957s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 957s # 957s # struct _OrgProjectUsefulInterfaceSkeleton 957s # { 957s # /*< private >*/ 957s # GDBusInterfaceSkeleton parent_instance; 957s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 957s # }; 957s # 957s # struct _OrgProjectUsefulInterfaceSkeletonClass 957s # { 957s # GDBusInterfaceSkeletonClass parent_class; 957s # }; 957s # 957s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 957s # 957s # #if GLIB_CHECK_VERSION(2, 44, 0) 957s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 957s # #endif 957s # 957s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 957s # 957s # 957s # G_END_DECLS 957s # 957s # #endif /* __STDOUT__ */ 957s # /tmp/tmpyogkswm4/tmp9_s_s91d.xml: 957s # 957s # 957s # 957s # 957s # 957s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyogkswm4/tmp9_s_s91d.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 957s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 957s # Output: /* 957s # * This file is generated by gdbus-codegen, do not modify it. 957s # * 957s # * The license of this code is the same as for the D-Bus interface description 957s # * it was derived from. Note that it links to GLib, so must comply with the 957s # * LGPL linking clauses. 957s # */ 957s # 957s # #ifndef __STDOUT__ 957s # #define __STDOUT__ 957s # 957s # #include 957s # 957s # G_BEGIN_DECLS 957s # 957s # 957s # /* ------------------------------------------------------------------------ */ 957s # /* Declarations for org.project.UsefulInterface */ 957s # 957s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 957s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 957s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 957s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 957s # 957s # struct _OrgProjectUsefulInterface; 957s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 957s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 957s # 957s # struct _OrgProjectUsefulInterfaceIface 957s # { 957s # GTypeInterface parent_iface; 957s # 957s # gboolean (*handle_useful_method) ( 957s # OrgProjectUsefulInterface *object, 957s # GDBusMethodInvocation *invocation); 957s # 957s # }; 957s # 957s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 957s # 957s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 957s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 957s # 957s # 957s # /* D-Bus method call completion functions: */ 957s # void org_project_useful_interface_complete_useful_method ( 957s # OrgProjectUsefulInterface *object, 957s # GDBusMethodInvocation *invocation); 957s # 957s # 957s # 957s # /* D-Bus method calls: */ 957s # void org_project_useful_interface_call_useful_method ( 957s # OrgProjectUsefulInterface *proxy, 957s # GDBusCallFlags call_flags, 957s # gint timeout_msec, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data); 957s # 957s # gboolean org_project_useful_interface_call_useful_method_finish ( 957s # OrgProjectUsefulInterface *proxy, 957s # GAsyncResult *res, 957s # GError **error); 957s # 957s # gboolean org_project_useful_interface_call_useful_method_sync ( 957s # OrgProjectUsefulInterface *proxy, 957s # GDBusCallFlags call_flags, 957s # gint timeout_msec, 957s # GCancellable *cancellable, 957s # GError **error); 957s # 957s # 957s # 957s # /* ---- */ 957s # 957s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 957s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 957s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 957s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 957s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 957s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 957s # 957s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 957s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 957s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 957s # 957s # struct _OrgProjectUsefulInterfaceProxy 957s # { 957s # /*< private >*/ 957s # GDBusProxy parent_instance; 957s # OrgProjectUsefulInterfaceProxyPrivate *priv; 957s # }; 957s # 957s # struct _OrgProjectUsefulInterfaceProxyClass 957s # { 957s # GDBusProxyClass parent_class; 957s # }; 957s # 957s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 957s # 957s # #if GLIB_CHECK_VERSION(2, 44, 0) 957s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 957s # #endif 957s # 957s # void org_project_useful_interface_proxy_new ( 957s # GDBusConnection *connection, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data); 957s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 957s # GAsyncResult *res, 957s # GError **error); 957s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 957s # GDBusConnection *connection, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GError **error); 957s # 957s # void org_project_useful_interface_proxy_new_for_bus ( 957s # GBusType bus_type, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data); 957s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 957s # GAsyncResult *res, 957s # GError **error); 957s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 957s # GBusType bus_type, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GError **error); 957s # 957s # 957s # /* ---- */ 957s # 957s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 957s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 957s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 957s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 957s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 957s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 957s # 957s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 957s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 957s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 957s # 957s # struct _OrgProjectUsefulInterfaceSkeleton 957s # { 957s # /*< private >*/ 957s # GDBusInterfaceSkeleton parent_instance; 957s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 957s # }; 957s # 957s # struct _OrgProjectUsefulInterfaceSkeletonClass 957s # { 957s # GDBusInterfaceSkeletonClass parent_class; 957s # }; 957s # 957s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 957s # 957s # #if GLIB_CHECK_VERSION(2, 44, 0) 957s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 957s # #endif 957s # 957s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 957s # 957s # 957s # G_END_DECLS 957s # 957s # #endif /* __STDOUT__ */ 957s ok 2 __main__.TestCodegen.test_dbus_types 957s # tmpdir: /tmp/tmptttjmqs9 957s # codegen: /usr/bin/gdbus-codegen 957s # /tmp/tmptttjmqs9/tmpujj_l850.xml: 957s # 957s # 957s # 957s # 957s # 957s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptttjmqs9/tmpujj_l850.xml', '--output', '-', '--body'] 957s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 957s # /tmp/tmptttjmqs9/tmpyqvb114x.xml: 957s # 957s # 957s # 957s # 957s # 957s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptttjmqs9/tmpyqvb114x.xml', '--output', '-', '--body'] 957s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 957s # /tmp/tmptttjmqs9/tmpu1m25nl8.xml: 957s # 957s # 957s # 957s # 957s # 957s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptttjmqs9/tmpu1m25nl8.xml', '--output', '-', '--body'] 957s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 957s # /tmp/tmptttjmqs9/tmpx61n4hj9.xml: 957s # 957s # 957s # 957s # 957s # 957s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptttjmqs9/tmpx61n4hj9.xml', '--output', '-', '--body'] 957s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 957s # /tmp/tmptttjmqs9/tmp0rlp3l85.xml: 957s # 957s # 957s # 957s # 957s # 957s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptttjmqs9/tmp0rlp3l85.xml', '--output', '-', '--body'] 957s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 957s # /tmp/tmptttjmqs9/tmpg1tk52wd.xml: 957s # 957s # 957s # 957s # 957s # 957s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptttjmqs9/tmpg1tk52wd.xml', '--output', '-', '--body'] 957s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 957s # /tmp/tmptttjmqs9/tmp82drbgdq.xml: 957s # 957s # 957s # 957s # 957s # 957s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptttjmqs9/tmp82drbgdq.xml', '--output', '-', '--body'] 957s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 957s # /tmp/tmptttjmqs9/tmpfxyxg4a1.xml: 957s # 957s # 957s # 957s # 957s # 957s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptttjmqs9/tmpfxyxg4a1.xml', '--output', '-', '--body'] 957s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 957s # /tmp/tmptttjmqs9/tmp3pv24i60.xml: 957s # 957s # 957s # 957s # 957s # 957s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptttjmqs9/tmp3pv24i60.xml', '--output', '-', '--body'] 957s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 957s # /tmp/tmptttjmqs9/tmp80nnjv54.xml: 957s # 957s # 957s # 957s # 957s # 957s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptttjmqs9/tmp80nnjv54.xml', '--output', '-', '--body'] 957s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 957s # /tmp/tmptttjmqs9/tmp8wolfnvj.xml: 957s # 957s # 957s # 957s # 957s # 957s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptttjmqs9/tmp8wolfnvj.xml', '--output', '-', '--body'] 957s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 957s # /tmp/tmptttjmqs9/tmpbupqk0rw.xml: 957s # 957s # 957s # 957s # 957s # 957s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptttjmqs9/tmpbupqk0rw.xml', '--output', '-', '--body'] 957s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 957s # /tmp/tmptttjmqs9/tmpy5thy5iw.xml: 957s # 957s # 957s # 957s # 957s # 957s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptttjmqs9/tmpy5thy5iw.xml', '--output', '-', '--body'] 957s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 957s # /tmp/tmptttjmqs9/tmp8j6axqq3.xml: 957s # 957s # 957s # 957s # 957s # 957s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptttjmqs9/tmp8j6axqq3.xml', '--output', '-', '--body'] 957s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 957s # Output: /* 957s # * This file is generated by gdbus-codegen, do not modify it. 957s # * 957s # * The license of this code is the same as for the D-Bus interface description 957s # * it was derived from. Note that it links to GLib, so must comply with the 957s # * LGPL linking clauses. 957s # */ 957s # 957s # #ifdef HAVE_CONFIG_H 957s # # include "config.h" 957s # #endif 957s # 957s # #include 957s # #ifdef G_OS_UNIX 957s # # include 957s # #endif 957s # 957s # #ifdef G_ENABLE_DEBUG 957s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 957s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 957s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 957s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 957s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 957s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 957s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 957s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 957s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 957s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 957s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 957s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 957s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 957s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 957s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 957s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 957s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 957s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 957s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 957s # #else /* !G_ENABLE_DEBUG */ 957s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 957s # * Do not access GValues directly in your code. Instead, use the 957s # * g_value_get_*() functions 957s # */ 957s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 957s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 957s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 957s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 957s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 957s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 957s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 957s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 957s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 957s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 957s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 957s # #endif /* !G_ENABLE_DEBUG */ 957s # 957s # typedef struct 957s # { 957s # GDBusArgInfo parent_struct; 957s # gboolean use_gvariant; 957s # } _ExtendedGDBusArgInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusMethodInfo parent_struct; 957s # const gchar *signal_name; 957s # gboolean pass_fdlist; 957s # } _ExtendedGDBusMethodInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusSignalInfo parent_struct; 957s # const gchar *signal_name; 957s # } _ExtendedGDBusSignalInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusPropertyInfo parent_struct; 957s # const gchar *hyphen_name; 957s # guint use_gvariant : 1; 957s # guint emits_changed_signal : 1; 957s # } _ExtendedGDBusPropertyInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusInterfaceInfo parent_struct; 957s # const gchar *hyphen_name; 957s # } _ExtendedGDBusInterfaceInfo; 957s # 957s # typedef struct 957s # { 957s # const _ExtendedGDBusPropertyInfo *info; 957s # guint prop_id; 957s # GValue orig_value; /* the value before the change */ 957s # } ChangedProperty; 957s # 957s # static void 957s # _changed_property_free (ChangedProperty *data) 957s # { 957s # g_value_unset (&data->orig_value); 957s # g_free (data); 957s # } 957s # 957s # static gboolean 957s # _g_strv_equal0 (gchar **a, gchar **b) 957s # { 957s # gboolean ret = FALSE; 957s # guint n; 957s # if (a == NULL && b == NULL) 957s # { 957s # ret = TRUE; 957s # goto out; 957s # } 957s # if (a == NULL || b == NULL) 957s # goto out; 957s # if (g_strv_length (a) != g_strv_length (b)) 957s # goto out; 957s # for (n = 0; a[n] != NULL; n++) 957s # if (g_strcmp0 (a[n], b[n]) != 0) 957s # goto out; 957s # ret = TRUE; 957s # out: 957s # return ret; 957s # } 957s # 957s # static gboolean 957s # _g_variant_equal0 (GVariant *a, GVariant *b) 957s # { 957s # gboolean ret = FALSE; 957s # if (a == NULL && b == NULL) 957s # { 957s # ret = TRUE; 957s # goto out; 957s # } 957s # if (a == NULL || b == NULL) 957s # goto out; 957s # ret = g_variant_equal (a, b); 957s # out: 957s # return ret; 957s # } 957s # 957s # G_GNUC_UNUSED static gboolean 957s # _g_value_equal (const GValue *a, const GValue *b) 957s # { 957s # gboolean ret = FALSE; 957s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 957s # switch (G_VALUE_TYPE (a)) 957s # { 957s # case G_TYPE_BOOLEAN: 957s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 957s # break; 957s # case G_TYPE_UCHAR: 957s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 957s # break; 957s # case G_TYPE_INT: 957s # ret = (g_value_get_int (a) == g_value_get_int (b)); 957s # break; 957s # case G_TYPE_UINT: 957s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 957s # break; 957s # case G_TYPE_INT64: 957s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 957s # break; 957s # case G_TYPE_UINT64: 957s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 957s # break; 957s # case G_TYPE_DOUBLE: 957s # { 957s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 957s # gdouble da = g_value_get_double (a); 957s # gdouble db = g_value_get_double (b); 957s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 957s # } 957s # break; 957s # case G_TYPE_STRING: 957s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 957s # break; 957s # case G_TYPE_VARIANT: 957s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 957s # break; 957s # default: 957s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 957s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 957s # else 957s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 957s # break; 957s # } 957s # return ret; 957s # } 957s # 957s # /* ------------------------------------------------------------------------ 957s # * Code for interface GoodTypes 957s # * ------------------------------------------------------------------------ 957s # */ 957s # 957s # /** 957s # * SECTION:GoodTypes 957s # * @title: GoodTypes 957s # * @short_description: Generated C code for the GoodTypes D-Bus interface 957s # * 957s # * This section contains code for working with the GoodTypes D-Bus interface in C. 957s # */ 957s # 957s # /* ---- Introspection data for GoodTypes ---- */ 957s # 957s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 957s # { 957s # { 957s # -1, 957s # (gchar *) "GoodPropertyType", 957s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 957s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 957s # NULL 957s # }, 957s # "good-property-type", 957s # FALSE, 957s # TRUE 957s # }; 957s # 957s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 957s # { 957s # &_good_types_property_info_good_property_type.parent_struct, 957s # NULL 957s # }; 957s # 957s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 957s # { 957s # { 957s # -1, 957s # (gchar *) "GoodTypes", 957s # NULL, 957s # NULL, 957s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 957s # NULL 957s # }, 957s # "good-types", 957s # }; 957s # 957s # 957s # /** 957s # * good_types_interface_info: 957s # * 957s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 957s # * 957s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 957s # */ 957s # GDBusInterfaceInfo * 957s # good_types_interface_info (void) 957s # { 957s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 957s # } 957s # 957s # /** 957s # * good_types_override_properties: 957s # * @klass: The class structure for a #GObject derived class. 957s # * @property_id_begin: The property id to assign to the first overridden property. 957s # * 957s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 957s # * The properties are overridden in the order they are defined. 957s # * 957s # * Returns: The last property id. 957s # */ 957s # guint 957s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 957s # { 957s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 957s # return property_id_begin - 1; 957s # } 957s # 957s # 957s # 957s # /** 957s # * GoodTypes: 957s # * 957s # * Abstract interface type for the D-Bus interface GoodTypes. 957s # */ 957s # 957s # /** 957s # * GoodTypesIface: 957s # * @parent_iface: The parent interface. 957s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 957s # * 957s # * Virtual table for the D-Bus interface GoodTypes. 957s # */ 957s # 957s # typedef GoodTypesIface GoodTypesInterface; 957s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 957s # 957s # static void 957s # good_types_default_init (GoodTypesIface *iface) 957s # { 957s # /* GObject properties for D-Bus properties: */ 957s # /** 957s # * GoodTypes:good-property-type: 957s # * 957s # * Represents the D-Bus property "GoodPropertyType". 957s # * 957s # * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side. 957s # */ 957s # g_object_interface_install_property (iface, 957s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 957s # } 957s # 957s # /** 957s # * good_types_get_good_property_type: (skip) 957s # * @object: A GoodTypes. 957s # * 957s # * Gets the value of the "GoodPropertyType" D-Bus property. 957s # * 957s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 957s # * 957s # * The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use good_types_dup_good_property_type() if on another thread. 957s # * 957s # * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. 957s # */ 957s # GVariant * 957s # good_types_get_good_property_type (GoodTypes *object) 957s # { 957s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 957s # 957s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 957s # } 957s # 957s # /** 957s # * good_types_dup_good_property_type: (skip) 957s # * @object: A GoodTypes. 957s # * 957s # * Gets a copy of the "GoodPropertyType" D-Bus property. 957s # * 957s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 957s # * 957s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_variant_unref(). 957s # */ 957s # GVariant * 957s # good_types_dup_good_property_type (GoodTypes *object) 957s # { 957s # GVariant *value; 957s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 957s # return value; 957s # } 957s # 957s # /** 957s # * good_types_set_good_property_type: (skip) 957s # * @object: A GoodTypes. 957s # * @value: The value to set. 957s # * 957s # * Sets the "GoodPropertyType" D-Bus property to @value. 957s # * 957s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 957s # */ 957s # void 957s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 957s # { 957s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 957s # } 957s # 957s # /* ------------------------------------------------------------------------ */ 957s # 957s # /** 957s # * GoodTypesProxy: 957s # * 957s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 957s # */ 957s # 957s # /** 957s # * GoodTypesProxyClass: 957s # * @parent_class: The parent class. 957s # * 957s # * Class structure for GoodTypesProxy. 957s # */ 957s # 957s # struct _GoodTypesProxyPrivate 957s # { 957s # GData *qdata; 957s # }; 957s # 957s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 957s # G_ADD_PRIVATE (GoodTypesProxy) 957s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 957s # 957s # #else 957s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 957s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 957s # 957s # #endif 957s # static void 957s # good_types_proxy_finalize (GObject *object) 957s # { 957s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 957s # g_datalist_clear (&proxy->priv->qdata); 957s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 957s # } 957s # 957s # static void 957s # good_types_proxy_get_property (GObject *object, 957s # guint prop_id, 957s # GValue *value, 957s # GParamSpec *pspec G_GNUC_UNUSED) 957s # { 957s # const _ExtendedGDBusPropertyInfo *info; 957s # GVariant *variant; 957s # g_assert (prop_id != 0 && prop_id - 1 < 1); 957s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 957s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 957s # if (info->use_gvariant) 957s # { 957s # g_value_set_variant (value, variant); 957s # } 957s # else 957s # { 957s # if (variant != NULL) 957s # g_dbus_gvariant_to_gvalue (variant, value); 957s # } 957s # if (variant != NULL) 957s # g_variant_unref (variant); 957s # } 957s # 957s # static void 957s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 957s # GAsyncResult *res, 957s # gpointer user_data) 957s # { 957s # const _ExtendedGDBusPropertyInfo *info = user_data; 957s # GError *error; 957s # GVariant *_ret; 957s # error = NULL; 957s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 957s # if (!_ret) 957s # { 957s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 957s # info->parent_struct.name, 957s # error->message, g_quark_to_string (error->domain), error->code); 957s # g_error_free (error); 957s # } 957s # else 957s # { 957s # g_variant_unref (_ret); 957s # } 957s # } 957s # 957s # static void 957s # good_types_proxy_set_property (GObject *object, 957s # guint prop_id, 957s # const GValue *value, 957s # GParamSpec *pspec G_GNUC_UNUSED) 957s # { 957s # const _ExtendedGDBusPropertyInfo *info; 957s # GVariant *variant; 957s # g_assert (prop_id != 0 && prop_id - 1 < 1); 957s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 957s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 957s # g_dbus_proxy_call (G_DBUS_PROXY (object), 957s # "org.freedesktop.DBus.Properties.Set", 957s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 957s # G_DBUS_CALL_FLAGS_NONE, 957s # -1, 957s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 957s # g_variant_unref (variant); 957s # } 957s # 957s # static void 957s # good_types_proxy_g_signal (GDBusProxy *proxy, 957s # const gchar *sender_name G_GNUC_UNUSED, 957s # const gchar *signal_name, 957s # GVariant *parameters) 957s # { 957s # _ExtendedGDBusSignalInfo *info; 957s # GVariantIter iter; 957s # GVariant *child; 957s # GValue *paramv; 957s # gsize num_params; 957s # gsize n; 957s # guint signal_id; 957s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 957s # if (info == NULL) 957s # return; 957s # num_params = g_variant_n_children (parameters); 957s # paramv = g_new0 (GValue, num_params + 1); 957s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 957s # g_value_set_object (¶mv[0], proxy); 957s # g_variant_iter_init (&iter, parameters); 957s # n = 1; 957s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 957s # { 957s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 957s # if (arg_info->use_gvariant) 957s # { 957s # g_value_init (¶mv[n], G_TYPE_VARIANT); 957s # g_value_set_variant (¶mv[n], child); 957s # n++; 957s # } 957s # else 957s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 957s # g_variant_unref (child); 957s # } 957s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 957s # g_signal_emitv (paramv, signal_id, 0, NULL); 957s # for (n = 0; n < num_params + 1; n++) 957s # g_value_unset (¶mv[n]); 957s # g_free (paramv); 957s # } 957s # 957s # static void 957s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 957s # GVariant *changed_properties, 957s # const gchar *const *invalidated_properties) 957s # { 957s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 957s # guint n; 957s # const gchar *key; 957s # GVariantIter *iter; 957s # _ExtendedGDBusPropertyInfo *info; 957s # g_variant_get (changed_properties, "a{sv}", &iter); 957s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 957s # { 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 957s # g_datalist_remove_data (&proxy->priv->qdata, key); 957s # if (info != NULL) 957s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 957s # } 957s # g_variant_iter_free (iter); 957s # for (n = 0; invalidated_properties[n] != NULL; n++) 957s # { 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 957s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 957s # if (info != NULL) 957s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 957s # } 957s # } 957s # 957s # static GVariant * 957s # good_types_proxy_get_good_property_type (GoodTypes *object) 957s # { 957s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 957s # GVariant *variant; 957s # GVariant *value = NULL; 957s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 957s # value = variant; 957s # if (variant != NULL) 957s # g_variant_unref (variant); 957s # return value; 957s # } 957s # 957s # static void 957s # good_types_proxy_init (GoodTypesProxy *proxy) 957s # { 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # proxy->priv = good_types_proxy_get_instance_private (proxy); 957s # #else 957s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 957s # #endif 957s # 957s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 957s # } 957s # 957s # static void 957s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 957s # { 957s # GObjectClass *gobject_class; 957s # GDBusProxyClass *proxy_class; 957s # 957s # gobject_class = G_OBJECT_CLASS (klass); 957s # gobject_class->finalize = good_types_proxy_finalize; 957s # gobject_class->get_property = good_types_proxy_get_property; 957s # gobject_class->set_property = good_types_proxy_set_property; 957s # 957s # proxy_class = G_DBUS_PROXY_CLASS (klass); 957s # proxy_class->g_signal = good_types_proxy_g_signal; 957s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 957s # 957s # good_types_override_properties (gobject_class, 1); 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 957s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 957s # #endif 957s # } 957s # 957s # static void 957s # good_types_proxy_iface_init (GoodTypesIface *iface) 957s # { 957s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 957s # } 957s # 957s # /** 957s # * good_types_proxy_new: 957s # * @connection: A #GDBusConnection. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 957s # * 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 957s # * 957s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 957s # */ 957s # void 957s # good_types_proxy_new ( 957s # GDBusConnection *connection, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_async_initable_new_async (TYPE_GOOD_TYPES_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "GoodTypes", NULL); 957s # } 957s # 957s # /** 957s # * good_types_proxy_new_finish: 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 957s # * @error: Return location for error or %NULL 957s # * 957s # * Finishes an operation started with good_types_proxy_new(). 957s # * 957s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # GoodTypes * 957s # good_types_proxy_new_finish ( 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GObject *ret; 957s # GObject *source_object; 957s # source_object = g_async_result_get_source_object (res); 957s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 957s # g_object_unref (source_object); 957s # if (ret != NULL) 957s # return GOOD_TYPES (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # /** 957s # * good_types_proxy_new_sync: 957s # * @connection: A #GDBusConnection. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL 957s # * 957s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 957s # * 957s # * The calling thread is blocked until a reply is received. 957s # * 957s # * See good_types_proxy_new() for the asynchronous version of this constructor. 957s # * 957s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # GoodTypes * 957s # good_types_proxy_new_sync ( 957s # GDBusConnection *connection, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GInitable *ret; 957s # ret = g_initable_new (TYPE_GOOD_TYPES_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "GoodTypes", NULL); 957s # if (ret != NULL) 957s # return GOOD_TYPES (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # 957s # /** 957s # * good_types_proxy_new_for_bus: 957s # * @bus_type: A #GBusType. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: A bus name (well-known or unique). 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 957s # * 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 957s # * 957s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 957s # */ 957s # void 957s # good_types_proxy_new_for_bus ( 957s # GBusType bus_type, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_async_initable_new_async (TYPE_GOOD_TYPES_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "GoodTypes", NULL); 957s # } 957s # 957s # /** 957s # * good_types_proxy_new_for_bus_finish: 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 957s # * @error: Return location for error or %NULL 957s # * 957s # * Finishes an operation started with good_types_proxy_new_for_bus(). 957s # * 957s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # GoodTypes * 957s # good_types_proxy_new_for_bus_finish ( 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GObject *ret; 957s # GObject *source_object; 957s # source_object = g_async_result_get_source_object (res); 957s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 957s # g_object_unref (source_object); 957s # if (ret != NULL) 957s # return GOOD_TYPES (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # /** 957s # * good_types_proxy_new_for_bus_sync: 957s # * @bus_type: A #GBusType. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: A bus name (well-known or unique). 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL 957s # * 957s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 957s # * 957s # * The calling thread is blocked until a reply is received. 957s # * 957s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 957s # * 957s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # GoodTypes * 957s # good_types_proxy_new_for_bus_sync ( 957s # GBusType bus_type, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GInitable *ret; 957s # ret = g_initable_new (TYPE_GOOD_TYPES_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "GoodTypes", NULL); 957s # if (ret != NULL) 957s # return GOOD_TYPES (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # 957s # /* ------------------------------------------------------------------------ */ 957s # 957s # /** 957s # * GoodTypesSkeleton: 957s # * 957s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 957s # */ 957s # 957s # /** 957s # * GoodTypesSkeletonClass: 957s # * @parent_class: The parent class. 957s # * 957s # * Class structure for GoodTypesSkeleton. 957s # */ 957s # 957s # struct _GoodTypesSkeletonPrivate 957s # { 957s # GValue *properties; 957s # GList *changed_properties; 957s # GSource *changed_properties_idle_source; 957s # GMainContext *context; 957s # GMutex lock; 957s # }; 957s # 957s # static void 957s # _good_types_skeleton_handle_method_call ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name, 957s # const gchar *method_name, 957s # GVariant *parameters, 957s # GDBusMethodInvocation *invocation, 957s # gpointer user_data) 957s # { 957s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 957s # _ExtendedGDBusMethodInfo *info; 957s # GVariantIter iter; 957s # GVariant *child; 957s # GValue *paramv; 957s # gsize num_params; 957s # guint num_extra; 957s # gsize n; 957s # guint signal_id; 957s # GValue return_value = G_VALUE_INIT; 957s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 957s # g_assert (info != NULL); 957s # num_params = g_variant_n_children (parameters); 957s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 957s # n = 0; 957s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 957s # g_value_set_object (¶mv[n++], skeleton); 957s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 957s # g_value_set_object (¶mv[n++], invocation); 957s # if (info->pass_fdlist) 957s # { 957s # #ifdef G_OS_UNIX 957s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 957s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 957s # #else 957s # g_assert_not_reached (); 957s # #endif 957s # } 957s # g_variant_iter_init (&iter, parameters); 957s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 957s # { 957s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 957s # if (arg_info->use_gvariant) 957s # { 957s # g_value_init (¶mv[n], G_TYPE_VARIANT); 957s # g_value_set_variant (¶mv[n], child); 957s # n++; 957s # } 957s # else 957s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 957s # g_variant_unref (child); 957s # } 957s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 957s # g_value_init (&return_value, G_TYPE_BOOLEAN); 957s # g_signal_emitv (paramv, signal_id, 0, &return_value); 957s # if (!g_value_get_boolean (&return_value)) 957s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 957s # g_value_unset (&return_value); 957s # for (n = 0; n < num_params + num_extra; n++) 957s # g_value_unset (¶mv[n]); 957s # g_free (paramv); 957s # } 957s # 957s # static GVariant * 957s # _good_types_skeleton_handle_get_property ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name G_GNUC_UNUSED, 957s # const gchar *property_name, 957s # GError **error, 957s # gpointer user_data) 957s # { 957s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 957s # GValue value = G_VALUE_INIT; 957s # GParamSpec *pspec; 957s # _ExtendedGDBusPropertyInfo *info; 957s # GVariant *ret; 957s # ret = NULL; 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 957s # g_assert (info != NULL); 957s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 957s # if (pspec == NULL) 957s # { 957s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 957s # } 957s # else 957s # { 957s # g_value_init (&value, pspec->value_type); 957s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 957s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 957s # g_value_unset (&value); 957s # } 957s # return ret; 957s # } 957s # 957s # static gboolean 957s # _good_types_skeleton_handle_set_property ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name G_GNUC_UNUSED, 957s # const gchar *property_name, 957s # GVariant *variant, 957s # GError **error, 957s # gpointer user_data) 957s # { 957s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 957s # GValue value = G_VALUE_INIT; 957s # GParamSpec *pspec; 957s # _ExtendedGDBusPropertyInfo *info; 957s # gboolean ret; 957s # ret = FALSE; 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 957s # g_assert (info != NULL); 957s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 957s # if (pspec == NULL) 957s # { 957s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 957s # } 957s # else 957s # { 957s # if (info->use_gvariant) 957s # g_value_set_variant (&value, variant); 957s # else 957s # g_dbus_gvariant_to_gvalue (variant, &value); 957s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 957s # g_value_unset (&value); 957s # ret = TRUE; 957s # } 957s # return ret; 957s # } 957s # 957s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 957s # { 957s # _good_types_skeleton_handle_method_call, 957s # _good_types_skeleton_handle_get_property, 957s # _good_types_skeleton_handle_set_property, 957s # {NULL} 957s # }; 957s # 957s # static GDBusInterfaceInfo * 957s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 957s # { 957s # return good_types_interface_info (); 957s # } 957s # 957s # static GDBusInterfaceVTable * 957s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 957s # { 957s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 957s # } 957s # 957s # static GVariant * 957s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 957s # { 957s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 957s # 957s # GVariantBuilder builder; 957s # guint n; 957s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 957s # if (_good_types_interface_info.parent_struct.properties == NULL) 957s # goto out; 957s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 957s # { 957s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 957s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 957s # { 957s # GVariant *value; 957s # value = _good_types_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "GoodTypes", info->name, NULL, skeleton); 957s # if (value != NULL) 957s # { 957s # g_variant_take_ref (value); 957s # g_variant_builder_add (&builder, "{sv}", info->name, value); 957s # g_variant_unref (value); 957s # } 957s # } 957s # } 957s # out: 957s # return g_variant_builder_end (&builder); 957s # } 957s # 957s # static gboolean _good_types_emit_changed (gpointer user_data); 957s # 957s # static void 957s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 957s # { 957s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 957s # gboolean emit_changed = FALSE; 957s # 957s # g_mutex_lock (&skeleton->priv->lock); 957s # if (skeleton->priv->changed_properties_idle_source != NULL) 957s # { 957s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 957s # skeleton->priv->changed_properties_idle_source = NULL; 957s # emit_changed = TRUE; 957s # } 957s # g_mutex_unlock (&skeleton->priv->lock); 957s # 957s # if (emit_changed) 957s # _good_types_emit_changed (skeleton); 957s # } 957s # 957s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 957s # G_ADD_PRIVATE (GoodTypesSkeleton) 957s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 957s # 957s # #else 957s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 957s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 957s # 957s # #endif 957s # static void 957s # good_types_skeleton_finalize (GObject *object) 957s # { 957s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 957s # guint n; 957s # for (n = 0; n < 1; n++) 957s # g_value_unset (&skeleton->priv->properties[n]); 957s # g_free (skeleton->priv->properties); 957s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 957s # if (skeleton->priv->changed_properties_idle_source != NULL) 957s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 957s # g_main_context_unref (skeleton->priv->context); 957s # g_mutex_clear (&skeleton->priv->lock); 957s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 957s # } 957s # 957s # static void 957s # good_types_skeleton_get_property (GObject *object, 957s # guint prop_id, 957s # GValue *value, 957s # GParamSpec *pspec G_GNUC_UNUSED) 957s # { 957s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 957s # g_assert (prop_id != 0 && prop_id - 1 < 1); 957s # g_mutex_lock (&skeleton->priv->lock); 957s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 957s # g_mutex_unlock (&skeleton->priv->lock); 957s # } 957s # 957s # static gboolean 957s # _good_types_emit_changed (gpointer user_data) 957s # { 957s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 957s # GList *l; 957s # GVariantBuilder builder; 957s # GVariantBuilder invalidated_builder; 957s # guint num_changes; 957s # 957s # g_mutex_lock (&skeleton->priv->lock); 957s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 957s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 957s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 957s # { 957s # ChangedProperty *cp = l->data; 957s # GVariant *variant; 957s # const GValue *cur_value; 957s # 957s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 957s # if (!_g_value_equal (cur_value, &cp->orig_value)) 957s # { 957s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 957s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 957s # g_variant_unref (variant); 957s # num_changes++; 957s # } 957s # } 957s # if (num_changes > 0) 957s # { 957s # GList *connections, *ll; 957s # GVariant *signal_variant; 957s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 957s # &builder, &invalidated_builder)); 957s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 957s # for (ll = connections; ll != NULL; ll = ll->next) 957s # { 957s # GDBusConnection *connection = ll->data; 957s # 957s # g_dbus_connection_emit_signal (connection, 957s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 957s # "org.freedesktop.DBus.Properties", 957s # "PropertiesChanged", 957s # signal_variant, 957s # NULL); 957s # } 957s # g_variant_unref (signal_variant); 957s # g_list_free_full (connections, g_object_unref); 957s # } 957s # else 957s # { 957s # g_variant_builder_clear (&builder); 957s # g_variant_builder_clear (&invalidated_builder); 957s # } 957s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 957s # skeleton->priv->changed_properties = NULL; 957s # skeleton->priv->changed_properties_idle_source = NULL; 957s # g_mutex_unlock (&skeleton->priv->lock); 957s # return FALSE; 957s # } 957s # 957s # static void 957s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 957s # { 957s # ChangedProperty *cp; 957s # GList *l; 957s # cp = NULL; 957s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 957s # { 957s # ChangedProperty *i_cp = l->data; 957s # if (i_cp->info == info) 957s # { 957s # cp = i_cp; 957s # break; 957s # } 957s # } 957s # if (cp == NULL) 957s # { 957s # cp = g_new0 (ChangedProperty, 1); 957s # cp->prop_id = prop_id; 957s # cp->info = info; 957s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 957s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 957s # g_value_copy (orig_value, &cp->orig_value); 957s # } 957s # } 957s # 957s # static void 957s # good_types_skeleton_notify (GObject *object, 957s # GParamSpec *pspec G_GNUC_UNUSED) 957s # { 957s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 957s # g_mutex_lock (&skeleton->priv->lock); 957s # if (skeleton->priv->changed_properties != NULL && 957s # skeleton->priv->changed_properties_idle_source == NULL) 957s # { 957s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 957s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 957s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 957s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 957s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 957s # g_source_unref (skeleton->priv->changed_properties_idle_source); 957s # } 957s # g_mutex_unlock (&skeleton->priv->lock); 957s # } 957s # 957s # static void 957s # good_types_skeleton_set_property (GObject *object, 957s # guint prop_id, 957s # const GValue *value, 957s # GParamSpec *pspec) 957s # { 957s # const _ExtendedGDBusPropertyInfo *info; 957s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 957s # g_assert (prop_id != 0 && prop_id - 1 < 1); 957s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 957s # g_mutex_lock (&skeleton->priv->lock); 957s # g_object_freeze_notify (object); 957s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 957s # { 957s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 957s # info->emits_changed_signal) 957s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 957s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 957s # g_object_notify_by_pspec (object, pspec); 957s # } 957s # g_mutex_unlock (&skeleton->priv->lock); 957s # g_object_thaw_notify (object); 957s # } 957s # 957s # static void 957s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 957s # { 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 957s # #else 957s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 957s # #endif 957s # 957s # g_mutex_init (&skeleton->priv->lock); 957s # skeleton->priv->context = g_main_context_ref_thread_default (); 957s # skeleton->priv->properties = g_new0 (GValue, 1); 957s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 957s # } 957s # 957s # static GVariant * 957s # good_types_skeleton_get_good_property_type (GoodTypes *object) 957s # { 957s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 957s # GVariant *value; 957s # g_mutex_lock (&skeleton->priv->lock); 957s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 957s # g_mutex_unlock (&skeleton->priv->lock); 957s # return value; 957s # } 957s # 957s # static void 957s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 957s # { 957s # GObjectClass *gobject_class; 957s # GDBusInterfaceSkeletonClass *skeleton_class; 957s # 957s # gobject_class = G_OBJECT_CLASS (klass); 957s # gobject_class->finalize = good_types_skeleton_finalize; 957s # gobject_class->get_property = good_types_skeleton_get_property; 957s # gobject_class->set_property = good_types_skeleton_set_property; 957s # gobject_class->notify = good_types_skeleton_notify; 957s # 957s # 957s # good_types_override_properties (gobject_class, 1); 957s # 957s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 957s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 957s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 957s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 957s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 957s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 957s # #endif 957s # } 957s # 957s # static void 957s # good_types_skeleton_iface_init (GoodTypesIface *iface) 957s # { 957s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 957s # } 957s # 957s # /** 957s # * good_types_skeleton_new: 957s # * 957s # * Creates a skeleton object for the D-Bus interface GoodTypes. 957s # * 957s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 957s # */ 957s # GoodTypes * 957s # good_types_skeleton_new (void) 957s # { 957s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 957s # } 957s # /tmp/tmptttjmqs9/tmpvpurg2vk.xml: 957s # 957s # 957s # 957s # 957s # 957s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptttjmqs9/tmpvpurg2vk.xml', '--output', '-', '--body'] 957s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 957s # Output: /* 957s # * This file is generated by gdbus-codegen, do not modify it. 957s # * 957s # * The license of this code is the same as for the D-Bus interface description 957s # * it was derived from. Note that it links to GLib, so must comply with the 957s # * LGPL linking clauses. 957s # */ 957s # 957s # #ifdef HAVE_CONFIG_H 957s # # include "config.h" 957s # #endif 957s # 957s # #include 957s # #ifdef G_OS_UNIX 957s # # include 957s # #endif 957s # 957s # #ifdef G_ENABLE_DEBUG 957s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 957s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 957s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 957s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 957s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 957s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 957s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 957s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 957s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 957s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 957s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 957s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 957s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 957s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 957s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 957s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 957s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 957s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 957s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 957s # #else /* !G_ENABLE_DEBUG */ 957s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 957s # * Do not access GValues directly in your code. Instead, use the 957s # * g_value_get_*() functions 957s # */ 957s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 957s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 957s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 957s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 957s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 957s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 957s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 957s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 957s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 957s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 957s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 957s # #endif /* !G_ENABLE_DEBUG */ 957s # 957s # typedef struct 957s # { 957s # GDBusArgInfo parent_struct; 957s # gboolean use_gvariant; 957s # } _ExtendedGDBusArgInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusMethodInfo parent_struct; 957s # const gchar *signal_name; 957s # gboolean pass_fdlist; 957s # } _ExtendedGDBusMethodInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusSignalInfo parent_struct; 957s # const gchar *signal_name; 957s # } _ExtendedGDBusSignalInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusPropertyInfo parent_struct; 957s # const gchar *hyphen_name; 957s # guint use_gvariant : 1; 957s # guint emits_changed_signal : 1; 957s # } _ExtendedGDBusPropertyInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusInterfaceInfo parent_struct; 957s # const gchar *hyphen_name; 957s # } _ExtendedGDBusInterfaceInfo; 957s # 957s # typedef struct 957s # { 957s # const _ExtendedGDBusPropertyInfo *info; 957s # guint prop_id; 957s # GValue orig_value; /* the value before the change */ 957s # } ChangedProperty; 957s # 957s # static void 957s # _changed_property_free (ChangedProperty *data) 957s # { 957s # g_value_unset (&data->orig_value); 957s # g_free (data); 957s # } 957s # 957s # static gboolean 957s # _g_strv_equal0 (gchar **a, gchar **b) 957s # { 957s # gboolean ret = FALSE; 957s # guint n; 957s # if (a == NULL && b == NULL) 957s # { 957s # ret = TRUE; 957s # goto out; 957s # } 957s # if (a == NULL || b == NULL) 957s # goto out; 957s # if (g_strv_length (a) != g_strv_length (b)) 957s # goto out; 957s # for (n = 0; a[n] != NULL; n++) 957s # if (g_strcmp0 (a[n], b[n]) != 0) 957s # goto out; 957s # ret = TRUE; 957s # out: 957s # return ret; 957s # } 957s # 957s # static gboolean 957s # _g_variant_equal0 (GVariant *a, GVariant *b) 957s # { 957s # gboolean ret = FALSE; 957s # if (a == NULL && b == NULL) 957s # { 957s # ret = TRUE; 957s # goto out; 957s # } 957s # if (a == NULL || b == NULL) 957s # goto out; 957s # ret = g_variant_equal (a, b); 957s # out: 957s # return ret; 957s # } 957s # 957s # G_GNUC_UNUSED static gboolean 957s # _g_value_equal (const GValue *a, const GValue *b) 957s # { 957s # gboolean ret = FALSE; 957s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 957s # switch (G_VALUE_TYPE (a)) 957s # { 957s # case G_TYPE_BOOLEAN: 957s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 957s # break; 957s # case G_TYPE_UCHAR: 957s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 957s # break; 957s # case G_TYPE_INT: 957s # ret = (g_value_get_int (a) == g_value_get_int (b)); 957s # break; 957s # case G_TYPE_UINT: 957s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 957s # break; 957s # case G_TYPE_INT64: 957s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 957s # break; 957s # case G_TYPE_UINT64: 957s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 957s # break; 957s # case G_TYPE_DOUBLE: 957s # { 957s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 957s # gdouble da = g_value_get_double (a); 957s # gdouble db = g_value_get_double (b); 957s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 957s # } 957s # break; 957s # case G_TYPE_STRING: 957s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 957s # break; 957s # case G_TYPE_VARIANT: 957s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 957s # break; 957s # default: 957s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 957s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 957s # else 957s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 957s # break; 957s # } 957s # return ret; 957s # } 957s # 957s # /* ------------------------------------------------------------------------ 957s # * Code for interface GoodTypes 957s # * ------------------------------------------------------------------------ 957s # */ 957s # 957s # /** 957s # * SECTION:GoodTypes 957s # * @title: GoodTypes 957s # * @short_description: Generated C code for the GoodTypes D-Bus interface 957s # * 957s # * This section contains code for working with the GoodTypes D-Bus interface in C. 957s # */ 957s # 957s # /* ---- Introspection data for GoodTypes ---- */ 957s # 957s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 957s # { 957s # { 957s # -1, 957s # (gchar *) "GoodPropertyType", 957s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 957s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 957s # NULL 957s # }, 957s # "good-property-type", 957s # FALSE, 957s # TRUE 957s # }; 957s # 957s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 957s # { 957s # &_good_types_property_info_good_property_type.parent_struct, 957s # NULL 957s # }; 957s # 957s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 957s # { 957s # { 957s # -1, 957s # (gchar *) "GoodTypes", 957s # NULL, 957s # NULL, 957s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 957s # NULL 957s # }, 957s # "good-types", 957s # }; 957s # 957s # 957s # /** 957s # * good_types_interface_info: 957s # * 957s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 957s # * 957s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 957s # */ 957s # GDBusInterfaceInfo * 957s # good_types_interface_info (void) 957s # { 957s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 957s # } 957s # 957s # /** 957s # * good_types_override_properties: 957s # * @klass: The class structure for a #GObject derived class. 957s # * @property_id_begin: The property id to assign to the first overridden property. 957s # * 957s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 957s # * The properties are overridden in the order they are defined. 957s # * 957s # * Returns: The last property id. 957s # */ 957s # guint 957s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 957s # { 957s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 957s # return property_id_begin - 1; 957s # } 957s # 957s # 957s # 957s # /** 957s # * GoodTypes: 957s # * 957s # * Abstract interface type for the D-Bus interface GoodTypes. 957s # */ 957s # 957s # /** 957s # * GoodTypesIface: 957s # * @parent_iface: The parent interface. 957s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 957s # * 957s # * Virtual table for the D-Bus interface GoodTypes. 957s # */ 957s # 957s # typedef GoodTypesIface GoodTypesInterface; 957s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 957s # 957s # static void 957s # good_types_default_init (GoodTypesIface *iface) 957s # { 957s # /* GObject properties for D-Bus properties: */ 957s # /** 957s # * GoodTypes:good-property-type: 957s # * 957s # * Represents the D-Bus property "GoodPropertyType". 957s # * 957s # * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side. 957s # */ 957s # g_object_interface_install_property (iface, 957s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 957s # } 957s # 957s # /** 957s # * good_types_get_good_property_type: (skip) 957s # * @object: A GoodTypes. 957s # * 957s # * Gets the value of the "GoodPropertyType" D-Bus property. 957s # * 957s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 957s # * 957s # * The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use good_types_dup_good_property_type() if on another thread. 957s # * 957s # * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. 957s # */ 957s # GVariant * 957s # good_types_get_good_property_type (GoodTypes *object) 957s # { 957s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 957s # 957s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 957s # } 957s # 957s # /** 957s # * good_types_dup_good_property_type: (skip) 957s # * @object: A GoodTypes. 957s # * 957s # * Gets a copy of the "GoodPropertyType" D-Bus property. 957s # * 957s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 957s # * 957s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_variant_unref(). 957s # */ 957s # GVariant * 957s # good_types_dup_good_property_type (GoodTypes *object) 957s # { 957s # GVariant *value; 957s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 957s # return value; 957s # } 957s # 957s # /** 957s # * good_types_set_good_property_type: (skip) 957s # * @object: A GoodTypes. 957s # * @value: The value to set. 957s # * 957s # * Sets the "GoodPropertyType" D-Bus property to @value. 957s # * 957s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 957s # */ 957s # void 957s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 957s # { 957s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 957s # } 957s # 957s # /* ------------------------------------------------------------------------ */ 957s # 957s # /** 957s # * GoodTypesProxy: 957s # * 957s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 957s # */ 957s # 957s # /** 957s # * GoodTypesProxyClass: 957s # * @parent_class: The parent class. 957s # * 957s # * Class structure for GoodTypesProxy. 957s # */ 957s # 957s # struct _GoodTypesProxyPrivate 957s # { 957s # GData *qdata; 957s # }; 957s # 957s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 957s # G_ADD_PRIVATE (GoodTypesProxy) 957s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 957s # 957s # #else 957s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 957s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 957s # 957s # #endif 957s # static void 957s # good_types_proxy_finalize (GObject *object) 957s # { 957s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 957s # g_datalist_clear (&proxy->priv->qdata); 957s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 957s # } 957s # 957s # static void 957s # good_types_proxy_get_property (GObject *object, 957s # guint prop_id, 957s # GValue *value, 957s # GParamSpec *pspec G_GNUC_UNUSED) 957s # { 957s # const _ExtendedGDBusPropertyInfo *info; 957s # GVariant *variant; 957s # g_assert (prop_id != 0 && prop_id - 1 < 1); 957s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 957s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 957s # if (info->use_gvariant) 957s # { 957s # g_value_set_variant (value, variant); 957s # } 957s # else 957s # { 957s # if (variant != NULL) 957s # g_dbus_gvariant_to_gvalue (variant, value); 957s # } 957s # if (variant != NULL) 957s # g_variant_unref (variant); 957s # } 957s # 957s # static void 957s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 957s # GAsyncResult *res, 957s # gpointer user_data) 957s # { 957s # const _ExtendedGDBusPropertyInfo *info = user_data; 957s # GError *error; 957s # GVariant *_ret; 957s # error = NULL; 957s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 957s # if (!_ret) 957s # { 957s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 957s # info->parent_struct.name, 957s # error->message, g_quark_to_string (error->domain), error->code); 957s # g_error_free (error); 957s # } 957s # else 957s # { 957s # g_variant_unref (_ret); 957s # } 957s # } 957s # 957s # static void 957s # good_types_proxy_set_property (GObject *object, 957s # guint prop_id, 957s # const GValue *value, 957s # GParamSpec *pspec G_GNUC_UNUSED) 957s # { 957s # const _ExtendedGDBusPropertyInfo *info; 957s # GVariant *variant; 957s # g_assert (prop_id != 0 && prop_id - 1 < 1); 957s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 957s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 957s # g_dbus_proxy_call (G_DBUS_PROXY (object), 957s # "org.freedesktop.DBus.Properties.Set", 957s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 957s # G_DBUS_CALL_FLAGS_NONE, 957s # -1, 957s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 957s # g_variant_unref (variant); 957s # } 957s # 957s # static void 957s # good_types_proxy_g_signal (GDBusProxy *proxy, 957s # const gchar *sender_name G_GNUC_UNUSED, 957s # const gchar *signal_name, 957s # GVariant *parameters) 957s # { 957s # _ExtendedGDBusSignalInfo *info; 957s # GVariantIter iter; 957s # GVariant *child; 957s # GValue *paramv; 957s # gsize num_params; 957s # gsize n; 957s # guint signal_id; 957s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 957s # if (info == NULL) 957s # return; 957s # num_params = g_variant_n_children (parameters); 957s # paramv = g_new0 (GValue, num_params + 1); 957s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 957s # g_value_set_object (¶mv[0], proxy); 957s # g_variant_iter_init (&iter, parameters); 957s # n = 1; 957s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 957s # { 957s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 957s # if (arg_info->use_gvariant) 957s # { 957s # g_value_init (¶mv[n], G_TYPE_VARIANT); 957s # g_value_set_variant (¶mv[n], child); 957s # n++; 957s # } 957s # else 957s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 957s # g_variant_unref (child); 957s # } 957s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 957s # g_signal_emitv (paramv, signal_id, 0, NULL); 957s # for (n = 0; n < num_params + 1; n++) 957s # g_value_unset (¶mv[n]); 957s # g_free (paramv); 957s # } 957s # 957s # static void 957s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 957s # GVariant *changed_properties, 957s # const gchar *const *invalidated_properties) 957s # { 957s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 957s # guint n; 957s # const gchar *key; 957s # GVariantIter *iter; 957s # _ExtendedGDBusPropertyInfo *info; 957s # g_variant_get (changed_properties, "a{sv}", &iter); 957s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 957s # { 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 957s # g_datalist_remove_data (&proxy->priv->qdata, key); 957s # if (info != NULL) 957s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 957s # } 957s # g_variant_iter_free (iter); 957s # for (n = 0; invalidated_properties[n] != NULL; n++) 957s # { 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 957s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 957s # if (info != NULL) 957s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 957s # } 957s # } 957s # 957s # static GVariant * 957s # good_types_proxy_get_good_property_type (GoodTypes *object) 957s # { 957s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 957s # GVariant *variant; 957s # GVariant *value = NULL; 957s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 957s # value = variant; 957s # if (variant != NULL) 957s # g_variant_unref (variant); 957s # return value; 957s # } 957s # 957s # static void 957s # good_types_proxy_init (GoodTypesProxy *proxy) 957s # { 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # proxy->priv = good_types_proxy_get_instance_private (proxy); 957s # #else 957s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 957s # #endif 957s # 957s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 957s # } 957s # 957s # static void 957s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 957s # { 957s # GObjectClass *gobject_class; 957s # GDBusProxyClass *proxy_class; 957s # 957s # gobject_class = G_OBJECT_CLASS (klass); 957s # gobject_class->finalize = good_types_proxy_finalize; 957s # gobject_class->get_property = good_types_proxy_get_property; 957s # gobject_class->set_property = good_types_proxy_set_property; 957s # 957s # proxy_class = G_DBUS_PROXY_CLASS (klass); 957s # proxy_class->g_signal = good_types_proxy_g_signal; 957s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 957s # 957s # good_types_override_properties (gobject_class, 1); 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 957s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 957s # #endif 957s # } 957s # 957s # static void 957s # good_types_proxy_iface_init (GoodTypesIface *iface) 957s # { 957s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 957s # } 957s # 957s # /** 957s # * good_types_proxy_new: 957s # * @connection: A #GDBusConnection. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 957s # * 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 957s # * 957s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 957s # */ 957s # void 957s # good_types_proxy_new ( 957s # GDBusConnection *connection, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_async_initable_new_async (TYPE_GOOD_TYPES_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "GoodTypes", NULL); 957s # } 957s # 957s # /** 957s # * good_types_proxy_new_finish: 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 957s # * @error: Return location for error or %NULL 957s # * 957s # * Finishes an operation started with good_types_proxy_new(). 957s # * 957s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # GoodTypes * 957s # good_types_proxy_new_finish ( 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GObject *ret; 957s # GObject *source_object; 957s # source_object = g_async_result_get_source_object (res); 957s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 957s # g_object_unref (source_object); 957s # if (ret != NULL) 957s # return GOOD_TYPES (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # /** 957s # * good_types_proxy_new_sync: 957s # * @connection: A #GDBusConnection. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL 957s # * 957s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 957s # * 957s # * The calling thread is blocked until a reply is received. 957s # * 957s # * See good_types_proxy_new() for the asynchronous version of this constructor. 957s # * 957s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # GoodTypes * 957s # good_types_proxy_new_sync ( 957s # GDBusConnection *connection, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GInitable *ret; 957s # ret = g_initable_new (TYPE_GOOD_TYPES_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "GoodTypes", NULL); 957s # if (ret != NULL) 957s # return GOOD_TYPES (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # 957s # /** 957s # * good_types_proxy_new_for_bus: 957s # * @bus_type: A #GBusType. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: A bus name (well-known or unique). 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 957s # * 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 957s # * 957s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 957s # */ 957s # void 957s # good_types_proxy_new_for_bus ( 957s # GBusType bus_type, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_async_initable_new_async (TYPE_GOOD_TYPES_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "GoodTypes", NULL); 957s # } 957s # 957s # /** 957s # * good_types_proxy_new_for_bus_finish: 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 957s # * @error: Return location for error or %NULL 957s # * 957s # * Finishes an operation started with good_types_proxy_new_for_bus(). 957s # * 957s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # GoodTypes * 957s # good_types_proxy_new_for_bus_finish ( 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GObject *ret; 957s # GObject *source_object; 957s # source_object = g_async_result_get_source_object (res); 957s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 957s # g_object_unref (source_object); 957s # if (ret != NULL) 957s # return GOOD_TYPES (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # /** 957s # * good_types_proxy_new_for_bus_sync: 957s # * @bus_type: A #GBusType. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: A bus name (well-known or unique). 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL 957s # * 957s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 957s # * 957s # * The calling thread is blocked until a reply is received. 957s # * 957s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 957s # * 957s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # GoodTypes * 957s # good_types_proxy_new_for_bus_sync ( 957s # GBusType bus_type, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GInitable *ret; 957s # ret = g_initable_new (TYPE_GOOD_TYPES_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "GoodTypes", NULL); 957s # if (ret != NULL) 957s # return GOOD_TYPES (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # 957s # /* ------------------------------------------------------------------------ */ 957s # 957s # /** 957s # * GoodTypesSkeleton: 957s # * 957s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 957s # */ 957s # 957s # /** 957s # * GoodTypesSkeletonClass: 957s # * @parent_class: The parent class. 957s # * 957s # * Class structure for GoodTypesSkeleton. 957s # */ 957s # 957s # struct _GoodTypesSkeletonPrivate 957s # { 957s # GValue *properties; 957s # GList *changed_properties; 957s # GSource *changed_properties_idle_source; 957s # GMainContext *context; 957s # GMutex lock; 957s # }; 957s # 957s # static void 957s # _good_types_skeleton_handle_method_call ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name, 957s # const gchar *method_name, 957s # GVariant *parameters, 957s # GDBusMethodInvocation *invocation, 957s # gpointer user_data) 957s # { 957s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 957s # _ExtendedGDBusMethodInfo *info; 957s # GVariantIter iter; 957s # GVariant *child; 957s # GValue *paramv; 957s # gsize num_params; 957s # guint num_extra; 957s # gsize n; 957s # guint signal_id; 957s # GValue return_value = G_VALUE_INIT; 957s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 957s # g_assert (info != NULL); 957s # num_params = g_variant_n_children (parameters); 957s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 957s # n = 0; 957s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 957s # g_value_set_object (¶mv[n++], skeleton); 957s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 957s # g_value_set_object (¶mv[n++], invocation); 957s # if (info->pass_fdlist) 957s # { 957s # #ifdef G_OS_UNIX 957s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 957s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 957s # #else 957s # g_assert_not_reached (); 957s # #endif 957s # } 957s # g_variant_iter_init (&iter, parameters); 957s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 957s # { 957s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 957s # if (arg_info->use_gvariant) 957s # { 957s # g_value_init (¶mv[n], G_TYPE_VARIANT); 957s # g_value_set_variant (¶mv[n], child); 957s # n++; 957s # } 957s # else 957s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 957s # g_variant_unref (child); 957s # } 957s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 957s # g_value_init (&return_value, G_TYPE_BOOLEAN); 957s # g_signal_emitv (paramv, signal_id, 0, &return_value); 957s # if (!g_value_get_boolean (&return_value)) 957s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 957s # g_value_unset (&return_value); 957s # for (n = 0; n < num_params + num_extra; n++) 957s # g_value_unset (¶mv[n]); 957s # g_free (paramv); 957s # } 957s # 957s # static GVariant * 957s # _good_types_skeleton_handle_get_property ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name G_GNUC_UNUSED, 957s # const gchar *property_name, 957s # GError **error, 957s # gpointer user_data) 957s # { 957s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 957s # GValue value = G_VALUE_INIT; 957s # GParamSpec *pspec; 957s # _ExtendedGDBusPropertyInfo *info; 957s # GVariant *ret; 957s # ret = NULL; 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 957s # g_assert (info != NULL); 957s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 957s # if (pspec == NULL) 957s # { 957s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 957s # } 957s # else 957s # { 957s # g_value_init (&value, pspec->value_type); 957s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 957s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 957s # g_value_unset (&value); 957s # } 957s # return ret; 957s # } 957s # 957s # static gboolean 957s # _good_types_skeleton_handle_set_property ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name G_GNUC_UNUSED, 957s # const gchar *property_name, 957s # GVariant *variant, 957s # GError **error, 957s # gpointer user_data) 957s # { 957s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 957s # GValue value = G_VALUE_INIT; 957s # GParamSpec *pspec; 957s # _ExtendedGDBusPropertyInfo *info; 957s # gboolean ret; 957s # ret = FALSE; 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 957s # g_assert (info != NULL); 957s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 957s # if (pspec == NULL) 957s # { 957s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 957s # } 957s # else 957s # { 957s # if (info->use_gvariant) 957s # g_value_set_variant (&value, variant); 957s # else 957s # g_dbus_gvariant_to_gvalue (variant, &value); 957s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 957s # g_value_unset (&value); 957s # ret = TRUE; 957s # } 957s # return ret; 957s # } 957s # 957s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 957s # { 957s # _good_types_skeleton_handle_method_call, 957s # _good_types_skeleton_handle_get_property, 957s # _good_types_skeleton_handle_set_property, 957s # {NULL} 957s # }; 957s # 957s # static GDBusInterfaceInfo * 957s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 957s # { 957s # return good_types_interface_info (); 957s # } 957s # 957s # static GDBusInterfaceVTable * 957s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 957s # { 957s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 957s # } 957s # 957s # static GVariant * 957s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 957s # { 957s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 957s # 957s # GVariantBuilder builder; 957s # guint n; 957s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 957s # if (_good_types_interface_info.parent_struct.properties == NULL) 957s # goto out; 957s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 957s # { 957s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 957s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 957s # { 957s # GVariant *value; 957s # value = _good_types_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "GoodTypes", info->name, NULL, skeleton); 957s # if (value != NULL) 957s # { 957s # g_variant_take_ref (value); 957s # g_variant_builder_add (&builder, "{sv}", info->name, value); 957s # g_variant_unref (value); 957s # } 957s # } 957s # } 957s # out: 957s # return g_variant_builder_end (&builder); 957s # } 957s # 957s # static gboolean _good_types_emit_changed (gpointer user_data); 957s # 957s # static void 957s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 957s # { 957s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 957s # gboolean emit_changed = FALSE; 957s # 957s # g_mutex_lock (&skeleton->priv->lock); 957s # if (skeleton->priv->changed_properties_idle_source != NULL) 957s # { 957s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 957s # skeleton->priv->changed_properties_idle_source = NULL; 957s # emit_changed = TRUE; 957s # } 957s # g_mutex_unlock (&skeleton->priv->lock); 957s # 957s # if (emit_changed) 957s # _good_types_emit_changed (skeleton); 957s # } 957s # 957s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 957s # G_ADD_PRIVATE (GoodTypesSkeleton) 957s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 957s # 957s # #else 957s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 957s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 957s # 957s # #endif 957s # static void 957s # good_types_skeleton_finalize (GObject *object) 957s # { 957s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 957s # guint n; 957s # for (n = 0; n < 1; n++) 957s # g_value_unset (&skeleton->priv->properties[n]); 957s # g_free (skeleton->priv->properties); 957s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 957s # if (skeleton->priv->changed_properties_idle_source != NULL) 957s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 957s # g_main_context_unref (skeleton->priv->context); 957s # g_mutex_clear (&skeleton->priv->lock); 957s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 957s # } 957s # 957s # static void 957s # good_types_skeleton_get_property (GObject *object, 957s # guint prop_id, 957s # GValue *value, 957s # GParamSpec *pspec G_GNUC_UNUSED) 957s # { 957s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 957s # g_assert (prop_id != 0 && prop_id - 1 < 1); 957s # g_mutex_lock (&skeleton->priv->lock); 957s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 957s # g_mutex_unlock (&skeleton->priv->lock); 957s # } 957s # 957s # static gboolean 957s # _good_types_emit_changed (gpointer user_data) 957s # { 957s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 957s # GList *l; 957s # GVariantBuilder builder; 957s # GVariantBuilder invalidated_builder; 957s # guint num_changes; 957s # 957s # g_mutex_lock (&skeleton->priv->lock); 957s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 957s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 957s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 957s # { 957s # ChangedProperty *cp = l->data; 957s # GVariant *variant; 957s # const GValue *cur_value; 957s # 957s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 957s # if (!_g_value_equal (cur_value, &cp->orig_value)) 957s # { 957s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 957s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 957s # g_variant_unref (variant); 957s # num_changes++; 957s # } 957s # } 957s # if (num_changes > 0) 957s # { 957s # GList *connections, *ll; 957s # GVariant *signal_variant; 957s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 957s # &builder, &invalidated_builder)); 957s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 957s # for (ll = connections; ll != NULL; ll = ll->next) 957s # { 957s # GDBusConnection *connection = ll->data; 957s # 957s # g_dbus_connection_emit_signal (connection, 957s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 957s # "org.freedesktop.DBus.Properties", 957s # "PropertiesChanged", 957s # signal_variant, 957s # NULL); 957s # } 957s # g_variant_unref (signal_variant); 957s # g_list_free_full (connections, g_object_unref); 957s # } 957s # else 957s # { 957s # g_variant_builder_clear (&builder); 957s # g_variant_builder_clear (&invalidated_builder); 957s # } 957s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 957s # skeleton->priv->changed_properties = NULL; 957s # skeleton->priv->changed_properties_idle_source = NULL; 957s # g_mutex_unlock (&skeleton->priv->lock); 957s # return FALSE; 957s # } 957s # 957s # static void 957s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 957s # { 957s # ChangedProperty *cp; 957s # GList *l; 957s # cp = NULL; 957s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 957s # { 957s # ChangedProperty *i_cp = l->data; 957s # if (i_cp->info == info) 957s # { 957s # cp = i_cp; 957s # break; 957s # } 957s # } 957s # if (cp == NULL) 957s # { 957s # cp = g_new0 (ChangedProperty, 1); 957s # cp->prop_id = prop_id; 957s # cp->info = info; 957s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 957s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 957s # g_value_copy (orig_value, &cp->orig_value); 957s # } 957s # } 957s # 957s # static void 957s # good_types_skeleton_notify (GObject *object, 957s # GParamSpec *pspec G_GNUC_UNUSED) 957s # { 957s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 957s # g_mutex_lock (&skeleton->priv->lock); 957s # if (skeleton->priv->changed_properties != NULL && 957s # skeleton->priv->changed_properties_idle_source == NULL) 957s # { 957s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 957s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 957s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 957s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 957s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 957s # g_source_unref (skeleton->priv->changed_properties_idle_source); 957s # } 957s # g_mutex_unlock (&skeleton->priv->lock); 957s # } 957s # 957s # static void 957s # good_types_skeleton_set_property (GObject *object, 957s # guint prop_id, 957s # const GValue *value, 957s # GParamSpec *pspec) 957s # { 957s # const _ExtendedGDBusPropertyInfo *info; 957s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 957s # g_assert (prop_id != 0 && prop_id - 1 < 1); 957s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 957s # g_mutex_lock (&skeleton->priv->lock); 957s # g_object_freeze_notify (object); 957s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 957s # { 957s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 957s # info->emits_changed_signal) 957s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 957s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 957s # g_object_notify_by_pspec (object, pspec); 957s # } 957s # g_mutex_unlock (&skeleton->priv->lock); 957s # g_object_thaw_notify (object); 957s # } 957s # 957s # static void 957s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 957s # { 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 957s # #else 957s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 957s # #endif 957s # 957s # g_mutex_init (&skeleton->priv->lock); 957s # skeleton->priv->context = g_main_context_ref_thread_default (); 957s # skeleton->priv->properties = g_new0 (GValue, 1); 957s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 957s # } 957s # 957s # static GVariant * 957s # good_types_skeleton_get_good_property_type (GoodTypes *object) 957s # { 957s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 957s # GVariant *value; 957s # g_mutex_lock (&skeleton->priv->lock); 957s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 957s # g_mutex_unlock (&skeleton->priv->lock); 957s # return value; 957s # } 957s # 957s # static void 957s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 957s # { 957s # GObjectClass *gobject_class; 957s # GDBusInterfaceSkeletonClass *skeleton_class; 957s # 957s # gobject_class = G_OBJECT_CLASS (klass); 957s # gobject_class->finalize = good_types_skeleton_finalize; 957s # gobject_class->get_property = good_types_skeleton_get_property; 957s # gobject_class->set_property = good_types_skeleton_set_property; 957s # gobject_class->notify = good_types_skeleton_notify; 957s # 957s # 957s # good_types_override_properties (gobject_class, 1); 957s # 957s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 957s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 957s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 957s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 957s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 957s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 957s # #endif 957s # } 957s # 957s # static void 957s # good_types_skeleton_iface_init (GoodTypesIface *iface) 957s # { 957s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 957s # } 957s # 957s # /** 957s # * good_types_skeleton_new: 957s # * 957s # * Creates a skeleton object for the D-Bus interface GoodTypes. 957s # * 957s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 957s # */ 957s # GoodTypes * 957s # good_types_skeleton_new (void) 957s # { 957s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 957s # } 957s # /tmp/tmptttjmqs9/tmp3q8c9_by.xml: 957s # 957s # 957s # 957s # 957s # 957s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptttjmqs9/tmp3q8c9_by.xml', '--output', '-', '--body'] 957s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 957s # Output: /* 957s # * This file is generated by gdbus-codegen, do not modify it. 957s # * 957s # * The license of this code is the same as for the D-Bus interface description 957s # * it was derived from. Note that it links to GLib, so must comply with the 957s # * LGPL linking clauses. 957s # */ 957s # 957s # #ifdef HAVE_CONFIG_H 957s # # include "config.h" 957s # #endif 957s # 957s # #include 957s # #ifdef G_OS_UNIX 957s # # include 957s # #endif 957s # 957s # #ifdef G_ENABLE_DEBUG 957s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 957s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 957s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 957s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 957s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 957s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 957s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 957s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 957s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 957s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 957s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 957s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 957s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 957s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 957s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 957s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 957s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 957s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 957s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 957s # #else /* !G_ENABLE_DEBUG */ 957s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 957s # * Do not access GValues directly in your code. Instead, use the 957s # * g_value_get_*() functions 957s # */ 957s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 957s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 957s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 957s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 957s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 957s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 957s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 957s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 957s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 957s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 957s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 957s # #endif /* !G_ENABLE_DEBUG */ 957s # 957s # typedef struct 957s # { 957s # GDBusArgInfo parent_struct; 957s # gboolean use_gvariant; 957s # } _ExtendedGDBusArgInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusMethodInfo parent_struct; 957s # const gchar *signal_name; 957s # gboolean pass_fdlist; 957s # } _ExtendedGDBusMethodInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusSignalInfo parent_struct; 957s # const gchar *signal_name; 957s # } _ExtendedGDBusSignalInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusPropertyInfo parent_struct; 957s # const gchar *hyphen_name; 957s # guint use_gvariant : 1; 957s # guint emits_changed_signal : 1; 957s # } _ExtendedGDBusPropertyInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusInterfaceInfo parent_struct; 957s # const gchar *hyphen_name; 957s # } _ExtendedGDBusInterfaceInfo; 957s # 957s # typedef struct 957s # { 957s # const _ExtendedGDBusPropertyInfo *info; 957s # guint prop_id; 957s # GValue orig_value; /* the value before the change */ 957s # } ChangedProperty; 957s # 957s # static void 957s # _changed_property_free (ChangedProperty *data) 957s # { 957s # g_value_unset (&data->orig_value); 957s # g_free (data); 957s # } 957s # 957s # static gboolean 957s # _g_strv_equal0 (gchar **a, gchar **b) 957s # { 957s # gboolean ret = FALSE; 957s # guint n; 957s # if (a == NULL && b == NULL) 957s # { 957s # ret = TRUE; 957s # goto out; 957s # } 957s # if (a == NULL || b == NULL) 957s # goto out; 957s # if (g_strv_length (a) != g_strv_length (b)) 957s # goto out; 957s # for (n = 0; a[n] != NULL; n++) 957s # if (g_strcmp0 (a[n], b[n]) != 0) 957s # goto out; 957s # ret = TRUE; 957s # out: 957s # return ret; 957s # } 957s # 957s # static gboolean 957s # _g_variant_equal0 (GVariant *a, GVariant *b) 957s # { 957s # gboolean ret = FALSE; 957s # if (a == NULL && b == NULL) 957s # { 957s # ret = TRUE; 957s # goto out; 957s # } 957s # if (a == NULL || b == NULL) 957s # goto out; 957s # ret = g_variant_equal (a, b); 957s # out: 957s # return ret; 957s # } 957s # 957s # G_GNUC_UNUSED static gboolean 957s # _g_value_equal (const GValue *a, const GValue *b) 957s # { 957s # gboolean ret = FALSE; 957s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 957s # switch (G_VALUE_TYPE (a)) 957s # { 957s # case G_TYPE_BOOLEAN: 957s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 957s # break; 957s # case G_TYPE_UCHAR: 957s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 957s # break; 957s # case G_TYPE_INT: 957s # ret = (g_value_get_int (a) == g_value_get_int (b)); 957s # break; 957s # case G_TYPE_UINT: 957s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 957s # break; 957s # case G_TYPE_INT64: 957s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 957s # break; 957s # case G_TYPE_UINT64: 957s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 957s # break; 957s # case G_TYPE_DOUBLE: 957s # { 957s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 957s # gdouble da = g_value_get_double (a); 957s # gdouble db = g_value_get_double (b); 957s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 957s # } 957s # break; 957s # case G_TYPE_STRING: 957s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 957s # break; 957s # case G_TYPE_VARIANT: 957s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 957s # break; 957s # default: 957s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 957s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 957s # else 957s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 957s # break; 957s # } 957s # return ret; 957s # } 957s # 957s # /* ------------------------------------------------------------------------ 957s # * Code for interface GoodTypes 957s # * ------------------------------------------------------------------------ 957s # */ 957s # 957s # /** 957s # * SECTION:GoodTypes 957s # * @title: GoodTypes 957s # * @short_description: Generated C code for the GoodTypes D-Bus interface 957s # * 957s # * This section contains code for working with the GoodTypes D-Bus interface in C. 957s # */ 957s # 957s # /* ---- Introspection data for GoodTypes ---- */ 957s # 957s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 957s # { 957s # { 957s # -1, 957s # (gchar *) "GoodPropertyType", 957s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 957s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 957s # NULL 957s # }, 957s # "good-property-type", 957s # FALSE, 957s # TRUE 957s # }; 957s # 957s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 957s # { 957s # &_good_types_property_info_good_property_type.parent_struct, 957s # NULL 957s # }; 957s # 957s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 957s # { 957s # { 957s # -1, 957s # (gchar *) "GoodTypes", 957s # NULL, 957s # NULL, 957s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 957s # NULL 957s # }, 957s # "good-types", 957s # }; 957s # 957s # 957s # /** 957s # * good_types_interface_info: 957s # * 957s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 957s # * 957s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 957s # */ 957s # GDBusInterfaceInfo * 957s # good_types_interface_info (void) 957s # { 957s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 957s # } 957s # 957s # /** 957s # * good_types_override_properties: 957s # * @klass: The class structure for a #GObject derived class. 957s # * @property_id_begin: The property id to assign to the first overridden property. 957s # * 957s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 957s # * The properties are overridden in the order they are defined. 957s # * 957s # * Returns: The last property id. 957s # */ 957s # guint 957s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 957s # { 957s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 957s # return property_id_begin - 1; 957s # } 957s # 957s # 957s # 957s # /** 957s # * GoodTypes: 957s # * 957s # * Abstract interface type for the D-Bus interface GoodTypes. 957s # */ 957s # 957s # /** 957s # * GoodTypesIface: 957s # * @parent_iface: The parent interface. 957s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 957s # * 957s # * Virtual table for the D-Bus interface GoodTypes. 957s # */ 957s # 957s # typedef GoodTypesIface GoodTypesInterface; 957s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 957s # 957s # static void 957s # good_types_default_init (GoodTypesIface *iface) 957s # { 957s # /* GObject properties for D-Bus properties: */ 957s # /** 957s # * GoodTypes:good-property-type: 957s # * 957s # * Represents the D-Bus property "GoodPropertyType". 957s # * 957s # * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side. 957s # */ 957s # g_object_interface_install_property (iface, 957s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 957s # } 957s # 957s # /** 957s # * good_types_get_good_property_type: (skip) 957s # * @object: A GoodTypes. 957s # * 957s # * Gets the value of the "GoodPropertyType" D-Bus property. 957s # * 957s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 957s # * 957s # * The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use good_types_dup_good_property_type() if on another thread. 957s # * 957s # * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. 957s # */ 957s # GVariant * 957s # good_types_get_good_property_type (GoodTypes *object) 957s # { 957s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 957s # 957s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 957s # } 957s # 957s # /** 957s # * good_types_dup_good_property_type: (skip) 957s # * @object: A GoodTypes. 957s # * 957s # * Gets a copy of the "GoodPropertyType" D-Bus property. 957s # * 957s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 957s # * 957s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_variant_unref(). 957s # */ 957s # GVariant * 957s # good_types_dup_good_property_type (GoodTypes *object) 957s # { 957s # GVariant *value; 957s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 957s # return value; 957s # } 957s # 957s # /** 957s # * good_types_set_good_property_type: (skip) 957s # * @object: A GoodTypes. 957s # * @value: The value to set. 957s # * 957s # * Sets the "GoodPropertyType" D-Bus property to @value. 957s # * 957s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 957s # */ 957s # void 957s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 957s # { 957s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 957s # } 957s # 957s # /* ------------------------------------------------------------------------ */ 957s # 957s # /** 957s # * GoodTypesProxy: 957s # * 957s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 957s # */ 957s # 957s # /** 957s # * GoodTypesProxyClass: 957s # * @parent_class: The parent class. 957s # * 957s # * Class structure for GoodTypesProxy. 957s # */ 957s # 957s # struct _GoodTypesProxyPrivate 957s # { 957s # GData *qdata; 957s # }; 957s # 957s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 957s # G_ADD_PRIVATE (GoodTypesProxy) 957s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 957s # 957s # #else 957s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 957s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 957s # 957s # #endif 957s # static void 957s # good_types_proxy_finalize (GObject *object) 957s # { 957s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 957s # g_datalist_clear (&proxy->priv->qdata); 957s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 957s # } 957s # 957s # static void 957s # good_types_proxy_get_property (GObject *object, 957s # guint prop_id, 957s # GValue *value, 957s # GParamSpec *pspec G_GNUC_UNUSED) 957s # { 957s # const _ExtendedGDBusPropertyInfo *info; 957s # GVariant *variant; 957s # g_assert (prop_id != 0 && prop_id - 1 < 1); 957s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 957s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 957s # if (info->use_gvariant) 957s # { 957s # g_value_set_variant (value, variant); 957s # } 957s # else 957s # { 957s # if (variant != NULL) 957s # g_dbus_gvariant_to_gvalue (variant, value); 957s # } 957s # if (variant != NULL) 957s # g_variant_unref (variant); 957s # } 957s # 957s # static void 957s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 957s # GAsyncResult *res, 957s # gpointer user_data) 957s # { 957s # const _ExtendedGDBusPropertyInfo *info = user_data; 957s # GError *error; 957s # GVariant *_ret; 957s # error = NULL; 957s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 957s # if (!_ret) 957s # { 957s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 957s # info->parent_struct.name, 957s # error->message, g_quark_to_string (error->domain), error->code); 957s # g_error_free (error); 957s # } 957s # else 957s # { 957s # g_variant_unref (_ret); 957s # } 957s # } 957s # 957s # static void 957s # good_types_proxy_set_property (GObject *object, 957s # guint prop_id, 957s # const GValue *value, 957s # GParamSpec *pspec G_GNUC_UNUSED) 957s # { 957s # const _ExtendedGDBusPropertyInfo *info; 957s # GVariant *variant; 957s # g_assert (prop_id != 0 && prop_id - 1 < 1); 957s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 957s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 957s # g_dbus_proxy_call (G_DBUS_PROXY (object), 957s # "org.freedesktop.DBus.Properties.Set", 957s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 957s # G_DBUS_CALL_FLAGS_NONE, 957s # -1, 957s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 957s # g_variant_unref (variant); 957s # } 957s # 957s # static void 957s # good_types_proxy_g_signal (GDBusProxy *proxy, 957s # const gchar *sender_name G_GNUC_UNUSED, 957s # const gchar *signal_name, 957s # GVariant *parameters) 957s # { 957s # _ExtendedGDBusSignalInfo *info; 957s # GVariantIter iter; 957s # GVariant *child; 957s # GValue *paramv; 957s # gsize num_params; 957s # gsize n; 957s # guint signal_id; 957s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 957s # if (info == NULL) 957s # return; 957s # num_params = g_variant_n_children (parameters); 957s # paramv = g_new0 (GValue, num_params + 1); 957s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 957s # g_value_set_object (¶mv[0], proxy); 957s # g_variant_iter_init (&iter, parameters); 957s # n = 1; 957s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 957s # { 957s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 957s # if (arg_info->use_gvariant) 957s # { 957s # g_value_init (¶mv[n], G_TYPE_VARIANT); 957s # g_value_set_variant (¶mv[n], child); 957s # n++; 957s # } 957s # else 957s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 957s # g_variant_unref (child); 957s # } 957s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 957s # g_signal_emitv (paramv, signal_id, 0, NULL); 957s # for (n = 0; n < num_params + 1; n++) 957s # g_value_unset (¶mv[n]); 957s # g_free (paramv); 957s # } 957s # 957s # static void 957s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 957s # GVariant *changed_properties, 957s # const gchar *const *invalidated_properties) 957s # { 957s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 957s # guint n; 957s # const gchar *key; 957s # GVariantIter *iter; 957s # _ExtendedGDBusPropertyInfo *info; 957s # g_variant_get (changed_properties, "a{sv}", &iter); 957s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 957s # { 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 957s # g_datalist_remove_data (&proxy->priv->qdata, key); 957s # if (info != NULL) 957s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 957s # } 957s # g_variant_iter_free (iter); 957s # for (n = 0; invalidated_properties[n] != NULL; n++) 957s # { 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 957s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 957s # if (info != NULL) 957s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 957s # } 957s # } 957s # 957s # static GVariant * 957s # good_types_proxy_get_good_property_type (GoodTypes *object) 957s # { 957s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 957s # GVariant *variant; 957s # GVariant *value = NULL; 957s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 957s # value = variant; 957s # if (variant != NULL) 957s # g_variant_unref (variant); 957s # return value; 957s # } 957s # 957s # static void 957s # good_types_proxy_init (GoodTypesProxy *proxy) 957s # { 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # proxy->priv = good_types_proxy_get_instance_private (proxy); 957s # #else 957s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 957s # #endif 957s # 957s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 957s # } 957s # 957s # static void 957s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 957s # { 957s # GObjectClass *gobject_class; 957s # GDBusProxyClass *proxy_class; 957s # 957s # gobject_class = G_OBJECT_CLASS (klass); 957s # gobject_class->finalize = good_types_proxy_finalize; 957s # gobject_class->get_property = good_types_proxy_get_property; 957s # gobject_class->set_property = good_types_proxy_set_property; 957s # 957s # proxy_class = G_DBUS_PROXY_CLASS (klass); 957s # proxy_class->g_signal = good_types_proxy_g_signal; 957s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 957s # 957s # good_types_override_properties (gobject_class, 1); 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 957s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 957s # #endif 957s # } 957s # 957s # static void 957s # good_types_proxy_iface_init (GoodTypesIface *iface) 957s # { 957s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 957s # } 957s # 957s # /** 957s # * good_types_proxy_new: 957s # * @connection: A #GDBusConnection. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 957s # * 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 957s # * 957s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 957s # */ 957s # void 957s # good_types_proxy_new ( 957s # GDBusConnection *connection, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_async_initable_new_async (TYPE_GOOD_TYPES_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "GoodTypes", NULL); 957s # } 957s # 957s # /** 957s # * good_types_proxy_new_finish: 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 957s # * @error: Return location for error or %NULL 957s # * 957s # * Finishes an operation started with good_types_proxy_new(). 957s # * 957s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # GoodTypes * 957s # good_types_proxy_new_finish ( 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GObject *ret; 957s # GObject *source_object; 957s # source_object = g_async_result_get_source_object (res); 957s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 957s # g_object_unref (source_object); 957s # if (ret != NULL) 957s # return GOOD_TYPES (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # /** 957s # * good_types_proxy_new_sync: 957s # * @connection: A #GDBusConnection. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL 957s # * 957s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 957s # * 957s # * The calling thread is blocked until a reply is received. 957s # * 957s # * See good_types_proxy_new() for the asynchronous version of this constructor. 957s # * 957s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # GoodTypes * 957s # good_types_proxy_new_sync ( 957s # GDBusConnection *connection, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GInitable *ret; 957s # ret = g_initable_new (TYPE_GOOD_TYPES_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "GoodTypes", NULL); 957s # if (ret != NULL) 957s # return GOOD_TYPES (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # 957s # /** 957s # * good_types_proxy_new_for_bus: 957s # * @bus_type: A #GBusType. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: A bus name (well-known or unique). 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 957s # * 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 957s # * 957s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 957s # */ 957s # void 957s # good_types_proxy_new_for_bus ( 957s # GBusType bus_type, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_async_initable_new_async (TYPE_GOOD_TYPES_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "GoodTypes", NULL); 957s # } 957s # 957s # /** 957s # * good_types_proxy_new_for_bus_finish: 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 957s # * @error: Return location for error or %NULL 957s # * 957s # * Finishes an operation started with good_types_proxy_new_for_bus(). 957s # * 957s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # GoodTypes * 957s # good_types_proxy_new_for_bus_finish ( 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GObject *ret; 957s # GObject *source_object; 957s # source_object = g_async_result_get_source_object (res); 957s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 957s # g_object_unref (source_object); 957s # if (ret != NULL) 957s # return GOOD_TYPES (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # /** 957s # * good_types_proxy_new_for_bus_sync: 957s # * @bus_type: A #GBusType. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: A bus name (well-known or unique). 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL 957s # * 957s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 957s # * 957s # * The calling thread is blocked until a reply is received. 957s # * 957s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 957s # * 957s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # GoodTypes * 957s # good_types_proxy_new_for_bus_sync ( 957s # GBusType bus_type, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GInitable *ret; 957s # ret = g_initable_new (TYPE_GOOD_TYPES_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "GoodTypes", NULL); 957s # if (ret != NULL) 957s # return GOOD_TYPES (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # 957s # /* ------------------------------------------------------------------------ */ 957s # 957s # /** 957s # * GoodTypesSkeleton: 957s # * 957s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 957s # */ 957s # 957s # /** 957s # * GoodTypesSkeletonClass: 957s # * @parent_class: The parent class. 957s # * 957s # * Class structure for GoodTypesSkeleton. 957s # */ 957s # 957s # struct _GoodTypesSkeletonPrivate 957s # { 957s # GValue *properties; 957s # GList *changed_properties; 957s # GSource *changed_properties_idle_source; 957s # GMainContext *context; 957s # GMutex lock; 957s # }; 957s # 957s # static void 957s # _good_types_skeleton_handle_method_call ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name, 957s # const gchar *method_name, 957s # GVariant *parameters, 957s # GDBusMethodInvocation *invocation, 957s # gpointer user_data) 957s # { 957s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 957s # _ExtendedGDBusMethodInfo *info; 957s # GVariantIter iter; 957s # GVariant *child; 957s # GValue *paramv; 957s # gsize num_params; 957s # guint num_extra; 957s # gsize n; 957s # guint signal_id; 957s # GValue return_value = G_VALUE_INIT; 957s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 957s # g_assert (info != NULL); 957s # num_params = g_variant_n_children (parameters); 957s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 957s # n = 0; 957s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 957s # g_value_set_object (¶mv[n++], skeleton); 957s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 957s # g_value_set_object (¶mv[n++], invocation); 957s # if (info->pass_fdlist) 957s # { 957s # #ifdef G_OS_UNIX 957s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 957s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 957s # #else 957s # g_assert_not_reached (); 957s # #endif 957s # } 957s # g_variant_iter_init (&iter, parameters); 957s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 957s # { 957s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 957s # if (arg_info->use_gvariant) 957s # { 957s # g_value_init (¶mv[n], G_TYPE_VARIANT); 957s # g_value_set_variant (¶mv[n], child); 957s # n++; 957s # } 957s # else 957s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 957s # g_variant_unref (child); 957s # } 957s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 957s # g_value_init (&return_value, G_TYPE_BOOLEAN); 957s # g_signal_emitv (paramv, signal_id, 0, &return_value); 957s # if (!g_value_get_boolean (&return_value)) 957s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 957s # g_value_unset (&return_value); 957s # for (n = 0; n < num_params + num_extra; n++) 957s # g_value_unset (¶mv[n]); 957s # g_free (paramv); 957s # } 957s # 957s # static GVariant * 957s # _good_types_skeleton_handle_get_property ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name G_GNUC_UNUSED, 957s # const gchar *property_name, 957s # GError **error, 957s # gpointer user_data) 957s # { 957s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 957s # GValue value = G_VALUE_INIT; 957s # GParamSpec *pspec; 957s # _ExtendedGDBusPropertyInfo *info; 957s # GVariant *ret; 957s # ret = NULL; 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 957s # g_assert (info != NULL); 957s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 957s # if (pspec == NULL) 957s # { 957s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 957s # } 957s # else 957s # { 957s # g_value_init (&value, pspec->value_type); 957s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 957s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 957s # g_value_unset (&value); 957s # } 957s # return ret; 957s # } 957s # 957s # static gboolean 957s # _good_types_skeleton_handle_set_property ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name G_GNUC_UNUSED, 957s # const gchar *property_name, 957s # GVariant *variant, 957s # GError **error, 957s # gpointer user_data) 957s # { 957s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 957s # GValue value = G_VALUE_INIT; 957s # GParamSpec *pspec; 957s # _ExtendedGDBusPropertyInfo *info; 957s # gboolean ret; 957s # ret = FALSE; 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 957s # g_assert (info != NULL); 957s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 957s # if (pspec == NULL) 957s # { 957s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 957s # } 957s # else 957s # { 957s # if (info->use_gvariant) 957s # g_value_set_variant (&value, variant); 957s # else 957s # g_dbus_gvariant_to_gvalue (variant, &value); 957s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 957s # g_value_unset (&value); 957s # ret = TRUE; 957s # } 957s # return ret; 957s # } 957s # 957s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 957s # { 957s # _good_types_skeleton_handle_method_call, 957s # _good_types_skeleton_handle_get_property, 957s # _good_types_skeleton_handle_set_property, 957s # {NULL} 957s # }; 957s # 957s # static GDBusInterfaceInfo * 957s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 957s # { 957s # return good_types_interface_info (); 957s # } 957s # 957s # static GDBusInterfaceVTable * 957s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 957s # { 957s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 957s # } 957s # 957s # static GVariant * 957s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 957s # { 957s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 957s # 957s # GVariantBuilder builder; 957s # guint n; 957s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 957s # if (_good_types_interface_info.parent_struct.properties == NULL) 957s # goto out; 957s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 957s # { 957s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 957s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 957s # { 957s # GVariant *value; 957s # value = _good_types_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "GoodTypes", info->name, NULL, skeleton); 957s # if (value != NULL) 957s # { 957s # g_variant_take_ref (value); 957s # g_variant_builder_add (&builder, "{sv}", info->name, value); 957s # g_variant_unref (value); 957s # } 957s # } 957s # } 957s # out: 957s # return g_variant_builder_end (&builder); 957s # } 957s # 957s # static gboolean _good_types_emit_changed (gpointer user_data); 957s # 957s # static void 957s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 957s # { 957s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 957s # gboolean emit_changed = FALSE; 957s # 957s # g_mutex_lock (&skeleton->priv->lock); 957s # if (skeleton->priv->changed_properties_idle_source != NULL) 957s # { 957s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 957s # skeleton->priv->changed_properties_idle_source = NULL; 957s # emit_changed = TRUE; 957s # } 957s # g_mutex_unlock (&skeleton->priv->lock); 957s # 957s # if (emit_changed) 957s # _good_types_emit_changed (skeleton); 957s # } 957s # 957s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 957s # G_ADD_PRIVATE (GoodTypesSkeleton) 957s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 957s # 957s # #else 957s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 957s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 957s # 957s # #endif 957s # static void 957s # good_types_skeleton_finalize (GObject *object) 957s # { 957s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 957s # guint n; 957s # for (n = 0; n < 1; n++) 957s # g_value_unset (&skeleton->priv->properties[n]); 957s # g_free (skeleton->priv->properties); 957s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 957s # if (skeleton->priv->changed_properties_idle_source != NULL) 957s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 957s # g_main_context_unref (skeleton->priv->context); 957s # g_mutex_clear (&skeleton->priv->lock); 957s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 957s # } 957s # 957s # static void 957s # good_types_skeleton_get_property (GObject *object, 957s # guint prop_id, 957s # GValue *value, 957s # GParamSpec *pspec G_GNUC_UNUSED) 957s # { 957s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 957s # g_assert (prop_id != 0 && prop_id - 1 < 1); 957s # g_mutex_lock (&skeleton->priv->lock); 957s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 957s # g_mutex_unlock (&skeleton->priv->lock); 957s # } 957s # 957s # static gboolean 957s # _good_types_emit_changed (gpointer user_data) 957s # { 957s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 957s # GList *l; 957s # GVariantBuilder builder; 957s # GVariantBuilder invalidated_builder; 957s # guint num_changes; 957s # 957s # g_mutex_lock (&skeleton->priv->lock); 957s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 957s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 957s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 957s # { 957s # ChangedProperty *cp = l->data; 957s # GVariant *variant; 957s # const GValue *cur_value; 957s # 957s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 957s # if (!_g_value_equal (cur_value, &cp->orig_value)) 957s # { 957s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 957s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 957s # g_variant_unref (variant); 957s # num_changes++; 957s # } 957s # } 957s # if (num_changes > 0) 957s # { 957s # GList *connections, *ll; 957s # GVariant *signal_variant; 957s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 957s # &builder, &invalidated_builder)); 957s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 957s # for (ll = connections; ll != NULL; ll = ll->next) 957s # { 957s # GDBusConnection *connection = ll->data; 957s # 957s # g_dbus_connection_emit_signal (connection, 957s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 957s # "org.freedesktop.DBus.Properties", 957s # "PropertiesChanged", 957s # signal_variant, 957s # NULL); 957s # } 957s # g_variant_unref (signal_variant); 957s # g_list_free_full (connections, g_object_unref); 957s # } 957s # else 957s # { 957s # g_variant_builder_clear (&builder); 957s # g_variant_builder_clear (&invalidated_builder); 957s # } 957s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 957s # skeleton->priv->changed_properties = NULL; 957s # skeleton->priv->changed_properties_idle_source = NULL; 957s # g_mutex_unlock (&skeleton->priv->lock); 957s # return FALSE; 957s # } 957s # 957s # static void 957s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 957s # { 957s # ChangedProperty *cp; 957s # GList *l; 957s # cp = NULL; 957s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 957s # { 957s # ChangedProperty *i_cp = l->data; 957s # if (i_cp->info == info) 957s # { 957s # cp = i_cp; 957s # break; 957s # } 957s # } 957s # if (cp == NULL) 957s # { 957s # cp = g_new0 (ChangedProperty, 1); 957s # cp->prop_id = prop_id; 957s # cp->info = info; 957s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 957s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 957s # g_value_copy (orig_value, &cp->orig_value); 957s # } 957s # } 957s # 957s # static void 957s # good_types_skeleton_notify (GObject *object, 957s # GParamSpec *pspec G_GNUC_UNUSED) 957s # { 957s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 957s # g_mutex_lock (&skeleton->priv->lock); 957s # if (skeleton->priv->changed_properties != NULL && 957s # skeleton->priv->changed_properties_idle_source == NULL) 957s # { 957s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 957s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 957s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 957s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 957s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 957s # g_source_unref (skeleton->priv->changed_properties_idle_source); 957s # } 957s # g_mutex_unlock (&skeleton->priv->lock); 957s # } 957s # 957s # static void 957s # good_types_skeleton_set_property (GObject *object, 957s # guint prop_id, 957s # const GValue *value, 957s # GParamSpec *pspec) 957s # { 957s # const _ExtendedGDBusPropertyInfo *info; 957s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 957s # g_assert (prop_id != 0 && prop_id - 1 < 1); 957s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 957s # g_mutex_lock (&skeleton->priv->lock); 957s # g_object_freeze_notify (object); 957s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 957s # { 957s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 957s # info->emits_changed_signal) 957s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 957s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 957s # g_object_notify_by_pspec (object, pspec); 957s # } 957s # g_mutex_unlock (&skeleton->priv->lock); 957s # g_object_thaw_notify (object); 957s # } 957s # 957s # static void 957s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 957s # { 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 957s # #else 957s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 957s # #endif 957s # 957s # g_mutex_init (&skeleton->priv->lock); 957s # skeleton->priv->context = g_main_context_ref_thread_default (); 957s # skeleton->priv->properties = g_new0 (GValue, 1); 957s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 957s # } 957s # 957s # static GVariant * 957s # good_types_skeleton_get_good_property_type (GoodTypes *object) 957s # { 957s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 957s # GVariant *value; 957s # g_mutex_lock (&skeleton->priv->lock); 957s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 957s # g_mutex_unlock (&skeleton->priv->lock); 957s # return value; 957s # } 957s # 957s # static void 957s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 957s # { 957s # GObjectClass *gobject_class; 957s # GDBusInterfaceSkeletonClass *skeleton_class; 957s # 957s # gobject_class = G_OBJECT_CLASS (klass); 957s # gobject_class->finalize = good_types_skeleton_finalize; 957s # gobject_class->get_property = good_types_skeleton_get_property; 957s # gobject_class->set_property = good_types_skeleton_set_property; 957s # gobject_class->notify = good_types_skeleton_notify; 957s # 957s # 957s # good_types_override_properties (gobject_class, 1); 957s # 957s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 957s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 957s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 957s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 957s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 957s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 957s # #endif 957s # } 957s # 957s # static void 957s # good_types_skeleton_iface_init (GoodTypesIface *iface) 957s # { 957s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 957s # } 957s # 957s # /** 957s # * good_types_skeleton_new: 957s # * 957s # * Creates a skeleton object for the D-Bus interface GoodTypes. 957s # * 957s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 957s # */ 957s # GoodTypes * 957s # good_types_skeleton_new (void) 957s # { 957s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 957s # } 957s ok 3 __main__.TestCodegen.test_empty_interface_body 957s # tmpdir: /tmp/tmpuz5nc3je 957s # codegen: /usr/bin/gdbus-codegen 957s # /tmp/tmpuz5nc3je/tmp0kgu10u1.xml: 957s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpuz5nc3je/tmp0kgu10u1.xml', '--output', '-', '--body'] 957s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 957s # Output: /* 957s # * This file is generated by gdbus-codegen, do not modify it. 957s # * 957s # * The license of this code is the same as for the D-Bus interface description 957s # * it was derived from. Note that it links to GLib, so must comply with the 957s # * LGPL linking clauses. 957s # */ 957s # 957s # #ifdef HAVE_CONFIG_H 957s # # include "config.h" 957s # #endif 957s # 957s # #include 957s # #ifdef G_OS_UNIX 957s # # include 957s # #endif 957s # 957s # #ifdef G_ENABLE_DEBUG 957s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 957s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 957s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 957s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 957s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 957s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 957s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 957s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 957s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 957s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 957s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 957s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 957s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 957s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 957s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 957s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 957s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 957s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 957s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 957s # #else /* !G_ENABLE_DEBUG */ 957s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 957s # * Do not access GValues directly in your code. Instead, use the 957s # * g_value_get_*() functions 957s # */ 957s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 957s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 957s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 957s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 957s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 957s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 957s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 957s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 957s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 957s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 957s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 957s # #endif /* !G_ENABLE_DEBUG */ 957s # 957s # typedef struct 957s # { 957s # GDBusArgInfo parent_struct; 957s # gboolean use_gvariant; 957s # } _ExtendedGDBusArgInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusMethodInfo parent_struct; 957s # const gchar *signal_name; 957s # gboolean pass_fdlist; 957s # } _ExtendedGDBusMethodInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusSignalInfo parent_struct; 957s # const gchar *signal_name; 957s # } _ExtendedGDBusSignalInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusPropertyInfo parent_struct; 957s # const gchar *hyphen_name; 957s # guint use_gvariant : 1; 957s # guint emits_changed_signal : 1; 957s # } _ExtendedGDBusPropertyInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusInterfaceInfo parent_struct; 957s # const gchar *hyphen_name; 957s # } _ExtendedGDBusInterfaceInfo; 957s # 957s # typedef struct 957s # { 957s # const _ExtendedGDBusPropertyInfo *info; 957s # guint prop_id; 957s # GValue orig_value; /* the value before the change */ 957s # } ChangedProperty; 957s # 957s # static void 957s # _changed_property_free (ChangedProperty *data) 957s # { 957s # g_value_unset (&data->orig_value); 957s # g_free (data); 957s # } 957s # 957s # static gboolean 957s # _g_strv_equal0 (gchar **a, gchar **b) 957s # { 957s # gboolean ret = FALSE; 957s # guint n; 957s # if (a == NULL && b == NULL) 957s # { 957s # ret = TRUE; 957s # goto out; 957s # } 957s # if (a == NULL || b == NULL) 957s # goto out; 957s # if (g_strv_length (a) != g_strv_length (b)) 957s # goto out; 957s # for (n = 0; a[n] != NULL; n++) 957s # if (g_strcmp0 (a[n], b[n]) != 0) 957s # goto out; 957s # ret = TRUE; 957s # out: 957s # return ret; 957s # } 957s # 957s # static gboolean 957s # _g_variant_equal0 (GVariant *a, GVariant *b) 957s # { 957s # gboolean ret = FALSE; 957s # if (a == NULL && b == NULL) 957s # { 957s # ret = TRUE; 957s # goto out; 957s # } 957s # if (a == NULL || b == NULL) 957s # goto out; 957s # ret = g_variant_equal (a, b); 957s # out: 957s # return ret; 957s # } 957s # 957s # G_GNUC_UNUSED static gboolean 957s # _g_value_equal (const GValue *a, const GValue *b) 957s # { 957s # gboolean ret = FALSE; 957s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 957s # switch (G_VALUE_TYPE (a)) 957s # { 957s # case G_TYPE_BOOLEAN: 957s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 957s # break; 957s # case G_TYPE_UCHAR: 957s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 957s # break; 957s # case G_TYPE_INT: 957s # ret = (g_value_get_int (a) == g_value_get_int (b)); 957s # break; 957s # case G_TYPE_UINT: 957s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 957s # break; 957s # case G_TYPE_INT64: 957s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 957s # break; 957s # case G_TYPE_UINT64: 957s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 957s # break; 957s # case G_TYPE_DOUBLE: 957s # { 957s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 957s # gdouble da = g_value_get_double (a); 957s # gdouble db = g_value_get_double (b); 957s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 957s # } 957s # break; 957s # case G_TYPE_STRING: 957s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 957s # break; 957s # case G_TYPE_VARIANT: 957s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 957s # break; 957s # default: 957s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 957s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 957s # else 957s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 957s # break; 957s # } 957s # return ret; 957s # } 957s ok 4 __main__.TestCodegen.test_empty_interface_header 957s # tmpdir: /tmp/tmp2llyip5j 957s # codegen: /usr/bin/gdbus-codegen 957s # /tmp/tmp2llyip5j/tmp7946vqz0.xml: 957s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2llyip5j/tmp7946vqz0.xml', '--output', '-', '--header'] 957s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 957s # Output: /* 957s # * This file is generated by gdbus-codegen, do not modify it. 957s # * 957s # * The license of this code is the same as for the D-Bus interface description 957s # * it was derived from. Note that it links to GLib, so must comply with the 957s # * LGPL linking clauses. 957s # */ 957s # 957s # #ifndef __STDOUT__ 957s # #define __STDOUT__ 957s # 957s # #include 957s # 957s # G_BEGIN_DECLS 957s # 957s # 957s # G_END_DECLS 957s # 957s # #endif /* __STDOUT__ */ 957s ok 5 __main__.TestCodegen.test_empty_interface_info_body 957s # tmpdir: /tmp/tmpww45o51c 957s # codegen: /usr/bin/gdbus-codegen 957s # /tmp/tmpww45o51c/tmpf0kenm2x.xml: 957s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpww45o51c/tmpf0kenm2x.xml', '--output', '-', '--interface-info-body'] 957s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 957s # Output: /* 957s # * This file is generated by gdbus-codegen, do not modify it. 957s # * 957s # * The license of this code is the same as for the D-Bus interface description 957s # * it was derived from. Note that it links to GLib, so must comply with the 957s # * LGPL linking clauses. 957s # */ 957s # 957s # #ifdef HAVE_CONFIG_H 957s # # include "config.h" 957s # #endif 957s # 957s # #include 957s ok 6 __main__.TestCodegen.test_empty_interface_info_header 957s # tmpdir: /tmp/tmpse8n352f 957s # codegen: /usr/bin/gdbus-codegen 957s # /tmp/tmpse8n352f/tmpv4j6csak.xml: 957s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpse8n352f/tmpv4j6csak.xml', '--output', '-', '--interface-info-header'] 957s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 957s # Output: /* 957s # * This file is generated by gdbus-codegen, do not modify it. 957s # * 957s # * The license of this code is the same as for the D-Bus interface description 957s # * it was derived from. Note that it links to GLib, so must comply with the 957s # * LGPL linking clauses. 957s # */ 957s # 957s # #ifndef __STDOUT__ 957s # #define __STDOUT__ 957s # 957s # #include 957s # 957s # G_BEGIN_DECLS 957s # 957s # 957s # G_END_DECLS 957s # 957s # #endif /* __STDOUT__ */ 957s ok 7 __main__.TestCodegen.test_generate_docbook 957s # tmpdir: /tmp/tmp5tsdyxmx 957s # codegen: /usr/bin/gdbus-codegen 957s # /tmp/tmp5tsdyxmx/tmplks4j_73.xml: 957s # 957s # 957s # 957s # 957s # 957s # 957s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5tsdyxmx/tmplks4j_73.xml', '--generate-docbook', 'test'] 957s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 957s # Output: 957s ok 8 __main__.TestCodegen.test_generate_md 957s # tmpdir: /tmp/tmp_lssxmkz 957s # codegen: /usr/bin/gdbus-codegen 957s # /tmp/tmp_lssxmkz/tmpcw_gylwk.xml: 957s # 957s # 957s # 957s # 957s # 957s # 957s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_lssxmkz/tmpcw_gylwk.xml', '--generate-md', 'test'] 957s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 957s # Output: 958s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 958s # tmpdir: /tmp/tmp7p286nto 958s # codegen: /usr/bin/gdbus-codegen 958s # /tmp/tmp7p286nto/tmpmkxz1yfw.xml: 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7p286nto/tmpmkxz1yfw.xml', '--output', '-', '--body'] 958s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 958s # Output: /* 958s # * This file is generated by gdbus-codegen, do not modify it. 958s # * 958s # * The license of this code is the same as for the D-Bus interface description 958s # * it was derived from. Note that it links to GLib, so must comply with the 958s # * LGPL linking clauses. 958s # */ 958s # 958s # #ifdef HAVE_CONFIG_H 958s # # include "config.h" 958s # #endif 958s # 958s # #include 958s # #ifdef G_OS_UNIX 958s # # include 958s # #endif 958s # 958s # #ifdef G_ENABLE_DEBUG 958s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 958s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 958s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 958s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 958s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 958s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 958s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 958s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 958s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 958s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 958s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 958s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 958s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 958s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 958s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 958s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 958s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 958s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 958s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 958s # #else /* !G_ENABLE_DEBUG */ 958s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 958s # * Do not access GValues directly in your code. Instead, use the 958s # * g_value_get_*() functions 958s # */ 958s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 958s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 958s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 958s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 958s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 958s # #endif /* !G_ENABLE_DEBUG */ 958s # 958s # typedef struct 958s # { 958s # GDBusArgInfo parent_struct; 958s # gboolean use_gvariant; 958s # } _ExtendedGDBusArgInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusMethodInfo parent_struct; 958s # const gchar *signal_name; 958s # gboolean pass_fdlist; 958s # } _ExtendedGDBusMethodInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusSignalInfo parent_struct; 958s # const gchar *signal_name; 958s # } _ExtendedGDBusSignalInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusPropertyInfo parent_struct; 958s # const gchar *hyphen_name; 958s # guint use_gvariant : 1; 958s # guint emits_changed_signal : 1; 958s # } _ExtendedGDBusPropertyInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusInterfaceInfo parent_struct; 958s # const gchar *hyphen_name; 958s # } _ExtendedGDBusInterfaceInfo; 958s # 958s # typedef struct 958s # { 958s # const _ExtendedGDBusPropertyInfo *info; 958s # guint prop_id; 958s # GValue orig_value; /* the value before the change */ 958s # } ChangedProperty; 958s # 958s # static void 958s # _changed_property_free (ChangedProperty *data) 958s # { 958s # g_value_unset (&data->orig_value); 958s # g_free (data); 958s # } 958s # 958s # static gboolean 958s # _g_strv_equal0 (gchar **a, gchar **b) 958s # { 958s # gboolean ret = FALSE; 958s # guint n; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # if (g_strv_length (a) != g_strv_length (b)) 958s # goto out; 958s # for (n = 0; a[n] != NULL; n++) 958s # if (g_strcmp0 (a[n], b[n]) != 0) 958s # goto out; 958s # ret = TRUE; 958s # out: 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _g_variant_equal0 (GVariant *a, GVariant *b) 958s # { 958s # gboolean ret = FALSE; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # ret = g_variant_equal (a, b); 958s # out: 958s # return ret; 958s # } 958s # 958s # G_GNUC_UNUSED static gboolean 958s # _g_value_equal (const GValue *a, const GValue *b) 958s # { 958s # gboolean ret = FALSE; 958s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 958s # switch (G_VALUE_TYPE (a)) 958s # { 958s # case G_TYPE_BOOLEAN: 958s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 958s # break; 958s # case G_TYPE_UCHAR: 958s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 958s # break; 958s # case G_TYPE_INT: 958s # ret = (g_value_get_int (a) == g_value_get_int (b)); 958s # break; 958s # case G_TYPE_UINT: 958s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 958s # break; 958s # case G_TYPE_INT64: 958s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 958s # break; 958s # case G_TYPE_UINT64: 958s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 958s # break; 958s # case G_TYPE_DOUBLE: 958s # { 958s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 958s # gdouble da = g_value_get_double (a); 958s # gdouble db = g_value_get_double (b); 958s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 958s # } 958s # break; 958s # case G_TYPE_STRING: 958s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 958s # break; 958s # case G_TYPE_VARIANT: 958s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 958s # break; 958s # default: 958s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 958s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 958s # else 958s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 958s # break; 958s # } 958s # return ret; 958s # } 958s # 958s # static void 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint G_GNUC_UNUSED, 958s # void *marshal_data) 958s # { 958s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 958s # (void *data1, 958s # GDBusMethodInvocation *arg_method_invocation, 958s # void *data2); 958s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 958s # GCClosure *cc = (GCClosure*) closure; 958s # void *data1, *data2; 958s # gboolean v_return; 958s # 958s # g_return_if_fail (return_value != NULL); 958s # g_return_if_fail (n_param_values == 2); 958s # 958s # if (G_CCLOSURE_SWAP_DATA (closure)) 958s # { 958s # data1 = closure->data; 958s # data2 = g_value_peek_pointer (param_values + 0); 958s # } 958s # else 958s # { 958s # data1 = g_value_peek_pointer (param_values + 0); 958s # data2 = closure->data; 958s # } 958s # 958s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 958s # (marshal_data ? marshal_data : cc->callback); 958s # 958s # v_return = 958s # callback (data1, 958s # g_marshal_value_peek_object (param_values + 1), 958s # data2); 958s # 958s # g_value_set_boolean (return_value, v_return); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ 958s # * Code for interface org.project.CallableIface 958s # * ------------------------------------------------------------------------ 958s # */ 958s # 958s # /** 958s # * SECTION:OrgProjectCallableIface 958s # * @title: OrgProjectCallableIface 958s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 958s # * 958s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 958s # */ 958s # 958s # /* ---- Introspection data for org.project.CallableIface ---- */ 958s # 958s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SimpleMethod", 958s # NULL, 958s # NULL, 958s # NULL 958s # }, 958s # "handle-simple-method", 958s # FALSE 958s # }; 958s # 958s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 958s # { 958s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 958s # { 958s # { 958s # -1, 958s # (gchar *) "org.project.CallableIface", 958s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 958s # NULL, 958s # NULL, 958s # NULL 958s # }, 958s # "org-project-callable-iface", 958s # }; 958s # 958s # 958s # /** 958s # * org_project_callable_iface_interface_info: 958s # * 958s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 958s # * 958s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 958s # */ 958s # GDBusInterfaceInfo * 958s # org_project_callable_iface_interface_info (void) 958s # { 958s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 958s # } 958s # 958s # /** 958s # * org_project_callable_iface_override_properties: 958s # * @klass: The class structure for a #GObject derived class. 958s # * @property_id_begin: The property id to assign to the first overridden property. 958s # * 958s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 958s # * The properties are overridden in the order they are defined. 958s # * 958s # * Returns: The last property id. 958s # */ 958s # guint 958s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 958s # { 958s # return property_id_begin - 1; 958s # } 958s # 958s # 958s # inline static void 958s # org_project_callable_iface_method_marshal_simple_method ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # 958s # /** 958s # * OrgProjectCallableIface: 958s # * 958s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 958s # */ 958s # 958s # /** 958s # * OrgProjectCallableIfaceIface: 958s # * @parent_iface: The parent interface. 958s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 958s # * 958s # * Virtual table for the D-Bus interface org.project.CallableIface. 958s # */ 958s # 958s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 958s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 958s # 958s # static void 958s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 958s # { 958s # /* GObject signals for incoming D-Bus method calls: */ 958s # /** 958s # * OrgProjectCallableIface::handle-simple-method: 958s # * @object: A #OrgProjectCallableIface. 958s # * @invocation: A #GDBusMethodInvocation. 958s # * 958s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 958s # * 958s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_callable_iface_complete_simple_method() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 958s # * 958s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 958s # */ 958s # g_signal_new ("handle-simple-method", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 958s # g_signal_accumulator_true_handled, 958s # NULL, 958s # org_project_callable_iface_method_marshal_simple_method, 958s # G_TYPE_BOOLEAN, 958s # 1, 958s # G_TYPE_DBUS_METHOD_INVOCATION); 958s # 958s # } 958s # 958s # /** 958s # * org_project_callable_iface_call_simple_method: 958s # * @proxy: A #OrgProjectCallableIfaceProxy. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 958s # * 958s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 958s # */ 958s # void 958s # org_project_callable_iface_call_simple_method ( 958s # OrgProjectCallableIface *proxy, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 958s # "SimpleMethod", 958s # g_variant_new ("()"), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # callback, 958s # user_data); 958s # } 958s # 958s # /** 958s # * org_project_callable_iface_call_simple_method_finish: 958s # * @proxy: A #OrgProjectCallableIfaceProxy. 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_callable_iface_call_simple_method_finish ( 958s # OrgProjectCallableIface *proxy, 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "()"); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_callable_iface_call_simple_method_sync: 958s # * @proxy: A #OrgProjectCallableIfaceProxy. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_callable_iface_call_simple_method_sync ( 958s # OrgProjectCallableIface *proxy, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 958s # "SimpleMethod", 958s # g_variant_new ("()"), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "()"); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_callable_iface_complete_simple_method: 958s # * @object: A #OrgProjectCallableIface. 958s # * @invocation: (transfer full): A #GDBusMethodInvocation. 958s # * 958s # * Helper function used in service implementations to finish handling invocations of the SimpleMethod() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 958s # * 958s # * This method will free @invocation, you cannot use it afterwards. 958s # */ 958s # void 958s # org_project_callable_iface_complete_simple_method ( 958s # OrgProjectCallableIface *object G_GNUC_UNUSED, 958s # GDBusMethodInvocation *invocation) 958s # { 958s # g_dbus_method_invocation_return_value (invocation, 958s # g_variant_new ("()")); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectCallableIfaceProxy: 958s # * 958s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectCallableIfaceProxyClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectCallableIfaceProxy. 958s # */ 958s # 958s # struct _OrgProjectCallableIfaceProxyPrivate 958s # { 958s # GData *qdata; 958s # }; 958s # 958s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 958s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_callable_iface_proxy_finalize (GObject *object) 958s # { 958s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 958s # g_datalist_clear (&proxy->priv->qdata); 958s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # const GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 958s # const gchar *sender_name G_GNUC_UNUSED, 958s # const gchar *signal_name, 958s # GVariant *parameters) 958s # { 958s # _ExtendedGDBusSignalInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # gsize n; 958s # guint signal_id; 958s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 958s # if (info == NULL) 958s # return; 958s # num_params = g_variant_n_children (parameters); 958s # paramv = g_new0 (GValue, num_params + 1); 958s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 958s # g_value_set_object (¶mv[0], proxy); 958s # g_variant_iter_init (&iter, parameters); 958s # n = 1; 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 958s # g_signal_emitv (paramv, signal_id, 0, NULL); 958s # for (n = 0; n < num_params + 1; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static void 958s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 958s # GVariant *changed_properties, 958s # const gchar *const *invalidated_properties) 958s # { 958s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 958s # guint n; 958s # const gchar *key; 958s # GVariantIter *iter; 958s # _ExtendedGDBusPropertyInfo *info; 958s # g_variant_get (changed_properties, "a{sv}", &iter); 958s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 958s # g_datalist_remove_data (&proxy->priv->qdata, key); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # g_variant_iter_free (iter); 958s # for (n = 0; invalidated_properties[n] != NULL; n++) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 958s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # } 958s # 958s # static void 958s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 958s # #else 958s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 958s # #endif 958s # 958s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 958s # } 958s # 958s # static void 958s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusProxyClass *proxy_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 958s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 958s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 958s # 958s # proxy_class = G_DBUS_PROXY_CLASS (klass); 958s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 958s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_callable_iface_proxy_new: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 958s # * 958s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_callable_iface_proxy_new ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.CallableIface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_callable_iface_proxy_new_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectCallableIface * 958s # org_project_callable_iface_proxy_new_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_CALLABLE_IFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_callable_iface_proxy_new_sync: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectCallableIface * 958s # org_project_callable_iface_proxy_new_sync ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.CallableIface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_CALLABLE_IFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /** 958s # * org_project_callable_iface_proxy_new_for_bus: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 958s # * 958s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_callable_iface_proxy_new_for_bus ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.CallableIface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_callable_iface_proxy_new_for_bus_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectCallableIface * 958s # org_project_callable_iface_proxy_new_for_bus_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_CALLABLE_IFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_callable_iface_proxy_new_for_bus_sync: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectCallableIface * 958s # org_project_callable_iface_proxy_new_for_bus_sync ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.CallableIface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_CALLABLE_IFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectCallableIfaceSkeleton: 958s # * 958s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectCallableIfaceSkeletonClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectCallableIfaceSkeleton. 958s # */ 958s # 958s # struct _OrgProjectCallableIfaceSkeletonPrivate 958s # { 958s # GValue *properties; 958s # GList *changed_properties; 958s # GSource *changed_properties_idle_source; 958s # GMainContext *context; 958s # GMutex lock; 958s # }; 958s # 958s # static void 958s # _org_project_callable_iface_skeleton_handle_method_call ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name, 958s # const gchar *method_name, 958s # GVariant *parameters, 958s # GDBusMethodInvocation *invocation, 958s # gpointer user_data) 958s # { 958s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 958s # _ExtendedGDBusMethodInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # guint num_extra; 958s # gsize n; 958s # guint signal_id; 958s # GValue return_value = G_VALUE_INIT; 958s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 958s # g_assert (info != NULL); 958s # num_params = g_variant_n_children (parameters); 958s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 958s # n = 0; 958s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 958s # g_value_set_object (¶mv[n++], skeleton); 958s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 958s # g_value_set_object (¶mv[n++], invocation); 958s # if (info->pass_fdlist) 958s # { 958s # #ifdef G_OS_UNIX 958s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 958s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 958s # #else 958s # g_assert_not_reached (); 958s # #endif 958s # } 958s # g_variant_iter_init (&iter, parameters); 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 958s # g_value_init (&return_value, G_TYPE_BOOLEAN); 958s # g_signal_emitv (paramv, signal_id, 0, &return_value); 958s # if (!g_value_get_boolean (&return_value)) 958s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 958s # g_value_unset (&return_value); 958s # for (n = 0; n < num_params + num_extra; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static GVariant * 958s # _org_project_callable_iface_skeleton_handle_get_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # GVariant *ret; 958s # ret = NULL; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # g_value_init (&value, pspec->value_type); 958s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 958s # g_value_unset (&value); 958s # } 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _org_project_callable_iface_skeleton_handle_set_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GVariant *variant, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # gboolean ret; 958s # ret = FALSE; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # if (info->use_gvariant) 958s # g_value_set_variant (&value, variant); 958s # else 958s # g_dbus_gvariant_to_gvalue (variant, &value); 958s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # g_value_unset (&value); 958s # ret = TRUE; 958s # } 958s # return ret; 958s # } 958s # 958s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 958s # { 958s # _org_project_callable_iface_skeleton_handle_method_call, 958s # _org_project_callable_iface_skeleton_handle_get_property, 958s # _org_project_callable_iface_skeleton_handle_set_property, 958s # {NULL} 958s # }; 958s # 958s # static GDBusInterfaceInfo * 958s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return org_project_callable_iface_interface_info (); 958s # } 958s # 958s # static GDBusInterfaceVTable * 958s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 958s # } 958s # 958s # static GVariant * 958s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 958s # { 958s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 958s # 958s # GVariantBuilder builder; 958s # guint n; 958s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 958s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 958s # goto out; 958s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 958s # { 958s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 958s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 958s # { 958s # GVariant *value; 958s # value = _org_project_callable_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.CallableIface", info->name, NULL, skeleton); 958s # if (value != NULL) 958s # { 958s # g_variant_take_ref (value); 958s # g_variant_builder_add (&builder, "{sv}", info->name, value); 958s # g_variant_unref (value); 958s # } 958s # } 958s # } 958s # out: 958s # return g_variant_builder_end (&builder); 958s # } 958s # 958s # static void 958s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_callable_iface_skeleton_finalize (GObject *object) 958s # { 958s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 958s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 958s # if (skeleton->priv->changed_properties_idle_source != NULL) 958s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 958s # g_main_context_unref (skeleton->priv->context); 958s # g_mutex_clear (&skeleton->priv->lock); 958s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 958s # #else 958s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 958s # #endif 958s # 958s # g_mutex_init (&skeleton->priv->lock); 958s # skeleton->priv->context = g_main_context_ref_thread_default (); 958s # } 958s # 958s # static void 958s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusInterfaceSkeletonClass *skeleton_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 958s # 958s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 958s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 958s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 958s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 958s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_callable_iface_skeleton_new: 958s # * 958s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 958s # * 958s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 958s # */ 958s # OrgProjectCallableIface * 958s # org_project_callable_iface_skeleton_new (void) 958s # { 958s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ 958s # * Code for interface org.project.OtherCallableIface 958s # * ------------------------------------------------------------------------ 958s # */ 958s # 958s # /** 958s # * SECTION:OrgProjectOtherCallableIface 958s # * @title: OrgProjectOtherCallableIface 958s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 958s # * 958s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 958s # */ 958s # 958s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 958s # 958s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SimpleMethod", 958s # NULL, 958s # NULL, 958s # NULL 958s # }, 958s # "handle-simple-method", 958s # FALSE 958s # }; 958s # 958s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 958s # { 958s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 958s # { 958s # { 958s # -1, 958s # (gchar *) "org.project.OtherCallableIface", 958s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 958s # NULL, 958s # NULL, 958s # NULL 958s # }, 958s # "org-project-other-callable-iface", 958s # }; 958s # 958s # 958s # /** 958s # * org_project_other_callable_iface_interface_info: 958s # * 958s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 958s # * 958s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 958s # */ 958s # GDBusInterfaceInfo * 958s # org_project_other_callable_iface_interface_info (void) 958s # { 958s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 958s # } 958s # 958s # /** 958s # * org_project_other_callable_iface_override_properties: 958s # * @klass: The class structure for a #GObject derived class. 958s # * @property_id_begin: The property id to assign to the first overridden property. 958s # * 958s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 958s # * The properties are overridden in the order they are defined. 958s # * 958s # * Returns: The last property id. 958s # */ 958s # guint 958s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 958s # { 958s # return property_id_begin - 1; 958s # } 958s # 958s # 958s # inline static void 958s # org_project_other_callable_iface_method_marshal_simple_method ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # 958s # /** 958s # * OrgProjectOtherCallableIface: 958s # * 958s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 958s # */ 958s # 958s # /** 958s # * OrgProjectOtherCallableIfaceIface: 958s # * @parent_iface: The parent interface. 958s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 958s # * 958s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 958s # */ 958s # 958s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 958s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 958s # 958s # static void 958s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 958s # { 958s # /* GObject signals for incoming D-Bus method calls: */ 958s # /** 958s # * OrgProjectOtherCallableIface::handle-simple-method: 958s # * @object: A #OrgProjectOtherCallableIface. 958s # * @invocation: A #GDBusMethodInvocation. 958s # * 958s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 958s # * 958s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_other_callable_iface_complete_simple_method() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 958s # * 958s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 958s # */ 958s # g_signal_new ("handle-simple-method", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 958s # g_signal_accumulator_true_handled, 958s # NULL, 958s # org_project_other_callable_iface_method_marshal_simple_method, 958s # G_TYPE_BOOLEAN, 958s # 1, 958s # G_TYPE_DBUS_METHOD_INVOCATION); 958s # 958s # } 958s # 958s # /** 958s # * org_project_other_callable_iface_call_simple_method: 958s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 958s # * 958s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 958s # */ 958s # void 958s # org_project_other_callable_iface_call_simple_method ( 958s # OrgProjectOtherCallableIface *proxy, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 958s # "SimpleMethod", 958s # g_variant_new ("()"), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # callback, 958s # user_data); 958s # } 958s # 958s # /** 958s # * org_project_other_callable_iface_call_simple_method_finish: 958s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_other_callable_iface_call_simple_method_finish ( 958s # OrgProjectOtherCallableIface *proxy, 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "()"); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_other_callable_iface_call_simple_method_sync: 958s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_other_callable_iface_call_simple_method_sync ( 958s # OrgProjectOtherCallableIface *proxy, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 958s # "SimpleMethod", 958s # g_variant_new ("()"), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "()"); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_other_callable_iface_complete_simple_method: 958s # * @object: A #OrgProjectOtherCallableIface. 958s # * @invocation: (transfer full): A #GDBusMethodInvocation. 958s # * 958s # * Helper function used in service implementations to finish handling invocations of the SimpleMethod() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 958s # * 958s # * This method will free @invocation, you cannot use it afterwards. 958s # */ 958s # void 958s # org_project_other_callable_iface_complete_simple_method ( 958s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 958s # GDBusMethodInvocation *invocation) 958s # { 958s # g_dbus_method_invocation_return_value (invocation, 958s # g_variant_new ("()")); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectOtherCallableIfaceProxy: 958s # * 958s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectOtherCallableIfaceProxyClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 958s # */ 958s # 958s # struct _OrgProjectOtherCallableIfaceProxyPrivate 958s # { 958s # GData *qdata; 958s # }; 958s # 958s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 958s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_other_callable_iface_proxy_finalize (GObject *object) 958s # { 958s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 958s # g_datalist_clear (&proxy->priv->qdata); 958s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # const GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 958s # const gchar *sender_name G_GNUC_UNUSED, 958s # const gchar *signal_name, 958s # GVariant *parameters) 958s # { 958s # _ExtendedGDBusSignalInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # gsize n; 958s # guint signal_id; 958s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 958s # if (info == NULL) 958s # return; 958s # num_params = g_variant_n_children (parameters); 958s # paramv = g_new0 (GValue, num_params + 1); 958s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 958s # g_value_set_object (¶mv[0], proxy); 958s # g_variant_iter_init (&iter, parameters); 958s # n = 1; 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 958s # g_signal_emitv (paramv, signal_id, 0, NULL); 958s # for (n = 0; n < num_params + 1; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static void 958s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 958s # GVariant *changed_properties, 958s # const gchar *const *invalidated_properties) 958s # { 958s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 958s # guint n; 958s # const gchar *key; 958s # GVariantIter *iter; 958s # _ExtendedGDBusPropertyInfo *info; 958s # g_variant_get (changed_properties, "a{sv}", &iter); 958s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 958s # g_datalist_remove_data (&proxy->priv->qdata, key); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # g_variant_iter_free (iter); 958s # for (n = 0; invalidated_properties[n] != NULL; n++) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 958s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # } 958s # 958s # static void 958s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 958s # #else 958s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 958s # #endif 958s # 958s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 958s # } 958s # 958s # static void 958s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusProxyClass *proxy_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 958s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 958s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 958s # 958s # proxy_class = G_DBUS_PROXY_CLASS (klass); 958s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 958s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_other_callable_iface_proxy_new: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 958s # * 958s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_other_callable_iface_proxy_new ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.OtherCallableIface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_other_callable_iface_proxy_new_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectOtherCallableIface * 958s # org_project_other_callable_iface_proxy_new_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_other_callable_iface_proxy_new_sync: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectOtherCallableIface * 958s # org_project_other_callable_iface_proxy_new_sync ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.OtherCallableIface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /** 958s # * org_project_other_callable_iface_proxy_new_for_bus: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 958s # * 958s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_other_callable_iface_proxy_new_for_bus ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.OtherCallableIface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectOtherCallableIface * 958s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectOtherCallableIface * 958s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.OtherCallableIface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectOtherCallableIfaceSkeleton: 958s # * 958s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectOtherCallableIfaceSkeletonClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 958s # */ 958s # 958s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 958s # { 958s # GValue *properties; 958s # GList *changed_properties; 958s # GSource *changed_properties_idle_source; 958s # GMainContext *context; 958s # GMutex lock; 958s # }; 958s # 958s # static void 958s # _org_project_other_callable_iface_skeleton_handle_method_call ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name, 958s # const gchar *method_name, 958s # GVariant *parameters, 958s # GDBusMethodInvocation *invocation, 958s # gpointer user_data) 958s # { 958s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 958s # _ExtendedGDBusMethodInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # guint num_extra; 958s # gsize n; 958s # guint signal_id; 958s # GValue return_value = G_VALUE_INIT; 958s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 958s # g_assert (info != NULL); 958s # num_params = g_variant_n_children (parameters); 958s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 958s # n = 0; 958s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 958s # g_value_set_object (¶mv[n++], skeleton); 958s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 958s # g_value_set_object (¶mv[n++], invocation); 958s # if (info->pass_fdlist) 958s # { 958s # #ifdef G_OS_UNIX 958s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 958s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 958s # #else 958s # g_assert_not_reached (); 958s # #endif 958s # } 958s # g_variant_iter_init (&iter, parameters); 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 958s # g_value_init (&return_value, G_TYPE_BOOLEAN); 958s # g_signal_emitv (paramv, signal_id, 0, &return_value); 958s # if (!g_value_get_boolean (&return_value)) 958s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 958s # g_value_unset (&return_value); 958s # for (n = 0; n < num_params + num_extra; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static GVariant * 958s # _org_project_other_callable_iface_skeleton_handle_get_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # GVariant *ret; 958s # ret = NULL; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # g_value_init (&value, pspec->value_type); 958s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 958s # g_value_unset (&value); 958s # } 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _org_project_other_callable_iface_skeleton_handle_set_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GVariant *variant, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # gboolean ret; 958s # ret = FALSE; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # if (info->use_gvariant) 958s # g_value_set_variant (&value, variant); 958s # else 958s # g_dbus_gvariant_to_gvalue (variant, &value); 958s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # g_value_unset (&value); 958s # ret = TRUE; 958s # } 958s # return ret; 958s # } 958s # 958s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 958s # { 958s # _org_project_other_callable_iface_skeleton_handle_method_call, 958s # _org_project_other_callable_iface_skeleton_handle_get_property, 958s # _org_project_other_callable_iface_skeleton_handle_set_property, 958s # {NULL} 958s # }; 958s # 958s # static GDBusInterfaceInfo * 958s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return org_project_other_callable_iface_interface_info (); 958s # } 958s # 958s # static GDBusInterfaceVTable * 958s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 958s # } 958s # 958s # static GVariant * 958s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 958s # { 958s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 958s # 958s # GVariantBuilder builder; 958s # guint n; 958s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 958s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 958s # goto out; 958s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 958s # { 958s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 958s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 958s # { 958s # GVariant *value; 958s # value = _org_project_other_callable_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherCallableIface", info->name, NULL, skeleton); 958s # if (value != NULL) 958s # { 958s # g_variant_take_ref (value); 958s # g_variant_builder_add (&builder, "{sv}", info->name, value); 958s # g_variant_unref (value); 958s # } 958s # } 958s # } 958s # out: 958s # return g_variant_builder_end (&builder); 958s # } 958s # 958s # static void 958s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 958s # { 958s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 958s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 958s # if (skeleton->priv->changed_properties_idle_source != NULL) 958s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 958s # g_main_context_unref (skeleton->priv->context); 958s # g_mutex_clear (&skeleton->priv->lock); 958s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 958s # #else 958s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 958s # #endif 958s # 958s # g_mutex_init (&skeleton->priv->lock); 958s # skeleton->priv->context = g_main_context_ref_thread_default (); 958s # } 958s # 958s # static void 958s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusInterfaceSkeletonClass *skeleton_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 958s # 958s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 958s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 958s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 958s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 958s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_other_callable_iface_skeleton_new: 958s # * 958s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 958s # * 958s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 958s # */ 958s # OrgProjectOtherCallableIface * 958s # org_project_other_callable_iface_skeleton_new (void) 958s # { 958s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 958s # } 958s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 958s # tmpdir: /tmp/tmpqnfzcbyi 958s # codegen: /usr/bin/gdbus-codegen 958s # /tmp/tmpqnfzcbyi/tmp62ah074e.xml: 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqnfzcbyi/tmp62ah074e.xml', '--output', '-', '--body'] 958s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 958s # Output: /* 958s # * This file is generated by gdbus-codegen, do not modify it. 958s # * 958s # * The license of this code is the same as for the D-Bus interface description 958s # * it was derived from. Note that it links to GLib, so must comply with the 958s # * LGPL linking clauses. 958s # */ 958s # 958s # #ifdef HAVE_CONFIG_H 958s # # include "config.h" 958s # #endif 958s # 958s # #include 958s # #ifdef G_OS_UNIX 958s # # include 958s # #endif 958s # 958s # #ifdef G_ENABLE_DEBUG 958s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 958s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 958s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 958s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 958s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 958s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 958s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 958s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 958s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 958s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 958s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 958s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 958s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 958s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 958s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 958s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 958s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 958s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 958s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 958s # #else /* !G_ENABLE_DEBUG */ 958s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 958s # * Do not access GValues directly in your code. Instead, use the 958s # * g_value_get_*() functions 958s # */ 958s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 958s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 958s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 958s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 958s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 958s # #endif /* !G_ENABLE_DEBUG */ 958s # 958s # typedef struct 958s # { 958s # GDBusArgInfo parent_struct; 958s # gboolean use_gvariant; 958s # } _ExtendedGDBusArgInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusMethodInfo parent_struct; 958s # const gchar *signal_name; 958s # gboolean pass_fdlist; 958s # } _ExtendedGDBusMethodInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusSignalInfo parent_struct; 958s # const gchar *signal_name; 958s # } _ExtendedGDBusSignalInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusPropertyInfo parent_struct; 958s # const gchar *hyphen_name; 958s # guint use_gvariant : 1; 958s # guint emits_changed_signal : 1; 958s # } _ExtendedGDBusPropertyInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusInterfaceInfo parent_struct; 958s # const gchar *hyphen_name; 958s # } _ExtendedGDBusInterfaceInfo; 958s # 958s # typedef struct 958s # { 958s # const _ExtendedGDBusPropertyInfo *info; 958s # guint prop_id; 958s # GValue orig_value; /* the value before the change */ 958s # } ChangedProperty; 958s # 958s # static void 958s # _changed_property_free (ChangedProperty *data) 958s # { 958s # g_value_unset (&data->orig_value); 958s # g_free (data); 958s # } 958s # 958s # static gboolean 958s # _g_strv_equal0 (gchar **a, gchar **b) 958s # { 958s # gboolean ret = FALSE; 958s # guint n; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # if (g_strv_length (a) != g_strv_length (b)) 958s # goto out; 958s # for (n = 0; a[n] != NULL; n++) 958s # if (g_strcmp0 (a[n], b[n]) != 0) 958s # goto out; 958s # ret = TRUE; 958s # out: 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _g_variant_equal0 (GVariant *a, GVariant *b) 958s # { 958s # gboolean ret = FALSE; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # ret = g_variant_equal (a, b); 958s # out: 958s # return ret; 958s # } 958s # 958s # G_GNUC_UNUSED static gboolean 958s # _g_value_equal (const GValue *a, const GValue *b) 958s # { 958s # gboolean ret = FALSE; 958s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 958s # switch (G_VALUE_TYPE (a)) 958s # { 958s # case G_TYPE_BOOLEAN: 958s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 958s # break; 958s # case G_TYPE_UCHAR: 958s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 958s # break; 958s # case G_TYPE_INT: 958s # ret = (g_value_get_int (a) == g_value_get_int (b)); 958s # break; 958s # case G_TYPE_UINT: 958s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 958s # break; 958s # case G_TYPE_INT64: 958s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 958s # break; 958s # case G_TYPE_UINT64: 958s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 958s # break; 958s # case G_TYPE_DOUBLE: 958s # { 958s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 958s # gdouble da = g_value_get_double (a); 958s # gdouble db = g_value_get_double (b); 958s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 958s # } 958s # break; 958s # case G_TYPE_STRING: 958s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 958s # break; 958s # case G_TYPE_VARIANT: 958s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 958s # break; 958s # default: 958s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 958s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 958s # else 958s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 958s # break; 958s # } 958s # return ret; 958s # } 958s # 958s # static void 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint G_GNUC_UNUSED, 958s # void *marshal_data) 958s # { 958s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 958s # (void *data1, 958s # GDBusMethodInvocation *arg_method_invocation, 958s # gboolean arg_arg_b, 958s # void *data2); 958s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 958s # GCClosure *cc = (GCClosure*) closure; 958s # void *data1, *data2; 958s # gboolean v_return; 958s # 958s # g_return_if_fail (return_value != NULL); 958s # g_return_if_fail (n_param_values == 3); 958s # 958s # if (G_CCLOSURE_SWAP_DATA (closure)) 958s # { 958s # data1 = closure->data; 958s # data2 = g_value_peek_pointer (param_values + 0); 958s # } 958s # else 958s # { 958s # data1 = g_value_peek_pointer (param_values + 0); 958s # data2 = closure->data; 958s # } 958s # 958s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 958s # (marshal_data ? marshal_data : cc->callback); 958s # 958s # v_return = 958s # callback (data1, 958s # g_marshal_value_peek_object (param_values + 1), 958s # g_marshal_value_peek_boolean (param_values + 2), 958s # data2); 958s # 958s # g_value_set_boolean (return_value, v_return); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ 958s # * Code for interface org.project.UsefulInterface 958s # * ------------------------------------------------------------------------ 958s # */ 958s # 958s # /** 958s # * SECTION:OrgProjectUsefulInterface 958s # * @title: OrgProjectUsefulInterface 958s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 958s # * 958s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 958s # */ 958s # 958s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 958s # { 958s # { 958s # -1, 958s # (gchar *) "arg_b", 958s # (gchar *) "b", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgMethodB", 958s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 958s # NULL, 958s # NULL 958s # }, 958s # "handle-single-arg-method-b", 958s # FALSE 958s # }; 958s # 958s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 958s # { 958s # { 958s # -1, 958s # (gchar *) "org.project.UsefulInterface", 958s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 958s # NULL, 958s # NULL, 958s # NULL 958s # }, 958s # "org-project-useful-interface", 958s # }; 958s # 958s # 958s # /** 958s # * org_project_useful_interface_interface_info: 958s # * 958s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 958s # * 958s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 958s # */ 958s # GDBusInterfaceInfo * 958s # org_project_useful_interface_interface_info (void) 958s # { 958s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_override_properties: 958s # * @klass: The class structure for a #GObject derived class. 958s # * @property_id_begin: The property id to assign to the first overridden property. 958s # * 958s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 958s # * The properties are overridden in the order they are defined. 958s # * 958s # * Returns: The last property id. 958s # */ 958s # guint 958s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 958s # { 958s # return property_id_begin - 1; 958s # } 958s # 958s # 958s # inline static void 958s # org_project_useful_interface_method_marshal_single_arg_method_b ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # 958s # /** 958s # * OrgProjectUsefulInterface: 958s # * 958s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceIface: 958s # * @parent_iface: The parent interface. 958s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 958s # * 958s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 958s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 958s # 958s # static void 958s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 958s # { 958s # /* GObject signals for incoming D-Bus method calls: */ 958s # /** 958s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: A #GDBusMethodInvocation. 958s # * @arg_arg_b: Argument passed by remote caller. 958s # * 958s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 958s # * 958s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_b() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 958s # * 958s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 958s # */ 958s # g_signal_new ("handle-single-arg-method-b", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 958s # g_signal_accumulator_true_handled, 958s # NULL, 958s # org_project_useful_interface_method_marshal_single_arg_method_b, 958s # G_TYPE_BOOLEAN, 958s # 2, 958s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 958s # 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_b: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @arg_arg_b: Argument to pass with the method invocation. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 958s # */ 958s # void 958s # org_project_useful_interface_call_single_arg_method_b ( 958s # OrgProjectUsefulInterface *proxy, 958s # gboolean arg_arg_b, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodB", 958s # g_variant_new ("(b)", 958s # arg_arg_b), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # callback, 958s # user_data); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_b_finish: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_b_finish ( 958s # OrgProjectUsefulInterface *proxy, 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "()"); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_b_sync: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @arg_arg_b: Argument to pass with the method invocation. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_b_sync ( 958s # OrgProjectUsefulInterface *proxy, 958s # gboolean arg_arg_b, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodB", 958s # g_variant_new ("(b)", 958s # arg_arg_b), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "()"); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_complete_single_arg_method_b: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: (transfer full): A #GDBusMethodInvocation. 958s # * 958s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodB() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 958s # * 958s # * This method will free @invocation, you cannot use it afterwards. 958s # */ 958s # void 958s # org_project_useful_interface_complete_single_arg_method_b ( 958s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 958s # GDBusMethodInvocation *invocation) 958s # { 958s # g_dbus_method_invocation_return_value (invocation, 958s # g_variant_new ("()")); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxy: 958s # * 958s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxyClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceProxy. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceProxyPrivate 958s # { 958s # GData *qdata; 958s # }; 958s # 958s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_proxy_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 958s # g_datalist_clear (&proxy->priv->qdata); 958s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # const GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 958s # const gchar *sender_name G_GNUC_UNUSED, 958s # const gchar *signal_name, 958s # GVariant *parameters) 958s # { 958s # _ExtendedGDBusSignalInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # gsize n; 958s # guint signal_id; 958s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 958s # if (info == NULL) 958s # return; 958s # num_params = g_variant_n_children (parameters); 958s # paramv = g_new0 (GValue, num_params + 1); 958s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[0], proxy); 958s # g_variant_iter_init (&iter, parameters); 958s # n = 1; 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_signal_emitv (paramv, signal_id, 0, NULL); 958s # for (n = 0; n < num_params + 1; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 958s # GVariant *changed_properties, 958s # const gchar *const *invalidated_properties) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 958s # guint n; 958s # const gchar *key; 958s # GVariantIter *iter; 958s # _ExtendedGDBusPropertyInfo *info; 958s # g_variant_get (changed_properties, "a{sv}", &iter); 958s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 958s # g_datalist_remove_data (&proxy->priv->qdata, key); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # g_variant_iter_free (iter); 958s # for (n = 0; invalidated_properties[n] != NULL; n++) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 958s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 958s # #else 958s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 958s # #endif 958s # 958s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusProxyClass *proxy_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 958s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 958s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 958s # 958s # proxy_class = G_DBUS_PROXY_CLASS (klass); 958s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 958s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_sync: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_sync ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new_for_bus ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_sync: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_sync ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeleton: 958s # * 958s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeletonClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 958s # { 958s # GValue *properties; 958s # GList *changed_properties; 958s # GSource *changed_properties_idle_source; 958s # GMainContext *context; 958s # GMutex lock; 958s # }; 958s # 958s # static void 958s # _org_project_useful_interface_skeleton_handle_method_call ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name, 958s # const gchar *method_name, 958s # GVariant *parameters, 958s # GDBusMethodInvocation *invocation, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # _ExtendedGDBusMethodInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # guint num_extra; 958s # gsize n; 958s # guint signal_id; 958s # GValue return_value = G_VALUE_INIT; 958s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 958s # g_assert (info != NULL); 958s # num_params = g_variant_n_children (parameters); 958s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 958s # n = 0; 958s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[n++], skeleton); 958s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 958s # g_value_set_object (¶mv[n++], invocation); 958s # if (info->pass_fdlist) 958s # { 958s # #ifdef G_OS_UNIX 958s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 958s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 958s # #else 958s # g_assert_not_reached (); 958s # #endif 958s # } 958s # g_variant_iter_init (&iter, parameters); 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_init (&return_value, G_TYPE_BOOLEAN); 958s # g_signal_emitv (paramv, signal_id, 0, &return_value); 958s # if (!g_value_get_boolean (&return_value)) 958s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 958s # g_value_unset (&return_value); 958s # for (n = 0; n < num_params + num_extra; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static GVariant * 958s # _org_project_useful_interface_skeleton_handle_get_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # GVariant *ret; 958s # ret = NULL; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # g_value_init (&value, pspec->value_type); 958s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 958s # g_value_unset (&value); 958s # } 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _org_project_useful_interface_skeleton_handle_set_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GVariant *variant, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # gboolean ret; 958s # ret = FALSE; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # if (info->use_gvariant) 958s # g_value_set_variant (&value, variant); 958s # else 958s # g_dbus_gvariant_to_gvalue (variant, &value); 958s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # g_value_unset (&value); 958s # ret = TRUE; 958s # } 958s # return ret; 958s # } 958s # 958s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 958s # { 958s # _org_project_useful_interface_skeleton_handle_method_call, 958s # _org_project_useful_interface_skeleton_handle_get_property, 958s # _org_project_useful_interface_skeleton_handle_set_property, 958s # {NULL} 958s # }; 958s # 958s # static GDBusInterfaceInfo * 958s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return org_project_useful_interface_interface_info (); 958s # } 958s # 958s # static GDBusInterfaceVTable * 958s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 958s # } 958s # 958s # static GVariant * 958s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 958s # 958s # GVariantBuilder builder; 958s # guint n; 958s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 958s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 958s # goto out; 958s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 958s # { 958s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 958s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 958s # { 958s # GVariant *value; 958s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 958s # if (value != NULL) 958s # { 958s # g_variant_take_ref (value); 958s # g_variant_builder_add (&builder, "{sv}", info->name, value); 958s # g_variant_unref (value); 958s # } 958s # } 958s # } 958s # out: 958s # return g_variant_builder_end (&builder); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_skeleton_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 958s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 958s # if (skeleton->priv->changed_properties_idle_source != NULL) 958s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 958s # g_main_context_unref (skeleton->priv->context); 958s # g_mutex_clear (&skeleton->priv->lock); 958s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 958s # #else 958s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 958s # #endif 958s # 958s # g_mutex_init (&skeleton->priv->lock); 958s # skeleton->priv->context = g_main_context_ref_thread_default (); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusInterfaceSkeletonClass *skeleton_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 958s # 958s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 958s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 958s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 958s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 958s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_skeleton_new: 958s # * 958s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_skeleton_new (void) 958s # { 958s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 958s # } 958s # /tmp/tmpqnfzcbyi/tmpho265sde.xml: 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqnfzcbyi/tmpho265sde.xml', '--output', '-', '--body'] 958s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 958s # Output: /* 958s # * This file is generated by gdbus-codegen, do not modify it. 958s # * 958s # * The license of this code is the same as for the D-Bus interface description 958s # * it was derived from. Note that it links to GLib, so must comply with the 958s # * LGPL linking clauses. 958s # */ 958s # 958s # #ifdef HAVE_CONFIG_H 958s # # include "config.h" 958s # #endif 958s # 958s # #include 958s # #ifdef G_OS_UNIX 958s # # include 958s # #endif 958s # 958s # #ifdef G_ENABLE_DEBUG 958s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 958s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 958s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 958s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 958s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 958s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 958s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 958s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 958s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 958s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 958s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 958s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 958s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 958s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 958s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 958s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 958s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 958s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 958s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 958s # #else /* !G_ENABLE_DEBUG */ 958s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 958s # * Do not access GValues directly in your code. Instead, use the 958s # * g_value_get_*() functions 958s # */ 958s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 958s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 958s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 958s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 958s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 958s # #endif /* !G_ENABLE_DEBUG */ 958s # 958s # typedef struct 958s # { 958s # GDBusArgInfo parent_struct; 958s # gboolean use_gvariant; 958s # } _ExtendedGDBusArgInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusMethodInfo parent_struct; 958s # const gchar *signal_name; 958s # gboolean pass_fdlist; 958s # } _ExtendedGDBusMethodInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusSignalInfo parent_struct; 958s # const gchar *signal_name; 958s # } _ExtendedGDBusSignalInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusPropertyInfo parent_struct; 958s # const gchar *hyphen_name; 958s # guint use_gvariant : 1; 958s # guint emits_changed_signal : 1; 958s # } _ExtendedGDBusPropertyInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusInterfaceInfo parent_struct; 958s # const gchar *hyphen_name; 958s # } _ExtendedGDBusInterfaceInfo; 958s # 958s # typedef struct 958s # { 958s # const _ExtendedGDBusPropertyInfo *info; 958s # guint prop_id; 958s # GValue orig_value; /* the value before the change */ 958s # } ChangedProperty; 958s # 958s # static void 958s # _changed_property_free (ChangedProperty *data) 958s # { 958s # g_value_unset (&data->orig_value); 958s # g_free (data); 958s # } 958s # 958s # static gboolean 958s # _g_strv_equal0 (gchar **a, gchar **b) 958s # { 958s # gboolean ret = FALSE; 958s # guint n; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # if (g_strv_length (a) != g_strv_length (b)) 958s # goto out; 958s # for (n = 0; a[n] != NULL; n++) 958s # if (g_strcmp0 (a[n], b[n]) != 0) 958s # goto out; 958s # ret = TRUE; 958s # out: 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _g_variant_equal0 (GVariant *a, GVariant *b) 958s # { 958s # gboolean ret = FALSE; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # ret = g_variant_equal (a, b); 958s # out: 958s # return ret; 958s # } 958s # 958s # G_GNUC_UNUSED static gboolean 958s # _g_value_equal (const GValue *a, const GValue *b) 958s # { 958s # gboolean ret = FALSE; 958s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 958s # switch (G_VALUE_TYPE (a)) 958s # { 958s # case G_TYPE_BOOLEAN: 958s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 958s # break; 958s # case G_TYPE_UCHAR: 958s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 958s # break; 958s # case G_TYPE_INT: 958s # ret = (g_value_get_int (a) == g_value_get_int (b)); 958s # break; 958s # case G_TYPE_UINT: 958s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 958s # break; 958s # case G_TYPE_INT64: 958s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 958s # break; 958s # case G_TYPE_UINT64: 958s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 958s # break; 958s # case G_TYPE_DOUBLE: 958s # { 958s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 958s # gdouble da = g_value_get_double (a); 958s # gdouble db = g_value_get_double (b); 958s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 958s # } 958s # break; 958s # case G_TYPE_STRING: 958s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 958s # break; 958s # case G_TYPE_VARIANT: 958s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 958s # break; 958s # default: 958s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 958s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 958s # else 958s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 958s # break; 958s # } 958s # return ret; 958s # } 958s # 958s # static void 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint G_GNUC_UNUSED, 958s # void *marshal_data) 958s # { 958s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 958s # (void *data1, 958s # GDBusMethodInvocation *arg_method_invocation, 958s # guchar arg_arg_y, 958s # void *data2); 958s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 958s # GCClosure *cc = (GCClosure*) closure; 958s # void *data1, *data2; 958s # gboolean v_return; 958s # 958s # g_return_if_fail (return_value != NULL); 958s # g_return_if_fail (n_param_values == 3); 958s # 958s # if (G_CCLOSURE_SWAP_DATA (closure)) 958s # { 958s # data1 = closure->data; 958s # data2 = g_value_peek_pointer (param_values + 0); 958s # } 958s # else 958s # { 958s # data1 = g_value_peek_pointer (param_values + 0); 958s # data2 = closure->data; 958s # } 958s # 958s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 958s # (marshal_data ? marshal_data : cc->callback); 958s # 958s # v_return = 958s # callback (data1, 958s # g_marshal_value_peek_object (param_values + 1), 958s # g_marshal_value_peek_uchar (param_values + 2), 958s # data2); 958s # 958s # g_value_set_boolean (return_value, v_return); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ 958s # * Code for interface org.project.UsefulInterface 958s # * ------------------------------------------------------------------------ 958s # */ 958s # 958s # /** 958s # * SECTION:OrgProjectUsefulInterface 958s # * @title: OrgProjectUsefulInterface 958s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 958s # * 958s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 958s # */ 958s # 958s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 958s # { 958s # { 958s # -1, 958s # (gchar *) "arg_y", 958s # (gchar *) "y", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgMethodY", 958s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 958s # NULL, 958s # NULL 958s # }, 958s # "handle-single-arg-method-y", 958s # FALSE 958s # }; 958s # 958s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 958s # { 958s # { 958s # -1, 958s # (gchar *) "org.project.UsefulInterface", 958s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 958s # NULL, 958s # NULL, 958s # NULL 958s # }, 958s # "org-project-useful-interface", 958s # }; 958s # 958s # 958s # /** 958s # * org_project_useful_interface_interface_info: 958s # * 958s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 958s # * 958s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 958s # */ 958s # GDBusInterfaceInfo * 958s # org_project_useful_interface_interface_info (void) 958s # { 958s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_override_properties: 958s # * @klass: The class structure for a #GObject derived class. 958s # * @property_id_begin: The property id to assign to the first overridden property. 958s # * 958s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 958s # * The properties are overridden in the order they are defined. 958s # * 958s # * Returns: The last property id. 958s # */ 958s # guint 958s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 958s # { 958s # return property_id_begin - 1; 958s # } 958s # 958s # 958s # inline static void 958s # org_project_useful_interface_method_marshal_single_arg_method_y ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # 958s # /** 958s # * OrgProjectUsefulInterface: 958s # * 958s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceIface: 958s # * @parent_iface: The parent interface. 958s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 958s # * 958s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 958s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 958s # 958s # static void 958s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 958s # { 958s # /* GObject signals for incoming D-Bus method calls: */ 958s # /** 958s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: A #GDBusMethodInvocation. 958s # * @arg_arg_y: Argument passed by remote caller. 958s # * 958s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 958s # * 958s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_y() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 958s # * 958s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 958s # */ 958s # g_signal_new ("handle-single-arg-method-y", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 958s # g_signal_accumulator_true_handled, 958s # NULL, 958s # org_project_useful_interface_method_marshal_single_arg_method_y, 958s # G_TYPE_BOOLEAN, 958s # 2, 958s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 958s # 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_y: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @arg_arg_y: Argument to pass with the method invocation. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 958s # */ 958s # void 958s # org_project_useful_interface_call_single_arg_method_y ( 958s # OrgProjectUsefulInterface *proxy, 958s # guchar arg_arg_y, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodY", 958s # g_variant_new ("(y)", 958s # arg_arg_y), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # callback, 958s # user_data); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_y_finish: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_y_finish ( 958s # OrgProjectUsefulInterface *proxy, 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "()"); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_y_sync: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @arg_arg_y: Argument to pass with the method invocation. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_y_sync ( 958s # OrgProjectUsefulInterface *proxy, 958s # guchar arg_arg_y, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodY", 958s # g_variant_new ("(y)", 958s # arg_arg_y), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "()"); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_complete_single_arg_method_y: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: (transfer full): A #GDBusMethodInvocation. 958s # * 958s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodY() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 958s # * 958s # * This method will free @invocation, you cannot use it afterwards. 958s # */ 958s # void 958s # org_project_useful_interface_complete_single_arg_method_y ( 958s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 958s # GDBusMethodInvocation *invocation) 958s # { 958s # g_dbus_method_invocation_return_value (invocation, 958s # g_variant_new ("()")); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxy: 958s # * 958s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxyClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceProxy. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceProxyPrivate 958s # { 958s # GData *qdata; 958s # }; 958s # 958s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_proxy_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 958s # g_datalist_clear (&proxy->priv->qdata); 958s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # const GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 958s # const gchar *sender_name G_GNUC_UNUSED, 958s # const gchar *signal_name, 958s # GVariant *parameters) 958s # { 958s # _ExtendedGDBusSignalInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # gsize n; 958s # guint signal_id; 958s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 958s # if (info == NULL) 958s # return; 958s # num_params = g_variant_n_children (parameters); 958s # paramv = g_new0 (GValue, num_params + 1); 958s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[0], proxy); 958s # g_variant_iter_init (&iter, parameters); 958s # n = 1; 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_signal_emitv (paramv, signal_id, 0, NULL); 958s # for (n = 0; n < num_params + 1; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 958s # GVariant *changed_properties, 958s # const gchar *const *invalidated_properties) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 958s # guint n; 958s # const gchar *key; 958s # GVariantIter *iter; 958s # _ExtendedGDBusPropertyInfo *info; 958s # g_variant_get (changed_properties, "a{sv}", &iter); 958s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 958s # g_datalist_remove_data (&proxy->priv->qdata, key); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # g_variant_iter_free (iter); 958s # for (n = 0; invalidated_properties[n] != NULL; n++) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 958s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 958s # #else 958s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 958s # #endif 958s # 958s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusProxyClass *proxy_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 958s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 958s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 958s # 958s # proxy_class = G_DBUS_PROXY_CLASS (klass); 958s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 958s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_sync: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_sync ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new_for_bus ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_sync: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_sync ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeleton: 958s # * 958s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeletonClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 958s # { 958s # GValue *properties; 958s # GList *changed_properties; 958s # GSource *changed_properties_idle_source; 958s # GMainContext *context; 958s # GMutex lock; 958s # }; 958s # 958s # static void 958s # _org_project_useful_interface_skeleton_handle_method_call ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name, 958s # const gchar *method_name, 958s # GVariant *parameters, 958s # GDBusMethodInvocation *invocation, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # _ExtendedGDBusMethodInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # guint num_extra; 958s # gsize n; 958s # guint signal_id; 958s # GValue return_value = G_VALUE_INIT; 958s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 958s # g_assert (info != NULL); 958s # num_params = g_variant_n_children (parameters); 958s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 958s # n = 0; 958s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[n++], skeleton); 958s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 958s # g_value_set_object (¶mv[n++], invocation); 958s # if (info->pass_fdlist) 958s # { 958s # #ifdef G_OS_UNIX 958s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 958s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 958s # #else 958s # g_assert_not_reached (); 958s # #endif 958s # } 958s # g_variant_iter_init (&iter, parameters); 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_init (&return_value, G_TYPE_BOOLEAN); 958s # g_signal_emitv (paramv, signal_id, 0, &return_value); 958s # if (!g_value_get_boolean (&return_value)) 958s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 958s # g_value_unset (&return_value); 958s # for (n = 0; n < num_params + num_extra; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static GVariant * 958s # _org_project_useful_interface_skeleton_handle_get_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # GVariant *ret; 958s # ret = NULL; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # g_value_init (&value, pspec->value_type); 958s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 958s # g_value_unset (&value); 958s # } 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _org_project_useful_interface_skeleton_handle_set_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GVariant *variant, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # gboolean ret; 958s # ret = FALSE; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # if (info->use_gvariant) 958s # g_value_set_variant (&value, variant); 958s # else 958s # g_dbus_gvariant_to_gvalue (variant, &value); 958s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # g_value_unset (&value); 958s # ret = TRUE; 958s # } 958s # return ret; 958s # } 958s # 958s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 958s # { 958s # _org_project_useful_interface_skeleton_handle_method_call, 958s # _org_project_useful_interface_skeleton_handle_get_property, 958s # _org_project_useful_interface_skeleton_handle_set_property, 958s # {NULL} 958s # }; 958s # 958s # static GDBusInterfaceInfo * 958s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return org_project_useful_interface_interface_info (); 958s # } 958s # 958s # static GDBusInterfaceVTable * 958s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 958s # } 958s # 958s # static GVariant * 958s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 958s # 958s # GVariantBuilder builder; 958s # guint n; 958s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 958s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 958s # goto out; 958s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 958s # { 958s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 958s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 958s # { 958s # GVariant *value; 958s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 958s # if (value != NULL) 958s # { 958s # g_variant_take_ref (value); 958s # g_variant_builder_add (&builder, "{sv}", info->name, value); 958s # g_variant_unref (value); 958s # } 958s # } 958s # } 958s # out: 958s # return g_variant_builder_end (&builder); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_skeleton_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 958s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 958s # if (skeleton->priv->changed_properties_idle_source != NULL) 958s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 958s # g_main_context_unref (skeleton->priv->context); 958s # g_mutex_clear (&skeleton->priv->lock); 958s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 958s # #else 958s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 958s # #endif 958s # 958s # g_mutex_init (&skeleton->priv->lock); 958s # skeleton->priv->context = g_main_context_ref_thread_default (); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusInterfaceSkeletonClass *skeleton_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 958s # 958s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 958s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 958s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 958s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 958s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_skeleton_new: 958s # * 958s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_skeleton_new (void) 958s # { 958s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 958s # } 958s # /tmp/tmpqnfzcbyi/tmpobd4c669.xml: 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqnfzcbyi/tmpobd4c669.xml', '--output', '-', '--body'] 958s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 958s # Output: /* 958s # * This file is generated by gdbus-codegen, do not modify it. 958s # * 958s # * The license of this code is the same as for the D-Bus interface description 958s # * it was derived from. Note that it links to GLib, so must comply with the 958s # * LGPL linking clauses. 958s # */ 958s # 958s # #ifdef HAVE_CONFIG_H 958s # # include "config.h" 958s # #endif 958s # 958s # #include 958s # #ifdef G_OS_UNIX 958s # # include 958s # #endif 958s # 958s # #ifdef G_ENABLE_DEBUG 958s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 958s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 958s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 958s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 958s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 958s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 958s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 958s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 958s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 958s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 958s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 958s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 958s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 958s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 958s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 958s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 958s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 958s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 958s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 958s # #else /* !G_ENABLE_DEBUG */ 958s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 958s # * Do not access GValues directly in your code. Instead, use the 958s # * g_value_get_*() functions 958s # */ 958s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 958s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 958s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 958s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 958s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 958s # #endif /* !G_ENABLE_DEBUG */ 958s # 958s # typedef struct 958s # { 958s # GDBusArgInfo parent_struct; 958s # gboolean use_gvariant; 958s # } _ExtendedGDBusArgInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusMethodInfo parent_struct; 958s # const gchar *signal_name; 958s # gboolean pass_fdlist; 958s # } _ExtendedGDBusMethodInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusSignalInfo parent_struct; 958s # const gchar *signal_name; 958s # } _ExtendedGDBusSignalInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusPropertyInfo parent_struct; 958s # const gchar *hyphen_name; 958s # guint use_gvariant : 1; 958s # guint emits_changed_signal : 1; 958s # } _ExtendedGDBusPropertyInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusInterfaceInfo parent_struct; 958s # const gchar *hyphen_name; 958s # } _ExtendedGDBusInterfaceInfo; 958s # 958s # typedef struct 958s # { 958s # const _ExtendedGDBusPropertyInfo *info; 958s # guint prop_id; 958s # GValue orig_value; /* the value before the change */ 958s # } ChangedProperty; 958s # 958s # static void 958s # _changed_property_free (ChangedProperty *data) 958s # { 958s # g_value_unset (&data->orig_value); 958s # g_free (data); 958s # } 958s # 958s # static gboolean 958s # _g_strv_equal0 (gchar **a, gchar **b) 958s # { 958s # gboolean ret = FALSE; 958s # guint n; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # if (g_strv_length (a) != g_strv_length (b)) 958s # goto out; 958s # for (n = 0; a[n] != NULL; n++) 958s # if (g_strcmp0 (a[n], b[n]) != 0) 958s # goto out; 958s # ret = TRUE; 958s # out: 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _g_variant_equal0 (GVariant *a, GVariant *b) 958s # { 958s # gboolean ret = FALSE; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # ret = g_variant_equal (a, b); 958s # out: 958s # return ret; 958s # } 958s # 958s # G_GNUC_UNUSED static gboolean 958s # _g_value_equal (const GValue *a, const GValue *b) 958s # { 958s # gboolean ret = FALSE; 958s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 958s # switch (G_VALUE_TYPE (a)) 958s # { 958s # case G_TYPE_BOOLEAN: 958s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 958s # break; 958s # case G_TYPE_UCHAR: 958s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 958s # break; 958s # case G_TYPE_INT: 958s # ret = (g_value_get_int (a) == g_value_get_int (b)); 958s # break; 958s # case G_TYPE_UINT: 958s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 958s # break; 958s # case G_TYPE_INT64: 958s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 958s # break; 958s # case G_TYPE_UINT64: 958s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 958s # break; 958s # case G_TYPE_DOUBLE: 958s # { 958s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 958s # gdouble da = g_value_get_double (a); 958s # gdouble db = g_value_get_double (b); 958s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 958s # } 958s # break; 958s # case G_TYPE_STRING: 958s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 958s # break; 958s # case G_TYPE_VARIANT: 958s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 958s # break; 958s # default: 958s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 958s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 958s # else 958s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 958s # break; 958s # } 958s # return ret; 958s # } 958s # 958s # static void 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint G_GNUC_UNUSED, 958s # void *marshal_data) 958s # { 958s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 958s # (void *data1, 958s # GDBusMethodInvocation *arg_method_invocation, 958s # gint16 arg_arg_n, 958s # void *data2); 958s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 958s # GCClosure *cc = (GCClosure*) closure; 958s # void *data1, *data2; 958s # gboolean v_return; 958s # 958s # g_return_if_fail (return_value != NULL); 958s # g_return_if_fail (n_param_values == 3); 958s # 958s # if (G_CCLOSURE_SWAP_DATA (closure)) 958s # { 958s # data1 = closure->data; 958s # data2 = g_value_peek_pointer (param_values + 0); 958s # } 958s # else 958s # { 958s # data1 = g_value_peek_pointer (param_values + 0); 958s # data2 = closure->data; 958s # } 958s # 958s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 958s # (marshal_data ? marshal_data : cc->callback); 958s # 958s # v_return = 958s # callback (data1, 958s # g_marshal_value_peek_object (param_values + 1), 958s # g_marshal_value_peek_int (param_values + 2), 958s # data2); 958s # 958s # g_value_set_boolean (return_value, v_return); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ 958s # * Code for interface org.project.UsefulInterface 958s # * ------------------------------------------------------------------------ 958s # */ 958s # 958s # /** 958s # * SECTION:OrgProjectUsefulInterface 958s # * @title: OrgProjectUsefulInterface 958s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 958s # * 958s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 958s # */ 958s # 958s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 958s # { 958s # { 958s # -1, 958s # (gchar *) "arg_n", 958s # (gchar *) "n", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgMethodN", 958s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 958s # NULL, 958s # NULL 958s # }, 958s # "handle-single-arg-method-n", 958s # FALSE 958s # }; 958s # 958s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 958s # { 958s # { 958s # -1, 958s # (gchar *) "org.project.UsefulInterface", 958s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 958s # NULL, 958s # NULL, 958s # NULL 958s # }, 958s # "org-project-useful-interface", 958s # }; 958s # 958s # 958s # /** 958s # * org_project_useful_interface_interface_info: 958s # * 958s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 958s # * 958s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 958s # */ 958s # GDBusInterfaceInfo * 958s # org_project_useful_interface_interface_info (void) 958s # { 958s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_override_properties: 958s # * @klass: The class structure for a #GObject derived class. 958s # * @property_id_begin: The property id to assign to the first overridden property. 958s # * 958s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 958s # * The properties are overridden in the order they are defined. 958s # * 958s # * Returns: The last property id. 958s # */ 958s # guint 958s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 958s # { 958s # return property_id_begin - 1; 958s # } 958s # 958s # 958s # inline static void 958s # org_project_useful_interface_method_marshal_single_arg_method_n ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # 958s # /** 958s # * OrgProjectUsefulInterface: 958s # * 958s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceIface: 958s # * @parent_iface: The parent interface. 958s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 958s # * 958s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 958s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 958s # 958s # static void 958s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 958s # { 958s # /* GObject signals for incoming D-Bus method calls: */ 958s # /** 958s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: A #GDBusMethodInvocation. 958s # * @arg_arg_n: Argument passed by remote caller. 958s # * 958s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 958s # * 958s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_n() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 958s # * 958s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 958s # */ 958s # g_signal_new ("handle-single-arg-method-n", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 958s # g_signal_accumulator_true_handled, 958s # NULL, 958s # org_project_useful_interface_method_marshal_single_arg_method_n, 958s # G_TYPE_BOOLEAN, 958s # 2, 958s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 958s # 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_n: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @arg_arg_n: Argument to pass with the method invocation. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 958s # */ 958s # void 958s # org_project_useful_interface_call_single_arg_method_n ( 958s # OrgProjectUsefulInterface *proxy, 958s # gint16 arg_arg_n, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodN", 958s # g_variant_new ("(n)", 958s # arg_arg_n), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # callback, 958s # user_data); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_n_finish: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_n_finish ( 958s # OrgProjectUsefulInterface *proxy, 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "()"); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_n_sync: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @arg_arg_n: Argument to pass with the method invocation. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_n_sync ( 958s # OrgProjectUsefulInterface *proxy, 958s # gint16 arg_arg_n, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodN", 958s # g_variant_new ("(n)", 958s # arg_arg_n), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "()"); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_complete_single_arg_method_n: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: (transfer full): A #GDBusMethodInvocation. 958s # * 958s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodN() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 958s # * 958s # * This method will free @invocation, you cannot use it afterwards. 958s # */ 958s # void 958s # org_project_useful_interface_complete_single_arg_method_n ( 958s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 958s # GDBusMethodInvocation *invocation) 958s # { 958s # g_dbus_method_invocation_return_value (invocation, 958s # g_variant_new ("()")); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxy: 958s # * 958s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxyClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceProxy. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceProxyPrivate 958s # { 958s # GData *qdata; 958s # }; 958s # 958s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_proxy_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 958s # g_datalist_clear (&proxy->priv->qdata); 958s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # const GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 958s # const gchar *sender_name G_GNUC_UNUSED, 958s # const gchar *signal_name, 958s # GVariant *parameters) 958s # { 958s # _ExtendedGDBusSignalInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # gsize n; 958s # guint signal_id; 958s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 958s # if (info == NULL) 958s # return; 958s # num_params = g_variant_n_children (parameters); 958s # paramv = g_new0 (GValue, num_params + 1); 958s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[0], proxy); 958s # g_variant_iter_init (&iter, parameters); 958s # n = 1; 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_signal_emitv (paramv, signal_id, 0, NULL); 958s # for (n = 0; n < num_params + 1; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 958s # GVariant *changed_properties, 958s # const gchar *const *invalidated_properties) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 958s # guint n; 958s # const gchar *key; 958s # GVariantIter *iter; 958s # _ExtendedGDBusPropertyInfo *info; 958s # g_variant_get (changed_properties, "a{sv}", &iter); 958s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 958s # g_datalist_remove_data (&proxy->priv->qdata, key); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # g_variant_iter_free (iter); 958s # for (n = 0; invalidated_properties[n] != NULL; n++) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 958s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 958s # #else 958s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 958s # #endif 958s # 958s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusProxyClass *proxy_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 958s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 958s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 958s # 958s # proxy_class = G_DBUS_PROXY_CLASS (klass); 958s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 958s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_sync: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_sync ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new_for_bus ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_sync: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_sync ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeleton: 958s # * 958s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeletonClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 958s # { 958s # GValue *properties; 958s # GList *changed_properties; 958s # GSource *changed_properties_idle_source; 958s # GMainContext *context; 958s # GMutex lock; 958s # }; 958s # 958s # static void 958s # _org_project_useful_interface_skeleton_handle_method_call ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name, 958s # const gchar *method_name, 958s # GVariant *parameters, 958s # GDBusMethodInvocation *invocation, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # _ExtendedGDBusMethodInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # guint num_extra; 958s # gsize n; 958s # guint signal_id; 958s # GValue return_value = G_VALUE_INIT; 958s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 958s # g_assert (info != NULL); 958s # num_params = g_variant_n_children (parameters); 958s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 958s # n = 0; 958s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[n++], skeleton); 958s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 958s # g_value_set_object (¶mv[n++], invocation); 958s # if (info->pass_fdlist) 958s # { 958s # #ifdef G_OS_UNIX 958s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 958s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 958s # #else 958s # g_assert_not_reached (); 958s # #endif 958s # } 958s # g_variant_iter_init (&iter, parameters); 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_init (&return_value, G_TYPE_BOOLEAN); 958s # g_signal_emitv (paramv, signal_id, 0, &return_value); 958s # if (!g_value_get_boolean (&return_value)) 958s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 958s # g_value_unset (&return_value); 958s # for (n = 0; n < num_params + num_extra; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static GVariant * 958s # _org_project_useful_interface_skeleton_handle_get_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # GVariant *ret; 958s # ret = NULL; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # g_value_init (&value, pspec->value_type); 958s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 958s # g_value_unset (&value); 958s # } 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _org_project_useful_interface_skeleton_handle_set_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GVariant *variant, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # gboolean ret; 958s # ret = FALSE; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # if (info->use_gvariant) 958s # g_value_set_variant (&value, variant); 958s # else 958s # g_dbus_gvariant_to_gvalue (variant, &value); 958s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # g_value_unset (&value); 958s # ret = TRUE; 958s # } 958s # return ret; 958s # } 958s # 958s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 958s # { 958s # _org_project_useful_interface_skeleton_handle_method_call, 958s # _org_project_useful_interface_skeleton_handle_get_property, 958s # _org_project_useful_interface_skeleton_handle_set_property, 958s # {NULL} 958s # }; 958s # 958s # static GDBusInterfaceInfo * 958s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return org_project_useful_interface_interface_info (); 958s # } 958s # 958s # static GDBusInterfaceVTable * 958s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 958s # } 958s # 958s # static GVariant * 958s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 958s # 958s # GVariantBuilder builder; 958s # guint n; 958s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 958s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 958s # goto out; 958s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 958s # { 958s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 958s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 958s # { 958s # GVariant *value; 958s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 958s # if (value != NULL) 958s # { 958s # g_variant_take_ref (value); 958s # g_variant_builder_add (&builder, "{sv}", info->name, value); 958s # g_variant_unref (value); 958s # } 958s # } 958s # } 958s # out: 958s # return g_variant_builder_end (&builder); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_skeleton_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 958s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 958s # if (skeleton->priv->changed_properties_idle_source != NULL) 958s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 958s # g_main_context_unref (skeleton->priv->context); 958s # g_mutex_clear (&skeleton->priv->lock); 958s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 958s # #else 958s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 958s # #endif 958s # 958s # g_mutex_init (&skeleton->priv->lock); 958s # skeleton->priv->context = g_main_context_ref_thread_default (); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusInterfaceSkeletonClass *skeleton_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 958s # 958s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 958s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 958s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 958s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 958s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_skeleton_new: 958s # * 958s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_skeleton_new (void) 958s # { 958s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 958s # } 958s # /tmp/tmpqnfzcbyi/tmptihhw20u.xml: 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqnfzcbyi/tmptihhw20u.xml', '--output', '-', '--body'] 958s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 958s # Output: /* 958s # * This file is generated by gdbus-codegen, do not modify it. 958s # * 958s # * The license of this code is the same as for the D-Bus interface description 958s # * it was derived from. Note that it links to GLib, so must comply with the 958s # * LGPL linking clauses. 958s # */ 958s # 958s # #ifdef HAVE_CONFIG_H 958s # # include "config.h" 958s # #endif 958s # 958s # #include 958s # #ifdef G_OS_UNIX 958s # # include 958s # #endif 958s # 958s # #ifdef G_ENABLE_DEBUG 958s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 958s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 958s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 958s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 958s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 958s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 958s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 958s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 958s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 958s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 958s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 958s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 958s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 958s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 958s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 958s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 958s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 958s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 958s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 958s # #else /* !G_ENABLE_DEBUG */ 958s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 958s # * Do not access GValues directly in your code. Instead, use the 958s # * g_value_get_*() functions 958s # */ 958s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 958s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 958s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 958s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 958s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 958s # #endif /* !G_ENABLE_DEBUG */ 958s # 958s # typedef struct 958s # { 958s # GDBusArgInfo parent_struct; 958s # gboolean use_gvariant; 958s # } _ExtendedGDBusArgInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusMethodInfo parent_struct; 958s # const gchar *signal_name; 958s # gboolean pass_fdlist; 958s # } _ExtendedGDBusMethodInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusSignalInfo parent_struct; 958s # const gchar *signal_name; 958s # } _ExtendedGDBusSignalInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusPropertyInfo parent_struct; 958s # const gchar *hyphen_name; 958s # guint use_gvariant : 1; 958s # guint emits_changed_signal : 1; 958s # } _ExtendedGDBusPropertyInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusInterfaceInfo parent_struct; 958s # const gchar *hyphen_name; 958s # } _ExtendedGDBusInterfaceInfo; 958s # 958s # typedef struct 958s # { 958s # const _ExtendedGDBusPropertyInfo *info; 958s # guint prop_id; 958s # GValue orig_value; /* the value before the change */ 958s # } ChangedProperty; 958s # 958s # static void 958s # _changed_property_free (ChangedProperty *data) 958s # { 958s # g_value_unset (&data->orig_value); 958s # g_free (data); 958s # } 958s # 958s # static gboolean 958s # _g_strv_equal0 (gchar **a, gchar **b) 958s # { 958s # gboolean ret = FALSE; 958s # guint n; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # if (g_strv_length (a) != g_strv_length (b)) 958s # goto out; 958s # for (n = 0; a[n] != NULL; n++) 958s # if (g_strcmp0 (a[n], b[n]) != 0) 958s # goto out; 958s # ret = TRUE; 958s # out: 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _g_variant_equal0 (GVariant *a, GVariant *b) 958s # { 958s # gboolean ret = FALSE; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # ret = g_variant_equal (a, b); 958s # out: 958s # return ret; 958s # } 958s # 958s # G_GNUC_UNUSED static gboolean 958s # _g_value_equal (const GValue *a, const GValue *b) 958s # { 958s # gboolean ret = FALSE; 958s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 958s # switch (G_VALUE_TYPE (a)) 958s # { 958s # case G_TYPE_BOOLEAN: 958s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 958s # break; 958s # case G_TYPE_UCHAR: 958s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 958s # break; 958s # case G_TYPE_INT: 958s # ret = (g_value_get_int (a) == g_value_get_int (b)); 958s # break; 958s # case G_TYPE_UINT: 958s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 958s # break; 958s # case G_TYPE_INT64: 958s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 958s # break; 958s # case G_TYPE_UINT64: 958s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 958s # break; 958s # case G_TYPE_DOUBLE: 958s # { 958s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 958s # gdouble da = g_value_get_double (a); 958s # gdouble db = g_value_get_double (b); 958s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 958s # } 958s # break; 958s # case G_TYPE_STRING: 958s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 958s # break; 958s # case G_TYPE_VARIANT: 958s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 958s # break; 958s # default: 958s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 958s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 958s # else 958s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 958s # break; 958s # } 958s # return ret; 958s # } 958s # 958s # static void 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint G_GNUC_UNUSED, 958s # void *marshal_data) 958s # { 958s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 958s # (void *data1, 958s # GDBusMethodInvocation *arg_method_invocation, 958s # guint16 arg_arg_q, 958s # void *data2); 958s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 958s # GCClosure *cc = (GCClosure*) closure; 958s # void *data1, *data2; 958s # gboolean v_return; 958s # 958s # g_return_if_fail (return_value != NULL); 958s # g_return_if_fail (n_param_values == 3); 958s # 958s # if (G_CCLOSURE_SWAP_DATA (closure)) 958s # { 958s # data1 = closure->data; 958s # data2 = g_value_peek_pointer (param_values + 0); 958s # } 958s # else 958s # { 958s # data1 = g_value_peek_pointer (param_values + 0); 958s # data2 = closure->data; 958s # } 958s # 958s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 958s # (marshal_data ? marshal_data : cc->callback); 958s # 958s # v_return = 958s # callback (data1, 958s # g_marshal_value_peek_object (param_values + 1), 958s # g_marshal_value_peek_uint (param_values + 2), 958s # data2); 958s # 958s # g_value_set_boolean (return_value, v_return); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ 958s # * Code for interface org.project.UsefulInterface 958s # * ------------------------------------------------------------------------ 958s # */ 958s # 958s # /** 958s # * SECTION:OrgProjectUsefulInterface 958s # * @title: OrgProjectUsefulInterface 958s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 958s # * 958s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 958s # */ 958s # 958s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 958s # { 958s # { 958s # -1, 958s # (gchar *) "arg_q", 958s # (gchar *) "q", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgMethodQ", 958s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 958s # NULL, 958s # NULL 958s # }, 958s # "handle-single-arg-method-q", 958s # FALSE 958s # }; 958s # 958s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 958s # { 958s # { 958s # -1, 958s # (gchar *) "org.project.UsefulInterface", 958s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 958s # NULL, 958s # NULL, 958s # NULL 958s # }, 958s # "org-project-useful-interface", 958s # }; 958s # 958s # 958s # /** 958s # * org_project_useful_interface_interface_info: 958s # * 958s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 958s # * 958s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 958s # */ 958s # GDBusInterfaceInfo * 958s # org_project_useful_interface_interface_info (void) 958s # { 958s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_override_properties: 958s # * @klass: The class structure for a #GObject derived class. 958s # * @property_id_begin: The property id to assign to the first overridden property. 958s # * 958s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 958s # * The properties are overridden in the order they are defined. 958s # * 958s # * Returns: The last property id. 958s # */ 958s # guint 958s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 958s # { 958s # return property_id_begin - 1; 958s # } 958s # 958s # 958s # inline static void 958s # org_project_useful_interface_method_marshal_single_arg_method_q ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # 958s # /** 958s # * OrgProjectUsefulInterface: 958s # * 958s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceIface: 958s # * @parent_iface: The parent interface. 958s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 958s # * 958s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 958s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 958s # 958s # static void 958s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 958s # { 958s # /* GObject signals for incoming D-Bus method calls: */ 958s # /** 958s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: A #GDBusMethodInvocation. 958s # * @arg_arg_q: Argument passed by remote caller. 958s # * 958s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 958s # * 958s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_q() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 958s # * 958s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 958s # */ 958s # g_signal_new ("handle-single-arg-method-q", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 958s # g_signal_accumulator_true_handled, 958s # NULL, 958s # org_project_useful_interface_method_marshal_single_arg_method_q, 958s # G_TYPE_BOOLEAN, 958s # 2, 958s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 958s # 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_q: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @arg_arg_q: Argument to pass with the method invocation. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 958s # */ 958s # void 958s # org_project_useful_interface_call_single_arg_method_q ( 958s # OrgProjectUsefulInterface *proxy, 958s # guint16 arg_arg_q, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodQ", 958s # g_variant_new ("(q)", 958s # arg_arg_q), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # callback, 958s # user_data); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_q_finish: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_q_finish ( 958s # OrgProjectUsefulInterface *proxy, 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "()"); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_q_sync: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @arg_arg_q: Argument to pass with the method invocation. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_q_sync ( 958s # OrgProjectUsefulInterface *proxy, 958s # guint16 arg_arg_q, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodQ", 958s # g_variant_new ("(q)", 958s # arg_arg_q), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "()"); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_complete_single_arg_method_q: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: (transfer full): A #GDBusMethodInvocation. 958s # * 958s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodQ() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 958s # * 958s # * This method will free @invocation, you cannot use it afterwards. 958s # */ 958s # void 958s # org_project_useful_interface_complete_single_arg_method_q ( 958s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 958s # GDBusMethodInvocation *invocation) 958s # { 958s # g_dbus_method_invocation_return_value (invocation, 958s # g_variant_new ("()")); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxy: 958s # * 958s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxyClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceProxy. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceProxyPrivate 958s # { 958s # GData *qdata; 958s # }; 958s # 958s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_proxy_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 958s # g_datalist_clear (&proxy->priv->qdata); 958s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # const GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 958s # const gchar *sender_name G_GNUC_UNUSED, 958s # const gchar *signal_name, 958s # GVariant *parameters) 958s # { 958s # _ExtendedGDBusSignalInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # gsize n; 958s # guint signal_id; 958s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 958s # if (info == NULL) 958s # return; 958s # num_params = g_variant_n_children (parameters); 958s # paramv = g_new0 (GValue, num_params + 1); 958s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[0], proxy); 958s # g_variant_iter_init (&iter, parameters); 958s # n = 1; 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_signal_emitv (paramv, signal_id, 0, NULL); 958s # for (n = 0; n < num_params + 1; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 958s # GVariant *changed_properties, 958s # const gchar *const *invalidated_properties) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 958s # guint n; 958s # const gchar *key; 958s # GVariantIter *iter; 958s # _ExtendedGDBusPropertyInfo *info; 958s # g_variant_get (changed_properties, "a{sv}", &iter); 958s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 958s # g_datalist_remove_data (&proxy->priv->qdata, key); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # g_variant_iter_free (iter); 958s # for (n = 0; invalidated_properties[n] != NULL; n++) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 958s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 958s # #else 958s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 958s # #endif 958s # 958s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusProxyClass *proxy_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 958s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 958s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 958s # 958s # proxy_class = G_DBUS_PROXY_CLASS (klass); 958s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 958s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_sync: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_sync ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new_for_bus ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_sync: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_sync ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeleton: 958s # * 958s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeletonClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 958s # { 958s # GValue *properties; 958s # GList *changed_properties; 958s # GSource *changed_properties_idle_source; 958s # GMainContext *context; 958s # GMutex lock; 958s # }; 958s # 958s # static void 958s # _org_project_useful_interface_skeleton_handle_method_call ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name, 958s # const gchar *method_name, 958s # GVariant *parameters, 958s # GDBusMethodInvocation *invocation, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # _ExtendedGDBusMethodInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # guint num_extra; 958s # gsize n; 958s # guint signal_id; 958s # GValue return_value = G_VALUE_INIT; 958s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 958s # g_assert (info != NULL); 958s # num_params = g_variant_n_children (parameters); 958s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 958s # n = 0; 958s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[n++], skeleton); 958s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 958s # g_value_set_object (¶mv[n++], invocation); 958s # if (info->pass_fdlist) 958s # { 958s # #ifdef G_OS_UNIX 958s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 958s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 958s # #else 958s # g_assert_not_reached (); 958s # #endif 958s # } 958s # g_variant_iter_init (&iter, parameters); 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_init (&return_value, G_TYPE_BOOLEAN); 958s # g_signal_emitv (paramv, signal_id, 0, &return_value); 958s # if (!g_value_get_boolean (&return_value)) 958s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 958s # g_value_unset (&return_value); 958s # for (n = 0; n < num_params + num_extra; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static GVariant * 958s # _org_project_useful_interface_skeleton_handle_get_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # GVariant *ret; 958s # ret = NULL; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # g_value_init (&value, pspec->value_type); 958s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 958s # g_value_unset (&value); 958s # } 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _org_project_useful_interface_skeleton_handle_set_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GVariant *variant, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # gboolean ret; 958s # ret = FALSE; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # if (info->use_gvariant) 958s # g_value_set_variant (&value, variant); 958s # else 958s # g_dbus_gvariant_to_gvalue (variant, &value); 958s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # g_value_unset (&value); 958s # ret = TRUE; 958s # } 958s # return ret; 958s # } 958s # 958s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 958s # { 958s # _org_project_useful_interface_skeleton_handle_method_call, 958s # _org_project_useful_interface_skeleton_handle_get_property, 958s # _org_project_useful_interface_skeleton_handle_set_property, 958s # {NULL} 958s # }; 958s # 958s # static GDBusInterfaceInfo * 958s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return org_project_useful_interface_interface_info (); 958s # } 958s # 958s # static GDBusInterfaceVTable * 958s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 958s # } 958s # 958s # static GVariant * 958s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 958s # 958s # GVariantBuilder builder; 958s # guint n; 958s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 958s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 958s # goto out; 958s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 958s # { 958s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 958s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 958s # { 958s # GVariant *value; 958s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 958s # if (value != NULL) 958s # { 958s # g_variant_take_ref (value); 958s # g_variant_builder_add (&builder, "{sv}", info->name, value); 958s # g_variant_unref (value); 958s # } 958s # } 958s # } 958s # out: 958s # return g_variant_builder_end (&builder); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_skeleton_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 958s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 958s # if (skeleton->priv->changed_properties_idle_source != NULL) 958s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 958s # g_main_context_unref (skeleton->priv->context); 958s # g_mutex_clear (&skeleton->priv->lock); 958s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 958s # #else 958s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 958s # #endif 958s # 958s # g_mutex_init (&skeleton->priv->lock); 958s # skeleton->priv->context = g_main_context_ref_thread_default (); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusInterfaceSkeletonClass *skeleton_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 958s # 958s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 958s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 958s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 958s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 958s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_skeleton_new: 958s # * 958s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_skeleton_new (void) 958s # { 958s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 958s # } 958s # /tmp/tmpqnfzcbyi/tmpv_qppz66.xml: 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqnfzcbyi/tmpv_qppz66.xml', '--output', '-', '--body'] 958s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 958s # Output: /* 958s # * This file is generated by gdbus-codegen, do not modify it. 958s # * 958s # * The license of this code is the same as for the D-Bus interface description 958s # * it was derived from. Note that it links to GLib, so must comply with the 958s # * LGPL linking clauses. 958s # */ 958s # 958s # #ifdef HAVE_CONFIG_H 958s # # include "config.h" 958s # #endif 958s # 958s # #include 958s # #ifdef G_OS_UNIX 958s # # include 958s # #endif 958s # 958s # #ifdef G_ENABLE_DEBUG 958s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 958s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 958s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 958s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 958s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 958s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 958s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 958s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 958s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 958s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 958s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 958s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 958s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 958s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 958s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 958s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 958s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 958s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 958s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 958s # #else /* !G_ENABLE_DEBUG */ 958s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 958s # * Do not access GValues directly in your code. Instead, use the 958s # * g_value_get_*() functions 958s # */ 958s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 958s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 958s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 958s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 958s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 958s # #endif /* !G_ENABLE_DEBUG */ 958s # 958s # typedef struct 958s # { 958s # GDBusArgInfo parent_struct; 958s # gboolean use_gvariant; 958s # } _ExtendedGDBusArgInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusMethodInfo parent_struct; 958s # const gchar *signal_name; 958s # gboolean pass_fdlist; 958s # } _ExtendedGDBusMethodInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusSignalInfo parent_struct; 958s # const gchar *signal_name; 958s # } _ExtendedGDBusSignalInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusPropertyInfo parent_struct; 958s # const gchar *hyphen_name; 958s # guint use_gvariant : 1; 958s # guint emits_changed_signal : 1; 958s # } _ExtendedGDBusPropertyInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusInterfaceInfo parent_struct; 958s # const gchar *hyphen_name; 958s # } _ExtendedGDBusInterfaceInfo; 958s # 958s # typedef struct 958s # { 958s # const _ExtendedGDBusPropertyInfo *info; 958s # guint prop_id; 958s # GValue orig_value; /* the value before the change */ 958s # } ChangedProperty; 958s # 958s # static void 958s # _changed_property_free (ChangedProperty *data) 958s # { 958s # g_value_unset (&data->orig_value); 958s # g_free (data); 958s # } 958s # 958s # static gboolean 958s # _g_strv_equal0 (gchar **a, gchar **b) 958s # { 958s # gboolean ret = FALSE; 958s # guint n; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # if (g_strv_length (a) != g_strv_length (b)) 958s # goto out; 958s # for (n = 0; a[n] != NULL; n++) 958s # if (g_strcmp0 (a[n], b[n]) != 0) 958s # goto out; 958s # ret = TRUE; 958s # out: 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _g_variant_equal0 (GVariant *a, GVariant *b) 958s # { 958s # gboolean ret = FALSE; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # ret = g_variant_equal (a, b); 958s # out: 958s # return ret; 958s # } 958s # 958s # G_GNUC_UNUSED static gboolean 958s # _g_value_equal (const GValue *a, const GValue *b) 958s # { 958s # gboolean ret = FALSE; 958s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 958s # switch (G_VALUE_TYPE (a)) 958s # { 958s # case G_TYPE_BOOLEAN: 958s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 958s # break; 958s # case G_TYPE_UCHAR: 958s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 958s # break; 958s # case G_TYPE_INT: 958s # ret = (g_value_get_int (a) == g_value_get_int (b)); 958s # break; 958s # case G_TYPE_UINT: 958s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 958s # break; 958s # case G_TYPE_INT64: 958s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 958s # break; 958s # case G_TYPE_UINT64: 958s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 958s # break; 958s # case G_TYPE_DOUBLE: 958s # { 958s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 958s # gdouble da = g_value_get_double (a); 958s # gdouble db = g_value_get_double (b); 958s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 958s # } 958s # break; 958s # case G_TYPE_STRING: 958s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 958s # break; 958s # case G_TYPE_VARIANT: 958s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 958s # break; 958s # default: 958s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 958s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 958s # else 958s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 958s # break; 958s # } 958s # return ret; 958s # } 958s # 958s # static void 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint G_GNUC_UNUSED, 958s # void *marshal_data) 958s # { 958s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 958s # (void *data1, 958s # GDBusMethodInvocation *arg_method_invocation, 958s # gint arg_arg_i, 958s # void *data2); 958s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 958s # GCClosure *cc = (GCClosure*) closure; 958s # void *data1, *data2; 958s # gboolean v_return; 958s # 958s # g_return_if_fail (return_value != NULL); 958s # g_return_if_fail (n_param_values == 3); 958s # 958s # if (G_CCLOSURE_SWAP_DATA (closure)) 958s # { 958s # data1 = closure->data; 958s # data2 = g_value_peek_pointer (param_values + 0); 958s # } 958s # else 958s # { 958s # data1 = g_value_peek_pointer (param_values + 0); 958s # data2 = closure->data; 958s # } 958s # 958s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 958s # (marshal_data ? marshal_data : cc->callback); 958s # 958s # v_return = 958s # callback (data1, 958s # g_marshal_value_peek_object (param_values + 1), 958s # g_marshal_value_peek_int (param_values + 2), 958s # data2); 958s # 958s # g_value_set_boolean (return_value, v_return); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ 958s # * Code for interface org.project.UsefulInterface 958s # * ------------------------------------------------------------------------ 958s # */ 958s # 958s # /** 958s # * SECTION:OrgProjectUsefulInterface 958s # * @title: OrgProjectUsefulInterface 958s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 958s # * 958s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 958s # */ 958s # 958s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 958s # { 958s # { 958s # -1, 958s # (gchar *) "arg_i", 958s # (gchar *) "i", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgMethodI", 958s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 958s # NULL, 958s # NULL 958s # }, 958s # "handle-single-arg-method-i", 958s # FALSE 958s # }; 958s # 958s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 958s # { 958s # { 958s # -1, 958s # (gchar *) "org.project.UsefulInterface", 958s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 958s # NULL, 958s # NULL, 958s # NULL 958s # }, 958s # "org-project-useful-interface", 958s # }; 958s # 958s # 958s # /** 958s # * org_project_useful_interface_interface_info: 958s # * 958s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 958s # * 958s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 958s # */ 958s # GDBusInterfaceInfo * 958s # org_project_useful_interface_interface_info (void) 958s # { 958s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_override_properties: 958s # * @klass: The class structure for a #GObject derived class. 958s # * @property_id_begin: The property id to assign to the first overridden property. 958s # * 958s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 958s # * The properties are overridden in the order they are defined. 958s # * 958s # * Returns: The last property id. 958s # */ 958s # guint 958s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 958s # { 958s # return property_id_begin - 1; 958s # } 958s # 958s # 958s # inline static void 958s # org_project_useful_interface_method_marshal_single_arg_method_i ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # 958s # /** 958s # * OrgProjectUsefulInterface: 958s # * 958s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceIface: 958s # * @parent_iface: The parent interface. 958s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 958s # * 958s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 958s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 958s # 958s # static void 958s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 958s # { 958s # /* GObject signals for incoming D-Bus method calls: */ 958s # /** 958s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: A #GDBusMethodInvocation. 958s # * @arg_arg_i: Argument passed by remote caller. 958s # * 958s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 958s # * 958s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_i() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 958s # * 958s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 958s # */ 958s # g_signal_new ("handle-single-arg-method-i", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 958s # g_signal_accumulator_true_handled, 958s # NULL, 958s # org_project_useful_interface_method_marshal_single_arg_method_i, 958s # G_TYPE_BOOLEAN, 958s # 2, 958s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 958s # 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_i: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @arg_arg_i: Argument to pass with the method invocation. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 958s # */ 958s # void 958s # org_project_useful_interface_call_single_arg_method_i ( 958s # OrgProjectUsefulInterface *proxy, 958s # gint arg_arg_i, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodI", 958s # g_variant_new ("(i)", 958s # arg_arg_i), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # callback, 958s # user_data); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_i_finish: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_i_finish ( 958s # OrgProjectUsefulInterface *proxy, 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "()"); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_i_sync: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @arg_arg_i: Argument to pass with the method invocation. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_i_sync ( 958s # OrgProjectUsefulInterface *proxy, 958s # gint arg_arg_i, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodI", 958s # g_variant_new ("(i)", 958s # arg_arg_i), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "()"); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_complete_single_arg_method_i: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: (transfer full): A #GDBusMethodInvocation. 958s # * 958s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodI() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 958s # * 958s # * This method will free @invocation, you cannot use it afterwards. 958s # */ 958s # void 958s # org_project_useful_interface_complete_single_arg_method_i ( 958s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 958s # GDBusMethodInvocation *invocation) 958s # { 958s # g_dbus_method_invocation_return_value (invocation, 958s # g_variant_new ("()")); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxy: 958s # * 958s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxyClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceProxy. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceProxyPrivate 958s # { 958s # GData *qdata; 958s # }; 958s # 958s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_proxy_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 958s # g_datalist_clear (&proxy->priv->qdata); 958s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # const GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 958s # const gchar *sender_name G_GNUC_UNUSED, 958s # const gchar *signal_name, 958s # GVariant *parameters) 958s # { 958s # _ExtendedGDBusSignalInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # gsize n; 958s # guint signal_id; 958s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 958s # if (info == NULL) 958s # return; 958s # num_params = g_variant_n_children (parameters); 958s # paramv = g_new0 (GValue, num_params + 1); 958s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[0], proxy); 958s # g_variant_iter_init (&iter, parameters); 958s # n = 1; 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_signal_emitv (paramv, signal_id, 0, NULL); 958s # for (n = 0; n < num_params + 1; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 958s # GVariant *changed_properties, 958s # const gchar *const *invalidated_properties) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 958s # guint n; 958s # const gchar *key; 958s # GVariantIter *iter; 958s # _ExtendedGDBusPropertyInfo *info; 958s # g_variant_get (changed_properties, "a{sv}", &iter); 958s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 958s # g_datalist_remove_data (&proxy->priv->qdata, key); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # g_variant_iter_free (iter); 958s # for (n = 0; invalidated_properties[n] != NULL; n++) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 958s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 958s # #else 958s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 958s # #endif 958s # 958s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusProxyClass *proxy_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 958s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 958s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 958s # 958s # proxy_class = G_DBUS_PROXY_CLASS (klass); 958s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 958s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_sync: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_sync ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new_for_bus ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_sync: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_sync ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeleton: 958s # * 958s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeletonClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 958s # { 958s # GValue *properties; 958s # GList *changed_properties; 958s # GSource *changed_properties_idle_source; 958s # GMainContext *context; 958s # GMutex lock; 958s # }; 958s # 958s # static void 958s # _org_project_useful_interface_skeleton_handle_method_call ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name, 958s # const gchar *method_name, 958s # GVariant *parameters, 958s # GDBusMethodInvocation *invocation, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # _ExtendedGDBusMethodInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # guint num_extra; 958s # gsize n; 958s # guint signal_id; 958s # GValue return_value = G_VALUE_INIT; 958s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 958s # g_assert (info != NULL); 958s # num_params = g_variant_n_children (parameters); 958s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 958s # n = 0; 958s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[n++], skeleton); 958s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 958s # g_value_set_object (¶mv[n++], invocation); 958s # if (info->pass_fdlist) 958s # { 958s # #ifdef G_OS_UNIX 958s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 958s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 958s # #else 958s # g_assert_not_reached (); 958s # #endif 958s # } 958s # g_variant_iter_init (&iter, parameters); 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_init (&return_value, G_TYPE_BOOLEAN); 958s # g_signal_emitv (paramv, signal_id, 0, &return_value); 958s # if (!g_value_get_boolean (&return_value)) 958s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 958s # g_value_unset (&return_value); 958s # for (n = 0; n < num_params + num_extra; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static GVariant * 958s # _org_project_useful_interface_skeleton_handle_get_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # GVariant *ret; 958s # ret = NULL; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # g_value_init (&value, pspec->value_type); 958s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 958s # g_value_unset (&value); 958s # } 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _org_project_useful_interface_skeleton_handle_set_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GVariant *variant, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # gboolean ret; 958s # ret = FALSE; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # if (info->use_gvariant) 958s # g_value_set_variant (&value, variant); 958s # else 958s # g_dbus_gvariant_to_gvalue (variant, &value); 958s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # g_value_unset (&value); 958s # ret = TRUE; 958s # } 958s # return ret; 958s # } 958s # 958s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 958s # { 958s # _org_project_useful_interface_skeleton_handle_method_call, 958s # _org_project_useful_interface_skeleton_handle_get_property, 958s # _org_project_useful_interface_skeleton_handle_set_property, 958s # {NULL} 958s # }; 958s # 958s # static GDBusInterfaceInfo * 958s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return org_project_useful_interface_interface_info (); 958s # } 958s # 958s # static GDBusInterfaceVTable * 958s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 958s # } 958s # 958s # static GVariant * 958s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 958s # 958s # GVariantBuilder builder; 958s # guint n; 958s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 958s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 958s # goto out; 958s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 958s # { 958s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 958s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 958s # { 958s # GVariant *value; 958s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 958s # if (value != NULL) 958s # { 958s # g_variant_take_ref (value); 958s # g_variant_builder_add (&builder, "{sv}", info->name, value); 958s # g_variant_unref (value); 958s # } 958s # } 958s # } 958s # out: 958s # return g_variant_builder_end (&builder); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_skeleton_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 958s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 958s # if (skeleton->priv->changed_properties_idle_source != NULL) 958s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 958s # g_main_context_unref (skeleton->priv->context); 958s # g_mutex_clear (&skeleton->priv->lock); 958s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 958s # #else 958s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 958s # #endif 958s # 958s # g_mutex_init (&skeleton->priv->lock); 958s # skeleton->priv->context = g_main_context_ref_thread_default (); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusInterfaceSkeletonClass *skeleton_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 958s # 958s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 958s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 958s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 958s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 958s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_skeleton_new: 958s # * 958s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_skeleton_new (void) 958s # { 958s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 958s # } 958s # /tmp/tmpqnfzcbyi/tmpdangcb6g.xml: 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqnfzcbyi/tmpdangcb6g.xml', '--output', '-', '--body'] 958s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 958s # Output: /* 958s # * This file is generated by gdbus-codegen, do not modify it. 958s # * 958s # * The license of this code is the same as for the D-Bus interface description 958s # * it was derived from. Note that it links to GLib, so must comply with the 958s # * LGPL linking clauses. 958s # */ 958s # 958s # #ifdef HAVE_CONFIG_H 958s # # include "config.h" 958s # #endif 958s # 958s # #include 958s # #ifdef G_OS_UNIX 958s # # include 958s # #endif 958s # 958s # #ifdef G_ENABLE_DEBUG 958s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 958s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 958s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 958s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 958s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 958s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 958s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 958s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 958s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 958s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 958s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 958s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 958s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 958s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 958s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 958s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 958s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 958s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 958s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 958s # #else /* !G_ENABLE_DEBUG */ 958s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 958s # * Do not access GValues directly in your code. Instead, use the 958s # * g_value_get_*() functions 958s # */ 958s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 958s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 958s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 958s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 958s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 958s # #endif /* !G_ENABLE_DEBUG */ 958s # 958s # typedef struct 958s # { 958s # GDBusArgInfo parent_struct; 958s # gboolean use_gvariant; 958s # } _ExtendedGDBusArgInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusMethodInfo parent_struct; 958s # const gchar *signal_name; 958s # gboolean pass_fdlist; 958s # } _ExtendedGDBusMethodInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusSignalInfo parent_struct; 958s # const gchar *signal_name; 958s # } _ExtendedGDBusSignalInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusPropertyInfo parent_struct; 958s # const gchar *hyphen_name; 958s # guint use_gvariant : 1; 958s # guint emits_changed_signal : 1; 958s # } _ExtendedGDBusPropertyInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusInterfaceInfo parent_struct; 958s # const gchar *hyphen_name; 958s # } _ExtendedGDBusInterfaceInfo; 958s # 958s # typedef struct 958s # { 958s # const _ExtendedGDBusPropertyInfo *info; 958s # guint prop_id; 958s # GValue orig_value; /* the value before the change */ 958s # } ChangedProperty; 958s # 958s # static void 958s # _changed_property_free (ChangedProperty *data) 958s # { 958s # g_value_unset (&data->orig_value); 958s # g_free (data); 958s # } 958s # 958s # static gboolean 958s # _g_strv_equal0 (gchar **a, gchar **b) 958s # { 958s # gboolean ret = FALSE; 958s # guint n; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # if (g_strv_length (a) != g_strv_length (b)) 958s # goto out; 958s # for (n = 0; a[n] != NULL; n++) 958s # if (g_strcmp0 (a[n], b[n]) != 0) 958s # goto out; 958s # ret = TRUE; 958s # out: 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _g_variant_equal0 (GVariant *a, GVariant *b) 958s # { 958s # gboolean ret = FALSE; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # ret = g_variant_equal (a, b); 958s # out: 958s # return ret; 958s # } 958s # 958s # G_GNUC_UNUSED static gboolean 958s # _g_value_equal (const GValue *a, const GValue *b) 958s # { 958s # gboolean ret = FALSE; 958s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 958s # switch (G_VALUE_TYPE (a)) 958s # { 958s # case G_TYPE_BOOLEAN: 958s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 958s # break; 958s # case G_TYPE_UCHAR: 958s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 958s # break; 958s # case G_TYPE_INT: 958s # ret = (g_value_get_int (a) == g_value_get_int (b)); 958s # break; 958s # case G_TYPE_UINT: 958s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 958s # break; 958s # case G_TYPE_INT64: 958s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 958s # break; 958s # case G_TYPE_UINT64: 958s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 958s # break; 958s # case G_TYPE_DOUBLE: 958s # { 958s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 958s # gdouble da = g_value_get_double (a); 958s # gdouble db = g_value_get_double (b); 958s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 958s # } 958s # break; 958s # case G_TYPE_STRING: 958s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 958s # break; 958s # case G_TYPE_VARIANT: 958s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 958s # break; 958s # default: 958s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 958s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 958s # else 958s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 958s # break; 958s # } 958s # return ret; 958s # } 958s # 958s # static void 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint G_GNUC_UNUSED, 958s # void *marshal_data) 958s # { 958s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 958s # (void *data1, 958s # GDBusMethodInvocation *arg_method_invocation, 958s # guint arg_arg_u, 958s # void *data2); 958s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 958s # GCClosure *cc = (GCClosure*) closure; 958s # void *data1, *data2; 958s # gboolean v_return; 958s # 958s # g_return_if_fail (return_value != NULL); 958s # g_return_if_fail (n_param_values == 3); 958s # 958s # if (G_CCLOSURE_SWAP_DATA (closure)) 958s # { 958s # data1 = closure->data; 958s # data2 = g_value_peek_pointer (param_values + 0); 958s # } 958s # else 958s # { 958s # data1 = g_value_peek_pointer (param_values + 0); 958s # data2 = closure->data; 958s # } 958s # 958s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 958s # (marshal_data ? marshal_data : cc->callback); 958s # 958s # v_return = 958s # callback (data1, 958s # g_marshal_value_peek_object (param_values + 1), 958s # g_marshal_value_peek_uint (param_values + 2), 958s # data2); 958s # 958s # g_value_set_boolean (return_value, v_return); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ 958s # * Code for interface org.project.UsefulInterface 958s # * ------------------------------------------------------------------------ 958s # */ 958s # 958s # /** 958s # * SECTION:OrgProjectUsefulInterface 958s # * @title: OrgProjectUsefulInterface 958s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 958s # * 958s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 958s # */ 958s # 958s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 958s # { 958s # { 958s # -1, 958s # (gchar *) "arg_u", 958s # (gchar *) "u", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgMethodU", 958s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 958s # NULL, 958s # NULL 958s # }, 958s # "handle-single-arg-method-u", 958s # FALSE 958s # }; 958s # 958s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 958s # { 958s # { 958s # -1, 958s # (gchar *) "org.project.UsefulInterface", 958s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 958s # NULL, 958s # NULL, 958s # NULL 958s # }, 958s # "org-project-useful-interface", 958s # }; 958s # 958s # 958s # /** 958s # * org_project_useful_interface_interface_info: 958s # * 958s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 958s # * 958s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 958s # */ 958s # GDBusInterfaceInfo * 958s # org_project_useful_interface_interface_info (void) 958s # { 958s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_override_properties: 958s # * @klass: The class structure for a #GObject derived class. 958s # * @property_id_begin: The property id to assign to the first overridden property. 958s # * 958s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 958s # * The properties are overridden in the order they are defined. 958s # * 958s # * Returns: The last property id. 958s # */ 958s # guint 958s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 958s # { 958s # return property_id_begin - 1; 958s # } 958s # 958s # 958s # inline static void 958s # org_project_useful_interface_method_marshal_single_arg_method_u ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # 958s # /** 958s # * OrgProjectUsefulInterface: 958s # * 958s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceIface: 958s # * @parent_iface: The parent interface. 958s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 958s # * 958s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 958s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 958s # 958s # static void 958s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 958s # { 958s # /* GObject signals for incoming D-Bus method calls: */ 958s # /** 958s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: A #GDBusMethodInvocation. 958s # * @arg_arg_u: Argument passed by remote caller. 958s # * 958s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 958s # * 958s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_u() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 958s # * 958s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 958s # */ 958s # g_signal_new ("handle-single-arg-method-u", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 958s # g_signal_accumulator_true_handled, 958s # NULL, 958s # org_project_useful_interface_method_marshal_single_arg_method_u, 958s # G_TYPE_BOOLEAN, 958s # 2, 958s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 958s # 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_u: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @arg_arg_u: Argument to pass with the method invocation. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 958s # */ 958s # void 958s # org_project_useful_interface_call_single_arg_method_u ( 958s # OrgProjectUsefulInterface *proxy, 958s # guint arg_arg_u, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodU", 958s # g_variant_new ("(u)", 958s # arg_arg_u), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # callback, 958s # user_data); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_u_finish: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_u_finish ( 958s # OrgProjectUsefulInterface *proxy, 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "()"); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_u_sync: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @arg_arg_u: Argument to pass with the method invocation. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_u_sync ( 958s # OrgProjectUsefulInterface *proxy, 958s # guint arg_arg_u, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodU", 958s # g_variant_new ("(u)", 958s # arg_arg_u), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "()"); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_complete_single_arg_method_u: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: (transfer full): A #GDBusMethodInvocation. 958s # * 958s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodU() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 958s # * 958s # * This method will free @invocation, you cannot use it afterwards. 958s # */ 958s # void 958s # org_project_useful_interface_complete_single_arg_method_u ( 958s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 958s # GDBusMethodInvocation *invocation) 958s # { 958s # g_dbus_method_invocation_return_value (invocation, 958s # g_variant_new ("()")); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxy: 958s # * 958s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxyClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceProxy. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceProxyPrivate 958s # { 958s # GData *qdata; 958s # }; 958s # 958s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_proxy_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 958s # g_datalist_clear (&proxy->priv->qdata); 958s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # const GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 958s # const gchar *sender_name G_GNUC_UNUSED, 958s # const gchar *signal_name, 958s # GVariant *parameters) 958s # { 958s # _ExtendedGDBusSignalInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # gsize n; 958s # guint signal_id; 958s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 958s # if (info == NULL) 958s # return; 958s # num_params = g_variant_n_children (parameters); 958s # paramv = g_new0 (GValue, num_params + 1); 958s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[0], proxy); 958s # g_variant_iter_init (&iter, parameters); 958s # n = 1; 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_signal_emitv (paramv, signal_id, 0, NULL); 958s # for (n = 0; n < num_params + 1; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 958s # GVariant *changed_properties, 958s # const gchar *const *invalidated_properties) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 958s # guint n; 958s # const gchar *key; 958s # GVariantIter *iter; 958s # _ExtendedGDBusPropertyInfo *info; 958s # g_variant_get (changed_properties, "a{sv}", &iter); 958s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 958s # g_datalist_remove_data (&proxy->priv->qdata, key); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # g_variant_iter_free (iter); 958s # for (n = 0; invalidated_properties[n] != NULL; n++) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 958s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 958s # #else 958s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 958s # #endif 958s # 958s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusProxyClass *proxy_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 958s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 958s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 958s # 958s # proxy_class = G_DBUS_PROXY_CLASS (klass); 958s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 958s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_sync: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_sync ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new_for_bus ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_sync: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_sync ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeleton: 958s # * 958s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeletonClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 958s # { 958s # GValue *properties; 958s # GList *changed_properties; 958s # GSource *changed_properties_idle_source; 958s # GMainContext *context; 958s # GMutex lock; 958s # }; 958s # 958s # static void 958s # _org_project_useful_interface_skeleton_handle_method_call ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name, 958s # const gchar *method_name, 958s # GVariant *parameters, 958s # GDBusMethodInvocation *invocation, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # _ExtendedGDBusMethodInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # guint num_extra; 958s # gsize n; 958s # guint signal_id; 958s # GValue return_value = G_VALUE_INIT; 958s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 958s # g_assert (info != NULL); 958s # num_params = g_variant_n_children (parameters); 958s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 958s # n = 0; 958s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[n++], skeleton); 958s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 958s # g_value_set_object (¶mv[n++], invocation); 958s # if (info->pass_fdlist) 958s # { 958s # #ifdef G_OS_UNIX 958s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 958s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 958s # #else 958s # g_assert_not_reached (); 958s # #endif 958s # } 958s # g_variant_iter_init (&iter, parameters); 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_init (&return_value, G_TYPE_BOOLEAN); 958s # g_signal_emitv (paramv, signal_id, 0, &return_value); 958s # if (!g_value_get_boolean (&return_value)) 958s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 958s # g_value_unset (&return_value); 958s # for (n = 0; n < num_params + num_extra; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static GVariant * 958s # _org_project_useful_interface_skeleton_handle_get_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # GVariant *ret; 958s # ret = NULL; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # g_value_init (&value, pspec->value_type); 958s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 958s # g_value_unset (&value); 958s # } 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _org_project_useful_interface_skeleton_handle_set_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GVariant *variant, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # gboolean ret; 958s # ret = FALSE; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # if (info->use_gvariant) 958s # g_value_set_variant (&value, variant); 958s # else 958s # g_dbus_gvariant_to_gvalue (variant, &value); 958s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # g_value_unset (&value); 958s # ret = TRUE; 958s # } 958s # return ret; 958s # } 958s # 958s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 958s # { 958s # _org_project_useful_interface_skeleton_handle_method_call, 958s # _org_project_useful_interface_skeleton_handle_get_property, 958s # _org_project_useful_interface_skeleton_handle_set_property, 958s # {NULL} 958s # }; 958s # 958s # static GDBusInterfaceInfo * 958s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return org_project_useful_interface_interface_info (); 958s # } 958s # 958s # static GDBusInterfaceVTable * 958s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 958s # } 958s # 958s # static GVariant * 958s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 958s # 958s # GVariantBuilder builder; 958s # guint n; 958s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 958s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 958s # goto out; 958s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 958s # { 958s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 958s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 958s # { 958s # GVariant *value; 958s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 958s # if (value != NULL) 958s # { 958s # g_variant_take_ref (value); 958s # g_variant_builder_add (&builder, "{sv}", info->name, value); 958s # g_variant_unref (value); 958s # } 958s # } 958s # } 958s # out: 958s # return g_variant_builder_end (&builder); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_skeleton_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 958s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 958s # if (skeleton->priv->changed_properties_idle_source != NULL) 958s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 958s # g_main_context_unref (skeleton->priv->context); 958s # g_mutex_clear (&skeleton->priv->lock); 958s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 958s # #else 958s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 958s # #endif 958s # 958s # g_mutex_init (&skeleton->priv->lock); 958s # skeleton->priv->context = g_main_context_ref_thread_default (); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusInterfaceSkeletonClass *skeleton_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 958s # 958s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 958s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 958s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 958s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 958s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_skeleton_new: 958s # * 958s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_skeleton_new (void) 958s # { 958s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 958s # } 958s # /tmp/tmpqnfzcbyi/tmp73k340yx.xml: 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqnfzcbyi/tmp73k340yx.xml', '--output', '-', '--body'] 958s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 958s # Output: /* 958s # * This file is generated by gdbus-codegen, do not modify it. 958s # * 958s # * The license of this code is the same as for the D-Bus interface description 958s # * it was derived from. Note that it links to GLib, so must comply with the 958s # * LGPL linking clauses. 958s # */ 958s # 958s # #ifdef HAVE_CONFIG_H 958s # # include "config.h" 958s # #endif 958s # 958s # #include 958s # #ifdef G_OS_UNIX 958s # # include 958s # #endif 958s # 958s # #ifdef G_ENABLE_DEBUG 958s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 958s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 958s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 958s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 958s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 958s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 958s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 958s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 958s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 958s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 958s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 958s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 958s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 958s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 958s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 958s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 958s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 958s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 958s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 958s # #else /* !G_ENABLE_DEBUG */ 958s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 958s # * Do not access GValues directly in your code. Instead, use the 958s # * g_value_get_*() functions 958s # */ 958s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 958s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 958s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 958s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 958s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 958s # #endif /* !G_ENABLE_DEBUG */ 958s # 958s # typedef struct 958s # { 958s # GDBusArgInfo parent_struct; 958s # gboolean use_gvariant; 958s # } _ExtendedGDBusArgInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusMethodInfo parent_struct; 958s # const gchar *signal_name; 958s # gboolean pass_fdlist; 958s # } _ExtendedGDBusMethodInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusSignalInfo parent_struct; 958s # const gchar *signal_name; 958s # } _ExtendedGDBusSignalInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusPropertyInfo parent_struct; 958s # const gchar *hyphen_name; 958s # guint use_gvariant : 1; 958s # guint emits_changed_signal : 1; 958s # } _ExtendedGDBusPropertyInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusInterfaceInfo parent_struct; 958s # const gchar *hyphen_name; 958s # } _ExtendedGDBusInterfaceInfo; 958s # 958s # typedef struct 958s # { 958s # const _ExtendedGDBusPropertyInfo *info; 958s # guint prop_id; 958s # GValue orig_value; /* the value before the change */ 958s # } ChangedProperty; 958s # 958s # static void 958s # _changed_property_free (ChangedProperty *data) 958s # { 958s # g_value_unset (&data->orig_value); 958s # g_free (data); 958s # } 958s # 958s # static gboolean 958s # _g_strv_equal0 (gchar **a, gchar **b) 958s # { 958s # gboolean ret = FALSE; 958s # guint n; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # if (g_strv_length (a) != g_strv_length (b)) 958s # goto out; 958s # for (n = 0; a[n] != NULL; n++) 958s # if (g_strcmp0 (a[n], b[n]) != 0) 958s # goto out; 958s # ret = TRUE; 958s # out: 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _g_variant_equal0 (GVariant *a, GVariant *b) 958s # { 958s # gboolean ret = FALSE; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # ret = g_variant_equal (a, b); 958s # out: 958s # return ret; 958s # } 958s # 958s # G_GNUC_UNUSED static gboolean 958s # _g_value_equal (const GValue *a, const GValue *b) 958s # { 958s # gboolean ret = FALSE; 958s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 958s # switch (G_VALUE_TYPE (a)) 958s # { 958s # case G_TYPE_BOOLEAN: 958s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 958s # break; 958s # case G_TYPE_UCHAR: 958s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 958s # break; 958s # case G_TYPE_INT: 958s # ret = (g_value_get_int (a) == g_value_get_int (b)); 958s # break; 958s # case G_TYPE_UINT: 958s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 958s # break; 958s # case G_TYPE_INT64: 958s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 958s # break; 958s # case G_TYPE_UINT64: 958s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 958s # break; 958s # case G_TYPE_DOUBLE: 958s # { 958s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 958s # gdouble da = g_value_get_double (a); 958s # gdouble db = g_value_get_double (b); 958s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 958s # } 958s # break; 958s # case G_TYPE_STRING: 958s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 958s # break; 958s # case G_TYPE_VARIANT: 958s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 958s # break; 958s # default: 958s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 958s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 958s # else 958s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 958s # break; 958s # } 958s # return ret; 958s # } 958s # 958s # static void 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint G_GNUC_UNUSED, 958s # void *marshal_data) 958s # { 958s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 958s # (void *data1, 958s # GDBusMethodInvocation *arg_method_invocation, 958s # gint64 arg_arg_x, 958s # void *data2); 958s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 958s # GCClosure *cc = (GCClosure*) closure; 958s # void *data1, *data2; 958s # gboolean v_return; 958s # 958s # g_return_if_fail (return_value != NULL); 958s # g_return_if_fail (n_param_values == 3); 958s # 958s # if (G_CCLOSURE_SWAP_DATA (closure)) 958s # { 958s # data1 = closure->data; 958s # data2 = g_value_peek_pointer (param_values + 0); 958s # } 958s # else 958s # { 958s # data1 = g_value_peek_pointer (param_values + 0); 958s # data2 = closure->data; 958s # } 958s # 958s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 958s # (marshal_data ? marshal_data : cc->callback); 958s # 958s # v_return = 958s # callback (data1, 958s # g_marshal_value_peek_object (param_values + 1), 958s # g_marshal_value_peek_int64 (param_values + 2), 958s # data2); 958s # 958s # g_value_set_boolean (return_value, v_return); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ 958s # * Code for interface org.project.UsefulInterface 958s # * ------------------------------------------------------------------------ 958s # */ 958s # 958s # /** 958s # * SECTION:OrgProjectUsefulInterface 958s # * @title: OrgProjectUsefulInterface 958s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 958s # * 958s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 958s # */ 958s # 958s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 958s # { 958s # { 958s # -1, 958s # (gchar *) "arg_x", 958s # (gchar *) "x", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgMethodX", 958s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 958s # NULL, 958s # NULL 958s # }, 958s # "handle-single-arg-method-x", 958s # FALSE 958s # }; 958s # 958s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 958s # { 958s # { 958s # -1, 958s # (gchar *) "org.project.UsefulInterface", 958s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 958s # NULL, 958s # NULL, 958s # NULL 958s # }, 958s # "org-project-useful-interface", 958s # }; 958s # 958s # 958s # /** 958s # * org_project_useful_interface_interface_info: 958s # * 958s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 958s # * 958s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 958s # */ 958s # GDBusInterfaceInfo * 958s # org_project_useful_interface_interface_info (void) 958s # { 958s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_override_properties: 958s # * @klass: The class structure for a #GObject derived class. 958s # * @property_id_begin: The property id to assign to the first overridden property. 958s # * 958s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 958s # * The properties are overridden in the order they are defined. 958s # * 958s # * Returns: The last property id. 958s # */ 958s # guint 958s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 958s # { 958s # return property_id_begin - 1; 958s # } 958s # 958s # 958s # inline static void 958s # org_project_useful_interface_method_marshal_single_arg_method_x ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # 958s # /** 958s # * OrgProjectUsefulInterface: 958s # * 958s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceIface: 958s # * @parent_iface: The parent interface. 958s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 958s # * 958s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 958s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 958s # 958s # static void 958s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 958s # { 958s # /* GObject signals for incoming D-Bus method calls: */ 958s # /** 958s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: A #GDBusMethodInvocation. 958s # * @arg_arg_x: Argument passed by remote caller. 958s # * 958s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 958s # * 958s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_x() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 958s # * 958s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 958s # */ 958s # g_signal_new ("handle-single-arg-method-x", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 958s # g_signal_accumulator_true_handled, 958s # NULL, 958s # org_project_useful_interface_method_marshal_single_arg_method_x, 958s # G_TYPE_BOOLEAN, 958s # 2, 958s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 958s # 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_x: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @arg_arg_x: Argument to pass with the method invocation. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 958s # */ 958s # void 958s # org_project_useful_interface_call_single_arg_method_x ( 958s # OrgProjectUsefulInterface *proxy, 958s # gint64 arg_arg_x, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodX", 958s # g_variant_new ("(x)", 958s # arg_arg_x), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # callback, 958s # user_data); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_x_finish: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_x_finish ( 958s # OrgProjectUsefulInterface *proxy, 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "()"); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_x_sync: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @arg_arg_x: Argument to pass with the method invocation. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_x_sync ( 958s # OrgProjectUsefulInterface *proxy, 958s # gint64 arg_arg_x, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodX", 958s # g_variant_new ("(x)", 958s # arg_arg_x), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "()"); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_complete_single_arg_method_x: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: (transfer full): A #GDBusMethodInvocation. 958s # * 958s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodX() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 958s # * 958s # * This method will free @invocation, you cannot use it afterwards. 958s # */ 958s # void 958s # org_project_useful_interface_complete_single_arg_method_x ( 958s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 958s # GDBusMethodInvocation *invocation) 958s # { 958s # g_dbus_method_invocation_return_value (invocation, 958s # g_variant_new ("()")); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxy: 958s # * 958s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxyClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceProxy. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceProxyPrivate 958s # { 958s # GData *qdata; 958s # }; 958s # 958s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_proxy_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 958s # g_datalist_clear (&proxy->priv->qdata); 958s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # const GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 958s # const gchar *sender_name G_GNUC_UNUSED, 958s # const gchar *signal_name, 958s # GVariant *parameters) 958s # { 958s # _ExtendedGDBusSignalInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # gsize n; 958s # guint signal_id; 958s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 958s # if (info == NULL) 958s # return; 958s # num_params = g_variant_n_children (parameters); 958s # paramv = g_new0 (GValue, num_params + 1); 958s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[0], proxy); 958s # g_variant_iter_init (&iter, parameters); 958s # n = 1; 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_signal_emitv (paramv, signal_id, 0, NULL); 958s # for (n = 0; n < num_params + 1; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 958s # GVariant *changed_properties, 958s # const gchar *const *invalidated_properties) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 958s # guint n; 958s # const gchar *key; 958s # GVariantIter *iter; 958s # _ExtendedGDBusPropertyInfo *info; 958s # g_variant_get (changed_properties, "a{sv}", &iter); 958s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 958s # g_datalist_remove_data (&proxy->priv->qdata, key); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # g_variant_iter_free (iter); 958s # for (n = 0; invalidated_properties[n] != NULL; n++) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 958s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 958s # #else 958s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 958s # #endif 958s # 958s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusProxyClass *proxy_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 958s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 958s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 958s # 958s # proxy_class = G_DBUS_PROXY_CLASS (klass); 958s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 958s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_sync: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_sync ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new_for_bus ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_sync: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_sync ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeleton: 958s # * 958s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeletonClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 958s # { 958s # GValue *properties; 958s # GList *changed_properties; 958s # GSource *changed_properties_idle_source; 958s # GMainContext *context; 958s # GMutex lock; 958s # }; 958s # 958s # static void 958s # _org_project_useful_interface_skeleton_handle_method_call ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name, 958s # const gchar *method_name, 958s # GVariant *parameters, 958s # GDBusMethodInvocation *invocation, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # _ExtendedGDBusMethodInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # guint num_extra; 958s # gsize n; 958s # guint signal_id; 958s # GValue return_value = G_VALUE_INIT; 958s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 958s # g_assert (info != NULL); 958s # num_params = g_variant_n_children (parameters); 958s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 958s # n = 0; 958s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[n++], skeleton); 958s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 958s # g_value_set_object (¶mv[n++], invocation); 958s # if (info->pass_fdlist) 958s # { 958s # #ifdef G_OS_UNIX 958s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 958s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 958s # #else 958s # g_assert_not_reached (); 958s # #endif 958s # } 958s # g_variant_iter_init (&iter, parameters); 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_init (&return_value, G_TYPE_BOOLEAN); 958s # g_signal_emitv (paramv, signal_id, 0, &return_value); 958s # if (!g_value_get_boolean (&return_value)) 958s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 958s # g_value_unset (&return_value); 958s # for (n = 0; n < num_params + num_extra; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static GVariant * 958s # _org_project_useful_interface_skeleton_handle_get_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # GVariant *ret; 958s # ret = NULL; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # g_value_init (&value, pspec->value_type); 958s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 958s # g_value_unset (&value); 958s # } 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _org_project_useful_interface_skeleton_handle_set_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GVariant *variant, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # gboolean ret; 958s # ret = FALSE; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # if (info->use_gvariant) 958s # g_value_set_variant (&value, variant); 958s # else 958s # g_dbus_gvariant_to_gvalue (variant, &value); 958s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # g_value_unset (&value); 958s # ret = TRUE; 958s # } 958s # return ret; 958s # } 958s # 958s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 958s # { 958s # _org_project_useful_interface_skeleton_handle_method_call, 958s # _org_project_useful_interface_skeleton_handle_get_property, 958s # _org_project_useful_interface_skeleton_handle_set_property, 958s # {NULL} 958s # }; 958s # 958s # static GDBusInterfaceInfo * 958s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return org_project_useful_interface_interface_info (); 958s # } 958s # 958s # static GDBusInterfaceVTable * 958s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 958s # } 958s # 958s # static GVariant * 958s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 958s # 958s # GVariantBuilder builder; 958s # guint n; 958s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 958s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 958s # goto out; 958s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 958s # { 958s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 958s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 958s # { 958s # GVariant *value; 958s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 958s # if (value != NULL) 958s # { 958s # g_variant_take_ref (value); 958s # g_variant_builder_add (&builder, "{sv}", info->name, value); 958s # g_variant_unref (value); 958s # } 958s # } 958s # } 958s # out: 958s # return g_variant_builder_end (&builder); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_skeleton_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 958s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 958s # if (skeleton->priv->changed_properties_idle_source != NULL) 958s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 958s # g_main_context_unref (skeleton->priv->context); 958s # g_mutex_clear (&skeleton->priv->lock); 958s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 958s # #else 958s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 958s # #endif 958s # 958s # g_mutex_init (&skeleton->priv->lock); 958s # skeleton->priv->context = g_main_context_ref_thread_default (); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusInterfaceSkeletonClass *skeleton_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 958s # 958s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 958s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 958s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 958s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 958s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_skeleton_new: 958s # * 958s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_skeleton_new (void) 958s # { 958s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 958s # } 958s # /tmp/tmpqnfzcbyi/tmp5uh6pmvj.xml: 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqnfzcbyi/tmp5uh6pmvj.xml', '--output', '-', '--body'] 958s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 958s # Output: /* 958s # * This file is generated by gdbus-codegen, do not modify it. 958s # * 958s # * The license of this code is the same as for the D-Bus interface description 958s # * it was derived from. Note that it links to GLib, so must comply with the 958s # * LGPL linking clauses. 958s # */ 958s # 958s # #ifdef HAVE_CONFIG_H 958s # # include "config.h" 958s # #endif 958s # 958s # #include 958s # #ifdef G_OS_UNIX 958s # # include 958s # #endif 958s # 958s # #ifdef G_ENABLE_DEBUG 958s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 958s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 958s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 958s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 958s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 958s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 958s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 958s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 958s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 958s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 958s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 958s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 958s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 958s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 958s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 958s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 958s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 958s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 958s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 958s # #else /* !G_ENABLE_DEBUG */ 958s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 958s # * Do not access GValues directly in your code. Instead, use the 958s # * g_value_get_*() functions 958s # */ 958s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 958s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 958s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 958s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 958s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 958s # #endif /* !G_ENABLE_DEBUG */ 958s # 958s # typedef struct 958s # { 958s # GDBusArgInfo parent_struct; 958s # gboolean use_gvariant; 958s # } _ExtendedGDBusArgInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusMethodInfo parent_struct; 958s # const gchar *signal_name; 958s # gboolean pass_fdlist; 958s # } _ExtendedGDBusMethodInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusSignalInfo parent_struct; 958s # const gchar *signal_name; 958s # } _ExtendedGDBusSignalInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusPropertyInfo parent_struct; 958s # const gchar *hyphen_name; 958s # guint use_gvariant : 1; 958s # guint emits_changed_signal : 1; 958s # } _ExtendedGDBusPropertyInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusInterfaceInfo parent_struct; 958s # const gchar *hyphen_name; 958s # } _ExtendedGDBusInterfaceInfo; 958s # 958s # typedef struct 958s # { 958s # const _ExtendedGDBusPropertyInfo *info; 958s # guint prop_id; 958s # GValue orig_value; /* the value before the change */ 958s # } ChangedProperty; 958s # 958s # static void 958s # _changed_property_free (ChangedProperty *data) 958s # { 958s # g_value_unset (&data->orig_value); 958s # g_free (data); 958s # } 958s # 958s # static gboolean 958s # _g_strv_equal0 (gchar **a, gchar **b) 958s # { 958s # gboolean ret = FALSE; 958s # guint n; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # if (g_strv_length (a) != g_strv_length (b)) 958s # goto out; 958s # for (n = 0; a[n] != NULL; n++) 958s # if (g_strcmp0 (a[n], b[n]) != 0) 958s # goto out; 958s # ret = TRUE; 958s # out: 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _g_variant_equal0 (GVariant *a, GVariant *b) 958s # { 958s # gboolean ret = FALSE; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # ret = g_variant_equal (a, b); 958s # out: 958s # return ret; 958s # } 958s # 958s # G_GNUC_UNUSED static gboolean 958s # _g_value_equal (const GValue *a, const GValue *b) 958s # { 958s # gboolean ret = FALSE; 958s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 958s # switch (G_VALUE_TYPE (a)) 958s # { 958s # case G_TYPE_BOOLEAN: 958s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 958s # break; 958s # case G_TYPE_UCHAR: 958s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 958s # break; 958s # case G_TYPE_INT: 958s # ret = (g_value_get_int (a) == g_value_get_int (b)); 958s # break; 958s # case G_TYPE_UINT: 958s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 958s # break; 958s # case G_TYPE_INT64: 958s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 958s # break; 958s # case G_TYPE_UINT64: 958s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 958s # break; 958s # case G_TYPE_DOUBLE: 958s # { 958s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 958s # gdouble da = g_value_get_double (a); 958s # gdouble db = g_value_get_double (b); 958s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 958s # } 958s # break; 958s # case G_TYPE_STRING: 958s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 958s # break; 958s # case G_TYPE_VARIANT: 958s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 958s # break; 958s # default: 958s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 958s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 958s # else 958s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 958s # break; 958s # } 958s # return ret; 958s # } 958s # 958s # static void 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint G_GNUC_UNUSED, 958s # void *marshal_data) 958s # { 958s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 958s # (void *data1, 958s # GDBusMethodInvocation *arg_method_invocation, 958s # guint64 arg_arg_t, 958s # void *data2); 958s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 958s # GCClosure *cc = (GCClosure*) closure; 958s # void *data1, *data2; 958s # gboolean v_return; 958s # 958s # g_return_if_fail (return_value != NULL); 958s # g_return_if_fail (n_param_values == 3); 958s # 958s # if (G_CCLOSURE_SWAP_DATA (closure)) 958s # { 958s # data1 = closure->data; 958s # data2 = g_value_peek_pointer (param_values + 0); 958s # } 958s # else 958s # { 958s # data1 = g_value_peek_pointer (param_values + 0); 958s # data2 = closure->data; 958s # } 958s # 958s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 958s # (marshal_data ? marshal_data : cc->callback); 958s # 958s # v_return = 958s # callback (data1, 958s # g_marshal_value_peek_object (param_values + 1), 958s # g_marshal_value_peek_uint64 (param_values + 2), 958s # data2); 958s # 958s # g_value_set_boolean (return_value, v_return); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ 958s # * Code for interface org.project.UsefulInterface 958s # * ------------------------------------------------------------------------ 958s # */ 958s # 958s # /** 958s # * SECTION:OrgProjectUsefulInterface 958s # * @title: OrgProjectUsefulInterface 958s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 958s # * 958s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 958s # */ 958s # 958s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 958s # { 958s # { 958s # -1, 958s # (gchar *) "arg_t", 958s # (gchar *) "t", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgMethodT", 958s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 958s # NULL, 958s # NULL 958s # }, 958s # "handle-single-arg-method-t", 958s # FALSE 958s # }; 958s # 958s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 958s # { 958s # { 958s # -1, 958s # (gchar *) "org.project.UsefulInterface", 958s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 958s # NULL, 958s # NULL, 958s # NULL 958s # }, 958s # "org-project-useful-interface", 958s # }; 958s # 958s # 958s # /** 958s # * org_project_useful_interface_interface_info: 958s # * 958s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 958s # * 958s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 958s # */ 958s # GDBusInterfaceInfo * 958s # org_project_useful_interface_interface_info (void) 958s # { 958s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_override_properties: 958s # * @klass: The class structure for a #GObject derived class. 958s # * @property_id_begin: The property id to assign to the first overridden property. 958s # * 958s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 958s # * The properties are overridden in the order they are defined. 958s # * 958s # * Returns: The last property id. 958s # */ 958s # guint 958s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 958s # { 958s # return property_id_begin - 1; 958s # } 958s # 958s # 958s # inline static void 958s # org_project_useful_interface_method_marshal_single_arg_method_t ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # 958s # /** 958s # * OrgProjectUsefulInterface: 958s # * 958s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceIface: 958s # * @parent_iface: The parent interface. 958s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 958s # * 958s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 958s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 958s # 958s # static void 958s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 958s # { 958s # /* GObject signals for incoming D-Bus method calls: */ 958s # /** 958s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: A #GDBusMethodInvocation. 958s # * @arg_arg_t: Argument passed by remote caller. 958s # * 958s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 958s # * 958s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_t() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 958s # * 958s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 958s # */ 958s # g_signal_new ("handle-single-arg-method-t", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 958s # g_signal_accumulator_true_handled, 958s # NULL, 958s # org_project_useful_interface_method_marshal_single_arg_method_t, 958s # G_TYPE_BOOLEAN, 958s # 2, 958s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 958s # 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_t: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @arg_arg_t: Argument to pass with the method invocation. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 958s # */ 958s # void 958s # org_project_useful_interface_call_single_arg_method_t ( 958s # OrgProjectUsefulInterface *proxy, 958s # guint64 arg_arg_t, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodT", 958s # g_variant_new ("(t)", 958s # arg_arg_t), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # callback, 958s # user_data); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_t_finish: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_t_finish ( 958s # OrgProjectUsefulInterface *proxy, 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "()"); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_t_sync: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @arg_arg_t: Argument to pass with the method invocation. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_t_sync ( 958s # OrgProjectUsefulInterface *proxy, 958s # guint64 arg_arg_t, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodT", 958s # g_variant_new ("(t)", 958s # arg_arg_t), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "()"); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_complete_single_arg_method_t: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: (transfer full): A #GDBusMethodInvocation. 958s # * 958s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodT() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 958s # * 958s # * This method will free @invocation, you cannot use it afterwards. 958s # */ 958s # void 958s # org_project_useful_interface_complete_single_arg_method_t ( 958s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 958s # GDBusMethodInvocation *invocation) 958s # { 958s # g_dbus_method_invocation_return_value (invocation, 958s # g_variant_new ("()")); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxy: 958s # * 958s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxyClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceProxy. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceProxyPrivate 958s # { 958s # GData *qdata; 958s # }; 958s # 958s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_proxy_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 958s # g_datalist_clear (&proxy->priv->qdata); 958s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # const GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 958s # const gchar *sender_name G_GNUC_UNUSED, 958s # const gchar *signal_name, 958s # GVariant *parameters) 958s # { 958s # _ExtendedGDBusSignalInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # gsize n; 958s # guint signal_id; 958s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 958s # if (info == NULL) 958s # return; 958s # num_params = g_variant_n_children (parameters); 958s # paramv = g_new0 (GValue, num_params + 1); 958s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[0], proxy); 958s # g_variant_iter_init (&iter, parameters); 958s # n = 1; 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_signal_emitv (paramv, signal_id, 0, NULL); 958s # for (n = 0; n < num_params + 1; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 958s # GVariant *changed_properties, 958s # const gchar *const *invalidated_properties) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 958s # guint n; 958s # const gchar *key; 958s # GVariantIter *iter; 958s # _ExtendedGDBusPropertyInfo *info; 958s # g_variant_get (changed_properties, "a{sv}", &iter); 958s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 958s # g_datalist_remove_data (&proxy->priv->qdata, key); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # g_variant_iter_free (iter); 958s # for (n = 0; invalidated_properties[n] != NULL; n++) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 958s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 958s # #else 958s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 958s # #endif 958s # 958s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusProxyClass *proxy_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 958s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 958s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 958s # 958s # proxy_class = G_DBUS_PROXY_CLASS (klass); 958s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 958s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_sync: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_sync ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new_for_bus ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_sync: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_sync ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeleton: 958s # * 958s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeletonClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 958s # { 958s # GValue *properties; 958s # GList *changed_properties; 958s # GSource *changed_properties_idle_source; 958s # GMainContext *context; 958s # GMutex lock; 958s # }; 958s # 958s # static void 958s # _org_project_useful_interface_skeleton_handle_method_call ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name, 958s # const gchar *method_name, 958s # GVariant *parameters, 958s # GDBusMethodInvocation *invocation, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # _ExtendedGDBusMethodInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # guint num_extra; 958s # gsize n; 958s # guint signal_id; 958s # GValue return_value = G_VALUE_INIT; 958s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 958s # g_assert (info != NULL); 958s # num_params = g_variant_n_children (parameters); 958s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 958s # n = 0; 958s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[n++], skeleton); 958s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 958s # g_value_set_object (¶mv[n++], invocation); 958s # if (info->pass_fdlist) 958s # { 958s # #ifdef G_OS_UNIX 958s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 958s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 958s # #else 958s # g_assert_not_reached (); 958s # #endif 958s # } 958s # g_variant_iter_init (&iter, parameters); 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_init (&return_value, G_TYPE_BOOLEAN); 958s # g_signal_emitv (paramv, signal_id, 0, &return_value); 958s # if (!g_value_get_boolean (&return_value)) 958s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 958s # g_value_unset (&return_value); 958s # for (n = 0; n < num_params + num_extra; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static GVariant * 958s # _org_project_useful_interface_skeleton_handle_get_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # GVariant *ret; 958s # ret = NULL; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # g_value_init (&value, pspec->value_type); 958s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 958s # g_value_unset (&value); 958s # } 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _org_project_useful_interface_skeleton_handle_set_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GVariant *variant, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # gboolean ret; 958s # ret = FALSE; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # if (info->use_gvariant) 958s # g_value_set_variant (&value, variant); 958s # else 958s # g_dbus_gvariant_to_gvalue (variant, &value); 958s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # g_value_unset (&value); 958s # ret = TRUE; 958s # } 958s # return ret; 958s # } 958s # 958s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 958s # { 958s # _org_project_useful_interface_skeleton_handle_method_call, 958s # _org_project_useful_interface_skeleton_handle_get_property, 958s # _org_project_useful_interface_skeleton_handle_set_property, 958s # {NULL} 958s # }; 958s # 958s # static GDBusInterfaceInfo * 958s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return org_project_useful_interface_interface_info (); 958s # } 958s # 958s # static GDBusInterfaceVTable * 958s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 958s # } 958s # 958s # static GVariant * 958s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 958s # 958s # GVariantBuilder builder; 958s # guint n; 958s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 958s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 958s # goto out; 958s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 958s # { 958s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 958s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 958s # { 958s # GVariant *value; 958s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 958s # if (value != NULL) 958s # { 958s # g_variant_take_ref (value); 958s # g_variant_builder_add (&builder, "{sv}", info->name, value); 958s # g_variant_unref (value); 958s # } 958s # } 958s # } 958s # out: 958s # return g_variant_builder_end (&builder); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_skeleton_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 958s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 958s # if (skeleton->priv->changed_properties_idle_source != NULL) 958s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 958s # g_main_context_unref (skeleton->priv->context); 958s # g_mutex_clear (&skeleton->priv->lock); 958s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 958s # #else 958s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 958s # #endif 958s # 958s # g_mutex_init (&skeleton->priv->lock); 958s # skeleton->priv->context = g_main_context_ref_thread_default (); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusInterfaceSkeletonClass *skeleton_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 958s # 958s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 958s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 958s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 958s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 958s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_skeleton_new: 958s # * 958s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_skeleton_new (void) 958s # { 958s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 958s # } 958s # /tmp/tmpqnfzcbyi/tmp870pk19q.xml: 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqnfzcbyi/tmp870pk19q.xml', '--output', '-', '--body'] 958s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 958s # Output: /* 958s # * This file is generated by gdbus-codegen, do not modify it. 958s # * 958s # * The license of this code is the same as for the D-Bus interface description 958s # * it was derived from. Note that it links to GLib, so must comply with the 958s # * LGPL linking clauses. 958s # */ 958s # 958s # #ifdef HAVE_CONFIG_H 958s # # include "config.h" 958s # #endif 958s # 958s # #include 958s # #ifdef G_OS_UNIX 958s # # include 958s # #endif 958s # 958s # #ifdef G_ENABLE_DEBUG 958s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 958s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 958s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 958s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 958s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 958s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 958s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 958s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 958s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 958s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 958s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 958s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 958s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 958s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 958s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 958s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 958s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 958s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 958s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 958s # #else /* !G_ENABLE_DEBUG */ 958s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 958s # * Do not access GValues directly in your code. Instead, use the 958s # * g_value_get_*() functions 958s # */ 958s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 958s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 958s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 958s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 958s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 958s # #endif /* !G_ENABLE_DEBUG */ 958s # 958s # typedef struct 958s # { 958s # GDBusArgInfo parent_struct; 958s # gboolean use_gvariant; 958s # } _ExtendedGDBusArgInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusMethodInfo parent_struct; 958s # const gchar *signal_name; 958s # gboolean pass_fdlist; 958s # } _ExtendedGDBusMethodInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusSignalInfo parent_struct; 958s # const gchar *signal_name; 958s # } _ExtendedGDBusSignalInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusPropertyInfo parent_struct; 958s # const gchar *hyphen_name; 958s # guint use_gvariant : 1; 958s # guint emits_changed_signal : 1; 958s # } _ExtendedGDBusPropertyInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusInterfaceInfo parent_struct; 958s # const gchar *hyphen_name; 958s # } _ExtendedGDBusInterfaceInfo; 958s # 958s # typedef struct 958s # { 958s # const _ExtendedGDBusPropertyInfo *info; 958s # guint prop_id; 958s # GValue orig_value; /* the value before the change */ 958s # } ChangedProperty; 958s # 958s # static void 958s # _changed_property_free (ChangedProperty *data) 958s # { 958s # g_value_unset (&data->orig_value); 958s # g_free (data); 958s # } 958s # 958s # static gboolean 958s # _g_strv_equal0 (gchar **a, gchar **b) 958s # { 958s # gboolean ret = FALSE; 958s # guint n; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # if (g_strv_length (a) != g_strv_length (b)) 958s # goto out; 958s # for (n = 0; a[n] != NULL; n++) 958s # if (g_strcmp0 (a[n], b[n]) != 0) 958s # goto out; 958s # ret = TRUE; 958s # out: 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _g_variant_equal0 (GVariant *a, GVariant *b) 958s # { 958s # gboolean ret = FALSE; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # ret = g_variant_equal (a, b); 958s # out: 958s # return ret; 958s # } 958s # 958s # G_GNUC_UNUSED static gboolean 958s # _g_value_equal (const GValue *a, const GValue *b) 958s # { 958s # gboolean ret = FALSE; 958s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 958s # switch (G_VALUE_TYPE (a)) 958s # { 958s # case G_TYPE_BOOLEAN: 958s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 958s # break; 958s # case G_TYPE_UCHAR: 958s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 958s # break; 958s # case G_TYPE_INT: 958s # ret = (g_value_get_int (a) == g_value_get_int (b)); 958s # break; 958s # case G_TYPE_UINT: 958s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 958s # break; 958s # case G_TYPE_INT64: 958s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 958s # break; 958s # case G_TYPE_UINT64: 958s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 958s # break; 958s # case G_TYPE_DOUBLE: 958s # { 958s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 958s # gdouble da = g_value_get_double (a); 958s # gdouble db = g_value_get_double (b); 958s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 958s # } 958s # break; 958s # case G_TYPE_STRING: 958s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 958s # break; 958s # case G_TYPE_VARIANT: 958s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 958s # break; 958s # default: 958s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 958s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 958s # else 958s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 958s # break; 958s # } 958s # return ret; 958s # } 958s # 958s # static void 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint G_GNUC_UNUSED, 958s # void *marshal_data) 958s # { 958s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 958s # (void *data1, 958s # GDBusMethodInvocation *arg_method_invocation, 958s # gdouble arg_arg_d, 958s # void *data2); 958s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 958s # GCClosure *cc = (GCClosure*) closure; 958s # void *data1, *data2; 958s # gboolean v_return; 958s # 958s # g_return_if_fail (return_value != NULL); 958s # g_return_if_fail (n_param_values == 3); 958s # 958s # if (G_CCLOSURE_SWAP_DATA (closure)) 958s # { 958s # data1 = closure->data; 958s # data2 = g_value_peek_pointer (param_values + 0); 958s # } 958s # else 958s # { 958s # data1 = g_value_peek_pointer (param_values + 0); 958s # data2 = closure->data; 958s # } 958s # 958s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 958s # (marshal_data ? marshal_data : cc->callback); 958s # 958s # v_return = 958s # callback (data1, 958s # g_marshal_value_peek_object (param_values + 1), 958s # g_marshal_value_peek_double (param_values + 2), 958s # data2); 958s # 958s # g_value_set_boolean (return_value, v_return); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ 958s # * Code for interface org.project.UsefulInterface 958s # * ------------------------------------------------------------------------ 958s # */ 958s # 958s # /** 958s # * SECTION:OrgProjectUsefulInterface 958s # * @title: OrgProjectUsefulInterface 958s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 958s # * 958s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 958s # */ 958s # 958s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 958s # { 958s # { 958s # -1, 958s # (gchar *) "arg_d", 958s # (gchar *) "d", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgMethodD", 958s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 958s # NULL, 958s # NULL 958s # }, 958s # "handle-single-arg-method-d", 958s # FALSE 958s # }; 958s # 958s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 958s # { 958s # { 958s # -1, 958s # (gchar *) "org.project.UsefulInterface", 958s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 958s # NULL, 958s # NULL, 958s # NULL 958s # }, 958s # "org-project-useful-interface", 958s # }; 958s # 958s # 958s # /** 958s # * org_project_useful_interface_interface_info: 958s # * 958s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 958s # * 958s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 958s # */ 958s # GDBusInterfaceInfo * 958s # org_project_useful_interface_interface_info (void) 958s # { 958s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_override_properties: 958s # * @klass: The class structure for a #GObject derived class. 958s # * @property_id_begin: The property id to assign to the first overridden property. 958s # * 958s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 958s # * The properties are overridden in the order they are defined. 958s # * 958s # * Returns: The last property id. 958s # */ 958s # guint 958s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 958s # { 958s # return property_id_begin - 1; 958s # } 958s # 958s # 958s # inline static void 958s # org_project_useful_interface_method_marshal_single_arg_method_d ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # 958s # /** 958s # * OrgProjectUsefulInterface: 958s # * 958s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceIface: 958s # * @parent_iface: The parent interface. 958s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 958s # * 958s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 958s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 958s # 958s # static void 958s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 958s # { 958s # /* GObject signals for incoming D-Bus method calls: */ 958s # /** 958s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: A #GDBusMethodInvocation. 958s # * @arg_arg_d: Argument passed by remote caller. 958s # * 958s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 958s # * 958s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_d() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 958s # * 958s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 958s # */ 958s # g_signal_new ("handle-single-arg-method-d", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 958s # g_signal_accumulator_true_handled, 958s # NULL, 958s # org_project_useful_interface_method_marshal_single_arg_method_d, 958s # G_TYPE_BOOLEAN, 958s # 2, 958s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 958s # 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_d: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @arg_arg_d: Argument to pass with the method invocation. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 958s # */ 958s # void 958s # org_project_useful_interface_call_single_arg_method_d ( 958s # OrgProjectUsefulInterface *proxy, 958s # gdouble arg_arg_d, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodD", 958s # g_variant_new ("(d)", 958s # arg_arg_d), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # callback, 958s # user_data); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_d_finish: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_d_finish ( 958s # OrgProjectUsefulInterface *proxy, 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "()"); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_d_sync: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @arg_arg_d: Argument to pass with the method invocation. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_d_sync ( 958s # OrgProjectUsefulInterface *proxy, 958s # gdouble arg_arg_d, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodD", 958s # g_variant_new ("(d)", 958s # arg_arg_d), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "()"); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_complete_single_arg_method_d: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: (transfer full): A #GDBusMethodInvocation. 958s # * 958s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodD() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 958s # * 958s # * This method will free @invocation, you cannot use it afterwards. 958s # */ 958s # void 958s # org_project_useful_interface_complete_single_arg_method_d ( 958s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 958s # GDBusMethodInvocation *invocation) 958s # { 958s # g_dbus_method_invocation_return_value (invocation, 958s # g_variant_new ("()")); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxy: 958s # * 958s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxyClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceProxy. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceProxyPrivate 958s # { 958s # GData *qdata; 958s # }; 958s # 958s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_proxy_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 958s # g_datalist_clear (&proxy->priv->qdata); 958s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # const GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 958s # const gchar *sender_name G_GNUC_UNUSED, 958s # const gchar *signal_name, 958s # GVariant *parameters) 958s # { 958s # _ExtendedGDBusSignalInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # gsize n; 958s # guint signal_id; 958s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 958s # if (info == NULL) 958s # return; 958s # num_params = g_variant_n_children (parameters); 958s # paramv = g_new0 (GValue, num_params + 1); 958s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[0], proxy); 958s # g_variant_iter_init (&iter, parameters); 958s # n = 1; 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_signal_emitv (paramv, signal_id, 0, NULL); 958s # for (n = 0; n < num_params + 1; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 958s # GVariant *changed_properties, 958s # const gchar *const *invalidated_properties) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 958s # guint n; 958s # const gchar *key; 958s # GVariantIter *iter; 958s # _ExtendedGDBusPropertyInfo *info; 958s # g_variant_get (changed_properties, "a{sv}", &iter); 958s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 958s # g_datalist_remove_data (&proxy->priv->qdata, key); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # g_variant_iter_free (iter); 958s # for (n = 0; invalidated_properties[n] != NULL; n++) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 958s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 958s # #else 958s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 958s # #endif 958s # 958s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusProxyClass *proxy_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 958s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 958s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 958s # 958s # proxy_class = G_DBUS_PROXY_CLASS (klass); 958s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 958s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_sync: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_sync ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new_for_bus ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_sync: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_sync ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeleton: 958s # * 958s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeletonClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 958s # { 958s # GValue *properties; 958s # GList *changed_properties; 958s # GSource *changed_properties_idle_source; 958s # GMainContext *context; 958s # GMutex lock; 958s # }; 958s # 958s # static void 958s # _org_project_useful_interface_skeleton_handle_method_call ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name, 958s # const gchar *method_name, 958s # GVariant *parameters, 958s # GDBusMethodInvocation *invocation, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # _ExtendedGDBusMethodInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # guint num_extra; 958s # gsize n; 958s # guint signal_id; 958s # GValue return_value = G_VALUE_INIT; 958s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 958s # g_assert (info != NULL); 958s # num_params = g_variant_n_children (parameters); 958s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 958s # n = 0; 958s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[n++], skeleton); 958s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 958s # g_value_set_object (¶mv[n++], invocation); 958s # if (info->pass_fdlist) 958s # { 958s # #ifdef G_OS_UNIX 958s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 958s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 958s # #else 958s # g_assert_not_reached (); 958s # #endif 958s # } 958s # g_variant_iter_init (&iter, parameters); 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_init (&return_value, G_TYPE_BOOLEAN); 958s # g_signal_emitv (paramv, signal_id, 0, &return_value); 958s # if (!g_value_get_boolean (&return_value)) 958s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 958s # g_value_unset (&return_value); 958s # for (n = 0; n < num_params + num_extra; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static GVariant * 958s # _org_project_useful_interface_skeleton_handle_get_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # GVariant *ret; 958s # ret = NULL; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # g_value_init (&value, pspec->value_type); 958s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 958s # g_value_unset (&value); 958s # } 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _org_project_useful_interface_skeleton_handle_set_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GVariant *variant, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # gboolean ret; 958s # ret = FALSE; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # if (info->use_gvariant) 958s # g_value_set_variant (&value, variant); 958s # else 958s # g_dbus_gvariant_to_gvalue (variant, &value); 958s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # g_value_unset (&value); 958s # ret = TRUE; 958s # } 958s # return ret; 958s # } 958s # 958s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 958s # { 958s # _org_project_useful_interface_skeleton_handle_method_call, 958s # _org_project_useful_interface_skeleton_handle_get_property, 958s # _org_project_useful_interface_skeleton_handle_set_property, 958s # {NULL} 958s # }; 958s # 958s # static GDBusInterfaceInfo * 958s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return org_project_useful_interface_interface_info (); 958s # } 958s # 958s # static GDBusInterfaceVTable * 958s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 958s # } 958s # 958s # static GVariant * 958s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 958s # 958s # GVariantBuilder builder; 958s # guint n; 958s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 958s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 958s # goto out; 958s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 958s # { 958s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 958s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 958s # { 958s # GVariant *value; 958s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 958s # if (value != NULL) 958s # { 958s # g_variant_take_ref (value); 958s # g_variant_builder_add (&builder, "{sv}", info->name, value); 958s # g_variant_unref (value); 958s # } 958s # } 958s # } 958s # out: 958s # return g_variant_builder_end (&builder); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_skeleton_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 958s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 958s # if (skeleton->priv->changed_properties_idle_source != NULL) 958s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 958s # g_main_context_unref (skeleton->priv->context); 958s # g_mutex_clear (&skeleton->priv->lock); 958s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 958s # #else 958s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 958s # #endif 958s # 958s # g_mutex_init (&skeleton->priv->lock); 958s # skeleton->priv->context = g_main_context_ref_thread_default (); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusInterfaceSkeletonClass *skeleton_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 958s # 958s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 958s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 958s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 958s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 958s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_skeleton_new: 958s # * 958s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_skeleton_new (void) 958s # { 958s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 958s # } 958s # /tmp/tmpqnfzcbyi/tmp6djswhhs.xml: 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqnfzcbyi/tmp6djswhhs.xml', '--output', '-', '--body'] 958s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 958s # Output: /* 958s # * This file is generated by gdbus-codegen, do not modify it. 958s # * 958s # * The license of this code is the same as for the D-Bus interface description 958s # * it was derived from. Note that it links to GLib, so must comply with the 958s # * LGPL linking clauses. 958s # */ 958s # 958s # #ifdef HAVE_CONFIG_H 958s # # include "config.h" 958s # #endif 958s # 958s # #include 958s # #ifdef G_OS_UNIX 958s # # include 958s # #endif 958s # 958s # #ifdef G_ENABLE_DEBUG 958s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 958s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 958s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 958s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 958s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 958s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 958s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 958s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 958s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 958s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 958s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 958s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 958s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 958s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 958s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 958s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 958s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 958s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 958s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 958s # #else /* !G_ENABLE_DEBUG */ 958s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 958s # * Do not access GValues directly in your code. Instead, use the 958s # * g_value_get_*() functions 958s # */ 958s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 958s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 958s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 958s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 958s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 958s # #endif /* !G_ENABLE_DEBUG */ 958s # 958s # typedef struct 958s # { 958s # GDBusArgInfo parent_struct; 958s # gboolean use_gvariant; 958s # } _ExtendedGDBusArgInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusMethodInfo parent_struct; 958s # const gchar *signal_name; 958s # gboolean pass_fdlist; 958s # } _ExtendedGDBusMethodInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusSignalInfo parent_struct; 958s # const gchar *signal_name; 958s # } _ExtendedGDBusSignalInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusPropertyInfo parent_struct; 958s # const gchar *hyphen_name; 958s # guint use_gvariant : 1; 958s # guint emits_changed_signal : 1; 958s # } _ExtendedGDBusPropertyInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusInterfaceInfo parent_struct; 958s # const gchar *hyphen_name; 958s # } _ExtendedGDBusInterfaceInfo; 958s # 958s # typedef struct 958s # { 958s # const _ExtendedGDBusPropertyInfo *info; 958s # guint prop_id; 958s # GValue orig_value; /* the value before the change */ 958s # } ChangedProperty; 958s # 958s # static void 958s # _changed_property_free (ChangedProperty *data) 958s # { 958s # g_value_unset (&data->orig_value); 958s # g_free (data); 958s # } 958s # 958s # static gboolean 958s # _g_strv_equal0 (gchar **a, gchar **b) 958s # { 958s # gboolean ret = FALSE; 958s # guint n; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # if (g_strv_length (a) != g_strv_length (b)) 958s # goto out; 958s # for (n = 0; a[n] != NULL; n++) 958s # if (g_strcmp0 (a[n], b[n]) != 0) 958s # goto out; 958s # ret = TRUE; 958s # out: 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _g_variant_equal0 (GVariant *a, GVariant *b) 958s # { 958s # gboolean ret = FALSE; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # ret = g_variant_equal (a, b); 958s # out: 958s # return ret; 958s # } 958s # 958s # G_GNUC_UNUSED static gboolean 958s # _g_value_equal (const GValue *a, const GValue *b) 958s # { 958s # gboolean ret = FALSE; 958s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 958s # switch (G_VALUE_TYPE (a)) 958s # { 958s # case G_TYPE_BOOLEAN: 958s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 958s # break; 958s # case G_TYPE_UCHAR: 958s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 958s # break; 958s # case G_TYPE_INT: 958s # ret = (g_value_get_int (a) == g_value_get_int (b)); 958s # break; 958s # case G_TYPE_UINT: 958s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 958s # break; 958s # case G_TYPE_INT64: 958s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 958s # break; 958s # case G_TYPE_UINT64: 958s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 958s # break; 958s # case G_TYPE_DOUBLE: 958s # { 958s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 958s # gdouble da = g_value_get_double (a); 958s # gdouble db = g_value_get_double (b); 958s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 958s # } 958s # break; 958s # case G_TYPE_STRING: 958s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 958s # break; 958s # case G_TYPE_VARIANT: 958s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 958s # break; 958s # default: 958s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 958s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 958s # else 958s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 958s # break; 958s # } 958s # return ret; 958s # } 958s # 958s # static void 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint G_GNUC_UNUSED, 958s # void *marshal_data) 958s # { 958s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 958s # (void *data1, 958s # GDBusMethodInvocation *arg_method_invocation, 958s # const gchar *arg_arg_s, 958s # void *data2); 958s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 958s # GCClosure *cc = (GCClosure*) closure; 958s # void *data1, *data2; 958s # gboolean v_return; 958s # 958s # g_return_if_fail (return_value != NULL); 958s # g_return_if_fail (n_param_values == 3); 958s # 958s # if (G_CCLOSURE_SWAP_DATA (closure)) 958s # { 958s # data1 = closure->data; 958s # data2 = g_value_peek_pointer (param_values + 0); 958s # } 958s # else 958s # { 958s # data1 = g_value_peek_pointer (param_values + 0); 958s # data2 = closure->data; 958s # } 958s # 958s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 958s # (marshal_data ? marshal_data : cc->callback); 958s # 958s # v_return = 958s # callback (data1, 958s # g_marshal_value_peek_object (param_values + 1), 958s # g_marshal_value_peek_string (param_values + 2), 958s # data2); 958s # 958s # g_value_set_boolean (return_value, v_return); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ 958s # * Code for interface org.project.UsefulInterface 958s # * ------------------------------------------------------------------------ 958s # */ 958s # 958s # /** 958s # * SECTION:OrgProjectUsefulInterface 958s # * @title: OrgProjectUsefulInterface 958s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 958s # * 958s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 958s # */ 958s # 958s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 958s # { 958s # { 958s # -1, 958s # (gchar *) "arg_s", 958s # (gchar *) "s", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgMethodS", 958s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 958s # NULL, 958s # NULL 958s # }, 958s # "handle-single-arg-method-s", 958s # FALSE 958s # }; 958s # 958s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 958s # { 958s # { 958s # -1, 958s # (gchar *) "org.project.UsefulInterface", 958s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 958s # NULL, 958s # NULL, 958s # NULL 958s # }, 958s # "org-project-useful-interface", 958s # }; 958s # 958s # 958s # /** 958s # * org_project_useful_interface_interface_info: 958s # * 958s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 958s # * 958s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 958s # */ 958s # GDBusInterfaceInfo * 958s # org_project_useful_interface_interface_info (void) 958s # { 958s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_override_properties: 958s # * @klass: The class structure for a #GObject derived class. 958s # * @property_id_begin: The property id to assign to the first overridden property. 958s # * 958s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 958s # * The properties are overridden in the order they are defined. 958s # * 958s # * Returns: The last property id. 958s # */ 958s # guint 958s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 958s # { 958s # return property_id_begin - 1; 958s # } 958s # 958s # 958s # inline static void 958s # org_project_useful_interface_method_marshal_single_arg_method_s ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # 958s # /** 958s # * OrgProjectUsefulInterface: 958s # * 958s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceIface: 958s # * @parent_iface: The parent interface. 958s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 958s # * 958s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 958s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 958s # 958s # static void 958s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 958s # { 958s # /* GObject signals for incoming D-Bus method calls: */ 958s # /** 958s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: A #GDBusMethodInvocation. 958s # * @arg_arg_s: Argument passed by remote caller. 958s # * 958s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 958s # * 958s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_s() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 958s # * 958s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 958s # */ 958s # g_signal_new ("handle-single-arg-method-s", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 958s # g_signal_accumulator_true_handled, 958s # NULL, 958s # org_project_useful_interface_method_marshal_single_arg_method_s, 958s # G_TYPE_BOOLEAN, 958s # 2, 958s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 958s # 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_s: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @arg_arg_s: Argument to pass with the method invocation. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 958s # */ 958s # void 958s # org_project_useful_interface_call_single_arg_method_s ( 958s # OrgProjectUsefulInterface *proxy, 958s # const gchar *arg_arg_s, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodS", 958s # g_variant_new ("(s)", 958s # arg_arg_s), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # callback, 958s # user_data); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_s_finish: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_s_finish ( 958s # OrgProjectUsefulInterface *proxy, 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "()"); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_s_sync: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @arg_arg_s: Argument to pass with the method invocation. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_s_sync ( 958s # OrgProjectUsefulInterface *proxy, 958s # const gchar *arg_arg_s, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodS", 958s # g_variant_new ("(s)", 958s # arg_arg_s), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "()"); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_complete_single_arg_method_s: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: (transfer full): A #GDBusMethodInvocation. 958s # * 958s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodS() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 958s # * 958s # * This method will free @invocation, you cannot use it afterwards. 958s # */ 958s # void 958s # org_project_useful_interface_complete_single_arg_method_s ( 958s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 958s # GDBusMethodInvocation *invocation) 958s # { 958s # g_dbus_method_invocation_return_value (invocation, 958s # g_variant_new ("()")); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxy: 958s # * 958s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxyClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceProxy. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceProxyPrivate 958s # { 958s # GData *qdata; 958s # }; 958s # 958s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_proxy_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 958s # g_datalist_clear (&proxy->priv->qdata); 958s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # const GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 958s # const gchar *sender_name G_GNUC_UNUSED, 958s # const gchar *signal_name, 958s # GVariant *parameters) 958s # { 958s # _ExtendedGDBusSignalInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # gsize n; 958s # guint signal_id; 958s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 958s # if (info == NULL) 958s # return; 958s # num_params = g_variant_n_children (parameters); 958s # paramv = g_new0 (GValue, num_params + 1); 958s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[0], proxy); 958s # g_variant_iter_init (&iter, parameters); 958s # n = 1; 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_signal_emitv (paramv, signal_id, 0, NULL); 958s # for (n = 0; n < num_params + 1; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 958s # GVariant *changed_properties, 958s # const gchar *const *invalidated_properties) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 958s # guint n; 958s # const gchar *key; 958s # GVariantIter *iter; 958s # _ExtendedGDBusPropertyInfo *info; 958s # g_variant_get (changed_properties, "a{sv}", &iter); 958s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 958s # g_datalist_remove_data (&proxy->priv->qdata, key); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # g_variant_iter_free (iter); 958s # for (n = 0; invalidated_properties[n] != NULL; n++) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 958s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 958s # #else 958s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 958s # #endif 958s # 958s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusProxyClass *proxy_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 958s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 958s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 958s # 958s # proxy_class = G_DBUS_PROXY_CLASS (klass); 958s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 958s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_sync: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_sync ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new_for_bus ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_sync: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_sync ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeleton: 958s # * 958s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeletonClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 958s # { 958s # GValue *properties; 958s # GList *changed_properties; 958s # GSource *changed_properties_idle_source; 958s # GMainContext *context; 958s # GMutex lock; 958s # }; 958s # 958s # static void 958s # _org_project_useful_interface_skeleton_handle_method_call ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name, 958s # const gchar *method_name, 958s # GVariant *parameters, 958s # GDBusMethodInvocation *invocation, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # _ExtendedGDBusMethodInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # guint num_extra; 958s # gsize n; 958s # guint signal_id; 958s # GValue return_value = G_VALUE_INIT; 958s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 958s # g_assert (info != NULL); 958s # num_params = g_variant_n_children (parameters); 958s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 958s # n = 0; 958s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[n++], skeleton); 958s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 958s # g_value_set_object (¶mv[n++], invocation); 958s # if (info->pass_fdlist) 958s # { 958s # #ifdef G_OS_UNIX 958s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 958s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 958s # #else 958s # g_assert_not_reached (); 958s # #endif 958s # } 958s # g_variant_iter_init (&iter, parameters); 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_init (&return_value, G_TYPE_BOOLEAN); 958s # g_signal_emitv (paramv, signal_id, 0, &return_value); 958s # if (!g_value_get_boolean (&return_value)) 958s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 958s # g_value_unset (&return_value); 958s # for (n = 0; n < num_params + num_extra; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static GVariant * 958s # _org_project_useful_interface_skeleton_handle_get_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # GVariant *ret; 958s # ret = NULL; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # g_value_init (&value, pspec->value_type); 958s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 958s # g_value_unset (&value); 958s # } 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _org_project_useful_interface_skeleton_handle_set_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GVariant *variant, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # gboolean ret; 958s # ret = FALSE; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # if (info->use_gvariant) 958s # g_value_set_variant (&value, variant); 958s # else 958s # g_dbus_gvariant_to_gvalue (variant, &value); 958s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # g_value_unset (&value); 958s # ret = TRUE; 958s # } 958s # return ret; 958s # } 958s # 958s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 958s # { 958s # _org_project_useful_interface_skeleton_handle_method_call, 958s # _org_project_useful_interface_skeleton_handle_get_property, 958s # _org_project_useful_interface_skeleton_handle_set_property, 958s # {NULL} 958s # }; 958s # 958s # static GDBusInterfaceInfo * 958s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return org_project_useful_interface_interface_info (); 958s # } 958s # 958s # static GDBusInterfaceVTable * 958s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 958s # } 958s # 958s # static GVariant * 958s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 958s # 958s # GVariantBuilder builder; 958s # guint n; 958s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 958s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 958s # goto out; 958s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 958s # { 958s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 958s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 958s # { 958s # GVariant *value; 958s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 958s # if (value != NULL) 958s # { 958s # g_variant_take_ref (value); 958s # g_variant_builder_add (&builder, "{sv}", info->name, value); 958s # g_variant_unref (value); 958s # } 958s # } 958s # } 958s # out: 958s # return g_variant_builder_end (&builder); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_skeleton_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 958s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 958s # if (skeleton->priv->changed_properties_idle_source != NULL) 958s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 958s # g_main_context_unref (skeleton->priv->context); 958s # g_mutex_clear (&skeleton->priv->lock); 958s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 958s # #else 958s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 958s # #endif 958s # 958s # g_mutex_init (&skeleton->priv->lock); 958s # skeleton->priv->context = g_main_context_ref_thread_default (); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusInterfaceSkeletonClass *skeleton_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 958s # 958s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 958s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 958s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 958s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 958s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_skeleton_new: 958s # * 958s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_skeleton_new (void) 958s # { 958s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 958s # } 958s # /tmp/tmpqnfzcbyi/tmpuriodj0y.xml: 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqnfzcbyi/tmpuriodj0y.xml', '--output', '-', '--body'] 958s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 958s # Output: /* 958s # * This file is generated by gdbus-codegen, do not modify it. 958s # * 958s # * The license of this code is the same as for the D-Bus interface description 958s # * it was derived from. Note that it links to GLib, so must comply with the 958s # * LGPL linking clauses. 958s # */ 958s # 958s # #ifdef HAVE_CONFIG_H 958s # # include "config.h" 958s # #endif 958s # 958s # #include 958s # #ifdef G_OS_UNIX 958s # # include 958s # #endif 958s # 958s # #ifdef G_ENABLE_DEBUG 958s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 958s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 958s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 958s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 958s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 958s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 958s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 958s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 958s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 958s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 958s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 958s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 958s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 958s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 958s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 958s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 958s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 958s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 958s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 958s # #else /* !G_ENABLE_DEBUG */ 958s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 958s # * Do not access GValues directly in your code. Instead, use the 958s # * g_value_get_*() functions 958s # */ 958s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 958s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 958s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 958s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 958s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 958s # #endif /* !G_ENABLE_DEBUG */ 958s # 958s # typedef struct 958s # { 958s # GDBusArgInfo parent_struct; 958s # gboolean use_gvariant; 958s # } _ExtendedGDBusArgInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusMethodInfo parent_struct; 958s # const gchar *signal_name; 958s # gboolean pass_fdlist; 958s # } _ExtendedGDBusMethodInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusSignalInfo parent_struct; 958s # const gchar *signal_name; 958s # } _ExtendedGDBusSignalInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusPropertyInfo parent_struct; 958s # const gchar *hyphen_name; 958s # guint use_gvariant : 1; 958s # guint emits_changed_signal : 1; 958s # } _ExtendedGDBusPropertyInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusInterfaceInfo parent_struct; 958s # const gchar *hyphen_name; 958s # } _ExtendedGDBusInterfaceInfo; 958s # 958s # typedef struct 958s # { 958s # const _ExtendedGDBusPropertyInfo *info; 958s # guint prop_id; 958s # GValue orig_value; /* the value before the change */ 958s # } ChangedProperty; 958s # 958s # static void 958s # _changed_property_free (ChangedProperty *data) 958s # { 958s # g_value_unset (&data->orig_value); 958s # g_free (data); 958s # } 958s # 958s # static gboolean 958s # _g_strv_equal0 (gchar **a, gchar **b) 958s # { 958s # gboolean ret = FALSE; 958s # guint n; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # if (g_strv_length (a) != g_strv_length (b)) 958s # goto out; 958s # for (n = 0; a[n] != NULL; n++) 958s # if (g_strcmp0 (a[n], b[n]) != 0) 958s # goto out; 958s # ret = TRUE; 958s # out: 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _g_variant_equal0 (GVariant *a, GVariant *b) 958s # { 958s # gboolean ret = FALSE; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # ret = g_variant_equal (a, b); 958s # out: 958s # return ret; 958s # } 958s # 958s # G_GNUC_UNUSED static gboolean 958s # _g_value_equal (const GValue *a, const GValue *b) 958s # { 958s # gboolean ret = FALSE; 958s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 958s # switch (G_VALUE_TYPE (a)) 958s # { 958s # case G_TYPE_BOOLEAN: 958s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 958s # break; 958s # case G_TYPE_UCHAR: 958s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 958s # break; 958s # case G_TYPE_INT: 958s # ret = (g_value_get_int (a) == g_value_get_int (b)); 958s # break; 958s # case G_TYPE_UINT: 958s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 958s # break; 958s # case G_TYPE_INT64: 958s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 958s # break; 958s # case G_TYPE_UINT64: 958s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 958s # break; 958s # case G_TYPE_DOUBLE: 958s # { 958s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 958s # gdouble da = g_value_get_double (a); 958s # gdouble db = g_value_get_double (b); 958s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 958s # } 958s # break; 958s # case G_TYPE_STRING: 958s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 958s # break; 958s # case G_TYPE_VARIANT: 958s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 958s # break; 958s # default: 958s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 958s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 958s # else 958s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 958s # break; 958s # } 958s # return ret; 958s # } 958s # 958s # static void 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint G_GNUC_UNUSED, 958s # void *marshal_data) 958s # { 958s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 958s # (void *data1, 958s # GDBusMethodInvocation *arg_method_invocation, 958s # const gchar *arg_arg_o, 958s # void *data2); 958s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 958s # GCClosure *cc = (GCClosure*) closure; 958s # void *data1, *data2; 958s # gboolean v_return; 958s # 958s # g_return_if_fail (return_value != NULL); 958s # g_return_if_fail (n_param_values == 3); 958s # 958s # if (G_CCLOSURE_SWAP_DATA (closure)) 958s # { 958s # data1 = closure->data; 958s # data2 = g_value_peek_pointer (param_values + 0); 958s # } 958s # else 958s # { 958s # data1 = g_value_peek_pointer (param_values + 0); 958s # data2 = closure->data; 958s # } 958s # 958s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 958s # (marshal_data ? marshal_data : cc->callback); 958s # 958s # v_return = 958s # callback (data1, 958s # g_marshal_value_peek_object (param_values + 1), 958s # g_marshal_value_peek_string (param_values + 2), 958s # data2); 958s # 958s # g_value_set_boolean (return_value, v_return); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ 958s # * Code for interface org.project.UsefulInterface 958s # * ------------------------------------------------------------------------ 958s # */ 958s # 958s # /** 958s # * SECTION:OrgProjectUsefulInterface 958s # * @title: OrgProjectUsefulInterface 958s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 958s # * 958s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 958s # */ 958s # 958s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 958s # { 958s # { 958s # -1, 958s # (gchar *) "arg_o", 958s # (gchar *) "o", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgMethodO", 958s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 958s # NULL, 958s # NULL 958s # }, 958s # "handle-single-arg-method-o", 958s # FALSE 958s # }; 958s # 958s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 958s # { 958s # { 958s # -1, 958s # (gchar *) "org.project.UsefulInterface", 958s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 958s # NULL, 958s # NULL, 958s # NULL 958s # }, 958s # "org-project-useful-interface", 958s # }; 958s # 958s # 958s # /** 958s # * org_project_useful_interface_interface_info: 958s # * 958s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 958s # * 958s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 958s # */ 958s # GDBusInterfaceInfo * 958s # org_project_useful_interface_interface_info (void) 958s # { 958s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_override_properties: 958s # * @klass: The class structure for a #GObject derived class. 958s # * @property_id_begin: The property id to assign to the first overridden property. 958s # * 958s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 958s # * The properties are overridden in the order they are defined. 958s # * 958s # * Returns: The last property id. 958s # */ 958s # guint 958s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 958s # { 958s # return property_id_begin - 1; 958s # } 958s # 958s # 958s # inline static void 958s # org_project_useful_interface_method_marshal_single_arg_method_o ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # 958s # /** 958s # * OrgProjectUsefulInterface: 958s # * 958s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceIface: 958s # * @parent_iface: The parent interface. 958s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 958s # * 958s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 958s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 958s # 958s # static void 958s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 958s # { 958s # /* GObject signals for incoming D-Bus method calls: */ 958s # /** 958s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: A #GDBusMethodInvocation. 958s # * @arg_arg_o: Argument passed by remote caller. 958s # * 958s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 958s # * 958s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_o() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 958s # * 958s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 958s # */ 958s # g_signal_new ("handle-single-arg-method-o", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 958s # g_signal_accumulator_true_handled, 958s # NULL, 958s # org_project_useful_interface_method_marshal_single_arg_method_o, 958s # G_TYPE_BOOLEAN, 958s # 2, 958s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 958s # 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_o: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @arg_arg_o: Argument to pass with the method invocation. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 958s # */ 958s # void 958s # org_project_useful_interface_call_single_arg_method_o ( 958s # OrgProjectUsefulInterface *proxy, 958s # const gchar *arg_arg_o, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodO", 958s # g_variant_new ("(o)", 958s # arg_arg_o), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # callback, 958s # user_data); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_o_finish: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_o_finish ( 958s # OrgProjectUsefulInterface *proxy, 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "()"); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_o_sync: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @arg_arg_o: Argument to pass with the method invocation. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_o_sync ( 958s # OrgProjectUsefulInterface *proxy, 958s # const gchar *arg_arg_o, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodO", 958s # g_variant_new ("(o)", 958s # arg_arg_o), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "()"); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_complete_single_arg_method_o: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: (transfer full): A #GDBusMethodInvocation. 958s # * 958s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodO() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 958s # * 958s # * This method will free @invocation, you cannot use it afterwards. 958s # */ 958s # void 958s # org_project_useful_interface_complete_single_arg_method_o ( 958s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 958s # GDBusMethodInvocation *invocation) 958s # { 958s # g_dbus_method_invocation_return_value (invocation, 958s # g_variant_new ("()")); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxy: 958s # * 958s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxyClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceProxy. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceProxyPrivate 958s # { 958s # GData *qdata; 958s # }; 958s # 958s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_proxy_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 958s # g_datalist_clear (&proxy->priv->qdata); 958s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # const GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 958s # const gchar *sender_name G_GNUC_UNUSED, 958s # const gchar *signal_name, 958s # GVariant *parameters) 958s # { 958s # _ExtendedGDBusSignalInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # gsize n; 958s # guint signal_id; 958s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 958s # if (info == NULL) 958s # return; 958s # num_params = g_variant_n_children (parameters); 958s # paramv = g_new0 (GValue, num_params + 1); 958s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[0], proxy); 958s # g_variant_iter_init (&iter, parameters); 958s # n = 1; 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_signal_emitv (paramv, signal_id, 0, NULL); 958s # for (n = 0; n < num_params + 1; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 958s # GVariant *changed_properties, 958s # const gchar *const *invalidated_properties) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 958s # guint n; 958s # const gchar *key; 958s # GVariantIter *iter; 958s # _ExtendedGDBusPropertyInfo *info; 958s # g_variant_get (changed_properties, "a{sv}", &iter); 958s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 958s # g_datalist_remove_data (&proxy->priv->qdata, key); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # g_variant_iter_free (iter); 958s # for (n = 0; invalidated_properties[n] != NULL; n++) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 958s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 958s # #else 958s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 958s # #endif 958s # 958s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusProxyClass *proxy_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 958s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 958s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 958s # 958s # proxy_class = G_DBUS_PROXY_CLASS (klass); 958s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 958s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_sync: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_sync ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new_for_bus ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_sync: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_sync ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeleton: 958s # * 958s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeletonClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 958s # { 958s # GValue *properties; 958s # GList *changed_properties; 958s # GSource *changed_properties_idle_source; 958s # GMainContext *context; 958s # GMutex lock; 958s # }; 958s # 958s # static void 958s # _org_project_useful_interface_skeleton_handle_method_call ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name, 958s # const gchar *method_name, 958s # GVariant *parameters, 958s # GDBusMethodInvocation *invocation, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # _ExtendedGDBusMethodInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # guint num_extra; 958s # gsize n; 958s # guint signal_id; 958s # GValue return_value = G_VALUE_INIT; 958s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 958s # g_assert (info != NULL); 958s # num_params = g_variant_n_children (parameters); 958s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 958s # n = 0; 958s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[n++], skeleton); 958s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 958s # g_value_set_object (¶mv[n++], invocation); 958s # if (info->pass_fdlist) 958s # { 958s # #ifdef G_OS_UNIX 958s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 958s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 958s # #else 958s # g_assert_not_reached (); 958s # #endif 958s # } 958s # g_variant_iter_init (&iter, parameters); 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_init (&return_value, G_TYPE_BOOLEAN); 958s # g_signal_emitv (paramv, signal_id, 0, &return_value); 958s # if (!g_value_get_boolean (&return_value)) 958s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 958s # g_value_unset (&return_value); 958s # for (n = 0; n < num_params + num_extra; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static GVariant * 958s # _org_project_useful_interface_skeleton_handle_get_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # GVariant *ret; 958s # ret = NULL; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # g_value_init (&value, pspec->value_type); 958s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 958s # g_value_unset (&value); 958s # } 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _org_project_useful_interface_skeleton_handle_set_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GVariant *variant, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # gboolean ret; 958s # ret = FALSE; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # if (info->use_gvariant) 958s # g_value_set_variant (&value, variant); 958s # else 958s # g_dbus_gvariant_to_gvalue (variant, &value); 958s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # g_value_unset (&value); 958s # ret = TRUE; 958s # } 958s # return ret; 958s # } 958s # 958s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 958s # { 958s # _org_project_useful_interface_skeleton_handle_method_call, 958s # _org_project_useful_interface_skeleton_handle_get_property, 958s # _org_project_useful_interface_skeleton_handle_set_property, 958s # {NULL} 958s # }; 958s # 958s # static GDBusInterfaceInfo * 958s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return org_project_useful_interface_interface_info (); 958s # } 958s # 958s # static GDBusInterfaceVTable * 958s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 958s # } 958s # 958s # static GVariant * 958s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 958s # 958s # GVariantBuilder builder; 958s # guint n; 958s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 958s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 958s # goto out; 958s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 958s # { 958s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 958s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 958s # { 958s # GVariant *value; 958s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 958s # if (value != NULL) 958s # { 958s # g_variant_take_ref (value); 958s # g_variant_builder_add (&builder, "{sv}", info->name, value); 958s # g_variant_unref (value); 958s # } 958s # } 958s # } 958s # out: 958s # return g_variant_builder_end (&builder); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_skeleton_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 958s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 958s # if (skeleton->priv->changed_properties_idle_source != NULL) 958s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 958s # g_main_context_unref (skeleton->priv->context); 958s # g_mutex_clear (&skeleton->priv->lock); 958s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 958s # #else 958s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 958s # #endif 958s # 958s # g_mutex_init (&skeleton->priv->lock); 958s # skeleton->priv->context = g_main_context_ref_thread_default (); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusInterfaceSkeletonClass *skeleton_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 958s # 958s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 958s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 958s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 958s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 958s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_skeleton_new: 958s # * 958s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_skeleton_new (void) 958s # { 958s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 958s # } 958s # /tmp/tmpqnfzcbyi/tmpyi743f0g.xml: 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqnfzcbyi/tmpyi743f0g.xml', '--output', '-', '--body'] 958s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 958s # Output: /* 958s # * This file is generated by gdbus-codegen, do not modify it. 958s # * 958s # * The license of this code is the same as for the D-Bus interface description 958s # * it was derived from. Note that it links to GLib, so must comply with the 958s # * LGPL linking clauses. 958s # */ 958s # 958s # #ifdef HAVE_CONFIG_H 958s # # include "config.h" 958s # #endif 958s # 958s # #include 958s # #ifdef G_OS_UNIX 958s # # include 958s # #endif 958s # 958s # #ifdef G_ENABLE_DEBUG 958s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 958s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 958s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 958s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 958s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 958s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 958s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 958s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 958s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 958s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 958s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 958s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 958s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 958s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 958s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 958s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 958s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 958s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 958s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 958s # #else /* !G_ENABLE_DEBUG */ 958s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 958s # * Do not access GValues directly in your code. Instead, use the 958s # * g_value_get_*() functions 958s # */ 958s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 958s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 958s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 958s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 958s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 958s # #endif /* !G_ENABLE_DEBUG */ 958s # 958s # typedef struct 958s # { 958s # GDBusArgInfo parent_struct; 958s # gboolean use_gvariant; 958s # } _ExtendedGDBusArgInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusMethodInfo parent_struct; 958s # const gchar *signal_name; 958s # gboolean pass_fdlist; 958s # } _ExtendedGDBusMethodInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusSignalInfo parent_struct; 958s # const gchar *signal_name; 958s # } _ExtendedGDBusSignalInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusPropertyInfo parent_struct; 958s # const gchar *hyphen_name; 958s # guint use_gvariant : 1; 958s # guint emits_changed_signal : 1; 958s # } _ExtendedGDBusPropertyInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusInterfaceInfo parent_struct; 958s # const gchar *hyphen_name; 958s # } _ExtendedGDBusInterfaceInfo; 958s # 958s # typedef struct 958s # { 958s # const _ExtendedGDBusPropertyInfo *info; 958s # guint prop_id; 958s # GValue orig_value; /* the value before the change */ 958s # } ChangedProperty; 958s # 958s # static void 958s # _changed_property_free (ChangedProperty *data) 958s # { 958s # g_value_unset (&data->orig_value); 958s # g_free (data); 958s # } 958s # 958s # static gboolean 958s # _g_strv_equal0 (gchar **a, gchar **b) 958s # { 958s # gboolean ret = FALSE; 958s # guint n; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # if (g_strv_length (a) != g_strv_length (b)) 958s # goto out; 958s # for (n = 0; a[n] != NULL; n++) 958s # if (g_strcmp0 (a[n], b[n]) != 0) 958s # goto out; 958s # ret = TRUE; 958s # out: 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _g_variant_equal0 (GVariant *a, GVariant *b) 958s # { 958s # gboolean ret = FALSE; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # ret = g_variant_equal (a, b); 958s # out: 958s # return ret; 958s # } 958s # 958s # G_GNUC_UNUSED static gboolean 958s # _g_value_equal (const GValue *a, const GValue *b) 958s # { 958s # gboolean ret = FALSE; 958s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 958s # switch (G_VALUE_TYPE (a)) 958s # { 958s # case G_TYPE_BOOLEAN: 958s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 958s # break; 958s # case G_TYPE_UCHAR: 958s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 958s # break; 958s # case G_TYPE_INT: 958s # ret = (g_value_get_int (a) == g_value_get_int (b)); 958s # break; 958s # case G_TYPE_UINT: 958s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 958s # break; 958s # case G_TYPE_INT64: 958s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 958s # break; 958s # case G_TYPE_UINT64: 958s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 958s # break; 958s # case G_TYPE_DOUBLE: 958s # { 958s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 958s # gdouble da = g_value_get_double (a); 958s # gdouble db = g_value_get_double (b); 958s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 958s # } 958s # break; 958s # case G_TYPE_STRING: 958s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 958s # break; 958s # case G_TYPE_VARIANT: 958s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 958s # break; 958s # default: 958s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 958s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 958s # else 958s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 958s # break; 958s # } 958s # return ret; 958s # } 958s # 958s # static void 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint G_GNUC_UNUSED, 958s # void *marshal_data) 958s # { 958s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 958s # (void *data1, 958s # GDBusMethodInvocation *arg_method_invocation, 958s # const gchar *arg_arg_g, 958s # void *data2); 958s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 958s # GCClosure *cc = (GCClosure*) closure; 958s # void *data1, *data2; 958s # gboolean v_return; 958s # 958s # g_return_if_fail (return_value != NULL); 958s # g_return_if_fail (n_param_values == 3); 958s # 958s # if (G_CCLOSURE_SWAP_DATA (closure)) 958s # { 958s # data1 = closure->data; 958s # data2 = g_value_peek_pointer (param_values + 0); 958s # } 958s # else 958s # { 958s # data1 = g_value_peek_pointer (param_values + 0); 958s # data2 = closure->data; 958s # } 958s # 958s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 958s # (marshal_data ? marshal_data : cc->callback); 958s # 958s # v_return = 958s # callback (data1, 958s # g_marshal_value_peek_object (param_values + 1), 958s # g_marshal_value_peek_string (param_values + 2), 958s # data2); 958s # 958s # g_value_set_boolean (return_value, v_return); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ 958s # * Code for interface org.project.UsefulInterface 958s # * ------------------------------------------------------------------------ 958s # */ 958s # 958s # /** 958s # * SECTION:OrgProjectUsefulInterface 958s # * @title: OrgProjectUsefulInterface 958s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 958s # * 958s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 958s # */ 958s # 958s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 958s # { 958s # { 958s # -1, 958s # (gchar *) "arg_g", 958s # (gchar *) "g", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgMethodG", 958s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 958s # NULL, 958s # NULL 958s # }, 958s # "handle-single-arg-method-g", 958s # FALSE 958s # }; 958s # 958s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 958s # { 958s # { 958s # -1, 958s # (gchar *) "org.project.UsefulInterface", 958s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 958s # NULL, 958s # NULL, 958s # NULL 958s # }, 958s # "org-project-useful-interface", 958s # }; 958s # 958s # 958s # /** 958s # * org_project_useful_interface_interface_info: 958s # * 958s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 958s # * 958s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 958s # */ 958s # GDBusInterfaceInfo * 958s # org_project_useful_interface_interface_info (void) 958s # { 958s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_override_properties: 958s # * @klass: The class structure for a #GObject derived class. 958s # * @property_id_begin: The property id to assign to the first overridden property. 958s # * 958s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 958s # * The properties are overridden in the order they are defined. 958s # * 958s # * Returns: The last property id. 958s # */ 958s # guint 958s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 958s # { 958s # return property_id_begin - 1; 958s # } 958s # 958s # 958s # inline static void 958s # org_project_useful_interface_method_marshal_single_arg_method_g ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # 958s # /** 958s # * OrgProjectUsefulInterface: 958s # * 958s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceIface: 958s # * @parent_iface: The parent interface. 958s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 958s # * 958s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 958s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 958s # 958s # static void 958s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 958s # { 958s # /* GObject signals for incoming D-Bus method calls: */ 958s # /** 958s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: A #GDBusMethodInvocation. 958s # * @arg_arg_g: Argument passed by remote caller. 958s # * 958s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 958s # * 958s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_g() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 958s # * 958s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 958s # */ 958s # g_signal_new ("handle-single-arg-method-g", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 958s # g_signal_accumulator_true_handled, 958s # NULL, 958s # org_project_useful_interface_method_marshal_single_arg_method_g, 958s # G_TYPE_BOOLEAN, 958s # 2, 958s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 958s # 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_g: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @arg_arg_g: Argument to pass with the method invocation. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 958s # */ 958s # void 958s # org_project_useful_interface_call_single_arg_method_g ( 958s # OrgProjectUsefulInterface *proxy, 958s # const gchar *arg_arg_g, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodG", 958s # g_variant_new ("(g)", 958s # arg_arg_g), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # callback, 958s # user_data); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_g_finish: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_g_finish ( 958s # OrgProjectUsefulInterface *proxy, 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "()"); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_g_sync: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @arg_arg_g: Argument to pass with the method invocation. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_g_sync ( 958s # OrgProjectUsefulInterface *proxy, 958s # const gchar *arg_arg_g, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodG", 958s # g_variant_new ("(g)", 958s # arg_arg_g), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "()"); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_complete_single_arg_method_g: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: (transfer full): A #GDBusMethodInvocation. 958s # * 958s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodG() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 958s # * 958s # * This method will free @invocation, you cannot use it afterwards. 958s # */ 958s # void 958s # org_project_useful_interface_complete_single_arg_method_g ( 958s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 958s # GDBusMethodInvocation *invocation) 958s # { 958s # g_dbus_method_invocation_return_value (invocation, 958s # g_variant_new ("()")); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxy: 958s # * 958s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxyClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceProxy. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceProxyPrivate 958s # { 958s # GData *qdata; 958s # }; 958s # 958s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_proxy_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 958s # g_datalist_clear (&proxy->priv->qdata); 958s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # const GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 958s # const gchar *sender_name G_GNUC_UNUSED, 958s # const gchar *signal_name, 958s # GVariant *parameters) 958s # { 958s # _ExtendedGDBusSignalInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # gsize n; 958s # guint signal_id; 958s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 958s # if (info == NULL) 958s # return; 958s # num_params = g_variant_n_children (parameters); 958s # paramv = g_new0 (GValue, num_params + 1); 958s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[0], proxy); 958s # g_variant_iter_init (&iter, parameters); 958s # n = 1; 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_signal_emitv (paramv, signal_id, 0, NULL); 958s # for (n = 0; n < num_params + 1; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 958s # GVariant *changed_properties, 958s # const gchar *const *invalidated_properties) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 958s # guint n; 958s # const gchar *key; 958s # GVariantIter *iter; 958s # _ExtendedGDBusPropertyInfo *info; 958s # g_variant_get (changed_properties, "a{sv}", &iter); 958s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 958s # g_datalist_remove_data (&proxy->priv->qdata, key); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # g_variant_iter_free (iter); 958s # for (n = 0; invalidated_properties[n] != NULL; n++) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 958s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 958s # #else 958s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 958s # #endif 958s # 958s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusProxyClass *proxy_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 958s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 958s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 958s # 958s # proxy_class = G_DBUS_PROXY_CLASS (klass); 958s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 958s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_sync: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_sync ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new_for_bus ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_sync: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_sync ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeleton: 958s # * 958s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeletonClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 958s # { 958s # GValue *properties; 958s # GList *changed_properties; 958s # GSource *changed_properties_idle_source; 958s # GMainContext *context; 958s # GMutex lock; 958s # }; 958s # 958s # static void 958s # _org_project_useful_interface_skeleton_handle_method_call ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name, 958s # const gchar *method_name, 958s # GVariant *parameters, 958s # GDBusMethodInvocation *invocation, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # _ExtendedGDBusMethodInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # guint num_extra; 958s # gsize n; 958s # guint signal_id; 958s # GValue return_value = G_VALUE_INIT; 958s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 958s # g_assert (info != NULL); 958s # num_params = g_variant_n_children (parameters); 958s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 958s # n = 0; 958s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[n++], skeleton); 958s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 958s # g_value_set_object (¶mv[n++], invocation); 958s # if (info->pass_fdlist) 958s # { 958s # #ifdef G_OS_UNIX 958s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 958s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 958s # #else 958s # g_assert_not_reached (); 958s # #endif 958s # } 958s # g_variant_iter_init (&iter, parameters); 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_init (&return_value, G_TYPE_BOOLEAN); 958s # g_signal_emitv (paramv, signal_id, 0, &return_value); 958s # if (!g_value_get_boolean (&return_value)) 958s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 958s # g_value_unset (&return_value); 958s # for (n = 0; n < num_params + num_extra; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static GVariant * 958s # _org_project_useful_interface_skeleton_handle_get_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # GVariant *ret; 958s # ret = NULL; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # g_value_init (&value, pspec->value_type); 958s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 958s # g_value_unset (&value); 958s # } 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _org_project_useful_interface_skeleton_handle_set_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GVariant *variant, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # gboolean ret; 958s # ret = FALSE; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # if (info->use_gvariant) 958s # g_value_set_variant (&value, variant); 958s # else 958s # g_dbus_gvariant_to_gvalue (variant, &value); 958s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # g_value_unset (&value); 958s # ret = TRUE; 958s # } 958s # return ret; 958s # } 958s # 958s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 958s # { 958s # _org_project_useful_interface_skeleton_handle_method_call, 958s # _org_project_useful_interface_skeleton_handle_get_property, 958s # _org_project_useful_interface_skeleton_handle_set_property, 958s # {NULL} 958s # }; 958s # 958s # static GDBusInterfaceInfo * 958s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return org_project_useful_interface_interface_info (); 958s # } 958s # 958s # static GDBusInterfaceVTable * 958s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 958s # } 958s # 958s # static GVariant * 958s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 958s # 958s # GVariantBuilder builder; 958s # guint n; 958s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 958s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 958s # goto out; 958s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 958s # { 958s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 958s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 958s # { 958s # GVariant *value; 958s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 958s # if (value != NULL) 958s # { 958s # g_variant_take_ref (value); 958s # g_variant_builder_add (&builder, "{sv}", info->name, value); 958s # g_variant_unref (value); 958s # } 958s # } 958s # } 958s # out: 958s # return g_variant_builder_end (&builder); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_skeleton_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 958s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 958s # if (skeleton->priv->changed_properties_idle_source != NULL) 958s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 958s # g_main_context_unref (skeleton->priv->context); 958s # g_mutex_clear (&skeleton->priv->lock); 958s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 958s # #else 958s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 958s # #endif 958s # 958s # g_mutex_init (&skeleton->priv->lock); 958s # skeleton->priv->context = g_main_context_ref_thread_default (); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusInterfaceSkeletonClass *skeleton_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 958s # 958s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 958s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 958s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 958s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 958s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_skeleton_new: 958s # * 958s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_skeleton_new (void) 958s # { 958s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 958s # } 958s # /tmp/tmpqnfzcbyi/tmp3l5ejeci.xml: 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqnfzcbyi/tmp3l5ejeci.xml', '--output', '-', '--body'] 958s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 958s # Output: /* 958s # * This file is generated by gdbus-codegen, do not modify it. 958s # * 958s # * The license of this code is the same as for the D-Bus interface description 958s # * it was derived from. Note that it links to GLib, so must comply with the 958s # * LGPL linking clauses. 958s # */ 958s # 958s # #ifdef HAVE_CONFIG_H 958s # # include "config.h" 958s # #endif 958s # 958s # #include 958s # #ifdef G_OS_UNIX 958s # # include 958s # #endif 958s # 958s # #ifdef G_ENABLE_DEBUG 958s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 958s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 958s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 958s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 958s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 958s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 958s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 958s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 958s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 958s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 958s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 958s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 958s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 958s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 958s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 958s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 958s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 958s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 958s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 958s # #else /* !G_ENABLE_DEBUG */ 958s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 958s # * Do not access GValues directly in your code. Instead, use the 958s # * g_value_get_*() functions 958s # */ 958s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 958s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 958s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 958s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 958s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 958s # #endif /* !G_ENABLE_DEBUG */ 958s # 958s # typedef struct 958s # { 958s # GDBusArgInfo parent_struct; 958s # gboolean use_gvariant; 958s # } _ExtendedGDBusArgInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusMethodInfo parent_struct; 958s # const gchar *signal_name; 958s # gboolean pass_fdlist; 958s # } _ExtendedGDBusMethodInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusSignalInfo parent_struct; 958s # const gchar *signal_name; 958s # } _ExtendedGDBusSignalInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusPropertyInfo parent_struct; 958s # const gchar *hyphen_name; 958s # guint use_gvariant : 1; 958s # guint emits_changed_signal : 1; 958s # } _ExtendedGDBusPropertyInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusInterfaceInfo parent_struct; 958s # const gchar *hyphen_name; 958s # } _ExtendedGDBusInterfaceInfo; 958s # 958s # typedef struct 958s # { 958s # const _ExtendedGDBusPropertyInfo *info; 958s # guint prop_id; 958s # GValue orig_value; /* the value before the change */ 958s # } ChangedProperty; 958s # 958s # static void 958s # _changed_property_free (ChangedProperty *data) 958s # { 958s # g_value_unset (&data->orig_value); 958s # g_free (data); 958s # } 958s # 958s # static gboolean 958s # _g_strv_equal0 (gchar **a, gchar **b) 958s # { 958s # gboolean ret = FALSE; 958s # guint n; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # if (g_strv_length (a) != g_strv_length (b)) 958s # goto out; 958s # for (n = 0; a[n] != NULL; n++) 958s # if (g_strcmp0 (a[n], b[n]) != 0) 958s # goto out; 958s # ret = TRUE; 958s # out: 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _g_variant_equal0 (GVariant *a, GVariant *b) 958s # { 958s # gboolean ret = FALSE; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # ret = g_variant_equal (a, b); 958s # out: 958s # return ret; 958s # } 958s # 958s # G_GNUC_UNUSED static gboolean 958s # _g_value_equal (const GValue *a, const GValue *b) 958s # { 958s # gboolean ret = FALSE; 958s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 958s # switch (G_VALUE_TYPE (a)) 958s # { 958s # case G_TYPE_BOOLEAN: 958s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 958s # break; 958s # case G_TYPE_UCHAR: 958s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 958s # break; 958s # case G_TYPE_INT: 958s # ret = (g_value_get_int (a) == g_value_get_int (b)); 958s # break; 958s # case G_TYPE_UINT: 958s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 958s # break; 958s # case G_TYPE_INT64: 958s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 958s # break; 958s # case G_TYPE_UINT64: 958s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 958s # break; 958s # case G_TYPE_DOUBLE: 958s # { 958s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 958s # gdouble da = g_value_get_double (a); 958s # gdouble db = g_value_get_double (b); 958s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 958s # } 958s # break; 958s # case G_TYPE_STRING: 958s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 958s # break; 958s # case G_TYPE_VARIANT: 958s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 958s # break; 958s # default: 958s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 958s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 958s # else 958s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 958s # break; 958s # } 958s # return ret; 958s # } 958s # 958s # static void 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint G_GNUC_UNUSED, 958s # void *marshal_data) 958s # { 958s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 958s # (void *data1, 958s # GDBusMethodInvocation *arg_method_invocation, 958s # GVariant *arg_arg_h, 958s # void *data2); 958s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 958s # GCClosure *cc = (GCClosure*) closure; 958s # void *data1, *data2; 958s # gboolean v_return; 958s # 958s # g_return_if_fail (return_value != NULL); 958s # g_return_if_fail (n_param_values == 3); 958s # 958s # if (G_CCLOSURE_SWAP_DATA (closure)) 958s # { 958s # data1 = closure->data; 958s # data2 = g_value_peek_pointer (param_values + 0); 958s # } 958s # else 958s # { 958s # data1 = g_value_peek_pointer (param_values + 0); 958s # data2 = closure->data; 958s # } 958s # 958s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 958s # (marshal_data ? marshal_data : cc->callback); 958s # 958s # v_return = 958s # callback (data1, 958s # g_marshal_value_peek_object (param_values + 1), 958s # g_marshal_value_peek_variant (param_values + 2), 958s # data2); 958s # 958s # g_value_set_boolean (return_value, v_return); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ 958s # * Code for interface org.project.UsefulInterface 958s # * ------------------------------------------------------------------------ 958s # */ 958s # 958s # /** 958s # * SECTION:OrgProjectUsefulInterface 958s # * @title: OrgProjectUsefulInterface 958s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 958s # * 958s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 958s # */ 958s # 958s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 958s # { 958s # { 958s # -1, 958s # (gchar *) "arg_h", 958s # (gchar *) "h", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgMethodH", 958s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 958s # NULL, 958s # NULL 958s # }, 958s # "handle-single-arg-method-h", 958s # FALSE 958s # }; 958s # 958s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 958s # { 958s # { 958s # -1, 958s # (gchar *) "org.project.UsefulInterface", 958s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 958s # NULL, 958s # NULL, 958s # NULL 958s # }, 958s # "org-project-useful-interface", 958s # }; 958s # 958s # 958s # /** 958s # * org_project_useful_interface_interface_info: 958s # * 958s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 958s # * 958s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 958s # */ 958s # GDBusInterfaceInfo * 958s # org_project_useful_interface_interface_info (void) 958s # { 958s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_override_properties: 958s # * @klass: The class structure for a #GObject derived class. 958s # * @property_id_begin: The property id to assign to the first overridden property. 958s # * 958s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 958s # * The properties are overridden in the order they are defined. 958s # * 958s # * Returns: The last property id. 958s # */ 958s # guint 958s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 958s # { 958s # return property_id_begin - 1; 958s # } 958s # 958s # 958s # inline static void 958s # org_project_useful_interface_method_marshal_single_arg_method_h ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # 958s # /** 958s # * OrgProjectUsefulInterface: 958s # * 958s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceIface: 958s # * @parent_iface: The parent interface. 958s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 958s # * 958s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 958s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 958s # 958s # static void 958s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 958s # { 958s # /* GObject signals for incoming D-Bus method calls: */ 958s # /** 958s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: A #GDBusMethodInvocation. 958s # * @arg_arg_h: Argument passed by remote caller. 958s # * 958s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 958s # * 958s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_h() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 958s # * 958s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 958s # */ 958s # g_signal_new ("handle-single-arg-method-h", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 958s # g_signal_accumulator_true_handled, 958s # NULL, 958s # org_project_useful_interface_method_marshal_single_arg_method_h, 958s # G_TYPE_BOOLEAN, 958s # 2, 958s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 958s # 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_h: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @arg_arg_h: Argument to pass with the method invocation. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 958s # */ 958s # void 958s # org_project_useful_interface_call_single_arg_method_h ( 958s # OrgProjectUsefulInterface *proxy, 958s # GVariant *arg_arg_h, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodH", 958s # g_variant_new ("(@h)", 958s # arg_arg_h), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # callback, 958s # user_data); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_h_finish: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_h_finish ( 958s # OrgProjectUsefulInterface *proxy, 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "()"); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_h_sync: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @arg_arg_h: Argument to pass with the method invocation. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_h_sync ( 958s # OrgProjectUsefulInterface *proxy, 958s # GVariant *arg_arg_h, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodH", 958s # g_variant_new ("(@h)", 958s # arg_arg_h), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "()"); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_complete_single_arg_method_h: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: (transfer full): A #GDBusMethodInvocation. 958s # * 958s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodH() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 958s # * 958s # * This method will free @invocation, you cannot use it afterwards. 958s # */ 958s # void 958s # org_project_useful_interface_complete_single_arg_method_h ( 958s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 958s # GDBusMethodInvocation *invocation) 958s # { 958s # g_dbus_method_invocation_return_value (invocation, 958s # g_variant_new ("()")); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxy: 958s # * 958s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxyClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceProxy. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceProxyPrivate 958s # { 958s # GData *qdata; 958s # }; 958s # 958s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_proxy_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 958s # g_datalist_clear (&proxy->priv->qdata); 958s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # const GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 958s # const gchar *sender_name G_GNUC_UNUSED, 958s # const gchar *signal_name, 958s # GVariant *parameters) 958s # { 958s # _ExtendedGDBusSignalInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # gsize n; 958s # guint signal_id; 958s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 958s # if (info == NULL) 958s # return; 958s # num_params = g_variant_n_children (parameters); 958s # paramv = g_new0 (GValue, num_params + 1); 958s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[0], proxy); 958s # g_variant_iter_init (&iter, parameters); 958s # n = 1; 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_signal_emitv (paramv, signal_id, 0, NULL); 958s # for (n = 0; n < num_params + 1; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 958s # GVariant *changed_properties, 958s # const gchar *const *invalidated_properties) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 958s # guint n; 958s # const gchar *key; 958s # GVariantIter *iter; 958s # _ExtendedGDBusPropertyInfo *info; 958s # g_variant_get (changed_properties, "a{sv}", &iter); 958s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 958s # g_datalist_remove_data (&proxy->priv->qdata, key); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # g_variant_iter_free (iter); 958s # for (n = 0; invalidated_properties[n] != NULL; n++) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 958s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 958s # #else 958s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 958s # #endif 958s # 958s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusProxyClass *proxy_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 958s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 958s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 958s # 958s # proxy_class = G_DBUS_PROXY_CLASS (klass); 958s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 958s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_sync: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_sync ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new_for_bus ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_sync: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_sync ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeleton: 958s # * 958s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeletonClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 958s # { 958s # GValue *properties; 958s # GList *changed_properties; 958s # GSource *changed_properties_idle_source; 958s # GMainContext *context; 958s # GMutex lock; 958s # }; 958s # 958s # static void 958s # _org_project_useful_interface_skeleton_handle_method_call ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name, 958s # const gchar *method_name, 958s # GVariant *parameters, 958s # GDBusMethodInvocation *invocation, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # _ExtendedGDBusMethodInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # guint num_extra; 958s # gsize n; 958s # guint signal_id; 958s # GValue return_value = G_VALUE_INIT; 958s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 958s # g_assert (info != NULL); 958s # num_params = g_variant_n_children (parameters); 958s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 958s # n = 0; 958s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[n++], skeleton); 958s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 958s # g_value_set_object (¶mv[n++], invocation); 958s # if (info->pass_fdlist) 958s # { 958s # #ifdef G_OS_UNIX 958s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 958s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 958s # #else 958s # g_assert_not_reached (); 958s # #endif 958s # } 958s # g_variant_iter_init (&iter, parameters); 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_init (&return_value, G_TYPE_BOOLEAN); 958s # g_signal_emitv (paramv, signal_id, 0, &return_value); 958s # if (!g_value_get_boolean (&return_value)) 958s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 958s # g_value_unset (&return_value); 958s # for (n = 0; n < num_params + num_extra; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static GVariant * 958s # _org_project_useful_interface_skeleton_handle_get_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # GVariant *ret; 958s # ret = NULL; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # g_value_init (&value, pspec->value_type); 958s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 958s # g_value_unset (&value); 958s # } 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _org_project_useful_interface_skeleton_handle_set_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GVariant *variant, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # gboolean ret; 958s # ret = FALSE; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # if (info->use_gvariant) 958s # g_value_set_variant (&value, variant); 958s # else 958s # g_dbus_gvariant_to_gvalue (variant, &value); 958s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # g_value_unset (&value); 958s # ret = TRUE; 958s # } 958s # return ret; 958s # } 958s # 958s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 958s # { 958s # _org_project_useful_interface_skeleton_handle_method_call, 958s # _org_project_useful_interface_skeleton_handle_get_property, 958s # _org_project_useful_interface_skeleton_handle_set_property, 958s # {NULL} 958s # }; 958s # 958s # static GDBusInterfaceInfo * 958s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return org_project_useful_interface_interface_info (); 958s # } 958s # 958s # static GDBusInterfaceVTable * 958s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 958s # } 958s # 958s # static GVariant * 958s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 958s # 958s # GVariantBuilder builder; 958s # guint n; 958s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 958s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 958s # goto out; 958s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 958s # { 958s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 958s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 958s # { 958s # GVariant *value; 958s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 958s # if (value != NULL) 958s # { 958s # g_variant_take_ref (value); 958s # g_variant_builder_add (&builder, "{sv}", info->name, value); 958s # g_variant_unref (value); 958s # } 958s # } 958s # } 958s # out: 958s # return g_variant_builder_end (&builder); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_skeleton_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 958s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 958s # if (skeleton->priv->changed_properties_idle_source != NULL) 958s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 958s # g_main_context_unref (skeleton->priv->context); 958s # g_mutex_clear (&skeleton->priv->lock); 958s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 958s # #else 958s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 958s # #endif 958s # 958s # g_mutex_init (&skeleton->priv->lock); 958s # skeleton->priv->context = g_main_context_ref_thread_default (); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusInterfaceSkeletonClass *skeleton_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 958s # 958s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 958s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 958s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 958s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 958s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_skeleton_new: 958s # * 958s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_skeleton_new (void) 958s # { 958s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 958s # } 958s # /tmp/tmpqnfzcbyi/tmpggen6kfa.xml: 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqnfzcbyi/tmpggen6kfa.xml', '--output', '-', '--body'] 958s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 958s # Output: /* 958s # * This file is generated by gdbus-codegen, do not modify it. 958s # * 958s # * The license of this code is the same as for the D-Bus interface description 958s # * it was derived from. Note that it links to GLib, so must comply with the 958s # * LGPL linking clauses. 958s # */ 958s # 958s # #ifdef HAVE_CONFIG_H 958s # # include "config.h" 958s # #endif 958s # 958s # #include 958s # #ifdef G_OS_UNIX 958s # # include 958s # #endif 958s # 958s # #ifdef G_ENABLE_DEBUG 958s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 958s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 958s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 958s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 958s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 958s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 958s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 958s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 958s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 958s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 958s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 958s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 958s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 958s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 958s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 958s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 958s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 958s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 958s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 958s # #else /* !G_ENABLE_DEBUG */ 958s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 958s # * Do not access GValues directly in your code. Instead, use the 958s # * g_value_get_*() functions 958s # */ 958s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 958s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 958s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 958s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 958s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 958s # #endif /* !G_ENABLE_DEBUG */ 958s # 958s # typedef struct 958s # { 958s # GDBusArgInfo parent_struct; 958s # gboolean use_gvariant; 958s # } _ExtendedGDBusArgInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusMethodInfo parent_struct; 958s # const gchar *signal_name; 958s # gboolean pass_fdlist; 958s # } _ExtendedGDBusMethodInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusSignalInfo parent_struct; 958s # const gchar *signal_name; 958s # } _ExtendedGDBusSignalInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusPropertyInfo parent_struct; 958s # const gchar *hyphen_name; 958s # guint use_gvariant : 1; 958s # guint emits_changed_signal : 1; 958s # } _ExtendedGDBusPropertyInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusInterfaceInfo parent_struct; 958s # const gchar *hyphen_name; 958s # } _ExtendedGDBusInterfaceInfo; 958s # 958s # typedef struct 958s # { 958s # const _ExtendedGDBusPropertyInfo *info; 958s # guint prop_id; 958s # GValue orig_value; /* the value before the change */ 958s # } ChangedProperty; 958s # 958s # static void 958s # _changed_property_free (ChangedProperty *data) 958s # { 958s # g_value_unset (&data->orig_value); 958s # g_free (data); 958s # } 958s # 958s # static gboolean 958s # _g_strv_equal0 (gchar **a, gchar **b) 958s # { 958s # gboolean ret = FALSE; 958s # guint n; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # if (g_strv_length (a) != g_strv_length (b)) 958s # goto out; 958s # for (n = 0; a[n] != NULL; n++) 958s # if (g_strcmp0 (a[n], b[n]) != 0) 958s # goto out; 958s # ret = TRUE; 958s # out: 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _g_variant_equal0 (GVariant *a, GVariant *b) 958s # { 958s # gboolean ret = FALSE; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # ret = g_variant_equal (a, b); 958s # out: 958s # return ret; 958s # } 958s # 958s # G_GNUC_UNUSED static gboolean 958s # _g_value_equal (const GValue *a, const GValue *b) 958s # { 958s # gboolean ret = FALSE; 958s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 958s # switch (G_VALUE_TYPE (a)) 958s # { 958s # case G_TYPE_BOOLEAN: 958s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 958s # break; 958s # case G_TYPE_UCHAR: 958s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 958s # break; 958s # case G_TYPE_INT: 958s # ret = (g_value_get_int (a) == g_value_get_int (b)); 958s # break; 958s # case G_TYPE_UINT: 958s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 958s # break; 958s # case G_TYPE_INT64: 958s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 958s # break; 958s # case G_TYPE_UINT64: 958s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 958s # break; 958s # case G_TYPE_DOUBLE: 958s # { 958s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 958s # gdouble da = g_value_get_double (a); 958s # gdouble db = g_value_get_double (b); 958s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 958s # } 958s # break; 958s # case G_TYPE_STRING: 958s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 958s # break; 958s # case G_TYPE_VARIANT: 958s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 958s # break; 958s # default: 958s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 958s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 958s # else 958s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 958s # break; 958s # } 958s # return ret; 958s # } 958s # 958s # static void 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint G_GNUC_UNUSED, 958s # void *marshal_data) 958s # { 958s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 958s # (void *data1, 958s # GDBusMethodInvocation *arg_method_invocation, 958s # const gchar *arg_arg_ay, 958s # void *data2); 958s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 958s # GCClosure *cc = (GCClosure*) closure; 958s # void *data1, *data2; 958s # gboolean v_return; 958s # 958s # g_return_if_fail (return_value != NULL); 958s # g_return_if_fail (n_param_values == 3); 958s # 958s # if (G_CCLOSURE_SWAP_DATA (closure)) 958s # { 958s # data1 = closure->data; 958s # data2 = g_value_peek_pointer (param_values + 0); 958s # } 958s # else 958s # { 958s # data1 = g_value_peek_pointer (param_values + 0); 958s # data2 = closure->data; 958s # } 958s # 958s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 958s # (marshal_data ? marshal_data : cc->callback); 958s # 958s # v_return = 958s # callback (data1, 958s # g_marshal_value_peek_object (param_values + 1), 958s # g_marshal_value_peek_string (param_values + 2), 958s # data2); 958s # 958s # g_value_set_boolean (return_value, v_return); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ 958s # * Code for interface org.project.UsefulInterface 958s # * ------------------------------------------------------------------------ 958s # */ 958s # 958s # /** 958s # * SECTION:OrgProjectUsefulInterface 958s # * @title: OrgProjectUsefulInterface 958s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 958s # * 958s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 958s # */ 958s # 958s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 958s # { 958s # { 958s # -1, 958s # (gchar *) "arg_ay", 958s # (gchar *) "ay", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgMethodAy", 958s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 958s # NULL, 958s # NULL 958s # }, 958s # "handle-single-arg-method-ay", 958s # FALSE 958s # }; 958s # 958s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 958s # { 958s # { 958s # -1, 958s # (gchar *) "org.project.UsefulInterface", 958s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 958s # NULL, 958s # NULL, 958s # NULL 958s # }, 958s # "org-project-useful-interface", 958s # }; 958s # 958s # 958s # /** 958s # * org_project_useful_interface_interface_info: 958s # * 958s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 958s # * 958s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 958s # */ 958s # GDBusInterfaceInfo * 958s # org_project_useful_interface_interface_info (void) 958s # { 958s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_override_properties: 958s # * @klass: The class structure for a #GObject derived class. 958s # * @property_id_begin: The property id to assign to the first overridden property. 958s # * 958s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 958s # * The properties are overridden in the order they are defined. 958s # * 958s # * Returns: The last property id. 958s # */ 958s # guint 958s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 958s # { 958s # return property_id_begin - 1; 958s # } 958s # 958s # 958s # inline static void 958s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # 958s # /** 958s # * OrgProjectUsefulInterface: 958s # * 958s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceIface: 958s # * @parent_iface: The parent interface. 958s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 958s # * 958s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 958s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 958s # 958s # static void 958s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 958s # { 958s # /* GObject signals for incoming D-Bus method calls: */ 958s # /** 958s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: A #GDBusMethodInvocation. 958s # * @arg_arg_ay: Argument passed by remote caller. 958s # * 958s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 958s # * 958s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_ay() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 958s # * 958s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 958s # */ 958s # g_signal_new ("handle-single-arg-method-ay", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 958s # g_signal_accumulator_true_handled, 958s # NULL, 958s # org_project_useful_interface_method_marshal_single_arg_method_ay, 958s # G_TYPE_BOOLEAN, 958s # 2, 958s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 958s # 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_ay: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @arg_arg_ay: Argument to pass with the method invocation. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 958s # */ 958s # void 958s # org_project_useful_interface_call_single_arg_method_ay ( 958s # OrgProjectUsefulInterface *proxy, 958s # const gchar *arg_arg_ay, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodAy", 958s # g_variant_new ("(^ay)", 958s # arg_arg_ay), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # callback, 958s # user_data); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_ay_finish: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_ay_finish ( 958s # OrgProjectUsefulInterface *proxy, 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "()"); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_ay_sync: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @arg_arg_ay: Argument to pass with the method invocation. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_ay_sync ( 958s # OrgProjectUsefulInterface *proxy, 958s # const gchar *arg_arg_ay, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodAy", 958s # g_variant_new ("(^ay)", 958s # arg_arg_ay), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "()"); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_complete_single_arg_method_ay: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: (transfer full): A #GDBusMethodInvocation. 958s # * 958s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodAy() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 958s # * 958s # * This method will free @invocation, you cannot use it afterwards. 958s # */ 958s # void 958s # org_project_useful_interface_complete_single_arg_method_ay ( 958s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 958s # GDBusMethodInvocation *invocation) 958s # { 958s # g_dbus_method_invocation_return_value (invocation, 958s # g_variant_new ("()")); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxy: 958s # * 958s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxyClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceProxy. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceProxyPrivate 958s # { 958s # GData *qdata; 958s # }; 958s # 958s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_proxy_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 958s # g_datalist_clear (&proxy->priv->qdata); 958s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # const GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 958s # const gchar *sender_name G_GNUC_UNUSED, 958s # const gchar *signal_name, 958s # GVariant *parameters) 958s # { 958s # _ExtendedGDBusSignalInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # gsize n; 958s # guint signal_id; 958s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 958s # if (info == NULL) 958s # return; 958s # num_params = g_variant_n_children (parameters); 958s # paramv = g_new0 (GValue, num_params + 1); 958s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[0], proxy); 958s # g_variant_iter_init (&iter, parameters); 958s # n = 1; 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_signal_emitv (paramv, signal_id, 0, NULL); 958s # for (n = 0; n < num_params + 1; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 958s # GVariant *changed_properties, 958s # const gchar *const *invalidated_properties) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 958s # guint n; 958s # const gchar *key; 958s # GVariantIter *iter; 958s # _ExtendedGDBusPropertyInfo *info; 958s # g_variant_get (changed_properties, "a{sv}", &iter); 958s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 958s # g_datalist_remove_data (&proxy->priv->qdata, key); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # g_variant_iter_free (iter); 958s # for (n = 0; invalidated_properties[n] != NULL; n++) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 958s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 958s # #else 958s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 958s # #endif 958s # 958s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusProxyClass *proxy_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 958s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 958s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 958s # 958s # proxy_class = G_DBUS_PROXY_CLASS (klass); 958s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 958s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_sync: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_sync ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new_for_bus ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_sync: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_sync ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeleton: 958s # * 958s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeletonClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 958s # { 958s # GValue *properties; 958s # GList *changed_properties; 958s # GSource *changed_properties_idle_source; 958s # GMainContext *context; 958s # GMutex lock; 958s # }; 958s # 958s # static void 958s # _org_project_useful_interface_skeleton_handle_method_call ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name, 958s # const gchar *method_name, 958s # GVariant *parameters, 958s # GDBusMethodInvocation *invocation, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # _ExtendedGDBusMethodInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # guint num_extra; 958s # gsize n; 958s # guint signal_id; 958s # GValue return_value = G_VALUE_INIT; 958s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 958s # g_assert (info != NULL); 958s # num_params = g_variant_n_children (parameters); 958s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 958s # n = 0; 958s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[n++], skeleton); 958s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 958s # g_value_set_object (¶mv[n++], invocation); 958s # if (info->pass_fdlist) 958s # { 958s # #ifdef G_OS_UNIX 958s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 958s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 958s # #else 958s # g_assert_not_reached (); 958s # #endif 958s # } 958s # g_variant_iter_init (&iter, parameters); 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_init (&return_value, G_TYPE_BOOLEAN); 958s # g_signal_emitv (paramv, signal_id, 0, &return_value); 958s # if (!g_value_get_boolean (&return_value)) 958s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 958s # g_value_unset (&return_value); 958s # for (n = 0; n < num_params + num_extra; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static GVariant * 958s # _org_project_useful_interface_skeleton_handle_get_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # GVariant *ret; 958s # ret = NULL; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # g_value_init (&value, pspec->value_type); 958s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 958s # g_value_unset (&value); 958s # } 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _org_project_useful_interface_skeleton_handle_set_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GVariant *variant, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # gboolean ret; 958s # ret = FALSE; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # if (info->use_gvariant) 958s # g_value_set_variant (&value, variant); 958s # else 958s # g_dbus_gvariant_to_gvalue (variant, &value); 958s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # g_value_unset (&value); 958s # ret = TRUE; 958s # } 958s # return ret; 958s # } 958s # 958s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 958s # { 958s # _org_project_useful_interface_skeleton_handle_method_call, 958s # _org_project_useful_interface_skeleton_handle_get_property, 958s # _org_project_useful_interface_skeleton_handle_set_property, 958s # {NULL} 958s # }; 958s # 958s # static GDBusInterfaceInfo * 958s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return org_project_useful_interface_interface_info (); 958s # } 958s # 958s # static GDBusInterfaceVTable * 958s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 958s # } 958s # 958s # static GVariant * 958s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 958s # 958s # GVariantBuilder builder; 958s # guint n; 958s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 958s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 958s # goto out; 958s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 958s # { 958s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 958s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 958s # { 958s # GVariant *value; 958s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 958s # if (value != NULL) 958s # { 958s # g_variant_take_ref (value); 958s # g_variant_builder_add (&builder, "{sv}", info->name, value); 958s # g_variant_unref (value); 958s # } 958s # } 958s # } 958s # out: 958s # return g_variant_builder_end (&builder); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_skeleton_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 958s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 958s # if (skeleton->priv->changed_properties_idle_source != NULL) 958s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 958s # g_main_context_unref (skeleton->priv->context); 958s # g_mutex_clear (&skeleton->priv->lock); 958s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 958s # #else 958s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 958s # #endif 958s # 958s # g_mutex_init (&skeleton->priv->lock); 958s # skeleton->priv->context = g_main_context_ref_thread_default (); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusInterfaceSkeletonClass *skeleton_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 958s # 958s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 958s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 958s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 958s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 958s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_skeleton_new: 958s # * 958s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_skeleton_new (void) 958s # { 958s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 958s # } 958s # /tmp/tmpqnfzcbyi/tmpzhu5g68q.xml: 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqnfzcbyi/tmpzhu5g68q.xml', '--output', '-', '--body'] 958s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 958s # Output: /* 958s # * This file is generated by gdbus-codegen, do not modify it. 958s # * 958s # * The license of this code is the same as for the D-Bus interface description 958s # * it was derived from. Note that it links to GLib, so must comply with the 958s # * LGPL linking clauses. 958s # */ 958s # 958s # #ifdef HAVE_CONFIG_H 958s # # include "config.h" 958s # #endif 958s # 958s # #include 958s # #ifdef G_OS_UNIX 958s # # include 958s # #endif 958s # 958s # #ifdef G_ENABLE_DEBUG 958s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 958s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 958s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 958s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 958s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 958s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 958s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 958s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 958s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 958s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 958s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 958s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 958s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 958s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 958s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 958s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 958s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 958s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 958s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 958s # #else /* !G_ENABLE_DEBUG */ 958s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 958s # * Do not access GValues directly in your code. Instead, use the 958s # * g_value_get_*() functions 958s # */ 958s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 958s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 958s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 958s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 958s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 958s # #endif /* !G_ENABLE_DEBUG */ 958s # 958s # typedef struct 958s # { 958s # GDBusArgInfo parent_struct; 958s # gboolean use_gvariant; 958s # } _ExtendedGDBusArgInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusMethodInfo parent_struct; 958s # const gchar *signal_name; 958s # gboolean pass_fdlist; 958s # } _ExtendedGDBusMethodInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusSignalInfo parent_struct; 958s # const gchar *signal_name; 958s # } _ExtendedGDBusSignalInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusPropertyInfo parent_struct; 958s # const gchar *hyphen_name; 958s # guint use_gvariant : 1; 958s # guint emits_changed_signal : 1; 958s # } _ExtendedGDBusPropertyInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusInterfaceInfo parent_struct; 958s # const gchar *hyphen_name; 958s # } _ExtendedGDBusInterfaceInfo; 958s # 958s # typedef struct 958s # { 958s # const _ExtendedGDBusPropertyInfo *info; 958s # guint prop_id; 958s # GValue orig_value; /* the value before the change */ 958s # } ChangedProperty; 958s # 958s # static void 958s # _changed_property_free (ChangedProperty *data) 958s # { 958s # g_value_unset (&data->orig_value); 958s # g_free (data); 958s # } 958s # 958s # static gboolean 958s # _g_strv_equal0 (gchar **a, gchar **b) 958s # { 958s # gboolean ret = FALSE; 958s # guint n; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # if (g_strv_length (a) != g_strv_length (b)) 958s # goto out; 958s # for (n = 0; a[n] != NULL; n++) 958s # if (g_strcmp0 (a[n], b[n]) != 0) 958s # goto out; 958s # ret = TRUE; 958s # out: 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _g_variant_equal0 (GVariant *a, GVariant *b) 958s # { 958s # gboolean ret = FALSE; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # ret = g_variant_equal (a, b); 958s # out: 958s # return ret; 958s # } 958s # 958s # G_GNUC_UNUSED static gboolean 958s # _g_value_equal (const GValue *a, const GValue *b) 958s # { 958s # gboolean ret = FALSE; 958s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 958s # switch (G_VALUE_TYPE (a)) 958s # { 958s # case G_TYPE_BOOLEAN: 958s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 958s # break; 958s # case G_TYPE_UCHAR: 958s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 958s # break; 958s # case G_TYPE_INT: 958s # ret = (g_value_get_int (a) == g_value_get_int (b)); 958s # break; 958s # case G_TYPE_UINT: 958s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 958s # break; 958s # case G_TYPE_INT64: 958s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 958s # break; 958s # case G_TYPE_UINT64: 958s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 958s # break; 958s # case G_TYPE_DOUBLE: 958s # { 958s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 958s # gdouble da = g_value_get_double (a); 958s # gdouble db = g_value_get_double (b); 958s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 958s # } 958s # break; 958s # case G_TYPE_STRING: 958s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 958s # break; 958s # case G_TYPE_VARIANT: 958s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 958s # break; 958s # default: 958s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 958s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 958s # else 958s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 958s # break; 958s # } 958s # return ret; 958s # } 958s # 958s # static void 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint G_GNUC_UNUSED, 958s # void *marshal_data) 958s # { 958s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 958s # (void *data1, 958s # GDBusMethodInvocation *arg_method_invocation, 958s # const gchar *const *arg_arg_as, 958s # void *data2); 958s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 958s # GCClosure *cc = (GCClosure*) closure; 958s # void *data1, *data2; 958s # gboolean v_return; 958s # 958s # g_return_if_fail (return_value != NULL); 958s # g_return_if_fail (n_param_values == 3); 958s # 958s # if (G_CCLOSURE_SWAP_DATA (closure)) 958s # { 958s # data1 = closure->data; 958s # data2 = g_value_peek_pointer (param_values + 0); 958s # } 958s # else 958s # { 958s # data1 = g_value_peek_pointer (param_values + 0); 958s # data2 = closure->data; 958s # } 958s # 958s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 958s # (marshal_data ? marshal_data : cc->callback); 958s # 958s # v_return = 958s # callback (data1, 958s # g_marshal_value_peek_object (param_values + 1), 958s # g_marshal_value_peek_boxed (param_values + 2), 958s # data2); 958s # 958s # g_value_set_boolean (return_value, v_return); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ 958s # * Code for interface org.project.UsefulInterface 958s # * ------------------------------------------------------------------------ 958s # */ 958s # 958s # /** 958s # * SECTION:OrgProjectUsefulInterface 958s # * @title: OrgProjectUsefulInterface 958s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 958s # * 958s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 958s # */ 958s # 958s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 958s # { 958s # { 958s # -1, 958s # (gchar *) "arg_as", 958s # (gchar *) "as", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgMethodAs", 958s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 958s # NULL, 958s # NULL 958s # }, 958s # "handle-single-arg-method-as", 958s # FALSE 958s # }; 958s # 958s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 958s # { 958s # { 958s # -1, 958s # (gchar *) "org.project.UsefulInterface", 958s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 958s # NULL, 958s # NULL, 958s # NULL 958s # }, 958s # "org-project-useful-interface", 958s # }; 958s # 958s # 958s # /** 958s # * org_project_useful_interface_interface_info: 958s # * 958s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 958s # * 958s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 958s # */ 958s # GDBusInterfaceInfo * 958s # org_project_useful_interface_interface_info (void) 958s # { 958s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_override_properties: 958s # * @klass: The class structure for a #GObject derived class. 958s # * @property_id_begin: The property id to assign to the first overridden property. 958s # * 958s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 958s # * The properties are overridden in the order they are defined. 958s # * 958s # * Returns: The last property id. 958s # */ 958s # guint 958s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 958s # { 958s # return property_id_begin - 1; 958s # } 958s # 958s # 958s # inline static void 958s # org_project_useful_interface_method_marshal_single_arg_method_as ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # 958s # /** 958s # * OrgProjectUsefulInterface: 958s # * 958s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceIface: 958s # * @parent_iface: The parent interface. 958s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 958s # * 958s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 958s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 958s # 958s # static void 958s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 958s # { 958s # /* GObject signals for incoming D-Bus method calls: */ 958s # /** 958s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: A #GDBusMethodInvocation. 958s # * @arg_arg_as: Argument passed by remote caller. 958s # * 958s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 958s # * 958s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_as() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 958s # * 958s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 958s # */ 958s # g_signal_new ("handle-single-arg-method-as", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 958s # g_signal_accumulator_true_handled, 958s # NULL, 958s # org_project_useful_interface_method_marshal_single_arg_method_as, 958s # G_TYPE_BOOLEAN, 958s # 2, 958s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 958s # 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_as: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @arg_arg_as: Argument to pass with the method invocation. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 958s # */ 958s # void 958s # org_project_useful_interface_call_single_arg_method_as ( 958s # OrgProjectUsefulInterface *proxy, 958s # const gchar *const *arg_arg_as, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodAs", 958s # g_variant_new ("(^as)", 958s # arg_arg_as), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # callback, 958s # user_data); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_as_finish: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_as_finish ( 958s # OrgProjectUsefulInterface *proxy, 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "()"); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_as_sync: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @arg_arg_as: Argument to pass with the method invocation. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_as_sync ( 958s # OrgProjectUsefulInterface *proxy, 958s # const gchar *const *arg_arg_as, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodAs", 958s # g_variant_new ("(^as)", 958s # arg_arg_as), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "()"); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_complete_single_arg_method_as: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: (transfer full): A #GDBusMethodInvocation. 958s # * 958s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodAs() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 958s # * 958s # * This method will free @invocation, you cannot use it afterwards. 958s # */ 958s # void 958s # org_project_useful_interface_complete_single_arg_method_as ( 958s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 958s # GDBusMethodInvocation *invocation) 958s # { 958s # g_dbus_method_invocation_return_value (invocation, 958s # g_variant_new ("()")); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxy: 958s # * 958s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxyClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceProxy. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceProxyPrivate 958s # { 958s # GData *qdata; 958s # }; 958s # 958s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_proxy_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 958s # g_datalist_clear (&proxy->priv->qdata); 958s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # const GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 958s # const gchar *sender_name G_GNUC_UNUSED, 958s # const gchar *signal_name, 958s # GVariant *parameters) 958s # { 958s # _ExtendedGDBusSignalInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # gsize n; 958s # guint signal_id; 958s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 958s # if (info == NULL) 958s # return; 958s # num_params = g_variant_n_children (parameters); 958s # paramv = g_new0 (GValue, num_params + 1); 958s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[0], proxy); 958s # g_variant_iter_init (&iter, parameters); 958s # n = 1; 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_signal_emitv (paramv, signal_id, 0, NULL); 958s # for (n = 0; n < num_params + 1; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 958s # GVariant *changed_properties, 958s # const gchar *const *invalidated_properties) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 958s # guint n; 958s # const gchar *key; 958s # GVariantIter *iter; 958s # _ExtendedGDBusPropertyInfo *info; 958s # g_variant_get (changed_properties, "a{sv}", &iter); 958s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 958s # g_datalist_remove_data (&proxy->priv->qdata, key); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # g_variant_iter_free (iter); 958s # for (n = 0; invalidated_properties[n] != NULL; n++) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 958s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 958s # #else 958s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 958s # #endif 958s # 958s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusProxyClass *proxy_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 958s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 958s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 958s # 958s # proxy_class = G_DBUS_PROXY_CLASS (klass); 958s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 958s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_sync: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_sync ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new_for_bus ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_sync: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_sync ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeleton: 958s # * 958s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeletonClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 958s # { 958s # GValue *properties; 958s # GList *changed_properties; 958s # GSource *changed_properties_idle_source; 958s # GMainContext *context; 958s # GMutex lock; 958s # }; 958s # 958s # static void 958s # _org_project_useful_interface_skeleton_handle_method_call ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name, 958s # const gchar *method_name, 958s # GVariant *parameters, 958s # GDBusMethodInvocation *invocation, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # _ExtendedGDBusMethodInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # guint num_extra; 958s # gsize n; 958s # guint signal_id; 958s # GValue return_value = G_VALUE_INIT; 958s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 958s # g_assert (info != NULL); 958s # num_params = g_variant_n_children (parameters); 958s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 958s # n = 0; 958s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[n++], skeleton); 958s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 958s # g_value_set_object (¶mv[n++], invocation); 958s # if (info->pass_fdlist) 958s # { 958s # #ifdef G_OS_UNIX 958s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 958s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 958s # #else 958s # g_assert_not_reached (); 958s # #endif 958s # } 958s # g_variant_iter_init (&iter, parameters); 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_init (&return_value, G_TYPE_BOOLEAN); 958s # g_signal_emitv (paramv, signal_id, 0, &return_value); 958s # if (!g_value_get_boolean (&return_value)) 958s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 958s # g_value_unset (&return_value); 958s # for (n = 0; n < num_params + num_extra; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static GVariant * 958s # _org_project_useful_interface_skeleton_handle_get_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # GVariant *ret; 958s # ret = NULL; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # g_value_init (&value, pspec->value_type); 958s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 958s # g_value_unset (&value); 958s # } 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _org_project_useful_interface_skeleton_handle_set_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GVariant *variant, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # gboolean ret; 958s # ret = FALSE; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # if (info->use_gvariant) 958s # g_value_set_variant (&value, variant); 958s # else 958s # g_dbus_gvariant_to_gvalue (variant, &value); 958s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # g_value_unset (&value); 958s # ret = TRUE; 958s # } 958s # return ret; 958s # } 958s # 958s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 958s # { 958s # _org_project_useful_interface_skeleton_handle_method_call, 958s # _org_project_useful_interface_skeleton_handle_get_property, 958s # _org_project_useful_interface_skeleton_handle_set_property, 958s # {NULL} 958s # }; 958s # 958s # static GDBusInterfaceInfo * 958s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return org_project_useful_interface_interface_info (); 958s # } 958s # 958s # static GDBusInterfaceVTable * 958s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 958s # } 958s # 958s # static GVariant * 958s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 958s # 958s # GVariantBuilder builder; 958s # guint n; 958s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 958s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 958s # goto out; 958s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 958s # { 958s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 958s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 958s # { 958s # GVariant *value; 958s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 958s # if (value != NULL) 958s # { 958s # g_variant_take_ref (value); 958s # g_variant_builder_add (&builder, "{sv}", info->name, value); 958s # g_variant_unref (value); 958s # } 958s # } 958s # } 958s # out: 958s # return g_variant_builder_end (&builder); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_skeleton_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 958s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 958s # if (skeleton->priv->changed_properties_idle_source != NULL) 958s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 958s # g_main_context_unref (skeleton->priv->context); 958s # g_mutex_clear (&skeleton->priv->lock); 958s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 958s # #else 958s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 958s # #endif 958s # 958s # g_mutex_init (&skeleton->priv->lock); 958s # skeleton->priv->context = g_main_context_ref_thread_default (); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusInterfaceSkeletonClass *skeleton_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 958s # 958s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 958s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 958s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 958s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 958s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_skeleton_new: 958s # * 958s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_skeleton_new (void) 958s # { 958s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 958s # } 958s # /tmp/tmpqnfzcbyi/tmpe9az84gh.xml: 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqnfzcbyi/tmpe9az84gh.xml', '--output', '-', '--body'] 958s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 958s # Output: /* 958s # * This file is generated by gdbus-codegen, do not modify it. 958s # * 958s # * The license of this code is the same as for the D-Bus interface description 958s # * it was derived from. Note that it links to GLib, so must comply with the 958s # * LGPL linking clauses. 958s # */ 958s # 958s # #ifdef HAVE_CONFIG_H 958s # # include "config.h" 958s # #endif 958s # 958s # #include 958s # #ifdef G_OS_UNIX 958s # # include 958s # #endif 958s # 958s # #ifdef G_ENABLE_DEBUG 958s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 958s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 958s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 958s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 958s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 958s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 958s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 958s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 958s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 958s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 958s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 958s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 958s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 958s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 958s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 958s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 958s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 958s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 958s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 958s # #else /* !G_ENABLE_DEBUG */ 958s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 958s # * Do not access GValues directly in your code. Instead, use the 958s # * g_value_get_*() functions 958s # */ 958s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 958s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 958s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 958s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 958s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 958s # #endif /* !G_ENABLE_DEBUG */ 958s # 958s # typedef struct 958s # { 958s # GDBusArgInfo parent_struct; 958s # gboolean use_gvariant; 958s # } _ExtendedGDBusArgInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusMethodInfo parent_struct; 958s # const gchar *signal_name; 958s # gboolean pass_fdlist; 958s # } _ExtendedGDBusMethodInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusSignalInfo parent_struct; 958s # const gchar *signal_name; 958s # } _ExtendedGDBusSignalInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusPropertyInfo parent_struct; 958s # const gchar *hyphen_name; 958s # guint use_gvariant : 1; 958s # guint emits_changed_signal : 1; 958s # } _ExtendedGDBusPropertyInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusInterfaceInfo parent_struct; 958s # const gchar *hyphen_name; 958s # } _ExtendedGDBusInterfaceInfo; 958s # 958s # typedef struct 958s # { 958s # const _ExtendedGDBusPropertyInfo *info; 958s # guint prop_id; 958s # GValue orig_value; /* the value before the change */ 958s # } ChangedProperty; 958s # 958s # static void 958s # _changed_property_free (ChangedProperty *data) 958s # { 958s # g_value_unset (&data->orig_value); 958s # g_free (data); 958s # } 958s # 958s # static gboolean 958s # _g_strv_equal0 (gchar **a, gchar **b) 958s # { 958s # gboolean ret = FALSE; 958s # guint n; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # if (g_strv_length (a) != g_strv_length (b)) 958s # goto out; 958s # for (n = 0; a[n] != NULL; n++) 958s # if (g_strcmp0 (a[n], b[n]) != 0) 958s # goto out; 958s # ret = TRUE; 958s # out: 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _g_variant_equal0 (GVariant *a, GVariant *b) 958s # { 958s # gboolean ret = FALSE; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # ret = g_variant_equal (a, b); 958s # out: 958s # return ret; 958s # } 958s # 958s # G_GNUC_UNUSED static gboolean 958s # _g_value_equal (const GValue *a, const GValue *b) 958s # { 958s # gboolean ret = FALSE; 958s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 958s # switch (G_VALUE_TYPE (a)) 958s # { 958s # case G_TYPE_BOOLEAN: 958s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 958s # break; 958s # case G_TYPE_UCHAR: 958s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 958s # break; 958s # case G_TYPE_INT: 958s # ret = (g_value_get_int (a) == g_value_get_int (b)); 958s # break; 958s # case G_TYPE_UINT: 958s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 958s # break; 958s # case G_TYPE_INT64: 958s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 958s # break; 958s # case G_TYPE_UINT64: 958s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 958s # break; 958s # case G_TYPE_DOUBLE: 958s # { 958s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 958s # gdouble da = g_value_get_double (a); 958s # gdouble db = g_value_get_double (b); 958s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 958s # } 958s # break; 958s # case G_TYPE_STRING: 958s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 958s # break; 958s # case G_TYPE_VARIANT: 958s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 958s # break; 958s # default: 958s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 958s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 958s # else 958s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 958s # break; 958s # } 958s # return ret; 958s # } 958s # 958s # static void 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint G_GNUC_UNUSED, 958s # void *marshal_data) 958s # { 958s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 958s # (void *data1, 958s # GDBusMethodInvocation *arg_method_invocation, 958s # const gchar *const *arg_arg_ao, 958s # void *data2); 958s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 958s # GCClosure *cc = (GCClosure*) closure; 958s # void *data1, *data2; 958s # gboolean v_return; 958s # 958s # g_return_if_fail (return_value != NULL); 958s # g_return_if_fail (n_param_values == 3); 958s # 958s # if (G_CCLOSURE_SWAP_DATA (closure)) 958s # { 958s # data1 = closure->data; 958s # data2 = g_value_peek_pointer (param_values + 0); 958s # } 958s # else 958s # { 958s # data1 = g_value_peek_pointer (param_values + 0); 958s # data2 = closure->data; 958s # } 958s # 958s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 958s # (marshal_data ? marshal_data : cc->callback); 958s # 958s # v_return = 958s # callback (data1, 958s # g_marshal_value_peek_object (param_values + 1), 958s # g_marshal_value_peek_boxed (param_values + 2), 958s # data2); 958s # 958s # g_value_set_boolean (return_value, v_return); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ 958s # * Code for interface org.project.UsefulInterface 958s # * ------------------------------------------------------------------------ 958s # */ 958s # 958s # /** 958s # * SECTION:OrgProjectUsefulInterface 958s # * @title: OrgProjectUsefulInterface 958s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 958s # * 958s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 958s # */ 958s # 958s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 958s # { 958s # { 958s # -1, 958s # (gchar *) "arg_ao", 958s # (gchar *) "ao", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgMethodAo", 958s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 958s # NULL, 958s # NULL 958s # }, 958s # "handle-single-arg-method-ao", 958s # FALSE 958s # }; 958s # 958s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 958s # { 958s # { 958s # -1, 958s # (gchar *) "org.project.UsefulInterface", 958s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 958s # NULL, 958s # NULL, 958s # NULL 958s # }, 958s # "org-project-useful-interface", 958s # }; 958s # 958s # 958s # /** 958s # * org_project_useful_interface_interface_info: 958s # * 958s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 958s # * 958s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 958s # */ 958s # GDBusInterfaceInfo * 958s # org_project_useful_interface_interface_info (void) 958s # { 958s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_override_properties: 958s # * @klass: The class structure for a #GObject derived class. 958s # * @property_id_begin: The property id to assign to the first overridden property. 958s # * 958s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 958s # * The properties are overridden in the order they are defined. 958s # * 958s # * Returns: The last property id. 958s # */ 958s # guint 958s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 958s # { 958s # return property_id_begin - 1; 958s # } 958s # 958s # 958s # inline static void 958s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # 958s # /** 958s # * OrgProjectUsefulInterface: 958s # * 958s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceIface: 958s # * @parent_iface: The parent interface. 958s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 958s # * 958s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 958s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 958s # 958s # static void 958s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 958s # { 958s # /* GObject signals for incoming D-Bus method calls: */ 958s # /** 958s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: A #GDBusMethodInvocation. 958s # * @arg_arg_ao: Argument passed by remote caller. 958s # * 958s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 958s # * 958s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_ao() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 958s # * 958s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 958s # */ 958s # g_signal_new ("handle-single-arg-method-ao", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 958s # g_signal_accumulator_true_handled, 958s # NULL, 958s # org_project_useful_interface_method_marshal_single_arg_method_ao, 958s # G_TYPE_BOOLEAN, 958s # 2, 958s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 958s # 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_ao: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @arg_arg_ao: Argument to pass with the method invocation. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 958s # */ 958s # void 958s # org_project_useful_interface_call_single_arg_method_ao ( 958s # OrgProjectUsefulInterface *proxy, 958s # const gchar *const *arg_arg_ao, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodAo", 958s # g_variant_new ("(^ao)", 958s # arg_arg_ao), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # callback, 958s # user_data); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_ao_finish: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_ao_finish ( 958s # OrgProjectUsefulInterface *proxy, 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "()"); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_ao_sync: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @arg_arg_ao: Argument to pass with the method invocation. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_ao_sync ( 958s # OrgProjectUsefulInterface *proxy, 958s # const gchar *const *arg_arg_ao, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodAo", 958s # g_variant_new ("(^ao)", 958s # arg_arg_ao), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "()"); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_complete_single_arg_method_ao: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: (transfer full): A #GDBusMethodInvocation. 958s # * 958s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodAo() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 958s # * 958s # * This method will free @invocation, you cannot use it afterwards. 958s # */ 958s # void 958s # org_project_useful_interface_complete_single_arg_method_ao ( 958s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 958s # GDBusMethodInvocation *invocation) 958s # { 958s # g_dbus_method_invocation_return_value (invocation, 958s # g_variant_new ("()")); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxy: 958s # * 958s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxyClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceProxy. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceProxyPrivate 958s # { 958s # GData *qdata; 958s # }; 958s # 958s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_proxy_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 958s # g_datalist_clear (&proxy->priv->qdata); 958s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # const GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 958s # const gchar *sender_name G_GNUC_UNUSED, 958s # const gchar *signal_name, 958s # GVariant *parameters) 958s # { 958s # _ExtendedGDBusSignalInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # gsize n; 958s # guint signal_id; 958s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 958s # if (info == NULL) 958s # return; 958s # num_params = g_variant_n_children (parameters); 958s # paramv = g_new0 (GValue, num_params + 1); 958s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[0], proxy); 958s # g_variant_iter_init (&iter, parameters); 958s # n = 1; 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_signal_emitv (paramv, signal_id, 0, NULL); 958s # for (n = 0; n < num_params + 1; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 958s # GVariant *changed_properties, 958s # const gchar *const *invalidated_properties) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 958s # guint n; 958s # const gchar *key; 958s # GVariantIter *iter; 958s # _ExtendedGDBusPropertyInfo *info; 958s # g_variant_get (changed_properties, "a{sv}", &iter); 958s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 958s # g_datalist_remove_data (&proxy->priv->qdata, key); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # g_variant_iter_free (iter); 958s # for (n = 0; invalidated_properties[n] != NULL; n++) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 958s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 958s # #else 958s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 958s # #endif 958s # 958s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusProxyClass *proxy_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 958s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 958s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 958s # 958s # proxy_class = G_DBUS_PROXY_CLASS (klass); 958s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 958s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_sync: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_sync ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new_for_bus ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_sync: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_sync ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeleton: 958s # * 958s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeletonClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 958s # { 958s # GValue *properties; 958s # GList *changed_properties; 958s # GSource *changed_properties_idle_source; 958s # GMainContext *context; 958s # GMutex lock; 958s # }; 958s # 958s # static void 958s # _org_project_useful_interface_skeleton_handle_method_call ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name, 958s # const gchar *method_name, 958s # GVariant *parameters, 958s # GDBusMethodInvocation *invocation, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # _ExtendedGDBusMethodInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # guint num_extra; 958s # gsize n; 958s # guint signal_id; 958s # GValue return_value = G_VALUE_INIT; 958s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 958s # g_assert (info != NULL); 958s # num_params = g_variant_n_children (parameters); 958s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 958s # n = 0; 958s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[n++], skeleton); 958s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 958s # g_value_set_object (¶mv[n++], invocation); 958s # if (info->pass_fdlist) 958s # { 958s # #ifdef G_OS_UNIX 958s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 958s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 958s # #else 958s # g_assert_not_reached (); 958s # #endif 958s # } 958s # g_variant_iter_init (&iter, parameters); 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_init (&return_value, G_TYPE_BOOLEAN); 958s # g_signal_emitv (paramv, signal_id, 0, &return_value); 958s # if (!g_value_get_boolean (&return_value)) 958s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 958s # g_value_unset (&return_value); 958s # for (n = 0; n < num_params + num_extra; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static GVariant * 958s # _org_project_useful_interface_skeleton_handle_get_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # GVariant *ret; 958s # ret = NULL; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # g_value_init (&value, pspec->value_type); 958s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 958s # g_value_unset (&value); 958s # } 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _org_project_useful_interface_skeleton_handle_set_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GVariant *variant, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # gboolean ret; 958s # ret = FALSE; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # if (info->use_gvariant) 958s # g_value_set_variant (&value, variant); 958s # else 958s # g_dbus_gvariant_to_gvalue (variant, &value); 958s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # g_value_unset (&value); 958s # ret = TRUE; 958s # } 958s # return ret; 958s # } 958s # 958s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 958s # { 958s # _org_project_useful_interface_skeleton_handle_method_call, 958s # _org_project_useful_interface_skeleton_handle_get_property, 958s # _org_project_useful_interface_skeleton_handle_set_property, 958s # {NULL} 958s # }; 958s # 958s # static GDBusInterfaceInfo * 958s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return org_project_useful_interface_interface_info (); 958s # } 958s # 958s # static GDBusInterfaceVTable * 958s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 958s # } 958s # 958s # static GVariant * 958s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 958s # 958s # GVariantBuilder builder; 958s # guint n; 958s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 958s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 958s # goto out; 958s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 958s # { 958s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 958s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 958s # { 958s # GVariant *value; 958s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 958s # if (value != NULL) 958s # { 958s # g_variant_take_ref (value); 958s # g_variant_builder_add (&builder, "{sv}", info->name, value); 958s # g_variant_unref (value); 958s # } 958s # } 958s # } 958s # out: 958s # return g_variant_builder_end (&builder); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_skeleton_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 958s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 958s # if (skeleton->priv->changed_properties_idle_source != NULL) 958s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 958s # g_main_context_unref (skeleton->priv->context); 958s # g_mutex_clear (&skeleton->priv->lock); 958s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 958s # #else 958s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 958s # #endif 958s # 958s # g_mutex_init (&skeleton->priv->lock); 958s # skeleton->priv->context = g_main_context_ref_thread_default (); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusInterfaceSkeletonClass *skeleton_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 958s # 958s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 958s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 958s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 958s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 958s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_skeleton_new: 958s # * 958s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_skeleton_new (void) 958s # { 958s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 958s # } 958s # /tmp/tmpqnfzcbyi/tmpegveuly0.xml: 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqnfzcbyi/tmpegveuly0.xml', '--output', '-', '--body'] 958s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 958s # Output: /* 958s # * This file is generated by gdbus-codegen, do not modify it. 958s # * 958s # * The license of this code is the same as for the D-Bus interface description 958s # * it was derived from. Note that it links to GLib, so must comply with the 958s # * LGPL linking clauses. 958s # */ 958s # 958s # #ifdef HAVE_CONFIG_H 958s # # include "config.h" 958s # #endif 958s # 958s # #include 958s # #ifdef G_OS_UNIX 958s # # include 958s # #endif 958s # 958s # #ifdef G_ENABLE_DEBUG 958s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 958s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 958s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 958s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 958s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 958s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 958s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 958s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 958s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 958s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 958s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 958s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 958s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 958s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 958s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 958s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 958s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 958s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 958s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 958s # #else /* !G_ENABLE_DEBUG */ 958s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 958s # * Do not access GValues directly in your code. Instead, use the 958s # * g_value_get_*() functions 958s # */ 958s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 958s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 958s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 958s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 958s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 958s # #endif /* !G_ENABLE_DEBUG */ 958s # 958s # typedef struct 958s # { 958s # GDBusArgInfo parent_struct; 958s # gboolean use_gvariant; 958s # } _ExtendedGDBusArgInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusMethodInfo parent_struct; 958s # const gchar *signal_name; 958s # gboolean pass_fdlist; 958s # } _ExtendedGDBusMethodInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusSignalInfo parent_struct; 958s # const gchar *signal_name; 958s # } _ExtendedGDBusSignalInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusPropertyInfo parent_struct; 958s # const gchar *hyphen_name; 958s # guint use_gvariant : 1; 958s # guint emits_changed_signal : 1; 958s # } _ExtendedGDBusPropertyInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusInterfaceInfo parent_struct; 958s # const gchar *hyphen_name; 958s # } _ExtendedGDBusInterfaceInfo; 958s # 958s # typedef struct 958s # { 958s # const _ExtendedGDBusPropertyInfo *info; 958s # guint prop_id; 958s # GValue orig_value; /* the value before the change */ 958s # } ChangedProperty; 958s # 958s # static void 958s # _changed_property_free (ChangedProperty *data) 958s # { 958s # g_value_unset (&data->orig_value); 958s # g_free (data); 958s # } 958s # 958s # static gboolean 958s # _g_strv_equal0 (gchar **a, gchar **b) 958s # { 958s # gboolean ret = FALSE; 958s # guint n; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # if (g_strv_length (a) != g_strv_length (b)) 958s # goto out; 958s # for (n = 0; a[n] != NULL; n++) 958s # if (g_strcmp0 (a[n], b[n]) != 0) 958s # goto out; 958s # ret = TRUE; 958s # out: 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _g_variant_equal0 (GVariant *a, GVariant *b) 958s # { 958s # gboolean ret = FALSE; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # ret = g_variant_equal (a, b); 958s # out: 958s # return ret; 958s # } 958s # 958s # G_GNUC_UNUSED static gboolean 958s # _g_value_equal (const GValue *a, const GValue *b) 958s # { 958s # gboolean ret = FALSE; 958s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 958s # switch (G_VALUE_TYPE (a)) 958s # { 958s # case G_TYPE_BOOLEAN: 958s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 958s # break; 958s # case G_TYPE_UCHAR: 958s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 958s # break; 958s # case G_TYPE_INT: 958s # ret = (g_value_get_int (a) == g_value_get_int (b)); 958s # break; 958s # case G_TYPE_UINT: 958s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 958s # break; 958s # case G_TYPE_INT64: 958s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 958s # break; 958s # case G_TYPE_UINT64: 958s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 958s # break; 958s # case G_TYPE_DOUBLE: 958s # { 958s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 958s # gdouble da = g_value_get_double (a); 958s # gdouble db = g_value_get_double (b); 958s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 958s # } 958s # break; 958s # case G_TYPE_STRING: 958s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 958s # break; 958s # case G_TYPE_VARIANT: 958s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 958s # break; 958s # default: 958s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 958s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 958s # else 958s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 958s # break; 958s # } 958s # return ret; 958s # } 958s # 958s # static void 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint G_GNUC_UNUSED, 958s # void *marshal_data) 958s # { 958s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 958s # (void *data1, 958s # GDBusMethodInvocation *arg_method_invocation, 958s # const gchar *const *arg_arg_aay, 958s # void *data2); 958s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 958s # GCClosure *cc = (GCClosure*) closure; 958s # void *data1, *data2; 958s # gboolean v_return; 958s # 958s # g_return_if_fail (return_value != NULL); 958s # g_return_if_fail (n_param_values == 3); 958s # 958s # if (G_CCLOSURE_SWAP_DATA (closure)) 958s # { 958s # data1 = closure->data; 958s # data2 = g_value_peek_pointer (param_values + 0); 958s # } 958s # else 958s # { 958s # data1 = g_value_peek_pointer (param_values + 0); 958s # data2 = closure->data; 958s # } 958s # 958s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 958s # (marshal_data ? marshal_data : cc->callback); 958s # 958s # v_return = 958s # callback (data1, 958s # g_marshal_value_peek_object (param_values + 1), 958s # g_marshal_value_peek_boxed (param_values + 2), 958s # data2); 958s # 958s # g_value_set_boolean (return_value, v_return); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ 958s # * Code for interface org.project.UsefulInterface 958s # * ------------------------------------------------------------------------ 958s # */ 958s # 958s # /** 958s # * SECTION:OrgProjectUsefulInterface 958s # * @title: OrgProjectUsefulInterface 958s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 958s # * 958s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 958s # */ 958s # 958s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 958s # { 958s # { 958s # -1, 958s # (gchar *) "arg_aay", 958s # (gchar *) "aay", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgMethodAay", 958s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 958s # NULL, 958s # NULL 958s # }, 958s # "handle-single-arg-method-aay", 958s # FALSE 958s # }; 958s # 958s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 958s # { 958s # { 958s # -1, 958s # (gchar *) "org.project.UsefulInterface", 958s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 958s # NULL, 958s # NULL, 958s # NULL 958s # }, 958s # "org-project-useful-interface", 958s # }; 958s # 958s # 958s # /** 958s # * org_project_useful_interface_interface_info: 958s # * 958s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 958s # * 958s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 958s # */ 958s # GDBusInterfaceInfo * 958s # org_project_useful_interface_interface_info (void) 958s # { 958s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_override_properties: 958s # * @klass: The class structure for a #GObject derived class. 958s # * @property_id_begin: The property id to assign to the first overridden property. 958s # * 958s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 958s # * The properties are overridden in the order they are defined. 958s # * 958s # * Returns: The last property id. 958s # */ 958s # guint 958s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 958s # { 958s # return property_id_begin - 1; 958s # } 958s # 958s # 958s # inline static void 958s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # 958s # /** 958s # * OrgProjectUsefulInterface: 958s # * 958s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceIface: 958s # * @parent_iface: The parent interface. 958s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 958s # * 958s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 958s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 958s # 958s # static void 958s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 958s # { 958s # /* GObject signals for incoming D-Bus method calls: */ 958s # /** 958s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: A #GDBusMethodInvocation. 958s # * @arg_arg_aay: Argument passed by remote caller. 958s # * 958s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 958s # * 958s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_aay() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 958s # * 958s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 958s # */ 958s # g_signal_new ("handle-single-arg-method-aay", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 958s # g_signal_accumulator_true_handled, 958s # NULL, 958s # org_project_useful_interface_method_marshal_single_arg_method_aay, 958s # G_TYPE_BOOLEAN, 958s # 2, 958s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 958s # 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_aay: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @arg_arg_aay: Argument to pass with the method invocation. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 958s # */ 958s # void 958s # org_project_useful_interface_call_single_arg_method_aay ( 958s # OrgProjectUsefulInterface *proxy, 958s # const gchar *const *arg_arg_aay, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodAay", 958s # g_variant_new ("(^aay)", 958s # arg_arg_aay), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # callback, 958s # user_data); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_aay_finish: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_aay_finish ( 958s # OrgProjectUsefulInterface *proxy, 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "()"); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_aay_sync: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @arg_arg_aay: Argument to pass with the method invocation. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_aay_sync ( 958s # OrgProjectUsefulInterface *proxy, 958s # const gchar *const *arg_arg_aay, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodAay", 958s # g_variant_new ("(^aay)", 958s # arg_arg_aay), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "()"); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_complete_single_arg_method_aay: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: (transfer full): A #GDBusMethodInvocation. 958s # * 958s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodAay() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 958s # * 958s # * This method will free @invocation, you cannot use it afterwards. 958s # */ 958s # void 958s # org_project_useful_interface_complete_single_arg_method_aay ( 958s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 958s # GDBusMethodInvocation *invocation) 958s # { 958s # g_dbus_method_invocation_return_value (invocation, 958s # g_variant_new ("()")); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxy: 958s # * 958s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxyClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceProxy. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceProxyPrivate 958s # { 958s # GData *qdata; 958s # }; 958s # 958s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_proxy_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 958s # g_datalist_clear (&proxy->priv->qdata); 958s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # const GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 958s # const gchar *sender_name G_GNUC_UNUSED, 958s # const gchar *signal_name, 958s # GVariant *parameters) 958s # { 958s # _ExtendedGDBusSignalInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # gsize n; 958s # guint signal_id; 958s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 958s # if (info == NULL) 958s # return; 958s # num_params = g_variant_n_children (parameters); 958s # paramv = g_new0 (GValue, num_params + 1); 958s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[0], proxy); 958s # g_variant_iter_init (&iter, parameters); 958s # n = 1; 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_signal_emitv (paramv, signal_id, 0, NULL); 958s # for (n = 0; n < num_params + 1; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 958s # GVariant *changed_properties, 958s # const gchar *const *invalidated_properties) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 958s # guint n; 958s # const gchar *key; 958s # GVariantIter *iter; 958s # _ExtendedGDBusPropertyInfo *info; 958s # g_variant_get (changed_properties, "a{sv}", &iter); 958s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 958s # g_datalist_remove_data (&proxy->priv->qdata, key); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # g_variant_iter_free (iter); 958s # for (n = 0; invalidated_properties[n] != NULL; n++) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 958s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 958s # #else 958s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 958s # #endif 958s # 958s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusProxyClass *proxy_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 958s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 958s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 958s # 958s # proxy_class = G_DBUS_PROXY_CLASS (klass); 958s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 958s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_sync: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_sync ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new_for_bus ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_sync: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_sync ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeleton: 958s # * 958s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeletonClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 958s # { 958s # GValue *properties; 958s # GList *changed_properties; 958s # GSource *changed_properties_idle_source; 958s # GMainContext *context; 958s # GMutex lock; 958s # }; 958s # 958s # static void 958s # _org_project_useful_interface_skeleton_handle_method_call ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name, 958s # const gchar *method_name, 958s # GVariant *parameters, 958s # GDBusMethodInvocation *invocation, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # _ExtendedGDBusMethodInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # guint num_extra; 958s # gsize n; 958s # guint signal_id; 958s # GValue return_value = G_VALUE_INIT; 958s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 958s # g_assert (info != NULL); 958s # num_params = g_variant_n_children (parameters); 958s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 958s # n = 0; 958s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[n++], skeleton); 958s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 958s # g_value_set_object (¶mv[n++], invocation); 958s # if (info->pass_fdlist) 958s # { 958s # #ifdef G_OS_UNIX 958s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 958s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 958s # #else 958s # g_assert_not_reached (); 958s # #endif 958s # } 958s # g_variant_iter_init (&iter, parameters); 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_init (&return_value, G_TYPE_BOOLEAN); 958s # g_signal_emitv (paramv, signal_id, 0, &return_value); 958s # if (!g_value_get_boolean (&return_value)) 958s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 958s # g_value_unset (&return_value); 958s # for (n = 0; n < num_params + num_extra; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static GVariant * 958s # _org_project_useful_interface_skeleton_handle_get_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # GVariant *ret; 958s # ret = NULL; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # g_value_init (&value, pspec->value_type); 958s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 958s # g_value_unset (&value); 958s # } 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _org_project_useful_interface_skeleton_handle_set_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GVariant *variant, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # gboolean ret; 959s # ret = FALSE; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # if (info->use_gvariant) 959s # g_value_set_variant (&value, variant); 959s # else 959s # g_dbus_gvariant_to_gvalue (variant, &value); 959s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # g_value_unset (&value); 959s # ret = TRUE; 959s # } 959s # return ret; 959s # } 959s # 959s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 959s # { 959s # _org_project_useful_interface_skeleton_handle_method_call, 959s # _org_project_useful_interface_skeleton_handle_get_property, 959s # _org_project_useful_interface_skeleton_handle_set_property, 959s # {NULL} 959s # }; 959s # 959s # static GDBusInterfaceInfo * 959s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return org_project_useful_interface_interface_info (); 959s # } 959s # 959s # static GDBusInterfaceVTable * 959s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 959s # } 959s # 959s # static GVariant * 959s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 959s # 959s # GVariantBuilder builder; 959s # guint n; 959s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 959s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 959s # goto out; 959s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 959s # { 959s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 959s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 959s # { 959s # GVariant *value; 959s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 959s # if (value != NULL) 959s # { 959s # g_variant_take_ref (value); 959s # g_variant_builder_add (&builder, "{sv}", info->name, value); 959s # g_variant_unref (value); 959s # } 959s # } 959s # } 959s # out: 959s # return g_variant_builder_end (&builder); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_useful_interface_skeleton_finalize (GObject *object) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 959s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 959s # if (skeleton->priv->changed_properties_idle_source != NULL) 959s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 959s # g_main_context_unref (skeleton->priv->context); 959s # g_mutex_clear (&skeleton->priv->lock); 959s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 959s # #else 959s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 959s # #endif 959s # 959s # g_mutex_init (&skeleton->priv->lock); 959s # skeleton->priv->context = g_main_context_ref_thread_default (); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusInterfaceSkeletonClass *skeleton_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 959s # 959s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 959s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 959s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 959s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 959s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_skeleton_new: 959s # * 959s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_skeleton_new (void) 959s # { 959s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 959s # } 959s # /tmp/tmpqnfzcbyi/tmp6ix0d3kx.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqnfzcbyi/tmp6ix0d3kx.xml', '--output', '-', '--body'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: /* 959s # * This file is generated by gdbus-codegen, do not modify it. 959s # * 959s # * The license of this code is the same as for the D-Bus interface description 959s # * it was derived from. Note that it links to GLib, so must comply with the 959s # * LGPL linking clauses. 959s # */ 959s # 959s # #ifdef HAVE_CONFIG_H 959s # # include "config.h" 959s # #endif 959s # 959s # #include 959s # #ifdef G_OS_UNIX 959s # # include 959s # #endif 959s # 959s # #ifdef G_ENABLE_DEBUG 959s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 959s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 959s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 959s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 959s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 959s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 959s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 959s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 959s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 959s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 959s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 959s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 959s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 959s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 959s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 959s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 959s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 959s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 959s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 959s # #else /* !G_ENABLE_DEBUG */ 959s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 959s # * Do not access GValues directly in your code. Instead, use the 959s # * g_value_get_*() functions 959s # */ 959s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 959s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 959s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 959s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 959s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 959s # #endif /* !G_ENABLE_DEBUG */ 959s # 959s # typedef struct 959s # { 959s # GDBusArgInfo parent_struct; 959s # gboolean use_gvariant; 959s # } _ExtendedGDBusArgInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusMethodInfo parent_struct; 959s # const gchar *signal_name; 959s # gboolean pass_fdlist; 959s # } _ExtendedGDBusMethodInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusSignalInfo parent_struct; 959s # const gchar *signal_name; 959s # } _ExtendedGDBusSignalInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusPropertyInfo parent_struct; 959s # const gchar *hyphen_name; 959s # guint use_gvariant : 1; 959s # guint emits_changed_signal : 1; 959s # } _ExtendedGDBusPropertyInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusInterfaceInfo parent_struct; 959s # const gchar *hyphen_name; 959s # } _ExtendedGDBusInterfaceInfo; 959s # 959s # typedef struct 959s # { 959s # const _ExtendedGDBusPropertyInfo *info; 959s # guint prop_id; 959s # GValue orig_value; /* the value before the change */ 959s # } ChangedProperty; 959s # 959s # static void 959s # _changed_property_free (ChangedProperty *data) 959s # { 959s # g_value_unset (&data->orig_value); 959s # g_free (data); 959s # } 959s # 959s # static gboolean 959s # _g_strv_equal0 (gchar **a, gchar **b) 959s # { 959s # gboolean ret = FALSE; 959s # guint n; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # if (g_strv_length (a) != g_strv_length (b)) 959s # goto out; 959s # for (n = 0; a[n] != NULL; n++) 959s # if (g_strcmp0 (a[n], b[n]) != 0) 959s # goto out; 959s # ret = TRUE; 959s # out: 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _g_variant_equal0 (GVariant *a, GVariant *b) 959s # { 959s # gboolean ret = FALSE; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # ret = g_variant_equal (a, b); 959s # out: 959s # return ret; 959s # } 959s # 959s # G_GNUC_UNUSED static gboolean 959s # _g_value_equal (const GValue *a, const GValue *b) 959s # { 959s # gboolean ret = FALSE; 959s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 959s # switch (G_VALUE_TYPE (a)) 959s # { 959s # case G_TYPE_BOOLEAN: 959s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 959s # break; 959s # case G_TYPE_UCHAR: 959s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 959s # break; 959s # case G_TYPE_INT: 959s # ret = (g_value_get_int (a) == g_value_get_int (b)); 959s # break; 959s # case G_TYPE_UINT: 959s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 959s # break; 959s # case G_TYPE_INT64: 959s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 959s # break; 959s # case G_TYPE_UINT64: 959s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 959s # break; 959s # case G_TYPE_DOUBLE: 959s # { 959s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 959s # gdouble da = g_value_get_double (a); 959s # gdouble db = g_value_get_double (b); 959s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 959s # } 959s # break; 959s # case G_TYPE_STRING: 959s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 959s # break; 959s # case G_TYPE_VARIANT: 959s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 959s # break; 959s # default: 959s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 959s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 959s # else 959s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 959s # break; 959s # } 959s # return ret; 959s # } 959s # 959s # static void 959s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint G_GNUC_UNUSED, 959s # void *marshal_data) 959s # { 959s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 959s # (void *data1, 959s # GDBusMethodInvocation *arg_method_invocation, 959s # GVariant *arg_arg_asv, 959s # void *data2); 959s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 959s # GCClosure *cc = (GCClosure*) closure; 959s # void *data1, *data2; 959s # gboolean v_return; 959s # 959s # g_return_if_fail (return_value != NULL); 959s # g_return_if_fail (n_param_values == 3); 959s # 959s # if (G_CCLOSURE_SWAP_DATA (closure)) 959s # { 959s # data1 = closure->data; 959s # data2 = g_value_peek_pointer (param_values + 0); 959s # } 959s # else 959s # { 959s # data1 = g_value_peek_pointer (param_values + 0); 959s # data2 = closure->data; 959s # } 959s # 959s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 959s # (marshal_data ? marshal_data : cc->callback); 959s # 959s # v_return = 959s # callback (data1, 959s # g_marshal_value_peek_object (param_values + 1), 959s # g_marshal_value_peek_variant (param_values + 2), 959s # data2); 959s # 959s # g_value_set_boolean (return_value, v_return); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ 959s # * Code for interface org.project.UsefulInterface 959s # * ------------------------------------------------------------------------ 959s # */ 959s # 959s # /** 959s # * SECTION:OrgProjectUsefulInterface 959s # * @title: OrgProjectUsefulInterface 959s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 959s # * 959s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 959s # */ 959s # 959s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 959s # { 959s # { 959s # -1, 959s # (gchar *) "arg_asv", 959s # (gchar *) "a{sv}", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 959s # { 959s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgMethodAsv", 959s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 959s # NULL, 959s # NULL 959s # }, 959s # "handle-single-arg-method-asv", 959s # FALSE 959s # }; 959s # 959s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 959s # { 959s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 959s # { 959s # { 959s # -1, 959s # (gchar *) "org.project.UsefulInterface", 959s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 959s # NULL, 959s # NULL, 959s # NULL 959s # }, 959s # "org-project-useful-interface", 959s # }; 959s # 959s # 959s # /** 959s # * org_project_useful_interface_interface_info: 959s # * 959s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 959s # * 959s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 959s # */ 959s # GDBusInterfaceInfo * 959s # org_project_useful_interface_interface_info (void) 959s # { 959s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_override_properties: 959s # * @klass: The class structure for a #GObject derived class. 959s # * @property_id_begin: The property id to assign to the first overridden property. 959s # * 959s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 959s # * The properties are overridden in the order they are defined. 959s # * 959s # * Returns: The last property id. 959s # */ 959s # guint 959s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 959s # { 959s # return property_id_begin - 1; 959s # } 959s # 959s # 959s # inline static void 959s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # 959s # /** 959s # * OrgProjectUsefulInterface: 959s # * 959s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceIface: 959s # * @parent_iface: The parent interface. 959s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 959s # * 959s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 959s # */ 959s # 959s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 959s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 959s # 959s # static void 959s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 959s # { 959s # /* GObject signals for incoming D-Bus method calls: */ 959s # /** 959s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 959s # * @object: A #OrgProjectUsefulInterface. 959s # * @invocation: A #GDBusMethodInvocation. 959s # * @arg_arg_asv: Argument passed by remote caller. 959s # * 959s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 959s # * 959s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_asv() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 959s # * 959s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 959s # */ 959s # g_signal_new ("handle-single-arg-method-asv", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 959s # g_signal_accumulator_true_handled, 959s # NULL, 959s # org_project_useful_interface_method_marshal_single_arg_method_asv, 959s # G_TYPE_BOOLEAN, 959s # 2, 959s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 959s # 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_asv: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @arg_arg_asv: Argument to pass with the method invocation. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 959s # */ 959s # void 959s # org_project_useful_interface_call_single_arg_method_asv ( 959s # OrgProjectUsefulInterface *proxy, 959s # GVariant *arg_arg_asv, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 959s # "SingleArgMethodAsv", 959s # g_variant_new ("(@a{sv})", 959s # arg_arg_asv), 959s # G_DBUS_CALL_FLAGS_NONE, 959s # -1, 959s # cancellable, 959s # callback, 959s # user_data); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_asv_finish: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 959s # * @error: Return location for error or %NULL. 959s # * 959s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 959s # * 959s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 959s # */ 959s # gboolean 959s # org_project_useful_interface_call_single_arg_method_asv_finish ( 959s # OrgProjectUsefulInterface *proxy, 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GVariant *_ret; 959s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 959s # if (_ret == NULL) 959s # goto _out; 959s # g_variant_get (_ret, 959s # "()"); 959s # g_variant_unref (_ret); 959s # _out: 959s # return _ret != NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_asv_sync: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @arg_arg_asv: Argument to pass with the method invocation. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL. 959s # * 959s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 959s # * 959s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 959s # */ 959s # gboolean 959s # org_project_useful_interface_call_single_arg_method_asv_sync ( 959s # OrgProjectUsefulInterface *proxy, 959s # GVariant *arg_arg_asv, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GVariant *_ret; 959s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 959s # "SingleArgMethodAsv", 959s # g_variant_new ("(@a{sv})", 959s # arg_arg_asv), 959s # G_DBUS_CALL_FLAGS_NONE, 959s # -1, 959s # cancellable, 959s # error); 959s # if (_ret == NULL) 959s # goto _out; 959s # g_variant_get (_ret, 959s # "()"); 959s # g_variant_unref (_ret); 959s # _out: 959s # return _ret != NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_complete_single_arg_method_asv: 959s # * @object: A #OrgProjectUsefulInterface. 959s # * @invocation: (transfer full): A #GDBusMethodInvocation. 959s # * 959s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodAsv() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 959s # * 959s # * This method will free @invocation, you cannot use it afterwards. 959s # */ 959s # void 959s # org_project_useful_interface_complete_single_arg_method_asv ( 959s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 959s # GDBusMethodInvocation *invocation) 959s # { 959s # g_dbus_method_invocation_return_value (invocation, 959s # g_variant_new ("()")); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceProxy: 959s # * 959s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceProxyClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectUsefulInterfaceProxy. 959s # */ 959s # 959s # struct _OrgProjectUsefulInterfaceProxyPrivate 959s # { 959s # GData *qdata; 959s # }; 959s # 959s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 959s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_useful_interface_proxy_finalize (GObject *object) 959s # { 959s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 959s # g_datalist_clear (&proxy->priv->qdata); 959s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # const GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 959s # const gchar *sender_name G_GNUC_UNUSED, 959s # const gchar *signal_name, 959s # GVariant *parameters) 959s # { 959s # _ExtendedGDBusSignalInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # gsize n; 959s # guint signal_id; 959s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 959s # if (info == NULL) 959s # return; 959s # num_params = g_variant_n_children (parameters); 959s # paramv = g_new0 (GValue, num_params + 1); 959s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_set_object (¶mv[0], proxy); 959s # g_variant_iter_init (&iter, parameters); 959s # n = 1; 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_signal_emitv (paramv, signal_id, 0, NULL); 959s # for (n = 0; n < num_params + 1; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 959s # GVariant *changed_properties, 959s # const gchar *const *invalidated_properties) 959s # { 959s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 959s # guint n; 959s # const gchar *key; 959s # GVariantIter *iter; 959s # _ExtendedGDBusPropertyInfo *info; 959s # g_variant_get (changed_properties, "a{sv}", &iter); 959s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 959s # g_datalist_remove_data (&proxy->priv->qdata, key); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # g_variant_iter_free (iter); 959s # for (n = 0; invalidated_properties[n] != NULL; n++) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 959s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 959s # #else 959s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 959s # #endif 959s # 959s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusProxyClass *proxy_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 959s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 959s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 959s # 959s # proxy_class = G_DBUS_PROXY_CLASS (klass); 959s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 959s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_useful_interface_proxy_new ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_sync: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_sync ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_useful_interface_proxy_new_for_bus ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_for_bus_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus_sync: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_for_bus_sync ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceSkeleton: 959s # * 959s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceSkeletonClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 959s # */ 959s # 959s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 959s # { 959s # GValue *properties; 959s # GList *changed_properties; 959s # GSource *changed_properties_idle_source; 959s # GMainContext *context; 959s # GMutex lock; 959s # }; 959s # 959s # static void 959s # _org_project_useful_interface_skeleton_handle_method_call ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name, 959s # const gchar *method_name, 959s # GVariant *parameters, 959s # GDBusMethodInvocation *invocation, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # _ExtendedGDBusMethodInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # guint num_extra; 959s # gsize n; 959s # guint signal_id; 959s # GValue return_value = G_VALUE_INIT; 959s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 959s # g_assert (info != NULL); 959s # num_params = g_variant_n_children (parameters); 959s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 959s # n = 0; 959s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_set_object (¶mv[n++], skeleton); 959s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 959s # g_value_set_object (¶mv[n++], invocation); 959s # if (info->pass_fdlist) 959s # { 959s # #ifdef G_OS_UNIX 959s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 959s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 959s # #else 959s # g_assert_not_reached (); 959s # #endif 959s # } 959s # g_variant_iter_init (&iter, parameters); 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_init (&return_value, G_TYPE_BOOLEAN); 959s # g_signal_emitv (paramv, signal_id, 0, &return_value); 959s # if (!g_value_get_boolean (&return_value)) 959s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 959s # g_value_unset (&return_value); 959s # for (n = 0; n < num_params + num_extra; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static GVariant * 959s # _org_project_useful_interface_skeleton_handle_get_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # GVariant *ret; 959s # ret = NULL; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # g_value_init (&value, pspec->value_type); 959s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 959s # g_value_unset (&value); 959s # } 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _org_project_useful_interface_skeleton_handle_set_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GVariant *variant, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # gboolean ret; 959s # ret = FALSE; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # if (info->use_gvariant) 959s # g_value_set_variant (&value, variant); 959s # else 959s # g_dbus_gvariant_to_gvalue (variant, &value); 959s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # g_value_unset (&value); 959s # ret = TRUE; 959s # } 959s # return ret; 959s # } 959s # 959s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 959s # { 959s # _org_project_useful_interface_skeleton_handle_method_call, 959s # _org_project_useful_interface_skeleton_handle_get_property, 959s # _org_project_useful_interface_skeleton_handle_set_property, 959s # {NULL} 959s # }; 959s # 959s # static GDBusInterfaceInfo * 959s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return org_project_useful_interface_interface_info (); 959s # } 959s # 959s # static GDBusInterfaceVTable * 959s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 959s # } 959s # 959s # static GVariant * 959s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 959s # 959s # GVariantBuilder builder; 959s # guint n; 959s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 959s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 959s # goto out; 959s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 959s # { 959s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 959s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 959s # { 959s # GVariant *value; 959s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 959s # if (value != NULL) 959s # { 959s # g_variant_take_ref (value); 959s # g_variant_builder_add (&builder, "{sv}", info->name, value); 959s # g_variant_unref (value); 959s # } 959s # } 959s # } 959s # out: 959s # return g_variant_builder_end (&builder); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_useful_interface_skeleton_finalize (GObject *object) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 959s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 959s # if (skeleton->priv->changed_properties_idle_source != NULL) 959s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 959s # g_main_context_unref (skeleton->priv->context); 959s # g_mutex_clear (&skeleton->priv->lock); 959s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 959s # #else 959s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 959s # #endif 959s # 959s # g_mutex_init (&skeleton->priv->lock); 959s # skeleton->priv->context = g_main_context_ref_thread_default (); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusInterfaceSkeletonClass *skeleton_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 959s # 959s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 959s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 959s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 959s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 959s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_skeleton_new: 959s # * 959s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_skeleton_new (void) 959s # { 959s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 959s # } 959s # Executing: glib/codegen.py.test 959s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 959s # tmpdir: /tmp/tmpt56g2_ry 959s # codegen: /usr/bin/gdbus-codegen 959s # /tmp/tmpt56g2_ry/tmp07dnbepw.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt56g2_ry/tmp07dnbepw.xml', '--output', '-', '--body'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: /* 959s # * This file is generated by gdbus-codegen, do not modify it. 959s # * 959s # * The license of this code is the same as for the D-Bus interface description 959s # * it was derived from. Note that it links to GLib, so must comply with the 959s # * LGPL linking clauses. 959s # */ 959s # 959s # #ifdef HAVE_CONFIG_H 959s # # include "config.h" 959s # #endif 959s # 959s # #include 959s # #ifdef G_OS_UNIX 959s # # include 959s # #endif 959s # 959s # #ifdef G_ENABLE_DEBUG 959s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 959s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 959s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 959s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 959s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 959s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 959s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 959s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 959s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 959s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 959s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 959s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 959s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 959s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 959s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 959s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 959s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 959s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 959s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 959s # #else /* !G_ENABLE_DEBUG */ 959s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 959s # * Do not access GValues directly in your code. Instead, use the 959s # * g_value_get_*() functions 959s # */ 959s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 959s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 959s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 959s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 959s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 959s # #endif /* !G_ENABLE_DEBUG */ 959s # 959s # typedef struct 959s # { 959s # GDBusArgInfo parent_struct; 959s # gboolean use_gvariant; 959s # } _ExtendedGDBusArgInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusMethodInfo parent_struct; 959s # const gchar *signal_name; 959s # gboolean pass_fdlist; 959s # } _ExtendedGDBusMethodInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusSignalInfo parent_struct; 959s # const gchar *signal_name; 959s # } _ExtendedGDBusSignalInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusPropertyInfo parent_struct; 959s # const gchar *hyphen_name; 959s # guint use_gvariant : 1; 959s # guint emits_changed_signal : 1; 959s # } _ExtendedGDBusPropertyInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusInterfaceInfo parent_struct; 959s # const gchar *hyphen_name; 959s # } _ExtendedGDBusInterfaceInfo; 959s # 959s # typedef struct 959s # { 959s # const _ExtendedGDBusPropertyInfo *info; 959s # guint prop_id; 959s # GValue orig_value; /* the value before the change */ 959s # } ChangedProperty; 959s # 959s # static void 959s # _changed_property_free (ChangedProperty *data) 959s # { 959s # g_value_unset (&data->orig_value); 959s # g_free (data); 959s # } 959s # 959s # static gboolean 959s # _g_strv_equal0 (gchar **a, gchar **b) 959s # { 959s # gboolean ret = FALSE; 959s # guint n; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # if (g_strv_length (a) != g_strv_length (b)) 959s # goto out; 959s # for (n = 0; a[n] != NULL; n++) 959s # if (g_strcmp0 (a[n], b[n]) != 0) 959s # goto out; 959s # ret = TRUE; 959s # out: 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _g_variant_equal0 (GVariant *a, GVariant *b) 959s # { 959s # gboolean ret = FALSE; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # ret = g_variant_equal (a, b); 959s # out: 959s # return ret; 959s # } 959s # 959s # G_GNUC_UNUSED static gboolean 959s # _g_value_equal (const GValue *a, const GValue *b) 959s # { 959s # gboolean ret = FALSE; 959s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 959s # switch (G_VALUE_TYPE (a)) 959s # { 959s # case G_TYPE_BOOLEAN: 959s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 959s # break; 959s # case G_TYPE_UCHAR: 959s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 959s # break; 959s # case G_TYPE_INT: 959s # ret = (g_value_get_int (a) == g_value_get_int (b)); 959s # break; 959s # case G_TYPE_UINT: 959s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 959s # break; 959s # case G_TYPE_INT64: 959s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 959s # break; 959s # case G_TYPE_UINT64: 959s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 959s # break; 959s # case G_TYPE_DOUBLE: 959s # { 959s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 959s # gdouble da = g_value_get_double (a); 959s # gdouble db = g_value_get_double (b); 959s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 959s # } 959s # break; 959s # case G_TYPE_STRING: 959s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 959s # break; 959s # case G_TYPE_VARIANT: 959s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 959s # break; 959s # default: 959s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 959s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 959s # else 959s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 959s # break; 959s # } 959s # return ret; 959s # } 959s # 959s # static void 959s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint G_GNUC_UNUSED, 959s # void *marshal_data) 959s # { 959s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 959s # (void *data1, 959s # GDBusMethodInvocation *arg_method_invocation, 959s # void *data2); 959s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 959s # GCClosure *cc = (GCClosure*) closure; 959s # void *data1, *data2; 959s # gboolean v_return; 959s # 959s # g_return_if_fail (return_value != NULL); 959s # g_return_if_fail (n_param_values == 2); 959s # 959s # if (G_CCLOSURE_SWAP_DATA (closure)) 959s # { 959s # data1 = closure->data; 959s # data2 = g_value_peek_pointer (param_values + 0); 959s # } 959s # else 959s # { 959s # data1 = g_value_peek_pointer (param_values + 0); 959s # data2 = closure->data; 959s # } 959s # 959s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 959s # (marshal_data ? marshal_data : cc->callback); 959s # 959s # v_return = 959s # callback (data1, 959s # g_marshal_value_peek_object (param_values + 1), 959s # data2); 959s # 959s # g_value_set_boolean (return_value, v_return); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ 959s # * Code for interface org.project.UsefulInterface 959s # * ------------------------------------------------------------------------ 959s # */ 959s # 959s # /** 959s # * SECTION:OrgProjectUsefulInterface 959s # * @title: OrgProjectUsefulInterface 959s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 959s # * 959s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 959s # */ 959s # 959s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 959s # { 959s # { 959s # -1, 959s # (gchar *) "arg_b", 959s # (gchar *) "b", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 959s # { 959s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgMethodB", 959s # NULL, 959s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 959s # NULL 959s # }, 959s # "handle-single-arg-method-b", 959s # FALSE 959s # }; 959s # 959s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 959s # { 959s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 959s # { 959s # { 959s # -1, 959s # (gchar *) "org.project.UsefulInterface", 959s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 959s # NULL, 959s # NULL, 959s # NULL 959s # }, 959s # "org-project-useful-interface", 959s # }; 959s # 959s # 959s # /** 959s # * org_project_useful_interface_interface_info: 959s # * 959s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 959s # * 959s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 959s # */ 959s # GDBusInterfaceInfo * 959s # org_project_useful_interface_interface_info (void) 959s # { 959s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_override_properties: 959s # * @klass: The class structure for a #GObject derived class. 959s # * @property_id_begin: The property id to assign to the first overridden property. 959s # * 959s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 959s # * The properties are overridden in the order they are defined. 959s # * 959s # * Returns: The last property id. 959s # */ 959s # guint 959s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 959s # { 959s # return property_id_begin - 1; 959s # } 959s # 959s # 959s # inline static void 959s # org_project_useful_interface_method_marshal_single_arg_method_b ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # 959s # /** 959s # * OrgProjectUsefulInterface: 959s # * 959s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceIface: 959s # * @parent_iface: The parent interface. 959s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 959s # * 959s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 959s # */ 959s # 959s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 959s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 959s # 959s # static void 959s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 959s # { 959s # /* GObject signals for incoming D-Bus method calls: */ 959s # /** 959s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 959s # * @object: A #OrgProjectUsefulInterface. 959s # * @invocation: A #GDBusMethodInvocation. 959s # * 959s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 959s # * 959s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_b() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 959s # * 959s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 959s # */ 959s # g_signal_new ("handle-single-arg-method-b", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 959s # g_signal_accumulator_true_handled, 959s # NULL, 959s # org_project_useful_interface_method_marshal_single_arg_method_b, 959s # G_TYPE_BOOLEAN, 959s # 1, 959s # G_TYPE_DBUS_METHOD_INVOCATION); 959s # 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_b: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 959s # */ 959s # void 959s # org_project_useful_interface_call_single_arg_method_b ( 959s # OrgProjectUsefulInterface *proxy, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 959s # "SingleArgMethodB", 959s # g_variant_new ("()"), 959s # G_DBUS_CALL_FLAGS_NONE, 959s # -1, 959s # cancellable, 959s # callback, 959s # user_data); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_b_finish: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 959s # * @error: Return location for error or %NULL. 959s # * 959s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 959s # * 959s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 959s # */ 959s # gboolean 959s # org_project_useful_interface_call_single_arg_method_b_finish ( 959s # OrgProjectUsefulInterface *proxy, 959s # gboolean *out_arg_b, 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GVariant *_ret; 959s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 959s # if (_ret == NULL) 959s # goto _out; 959s # g_variant_get (_ret, 959s # "(b)", 959s # out_arg_b); 959s # g_variant_unref (_ret); 959s # _out: 959s # return _ret != NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_b_sync: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL. 959s # * 959s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 959s # * 959s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 959s # */ 959s # gboolean 959s # org_project_useful_interface_call_single_arg_method_b_sync ( 959s # OrgProjectUsefulInterface *proxy, 959s # gboolean *out_arg_b, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GVariant *_ret; 959s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 959s # "SingleArgMethodB", 959s # g_variant_new ("()"), 959s # G_DBUS_CALL_FLAGS_NONE, 959s # -1, 959s # cancellable, 959s # error); 959s # if (_ret == NULL) 959s # goto _out; 959s # g_variant_get (_ret, 959s # "(b)", 959s # out_arg_b); 959s # g_variant_unref (_ret); 959s # _out: 959s # return _ret != NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_complete_single_arg_method_b: 959s # * @object: A #OrgProjectUsefulInterface. 959s # * @invocation: (transfer full): A #GDBusMethodInvocation. 959s # * @arg_b: Parameter to return. 959s # * 959s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodB() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 959s # * 959s # * This method will free @invocation, you cannot use it afterwards. 959s # */ 959s # void 959s # org_project_useful_interface_complete_single_arg_method_b ( 959s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 959s # GDBusMethodInvocation *invocation, 959s # gboolean arg_b) 959s # { 959s # g_dbus_method_invocation_return_value (invocation, 959s # g_variant_new ("(b)", 959s # arg_b)); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceProxy: 959s # * 959s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceProxyClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectUsefulInterfaceProxy. 959s # */ 959s # 959s # struct _OrgProjectUsefulInterfaceProxyPrivate 959s # { 959s # GData *qdata; 959s # }; 959s # 959s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 959s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_useful_interface_proxy_finalize (GObject *object) 959s # { 959s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 959s # g_datalist_clear (&proxy->priv->qdata); 959s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # const GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 959s # const gchar *sender_name G_GNUC_UNUSED, 959s # const gchar *signal_name, 959s # GVariant *parameters) 959s # { 959s # _ExtendedGDBusSignalInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # gsize n; 959s # guint signal_id; 959s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 959s # if (info == NULL) 959s # return; 959s # num_params = g_variant_n_children (parameters); 959s # paramv = g_new0 (GValue, num_params + 1); 959s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_set_object (¶mv[0], proxy); 959s # g_variant_iter_init (&iter, parameters); 959s # n = 1; 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_signal_emitv (paramv, signal_id, 0, NULL); 959s # for (n = 0; n < num_params + 1; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 959s # GVariant *changed_properties, 959s # const gchar *const *invalidated_properties) 959s # { 959s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 959s # guint n; 959s # const gchar *key; 959s # GVariantIter *iter; 959s # _ExtendedGDBusPropertyInfo *info; 959s # g_variant_get (changed_properties, "a{sv}", &iter); 959s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 959s # g_datalist_remove_data (&proxy->priv->qdata, key); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # g_variant_iter_free (iter); 959s # for (n = 0; invalidated_properties[n] != NULL; n++) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 959s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 959s # #else 959s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 959s # #endif 959s # 959s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusProxyClass *proxy_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 959s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 959s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 959s # 959s # proxy_class = G_DBUS_PROXY_CLASS (klass); 959s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 959s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_useful_interface_proxy_new ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_sync: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_sync ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_useful_interface_proxy_new_for_bus ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_for_bus_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus_sync: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_for_bus_sync ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceSkeleton: 959s # * 959s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceSkeletonClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 959s # */ 959s # 959s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 959s # { 959s # GValue *properties; 959s # GList *changed_properties; 959s # GSource *changed_properties_idle_source; 959s # GMainContext *context; 959s # GMutex lock; 959s # }; 959s # 959s # static void 959s # _org_project_useful_interface_skeleton_handle_method_call ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name, 959s # const gchar *method_name, 959s # GVariant *parameters, 959s # GDBusMethodInvocation *invocation, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # _ExtendedGDBusMethodInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # guint num_extra; 959s # gsize n; 959s # guint signal_id; 959s # GValue return_value = G_VALUE_INIT; 959s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 959s # g_assert (info != NULL); 959s # num_params = g_variant_n_children (parameters); 959s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 959s # n = 0; 959s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_set_object (¶mv[n++], skeleton); 959s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 959s # g_value_set_object (¶mv[n++], invocation); 959s # if (info->pass_fdlist) 959s # { 959s # #ifdef G_OS_UNIX 959s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 959s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 959s # #else 959s # g_assert_not_reached (); 959s # #endif 959s # } 959s # g_variant_iter_init (&iter, parameters); 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_init (&return_value, G_TYPE_BOOLEAN); 959s # g_signal_emitv (paramv, signal_id, 0, &return_value); 959s # if (!g_value_get_boolean (&return_value)) 959s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 959s # g_value_unset (&return_value); 959s # for (n = 0; n < num_params + num_extra; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static GVariant * 959s # _org_project_useful_interface_skeleton_handle_get_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # GVariant *ret; 959s # ret = NULL; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # g_value_init (&value, pspec->value_type); 959s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 959s # g_value_unset (&value); 959s # } 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _org_project_useful_interface_skeleton_handle_set_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GVariant *variant, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # gboolean ret; 959s # ret = FALSE; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # if (info->use_gvariant) 959s # g_value_set_variant (&value, variant); 959s # else 959s # g_dbus_gvariant_to_gvalue (variant, &value); 959s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # g_value_unset (&value); 959s # ret = TRUE; 959s # } 959s # return ret; 959s # } 959s # 959s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 959s # { 959s # _org_project_useful_interface_skeleton_handle_method_call, 959s # _org_project_useful_interface_skeleton_handle_get_property, 959s # _org_project_useful_interface_skeleton_handle_set_property, 959s # {NULL} 959s # }; 959s # 959s # static GDBusInterfaceInfo * 959s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return org_project_useful_interface_interface_info (); 959s # } 959s # 959s # static GDBusInterfaceVTable * 959s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 959s # } 959s # 959s # static GVariant * 959s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 959s # 959s # GVariantBuilder builder; 959s # guint n; 959s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 959s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 959s # goto out; 959s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 959s # { 959s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 959s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 959s # { 959s # GVariant *value; 959s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 959s # if (value != NULL) 959s # { 959s # g_variant_take_ref (value); 959s # g_variant_builder_add (&builder, "{sv}", info->name, value); 959s # g_variant_unref (value); 959s # } 959s # } 959s # } 959s # out: 959s # return g_variant_builder_end (&builder); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_useful_interface_skeleton_finalize (GObject *object) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 959s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 959s # if (skeleton->priv->changed_properties_idle_source != NULL) 959s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 959s # g_main_context_unref (skeleton->priv->context); 959s # g_mutex_clear (&skeleton->priv->lock); 959s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 959s # #else 959s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 959s # #endif 959s # 959s # g_mutex_init (&skeleton->priv->lock); 959s # skeleton->priv->context = g_main_context_ref_thread_default (); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusInterfaceSkeletonClass *skeleton_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 959s # 959s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 959s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 959s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 959s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 959s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_skeleton_new: 959s # * 959s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_skeleton_new (void) 959s # { 959s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 959s # } 959s # /tmp/tmpt56g2_ry/tmplpvyi2qy.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt56g2_ry/tmplpvyi2qy.xml', '--output', '-', '--body'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: /* 959s # * This file is generated by gdbus-codegen, do not modify it. 959s # * 959s # * The license of this code is the same as for the D-Bus interface description 959s # * it was derived from. Note that it links to GLib, so must comply with the 959s # * LGPL linking clauses. 959s # */ 959s # 959s # #ifdef HAVE_CONFIG_H 959s # # include "config.h" 959s # #endif 959s # 959s # #include 959s # #ifdef G_OS_UNIX 959s # # include 959s # #endif 959s # 959s # #ifdef G_ENABLE_DEBUG 959s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 959s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 959s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 959s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 959s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 959s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 959s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 959s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 959s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 959s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 959s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 959s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 959s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 959s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 959s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 959s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 959s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 959s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 959s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 959s # #else /* !G_ENABLE_DEBUG */ 959s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 959s # * Do not access GValues directly in your code. Instead, use the 959s # * g_value_get_*() functions 959s # */ 959s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 959s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 959s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 959s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 959s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 959s # #endif /* !G_ENABLE_DEBUG */ 959s # 959s # typedef struct 959s # { 959s # GDBusArgInfo parent_struct; 959s # gboolean use_gvariant; 959s # } _ExtendedGDBusArgInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusMethodInfo parent_struct; 959s # const gchar *signal_name; 959s # gboolean pass_fdlist; 959s # } _ExtendedGDBusMethodInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusSignalInfo parent_struct; 959s # const gchar *signal_name; 959s # } _ExtendedGDBusSignalInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusPropertyInfo parent_struct; 959s # const gchar *hyphen_name; 959s # guint use_gvariant : 1; 959s # guint emits_changed_signal : 1; 959s # } _ExtendedGDBusPropertyInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusInterfaceInfo parent_struct; 959s # const gchar *hyphen_name; 959s # } _ExtendedGDBusInterfaceInfo; 959s # 959s # typedef struct 959s # { 959s # const _ExtendedGDBusPropertyInfo *info; 959s # guint prop_id; 959s # GValue orig_value; /* the value before the change */ 959s # } ChangedProperty; 959s # 959s # static void 959s # _changed_property_free (ChangedProperty *data) 959s # { 959s # g_value_unset (&data->orig_value); 959s # g_free (data); 959s # } 959s # 959s # static gboolean 959s # _g_strv_equal0 (gchar **a, gchar **b) 959s # { 959s # gboolean ret = FALSE; 959s # guint n; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # if (g_strv_length (a) != g_strv_length (b)) 959s # goto out; 959s # for (n = 0; a[n] != NULL; n++) 959s # if (g_strcmp0 (a[n], b[n]) != 0) 959s # goto out; 959s # ret = TRUE; 959s # out: 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _g_variant_equal0 (GVariant *a, GVariant *b) 959s # { 959s # gboolean ret = FALSE; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # ret = g_variant_equal (a, b); 959s # out: 959s # return ret; 959s # } 959s # 959s # G_GNUC_UNUSED static gboolean 959s # _g_value_equal (const GValue *a, const GValue *b) 959s # { 959s # gboolean ret = FALSE; 959s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 959s # switch (G_VALUE_TYPE (a)) 959s # { 959s # case G_TYPE_BOOLEAN: 959s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 959s # break; 959s # case G_TYPE_UCHAR: 959s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 959s # break; 959s # case G_TYPE_INT: 959s # ret = (g_value_get_int (a) == g_value_get_int (b)); 959s # break; 959s # case G_TYPE_UINT: 959s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 959s # break; 959s # case G_TYPE_INT64: 959s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 959s # break; 959s # case G_TYPE_UINT64: 959s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 959s # break; 959s # case G_TYPE_DOUBLE: 959s # { 959s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 959s # gdouble da = g_value_get_double (a); 959s # gdouble db = g_value_get_double (b); 959s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 959s # } 959s # break; 959s # case G_TYPE_STRING: 959s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 959s # break; 959s # case G_TYPE_VARIANT: 959s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 959s # break; 959s # default: 959s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 959s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 959s # else 959s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 959s # break; 959s # } 959s # return ret; 959s # } 959s # 959s # static void 959s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint G_GNUC_UNUSED, 959s # void *marshal_data) 959s # { 959s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 959s # (void *data1, 959s # GDBusMethodInvocation *arg_method_invocation, 959s # void *data2); 959s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 959s # GCClosure *cc = (GCClosure*) closure; 959s # void *data1, *data2; 959s # gboolean v_return; 959s # 959s # g_return_if_fail (return_value != NULL); 959s # g_return_if_fail (n_param_values == 2); 959s # 959s # if (G_CCLOSURE_SWAP_DATA (closure)) 959s # { 959s # data1 = closure->data; 959s # data2 = g_value_peek_pointer (param_values + 0); 959s # } 959s # else 959s # { 959s # data1 = g_value_peek_pointer (param_values + 0); 959s # data2 = closure->data; 959s # } 959s # 959s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 959s # (marshal_data ? marshal_data : cc->callback); 959s # 959s # v_return = 959s # callback (data1, 959s # g_marshal_value_peek_object (param_values + 1), 959s # data2); 959s # 959s # g_value_set_boolean (return_value, v_return); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ 959s # * Code for interface org.project.UsefulInterface 959s # * ------------------------------------------------------------------------ 959s # */ 959s # 959s # /** 959s # * SECTION:OrgProjectUsefulInterface 959s # * @title: OrgProjectUsefulInterface 959s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 959s # * 959s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 959s # */ 959s # 959s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 959s # { 959s # { 959s # -1, 959s # (gchar *) "arg_y", 959s # (gchar *) "y", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 959s # { 959s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgMethodY", 959s # NULL, 959s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 959s # NULL 959s # }, 959s # "handle-single-arg-method-y", 959s # FALSE 959s # }; 959s # 959s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 959s # { 959s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 959s # { 959s # { 959s # -1, 959s # (gchar *) "org.project.UsefulInterface", 959s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 959s # NULL, 959s # NULL, 959s # NULL 959s # }, 959s # "org-project-useful-interface", 959s # }; 959s # 959s # 959s # /** 959s # * org_project_useful_interface_interface_info: 959s # * 959s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 959s # * 959s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 959s # */ 959s # GDBusInterfaceInfo * 959s # org_project_useful_interface_interface_info (void) 959s # { 959s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_override_properties: 959s # * @klass: The class structure for a #GObject derived class. 959s # * @property_id_begin: The property id to assign to the first overridden property. 959s # * 959s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 959s # * The properties are overridden in the order they are defined. 959s # * 959s # * Returns: The last property id. 959s # */ 959s # guint 959s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 959s # { 959s # return property_id_begin - 1; 959s # } 959s # 959s # 959s # inline static void 959s # org_project_useful_interface_method_marshal_single_arg_method_y ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # 959s # /** 959s # * OrgProjectUsefulInterface: 959s # * 959s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceIface: 959s # * @parent_iface: The parent interface. 959s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 959s # * 959s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 959s # */ 959s # 959s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 959s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 959s # 959s # static void 959s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 959s # { 959s # /* GObject signals for incoming D-Bus method calls: */ 959s # /** 959s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 959s # * @object: A #OrgProjectUsefulInterface. 959s # * @invocation: A #GDBusMethodInvocation. 959s # * 959s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 959s # * 959s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_y() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 959s # * 959s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 959s # */ 959s # g_signal_new ("handle-single-arg-method-y", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 959s # g_signal_accumulator_true_handled, 959s # NULL, 959s # org_project_useful_interface_method_marshal_single_arg_method_y, 959s # G_TYPE_BOOLEAN, 959s # 1, 959s # G_TYPE_DBUS_METHOD_INVOCATION); 959s # 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_y: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 959s # */ 959s # void 959s # org_project_useful_interface_call_single_arg_method_y ( 959s # OrgProjectUsefulInterface *proxy, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 959s # "SingleArgMethodY", 959s # g_variant_new ("()"), 959s # G_DBUS_CALL_FLAGS_NONE, 959s # -1, 959s # cancellable, 959s # callback, 959s # user_data); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_y_finish: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 959s # * @error: Return location for error or %NULL. 959s # * 959s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 959s # * 959s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 959s # */ 959s # gboolean 959s # org_project_useful_interface_call_single_arg_method_y_finish ( 959s # OrgProjectUsefulInterface *proxy, 959s # guchar *out_arg_y, 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GVariant *_ret; 959s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 959s # if (_ret == NULL) 959s # goto _out; 959s # g_variant_get (_ret, 959s # "(y)", 959s # out_arg_y); 959s # g_variant_unref (_ret); 959s # _out: 959s # return _ret != NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_y_sync: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL. 959s # * 959s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 959s # * 959s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 959s # */ 959s # gboolean 959s # org_project_useful_interface_call_single_arg_method_y_sync ( 959s # OrgProjectUsefulInterface *proxy, 959s # guchar *out_arg_y, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GVariant *_ret; 959s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 959s # "SingleArgMethodY", 959s # g_variant_new ("()"), 959s # G_DBUS_CALL_FLAGS_NONE, 959s # -1, 959s # cancellable, 959s # error); 959s # if (_ret == NULL) 959s # goto _out; 959s # g_variant_get (_ret, 959s # "(y)", 959s # out_arg_y); 959s # g_variant_unref (_ret); 959s # _out: 959s # return _ret != NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_complete_single_arg_method_y: 959s # * @object: A #OrgProjectUsefulInterface. 959s # * @invocation: (transfer full): A #GDBusMethodInvocation. 959s # * @arg_y: Parameter to return. 959s # * 959s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodY() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 959s # * 959s # * This method will free @invocation, you cannot use it afterwards. 959s # */ 959s # void 959s # org_project_useful_interface_complete_single_arg_method_y ( 959s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 959s # GDBusMethodInvocation *invocation, 959s # guchar arg_y) 959s # { 959s # g_dbus_method_invocation_return_value (invocation, 959s # g_variant_new ("(y)", 959s # arg_y)); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceProxy: 959s # * 959s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceProxyClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectUsefulInterfaceProxy. 959s # */ 959s # 959s # struct _OrgProjectUsefulInterfaceProxyPrivate 959s # { 959s # GData *qdata; 959s # }; 959s # 959s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 959s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_useful_interface_proxy_finalize (GObject *object) 959s # { 959s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 959s # g_datalist_clear (&proxy->priv->qdata); 959s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # const GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 959s # const gchar *sender_name G_GNUC_UNUSED, 959s # const gchar *signal_name, 959s # GVariant *parameters) 959s # { 959s # _ExtendedGDBusSignalInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # gsize n; 959s # guint signal_id; 959s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 959s # if (info == NULL) 959s # return; 959s # num_params = g_variant_n_children (parameters); 959s # paramv = g_new0 (GValue, num_params + 1); 959s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_set_object (¶mv[0], proxy); 959s # g_variant_iter_init (&iter, parameters); 959s # n = 1; 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_signal_emitv (paramv, signal_id, 0, NULL); 959s # for (n = 0; n < num_params + 1; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 959s # GVariant *changed_properties, 959s # const gchar *const *invalidated_properties) 959s # { 959s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 959s # guint n; 959s # const gchar *key; 959s # GVariantIter *iter; 959s # _ExtendedGDBusPropertyInfo *info; 959s # g_variant_get (changed_properties, "a{sv}", &iter); 959s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 959s # g_datalist_remove_data (&proxy->priv->qdata, key); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # g_variant_iter_free (iter); 959s # for (n = 0; invalidated_properties[n] != NULL; n++) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 959s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 959s # #else 959s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 959s # #endif 959s # 959s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusProxyClass *proxy_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 959s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 959s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 959s # 959s # proxy_class = G_DBUS_PROXY_CLASS (klass); 959s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 959s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_useful_interface_proxy_new ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_sync: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_sync ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_useful_interface_proxy_new_for_bus ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_for_bus_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus_sync: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_for_bus_sync ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceSkeleton: 959s # * 959s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceSkeletonClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 959s # */ 959s # 959s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 959s # { 959s # GValue *properties; 959s # GList *changed_properties; 959s # GSource *changed_properties_idle_source; 959s # GMainContext *context; 959s # GMutex lock; 959s # }; 959s # 959s # static void 959s # _org_project_useful_interface_skeleton_handle_method_call ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name, 959s # const gchar *method_name, 959s # GVariant *parameters, 959s # GDBusMethodInvocation *invocation, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # _ExtendedGDBusMethodInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # guint num_extra; 959s # gsize n; 959s # guint signal_id; 959s # GValue return_value = G_VALUE_INIT; 959s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 959s # g_assert (info != NULL); 959s # num_params = g_variant_n_children (parameters); 959s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 959s # n = 0; 959s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_set_object (¶mv[n++], skeleton); 959s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 959s # g_value_set_object (¶mv[n++], invocation); 959s # if (info->pass_fdlist) 959s # { 959s # #ifdef G_OS_UNIX 959s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 959s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 959s # #else 959s # g_assert_not_reached (); 959s # #endif 959s # } 959s # g_variant_iter_init (&iter, parameters); 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_init (&return_value, G_TYPE_BOOLEAN); 959s # g_signal_emitv (paramv, signal_id, 0, &return_value); 959s # if (!g_value_get_boolean (&return_value)) 959s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 959s # g_value_unset (&return_value); 959s # for (n = 0; n < num_params + num_extra; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static GVariant * 959s # _org_project_useful_interface_skeleton_handle_get_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # GVariant *ret; 959s # ret = NULL; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # g_value_init (&value, pspec->value_type); 959s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 959s # g_value_unset (&value); 959s # } 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _org_project_useful_interface_skeleton_handle_set_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GVariant *variant, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # gboolean ret; 959s # ret = FALSE; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # if (info->use_gvariant) 959s # g_value_set_variant (&value, variant); 959s # else 959s # g_dbus_gvariant_to_gvalue (variant, &value); 959s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # g_value_unset (&value); 959s # ret = TRUE; 959s # } 959s # return ret; 959s # } 959s # 959s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 959s # { 959s # _org_project_useful_interface_skeleton_handle_method_call, 959s # _org_project_useful_interface_skeleton_handle_get_property, 959s # _org_project_useful_interface_skeleton_handle_set_property, 959s # {NULL} 959s # }; 959s # 959s # static GDBusInterfaceInfo * 959s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return org_project_useful_interface_interface_info (); 959s # } 959s # 959s # static GDBusInterfaceVTable * 959s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 959s # } 959s # 959s # static GVariant * 959s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 959s # 959s # GVariantBuilder builder; 959s # guint n; 959s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 959s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 959s # goto out; 959s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 959s # { 959s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 959s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 959s # { 959s # GVariant *value; 959s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 959s # if (value != NULL) 959s # { 959s # g_variant_take_ref (value); 959s # g_variant_builder_add (&builder, "{sv}", info->name, value); 959s # g_variant_unref (value); 959s # } 959s # } 959s # } 959s # out: 959s # return g_variant_builder_end (&builder); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_useful_interface_skeleton_finalize (GObject *object) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 959s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 959s # if (skeleton->priv->changed_properties_idle_source != NULL) 959s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 959s # g_main_context_unref (skeleton->priv->context); 959s # g_mutex_clear (&skeleton->priv->lock); 959s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 959s # #else 959s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 959s # #endif 959s # 959s # g_mutex_init (&skeleton->priv->lock); 959s # skeleton->priv->context = g_main_context_ref_thread_default (); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusInterfaceSkeletonClass *skeleton_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 959s # 959s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 959s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 959s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 959s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 959s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_skeleton_new: 959s # * 959s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_skeleton_new (void) 959s # { 959s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 959s # } 959s # /tmp/tmpt56g2_ry/tmpoij2pixz.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt56g2_ry/tmpoij2pixz.xml', '--output', '-', '--body'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: /* 959s # * This file is generated by gdbus-codegen, do not modify it. 959s # * 959s # * The license of this code is the same as for the D-Bus interface description 959s # * it was derived from. Note that it links to GLib, so must comply with the 959s # * LGPL linking clauses. 959s # */ 959s # 959s # #ifdef HAVE_CONFIG_H 959s # # include "config.h" 959s # #endif 959s # 959s # #include 959s # #ifdef G_OS_UNIX 959s # # include 959s # #endif 959s # 959s # #ifdef G_ENABLE_DEBUG 959s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 959s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 959s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 959s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 959s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 959s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 959s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 959s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 959s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 959s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 959s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 959s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 959s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 959s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 959s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 959s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 959s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 959s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 959s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 959s # #else /* !G_ENABLE_DEBUG */ 959s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 959s # * Do not access GValues directly in your code. Instead, use the 959s # * g_value_get_*() functions 959s # */ 959s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 959s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 959s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 959s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 959s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 959s # #endif /* !G_ENABLE_DEBUG */ 959s # 959s # typedef struct 959s # { 959s # GDBusArgInfo parent_struct; 959s # gboolean use_gvariant; 959s # } _ExtendedGDBusArgInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusMethodInfo parent_struct; 959s # const gchar *signal_name; 959s # gboolean pass_fdlist; 959s # } _ExtendedGDBusMethodInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusSignalInfo parent_struct; 959s # const gchar *signal_name; 959s # } _ExtendedGDBusSignalInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusPropertyInfo parent_struct; 959s # const gchar *hyphen_name; 959s # guint use_gvariant : 1; 959s # guint emits_changed_signal : 1; 959s # } _ExtendedGDBusPropertyInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusInterfaceInfo parent_struct; 959s # const gchar *hyphen_name; 959s # } _ExtendedGDBusInterfaceInfo; 959s # 959s # typedef struct 959s # { 959s # const _ExtendedGDBusPropertyInfo *info; 959s # guint prop_id; 959s # GValue orig_value; /* the value before the change */ 959s # } ChangedProperty; 959s # 959s # static void 959s # _changed_property_free (ChangedProperty *data) 959s # { 959s # g_value_unset (&data->orig_value); 959s # g_free (data); 959s # } 959s # 959s # static gboolean 959s # _g_strv_equal0 (gchar **a, gchar **b) 959s # { 959s # gboolean ret = FALSE; 959s # guint n; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # if (g_strv_length (a) != g_strv_length (b)) 959s # goto out; 959s # for (n = 0; a[n] != NULL; n++) 959s # if (g_strcmp0 (a[n], b[n]) != 0) 959s # goto out; 959s # ret = TRUE; 959s # out: 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _g_variant_equal0 (GVariant *a, GVariant *b) 959s # { 959s # gboolean ret = FALSE; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # ret = g_variant_equal (a, b); 959s # out: 959s # return ret; 959s # } 959s # 959s # G_GNUC_UNUSED static gboolean 959s # _g_value_equal (const GValue *a, const GValue *b) 959s # { 959s # gboolean ret = FALSE; 959s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 959s # switch (G_VALUE_TYPE (a)) 959s # { 959s # case G_TYPE_BOOLEAN: 959s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 959s # break; 959s # case G_TYPE_UCHAR: 959s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 959s # break; 959s # case G_TYPE_INT: 959s # ret = (g_value_get_int (a) == g_value_get_int (b)); 959s # break; 959s # case G_TYPE_UINT: 959s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 959s # break; 959s # case G_TYPE_INT64: 959s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 959s # break; 959s # case G_TYPE_UINT64: 959s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 959s # break; 959s # case G_TYPE_DOUBLE: 959s # { 959s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 959s # gdouble da = g_value_get_double (a); 959s # gdouble db = g_value_get_double (b); 959s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 959s # } 959s # break; 959s # case G_TYPE_STRING: 959s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 959s # break; 959s # case G_TYPE_VARIANT: 959s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 959s # break; 959s # default: 959s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 959s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 959s # else 959s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 959s # break; 959s # } 959s # return ret; 959s # } 959s # 959s # static void 959s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint G_GNUC_UNUSED, 959s # void *marshal_data) 959s # { 959s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 959s # (void *data1, 959s # GDBusMethodInvocation *arg_method_invocation, 959s # void *data2); 959s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 959s # GCClosure *cc = (GCClosure*) closure; 959s # void *data1, *data2; 959s # gboolean v_return; 959s # 959s # g_return_if_fail (return_value != NULL); 959s # g_return_if_fail (n_param_values == 2); 959s # 959s # if (G_CCLOSURE_SWAP_DATA (closure)) 959s # { 959s # data1 = closure->data; 959s # data2 = g_value_peek_pointer (param_values + 0); 959s # } 959s # else 959s # { 959s # data1 = g_value_peek_pointer (param_values + 0); 959s # data2 = closure->data; 959s # } 959s # 959s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 959s # (marshal_data ? marshal_data : cc->callback); 959s # 959s # v_return = 959s # callback (data1, 959s # g_marshal_value_peek_object (param_values + 1), 959s # data2); 959s # 959s # g_value_set_boolean (return_value, v_return); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ 959s # * Code for interface org.project.UsefulInterface 959s # * ------------------------------------------------------------------------ 959s # */ 959s # 959s # /** 959s # * SECTION:OrgProjectUsefulInterface 959s # * @title: OrgProjectUsefulInterface 959s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 959s # * 959s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 959s # */ 959s # 959s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 959s # { 959s # { 959s # -1, 959s # (gchar *) "arg_n", 959s # (gchar *) "n", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 959s # { 959s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgMethodN", 959s # NULL, 959s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 959s # NULL 959s # }, 959s # "handle-single-arg-method-n", 959s # FALSE 959s # }; 959s # 959s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 959s # { 959s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 959s # { 959s # { 959s # -1, 959s # (gchar *) "org.project.UsefulInterface", 959s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 959s # NULL, 959s # NULL, 959s # NULL 959s # }, 959s # "org-project-useful-interface", 959s # }; 959s # 959s # 959s # /** 959s # * org_project_useful_interface_interface_info: 959s # * 959s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 959s # * 959s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 959s # */ 959s # GDBusInterfaceInfo * 959s # org_project_useful_interface_interface_info (void) 959s # { 959s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_override_properties: 959s # * @klass: The class structure for a #GObject derived class. 959s # * @property_id_begin: The property id to assign to the first overridden property. 959s # * 959s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 959s # * The properties are overridden in the order they are defined. 959s # * 959s # * Returns: The last property id. 959s # */ 959s # guint 959s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 959s # { 959s # return property_id_begin - 1; 959s # } 959s # 959s # 959s # inline static void 959s # org_project_useful_interface_method_marshal_single_arg_method_n ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # 959s # /** 959s # * OrgProjectUsefulInterface: 959s # * 959s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceIface: 959s # * @parent_iface: The parent interface. 959s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 959s # * 959s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 959s # */ 959s # 959s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 959s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 959s # 959s # static void 959s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 959s # { 959s # /* GObject signals for incoming D-Bus method calls: */ 959s # /** 959s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 959s # * @object: A #OrgProjectUsefulInterface. 959s # * @invocation: A #GDBusMethodInvocation. 959s # * 959s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 959s # * 959s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_n() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 959s # * 959s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 959s # */ 959s # g_signal_new ("handle-single-arg-method-n", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 959s # g_signal_accumulator_true_handled, 959s # NULL, 959s # org_project_useful_interface_method_marshal_single_arg_method_n, 959s # G_TYPE_BOOLEAN, 959s # 1, 959s # G_TYPE_DBUS_METHOD_INVOCATION); 959s # 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_n: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 959s # */ 959s # void 959s # org_project_useful_interface_call_single_arg_method_n ( 959s # OrgProjectUsefulInterface *proxy, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 959s # "SingleArgMethodN", 959s # g_variant_new ("()"), 959s # G_DBUS_CALL_FLAGS_NONE, 959s # -1, 959s # cancellable, 959s # callback, 959s # user_data); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_n_finish: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 959s # * @error: Return location for error or %NULL. 959s # * 959s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 959s # * 959s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 959s # */ 959s # gboolean 959s # org_project_useful_interface_call_single_arg_method_n_finish ( 959s # OrgProjectUsefulInterface *proxy, 959s # gint16 *out_arg_n, 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GVariant *_ret; 959s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 959s # if (_ret == NULL) 959s # goto _out; 959s # g_variant_get (_ret, 959s # "(n)", 959s # out_arg_n); 959s # g_variant_unref (_ret); 959s # _out: 959s # return _ret != NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_n_sync: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL. 959s # * 959s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 959s # * 959s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 959s # */ 959s # gboolean 959s # org_project_useful_interface_call_single_arg_method_n_sync ( 959s # OrgProjectUsefulInterface *proxy, 959s # gint16 *out_arg_n, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GVariant *_ret; 959s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 959s # "SingleArgMethodN", 959s # g_variant_new ("()"), 959s # G_DBUS_CALL_FLAGS_NONE, 959s # -1, 959s # cancellable, 959s # error); 959s # if (_ret == NULL) 959s # goto _out; 959s # g_variant_get (_ret, 959s # "(n)", 959s # out_arg_n); 959s # g_variant_unref (_ret); 959s # _out: 959s # return _ret != NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_complete_single_arg_method_n: 959s # * @object: A #OrgProjectUsefulInterface. 959s # * @invocation: (transfer full): A #GDBusMethodInvocation. 959s # * @arg_n: Parameter to return. 959s # * 959s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodN() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 959s # * 959s # * This method will free @invocation, you cannot use it afterwards. 959s # */ 959s # void 959s # org_project_useful_interface_complete_single_arg_method_n ( 959s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 959s # GDBusMethodInvocation *invocation, 959s # gint16 arg_n) 959s # { 959s # g_dbus_method_invocation_return_value (invocation, 959s # g_variant_new ("(n)", 959s # arg_n)); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceProxy: 959s # * 959s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceProxyClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectUsefulInterfaceProxy. 959s # */ 959s # 959s # struct _OrgProjectUsefulInterfaceProxyPrivate 959s # { 959s # GData *qdata; 959s # }; 959s # 959s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 959s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_useful_interface_proxy_finalize (GObject *object) 959s # { 959s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 959s # g_datalist_clear (&proxy->priv->qdata); 959s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # const GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 959s # const gchar *sender_name G_GNUC_UNUSED, 959s # const gchar *signal_name, 959s # GVariant *parameters) 959s # { 959s # _ExtendedGDBusSignalInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # gsize n; 959s # guint signal_id; 959s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 959s # if (info == NULL) 959s # return; 959s # num_params = g_variant_n_children (parameters); 959s # paramv = g_new0 (GValue, num_params + 1); 959s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_set_object (¶mv[0], proxy); 959s # g_variant_iter_init (&iter, parameters); 959s # n = 1; 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_signal_emitv (paramv, signal_id, 0, NULL); 959s # for (n = 0; n < num_params + 1; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 959s # GVariant *changed_properties, 959s # const gchar *const *invalidated_properties) 959s # { 959s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 959s # guint n; 959s # const gchar *key; 959s # GVariantIter *iter; 959s # _ExtendedGDBusPropertyInfo *info; 959s # g_variant_get (changed_properties, "a{sv}", &iter); 959s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 959s # g_datalist_remove_data (&proxy->priv->qdata, key); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # g_variant_iter_free (iter); 959s # for (n = 0; invalidated_properties[n] != NULL; n++) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 959s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 959s # #else 959s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 959s # #endif 959s # 959s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusProxyClass *proxy_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 959s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 959s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 959s # 959s # proxy_class = G_DBUS_PROXY_CLASS (klass); 959s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 959s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_useful_interface_proxy_new ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_sync: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_sync ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_useful_interface_proxy_new_for_bus ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_for_bus_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus_sync: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_for_bus_sync ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceSkeleton: 959s # * 959s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceSkeletonClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 959s # */ 959s # 959s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 959s # { 959s # GValue *properties; 959s # GList *changed_properties; 959s # GSource *changed_properties_idle_source; 959s # GMainContext *context; 959s # GMutex lock; 959s # }; 959s # 959s # static void 959s # _org_project_useful_interface_skeleton_handle_method_call ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name, 959s # const gchar *method_name, 959s # GVariant *parameters, 959s # GDBusMethodInvocation *invocation, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # _ExtendedGDBusMethodInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # guint num_extra; 959s # gsize n; 959s # guint signal_id; 959s # GValue return_value = G_VALUE_INIT; 959s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 959s # g_assert (info != NULL); 959s # num_params = g_variant_n_children (parameters); 959s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 959s # n = 0; 959s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_set_object (¶mv[n++], skeleton); 959s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 959s # g_value_set_object (¶mv[n++], invocation); 959s # if (info->pass_fdlist) 959s # { 959s # #ifdef G_OS_UNIX 959s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 959s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 959s # #else 959s # g_assert_not_reached (); 959s # #endif 959s # } 959s # g_variant_iter_init (&iter, parameters); 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_init (&return_value, G_TYPE_BOOLEAN); 959s # g_signal_emitv (paramv, signal_id, 0, &return_value); 959s # if (!g_value_get_boolean (&return_value)) 959s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 959s # g_value_unset (&return_value); 959s # for (n = 0; n < num_params + num_extra; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static GVariant * 959s # _org_project_useful_interface_skeleton_handle_get_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # GVariant *ret; 959s # ret = NULL; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # g_value_init (&value, pspec->value_type); 959s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 959s # g_value_unset (&value); 959s # } 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _org_project_useful_interface_skeleton_handle_set_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GVariant *variant, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # gboolean ret; 959s # ret = FALSE; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # if (info->use_gvariant) 959s # g_value_set_variant (&value, variant); 959s # else 959s # g_dbus_gvariant_to_gvalue (variant, &value); 959s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # g_value_unset (&value); 959s # ret = TRUE; 959s # } 959s # return ret; 959s # } 959s # 959s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 959s # { 959s # _org_project_useful_interface_skeleton_handle_method_call, 959s # _org_project_useful_interface_skeleton_handle_get_property, 959s # _org_project_useful_interface_skeleton_handle_set_property, 959s # {NULL} 959s # }; 959s # 959s # static GDBusInterfaceInfo * 959s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return org_project_useful_interface_interface_info (); 959s # } 959s # 959s # static GDBusInterfaceVTable * 959s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 959s # } 959s # 959s # static GVariant * 959s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 959s # 959s # GVariantBuilder builder; 959s # guint n; 959s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 959s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 959s # goto out; 959s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 959s # { 959s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 959s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 959s # { 959s # GVariant *value; 959s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 959s # if (value != NULL) 959s # { 959s # g_variant_take_ref (value); 959s # g_variant_builder_add (&builder, "{sv}", info->name, value); 959s # g_variant_unref (value); 959s # } 959s # } 959s # } 959s # out: 959s # return g_variant_builder_end (&builder); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_useful_interface_skeleton_finalize (GObject *object) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 959s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 959s # if (skeleton->priv->changed_properties_idle_source != NULL) 959s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 959s # g_main_context_unref (skeleton->priv->context); 959s # g_mutex_clear (&skeleton->priv->lock); 959s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 959s # #else 959s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 959s # #endif 959s # 959s # g_mutex_init (&skeleton->priv->lock); 959s # skeleton->priv->context = g_main_context_ref_thread_default (); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusInterfaceSkeletonClass *skeleton_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 959s # 959s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 959s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 959s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 959s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 959s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_skeleton_new: 959s # * 959s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_skeleton_new (void) 959s # { 959s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 959s # } 959s # /tmp/tmpt56g2_ry/tmprlk416p3.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt56g2_ry/tmprlk416p3.xml', '--output', '-', '--body'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: /* 959s # * This file is generated by gdbus-codegen, do not modify it. 959s # * 959s # * The license of this code is the same as for the D-Bus interface description 959s # * it was derived from. Note that it links to GLib, so must comply with the 959s # * LGPL linking clauses. 959s # */ 959s # 959s # #ifdef HAVE_CONFIG_H 959s # # include "config.h" 959s # #endif 959s # 959s # #include 959s # #ifdef G_OS_UNIX 959s # # include 959s # #endif 959s # 959s # #ifdef G_ENABLE_DEBUG 959s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 959s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 959s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 959s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 959s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 959s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 959s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 959s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 959s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 959s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 959s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 959s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 959s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 959s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 959s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 959s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 959s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 959s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 959s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 959s # #else /* !G_ENABLE_DEBUG */ 959s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 959s # * Do not access GValues directly in your code. Instead, use the 959s # * g_value_get_*() functions 959s # */ 959s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 959s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 959s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 959s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 959s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 959s # #endif /* !G_ENABLE_DEBUG */ 959s # 959s # typedef struct 959s # { 959s # GDBusArgInfo parent_struct; 959s # gboolean use_gvariant; 959s # } _ExtendedGDBusArgInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusMethodInfo parent_struct; 959s # const gchar *signal_name; 959s # gboolean pass_fdlist; 959s # } _ExtendedGDBusMethodInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusSignalInfo parent_struct; 959s # const gchar *signal_name; 959s # } _ExtendedGDBusSignalInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusPropertyInfo parent_struct; 959s # const gchar *hyphen_name; 959s # guint use_gvariant : 1; 959s # guint emits_changed_signal : 1; 959s # } _ExtendedGDBusPropertyInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusInterfaceInfo parent_struct; 959s # const gchar *hyphen_name; 959s # } _ExtendedGDBusInterfaceInfo; 959s # 959s # typedef struct 959s # { 959s # const _ExtendedGDBusPropertyInfo *info; 959s # guint prop_id; 959s # GValue orig_value; /* the value before the change */ 959s # } ChangedProperty; 959s # 959s # static void 959s # _changed_property_free (ChangedProperty *data) 959s # { 959s # g_value_unset (&data->orig_value); 959s # g_free (data); 959s # } 959s # 959s # static gboolean 959s # _g_strv_equal0 (gchar **a, gchar **b) 959s # { 959s # gboolean ret = FALSE; 959s # guint n; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # if (g_strv_length (a) != g_strv_length (b)) 959s # goto out; 959s # for (n = 0; a[n] != NULL; n++) 959s # if (g_strcmp0 (a[n], b[n]) != 0) 959s # goto out; 959s # ret = TRUE; 959s # out: 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _g_variant_equal0 (GVariant *a, GVariant *b) 959s # { 959s # gboolean ret = FALSE; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # ret = g_variant_equal (a, b); 959s # out: 959s # return ret; 959s # } 959s # 959s # G_GNUC_UNUSED static gboolean 959s # _g_value_equal (const GValue *a, const GValue *b) 959s # { 959s # gboolean ret = FALSE; 959s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 959s # switch (G_VALUE_TYPE (a)) 959s # { 959s # case G_TYPE_BOOLEAN: 959s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 959s # break; 959s # case G_TYPE_UCHAR: 959s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 959s # break; 959s # case G_TYPE_INT: 959s # ret = (g_value_get_int (a) == g_value_get_int (b)); 959s # break; 959s # case G_TYPE_UINT: 959s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 959s # break; 959s # case G_TYPE_INT64: 959s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 959s # break; 959s # case G_TYPE_UINT64: 959s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 959s # break; 959s # case G_TYPE_DOUBLE: 959s # { 959s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 959s # gdouble da = g_value_get_double (a); 959s # gdouble db = g_value_get_double (b); 959s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 959s # } 959s # break; 959s # case G_TYPE_STRING: 959s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 959s # break; 959s # case G_TYPE_VARIANT: 959s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 959s # break; 959s # default: 959s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 959s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 959s # else 959s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 959s # break; 959s # } 959s # return ret; 959s # } 959s # 959s # static void 959s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint G_GNUC_UNUSED, 959s # void *marshal_data) 959s # { 959s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 959s # (void *data1, 959s # GDBusMethodInvocation *arg_method_invocation, 959s # void *data2); 959s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 959s # GCClosure *cc = (GCClosure*) closure; 959s # void *data1, *data2; 959s # gboolean v_return; 959s # 959s # g_return_if_fail (return_value != NULL); 959s # g_return_if_fail (n_param_values == 2); 959s # 959s # if (G_CCLOSURE_SWAP_DATA (closure)) 959s # { 959s # data1 = closure->data; 959s # data2 = g_value_peek_pointer (param_values + 0); 959s # } 959s # else 959s # { 959s # data1 = g_value_peek_pointer (param_values + 0); 959s # data2 = closure->data; 959s # } 959s # 959s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 959s # (marshal_data ? marshal_data : cc->callback); 959s # 959s # v_return = 959s # callback (data1, 959s # g_marshal_value_peek_object (param_values + 1), 959s # data2); 959s # 959s # g_value_set_boolean (return_value, v_return); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ 959s # * Code for interface org.project.UsefulInterface 959s # * ------------------------------------------------------------------------ 959s # */ 959s # 959s # /** 959s # * SECTION:OrgProjectUsefulInterface 959s # * @title: OrgProjectUsefulInterface 959s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 959s # * 959s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 959s # */ 959s # 959s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 959s # { 959s # { 959s # -1, 959s # (gchar *) "arg_q", 959s # (gchar *) "q", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 959s # { 959s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgMethodQ", 959s # NULL, 959s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 959s # NULL 959s # }, 959s # "handle-single-arg-method-q", 959s # FALSE 959s # }; 959s # 959s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 959s # { 959s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 959s # { 959s # { 959s # -1, 959s # (gchar *) "org.project.UsefulInterface", 959s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 959s # NULL, 959s # NULL, 959s # NULL 959s # }, 959s # "org-project-useful-interface", 959s # }; 959s # 959s # 959s # /** 959s # * org_project_useful_interface_interface_info: 959s # * 959s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 959s # * 959s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 959s # */ 959s # GDBusInterfaceInfo * 959s # org_project_useful_interface_interface_info (void) 959s # { 959s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_override_properties: 959s # * @klass: The class structure for a #GObject derived class. 959s # * @property_id_begin: The property id to assign to the first overridden property. 959s # * 959s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 959s # * The properties are overridden in the order they are defined. 959s # * 959s # * Returns: The last property id. 959s # */ 959s # guint 959s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 959s # { 959s # return property_id_begin - 1; 959s # } 959s # 959s # 959s # inline static void 959s # org_project_useful_interface_method_marshal_single_arg_method_q ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # 959s # /** 959s # * OrgProjectUsefulInterface: 959s # * 959s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceIface: 959s # * @parent_iface: The parent interface. 959s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 959s # * 959s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 959s # */ 959s # 959s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 959s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 959s # 959s # static void 959s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 959s # { 959s # /* GObject signals for incoming D-Bus method calls: */ 959s # /** 959s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 959s # * @object: A #OrgProjectUsefulInterface. 959s # * @invocation: A #GDBusMethodInvocation. 959s # * 959s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 959s # * 959s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_q() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 959s # * 959s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 959s # */ 959s # g_signal_new ("handle-single-arg-method-q", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 959s # g_signal_accumulator_true_handled, 959s # NULL, 959s # org_project_useful_interface_method_marshal_single_arg_method_q, 959s # G_TYPE_BOOLEAN, 959s # 1, 959s # G_TYPE_DBUS_METHOD_INVOCATION); 959s # 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_q: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 959s # */ 959s # void 959s # org_project_useful_interface_call_single_arg_method_q ( 959s # OrgProjectUsefulInterface *proxy, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 959s # "SingleArgMethodQ", 959s # g_variant_new ("()"), 959s # G_DBUS_CALL_FLAGS_NONE, 959s # -1, 959s # cancellable, 959s # callback, 959s # user_data); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_q_finish: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 959s # * @error: Return location for error or %NULL. 959s # * 959s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 959s # * 959s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 959s # */ 959s # gboolean 959s # org_project_useful_interface_call_single_arg_method_q_finish ( 959s # OrgProjectUsefulInterface *proxy, 959s # guint16 *out_arg_q, 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GVariant *_ret; 959s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 959s # if (_ret == NULL) 959s # goto _out; 959s # g_variant_get (_ret, 959s # "(q)", 959s # out_arg_q); 959s # g_variant_unref (_ret); 959s # _out: 959s # return _ret != NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_q_sync: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL. 959s # * 959s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 959s # * 959s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 959s # */ 959s # gboolean 959s # org_project_useful_interface_call_single_arg_method_q_sync ( 959s # OrgProjectUsefulInterface *proxy, 959s # guint16 *out_arg_q, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GVariant *_ret; 959s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 959s # "SingleArgMethodQ", 959s # g_variant_new ("()"), 959s # G_DBUS_CALL_FLAGS_NONE, 959s # -1, 959s # cancellable, 959s # error); 959s # if (_ret == NULL) 959s # goto _out; 959s # g_variant_get (_ret, 959s # "(q)", 959s # out_arg_q); 959s # g_variant_unref (_ret); 959s # _out: 959s # return _ret != NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_complete_single_arg_method_q: 959s # * @object: A #OrgProjectUsefulInterface. 959s # * @invocation: (transfer full): A #GDBusMethodInvocation. 959s # * @arg_q: Parameter to return. 959s # * 959s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodQ() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 959s # * 959s # * This method will free @invocation, you cannot use it afterwards. 959s # */ 959s # void 959s # org_project_useful_interface_complete_single_arg_method_q ( 959s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 959s # GDBusMethodInvocation *invocation, 959s # guint16 arg_q) 959s # { 959s # g_dbus_method_invocation_return_value (invocation, 959s # g_variant_new ("(q)", 959s # arg_q)); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceProxy: 959s # * 959s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceProxyClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectUsefulInterfaceProxy. 959s # */ 959s # 959s # struct _OrgProjectUsefulInterfaceProxyPrivate 959s # { 959s # GData *qdata; 959s # }; 959s # 959s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 959s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_useful_interface_proxy_finalize (GObject *object) 959s # { 959s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 959s # g_datalist_clear (&proxy->priv->qdata); 959s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # const GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 959s # const gchar *sender_name G_GNUC_UNUSED, 959s # const gchar *signal_name, 959s # GVariant *parameters) 959s # { 959s # _ExtendedGDBusSignalInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # gsize n; 959s # guint signal_id; 959s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 959s # if (info == NULL) 959s # return; 959s # num_params = g_variant_n_children (parameters); 959s # paramv = g_new0 (GValue, num_params + 1); 959s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_set_object (¶mv[0], proxy); 959s # g_variant_iter_init (&iter, parameters); 959s # n = 1; 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_signal_emitv (paramv, signal_id, 0, NULL); 959s # for (n = 0; n < num_params + 1; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 959s # GVariant *changed_properties, 959s # const gchar *const *invalidated_properties) 959s # { 959s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 959s # guint n; 959s # const gchar *key; 959s # GVariantIter *iter; 959s # _ExtendedGDBusPropertyInfo *info; 959s # g_variant_get (changed_properties, "a{sv}", &iter); 959s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 959s # g_datalist_remove_data (&proxy->priv->qdata, key); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # g_variant_iter_free (iter); 959s # for (n = 0; invalidated_properties[n] != NULL; n++) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 959s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 959s # #else 959s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 959s # #endif 959s # 959s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusProxyClass *proxy_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 959s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 959s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 959s # 959s # proxy_class = G_DBUS_PROXY_CLASS (klass); 959s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 959s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_useful_interface_proxy_new ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_sync: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_sync ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_useful_interface_proxy_new_for_bus ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_for_bus_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus_sync: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_for_bus_sync ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceSkeleton: 959s # * 959s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceSkeletonClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 959s # */ 959s # 959s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 959s # { 959s # GValue *properties; 959s # GList *changed_properties; 959s # GSource *changed_properties_idle_source; 959s # GMainContext *context; 959s # GMutex lock; 959s # }; 959s # 959s # static void 959s # _org_project_useful_interface_skeleton_handle_method_call ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name, 959s # const gchar *method_name, 959s # GVariant *parameters, 959s # GDBusMethodInvocation *invocation, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # _ExtendedGDBusMethodInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # guint num_extra; 959s # gsize n; 959s # guint signal_id; 959s # GValue return_value = G_VALUE_INIT; 959s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 959s # g_assert (info != NULL); 959s # num_params = g_variant_n_children (parameters); 959s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 959s # n = 0; 959s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_set_object (¶mv[n++], skeleton); 959s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 959s # g_value_set_object (¶mv[n++], invocation); 959s # if (info->pass_fdlist) 959s # { 959s # #ifdef G_OS_UNIX 959s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 959s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 959s # #else 959s # g_assert_not_reached (); 959s # #endif 959s # } 959s # g_variant_iter_init (&iter, parameters); 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_init (&return_value, G_TYPE_BOOLEAN); 959s # g_signal_emitv (paramv, signal_id, 0, &return_value); 959s # if (!g_value_get_boolean (&return_value)) 959s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 959s # g_value_unset (&return_value); 959s # for (n = 0; n < num_params + num_extra; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static GVariant * 959s # _org_project_useful_interface_skeleton_handle_get_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # GVariant *ret; 959s # ret = NULL; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # g_value_init (&value, pspec->value_type); 959s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 959s # g_value_unset (&value); 959s # } 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _org_project_useful_interface_skeleton_handle_set_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GVariant *variant, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # gboolean ret; 959s # ret = FALSE; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # if (info->use_gvariant) 959s # g_value_set_variant (&value, variant); 959s # else 959s # g_dbus_gvariant_to_gvalue (variant, &value); 959s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # g_value_unset (&value); 959s # ret = TRUE; 959s # } 959s # return ret; 959s # } 959s # 959s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 959s # { 959s # _org_project_useful_interface_skeleton_handle_method_call, 959s # _org_project_useful_interface_skeleton_handle_get_property, 959s # _org_project_useful_interface_skeleton_handle_set_property, 959s # {NULL} 959s # }; 959s # 959s # static GDBusInterfaceInfo * 959s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return org_project_useful_interface_interface_info (); 959s # } 959s # 959s # static GDBusInterfaceVTable * 959s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 959s # } 959s # 959s # static GVariant * 959s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 959s # 959s # GVariantBuilder builder; 959s # guint n; 959s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 959s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 959s # goto out; 959s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 959s # { 959s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 959s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 959s # { 959s # GVariant *value; 959s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 959s # if (value != NULL) 959s # { 959s # g_variant_take_ref (value); 959s # g_variant_builder_add (&builder, "{sv}", info->name, value); 959s # g_variant_unref (value); 959s # } 959s # } 959s # } 959s # out: 959s # return g_variant_builder_end (&builder); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_useful_interface_skeleton_finalize (GObject *object) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 959s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 959s # if (skeleton->priv->changed_properties_idle_source != NULL) 959s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 959s # g_main_context_unref (skeleton->priv->context); 959s # g_mutex_clear (&skeleton->priv->lock); 959s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 959s # #else 959s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 959s # #endif 959s # 959s # g_mutex_init (&skeleton->priv->lock); 959s # skeleton->priv->context = g_main_context_ref_thread_default (); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusInterfaceSkeletonClass *skeleton_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 959s # 959s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 959s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 959s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 959s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 959s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_skeleton_new: 959s # * 959s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_skeleton_new (void) 959s # { 959s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 959s # } 959s # /tmp/tmpt56g2_ry/tmp7ge8ve1y.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt56g2_ry/tmp7ge8ve1y.xml', '--output', '-', '--body'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: /* 959s # * This file is generated by gdbus-codegen, do not modify it. 959s # * 959s # * The license of this code is the same as for the D-Bus interface description 959s # * it was derived from. Note that it links to GLib, so must comply with the 959s # * LGPL linking clauses. 959s # */ 959s # 959s # #ifdef HAVE_CONFIG_H 959s # # include "config.h" 959s # #endif 959s # 959s # #include 959s # #ifdef G_OS_UNIX 959s # # include 959s # #endif 959s # 959s # #ifdef G_ENABLE_DEBUG 959s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 959s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 959s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 959s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 959s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 959s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 959s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 959s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 959s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 959s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 959s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 959s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 959s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 959s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 959s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 959s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 959s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 959s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 959s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 959s # #else /* !G_ENABLE_DEBUG */ 959s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 959s # * Do not access GValues directly in your code. Instead, use the 959s # * g_value_get_*() functions 959s # */ 959s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 959s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 959s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 959s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 959s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 959s # #endif /* !G_ENABLE_DEBUG */ 959s # 959s # typedef struct 959s # { 959s # GDBusArgInfo parent_struct; 959s # gboolean use_gvariant; 959s # } _ExtendedGDBusArgInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusMethodInfo parent_struct; 959s # const gchar *signal_name; 959s # gboolean pass_fdlist; 959s # } _ExtendedGDBusMethodInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusSignalInfo parent_struct; 959s # const gchar *signal_name; 959s # } _ExtendedGDBusSignalInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusPropertyInfo parent_struct; 959s # const gchar *hyphen_name; 959s # guint use_gvariant : 1; 959s # guint emits_changed_signal : 1; 959s # } _ExtendedGDBusPropertyInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusInterfaceInfo parent_struct; 959s # const gchar *hyphen_name; 959s # } _ExtendedGDBusInterfaceInfo; 959s # 959s # typedef struct 959s # { 959s # const _ExtendedGDBusPropertyInfo *info; 959s # guint prop_id; 959s # GValue orig_value; /* the value before the change */ 959s # } ChangedProperty; 959s # 959s # static void 959s # _changed_property_free (ChangedProperty *data) 959s # { 959s # g_value_unset (&data->orig_value); 959s # g_free (data); 959s # } 959s # 959s # static gboolean 959s # _g_strv_equal0 (gchar **a, gchar **b) 959s # { 959s # gboolean ret = FALSE; 959s # guint n; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # if (g_strv_length (a) != g_strv_length (b)) 959s # goto out; 959s # for (n = 0; a[n] != NULL; n++) 959s # if (g_strcmp0 (a[n], b[n]) != 0) 959s # goto out; 959s # ret = TRUE; 959s # out: 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _g_variant_equal0 (GVariant *a, GVariant *b) 959s # { 959s # gboolean ret = FALSE; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # ret = g_variant_equal (a, b); 959s # out: 959s # return ret; 959s # } 959s # 959s # G_GNUC_UNUSED static gboolean 959s # _g_value_equal (const GValue *a, const GValue *b) 959s # { 959s # gboolean ret = FALSE; 959s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 959s # switch (G_VALUE_TYPE (a)) 959s # { 959s # case G_TYPE_BOOLEAN: 959s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 959s # break; 959s # case G_TYPE_UCHAR: 959s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 959s # break; 959s # case G_TYPE_INT: 959s # ret = (g_value_get_int (a) == g_value_get_int (b)); 959s # break; 959s # case G_TYPE_UINT: 959s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 959s # break; 959s # case G_TYPE_INT64: 959s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 959s # break; 959s # case G_TYPE_UINT64: 959s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 959s # break; 959s # case G_TYPE_DOUBLE: 959s # { 959s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 959s # gdouble da = g_value_get_double (a); 959s # gdouble db = g_value_get_double (b); 959s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 959s # } 959s # break; 959s # case G_TYPE_STRING: 959s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 959s # break; 959s # case G_TYPE_VARIANT: 959s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 959s # break; 959s # default: 959s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 959s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 959s # else 959s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 959s # break; 959s # } 959s # return ret; 959s # } 959s # 959s # static void 959s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint G_GNUC_UNUSED, 959s # void *marshal_data) 959s # { 959s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 959s # (void *data1, 959s # GDBusMethodInvocation *arg_method_invocation, 959s # void *data2); 959s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 959s # GCClosure *cc = (GCClosure*) closure; 959s # void *data1, *data2; 959s # gboolean v_return; 959s # 959s # g_return_if_fail (return_value != NULL); 959s # g_return_if_fail (n_param_values == 2); 959s # 959s # if (G_CCLOSURE_SWAP_DATA (closure)) 959s # { 959s # data1 = closure->data; 959s # data2 = g_value_peek_pointer (param_values + 0); 959s # } 959s # else 959s # { 959s # data1 = g_value_peek_pointer (param_values + 0); 959s # data2 = closure->data; 959s # } 959s # 959s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 959s # (marshal_data ? marshal_data : cc->callback); 959s # 959s # v_return = 959s # callback (data1, 959s # g_marshal_value_peek_object (param_values + 1), 959s # data2); 959s # 959s # g_value_set_boolean (return_value, v_return); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ 959s # * Code for interface org.project.UsefulInterface 959s # * ------------------------------------------------------------------------ 959s # */ 959s # 959s # /** 959s # * SECTION:OrgProjectUsefulInterface 959s # * @title: OrgProjectUsefulInterface 959s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 959s # * 959s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 959s # */ 959s # 959s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 959s # { 959s # { 959s # -1, 959s # (gchar *) "arg_i", 959s # (gchar *) "i", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 959s # { 959s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgMethodI", 959s # NULL, 959s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 959s # NULL 959s # }, 959s # "handle-single-arg-method-i", 959s # FALSE 959s # }; 959s # 959s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 959s # { 959s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 959s # { 959s # { 959s # -1, 959s # (gchar *) "org.project.UsefulInterface", 959s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 959s # NULL, 959s # NULL, 959s # NULL 959s # }, 959s # "org-project-useful-interface", 959s # }; 959s # 959s # 959s # /** 959s # * org_project_useful_interface_interface_info: 959s # * 959s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 959s # * 959s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 959s # */ 959s # GDBusInterfaceInfo * 959s # org_project_useful_interface_interface_info (void) 959s # { 959s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_override_properties: 959s # * @klass: The class structure for a #GObject derived class. 959s # * @property_id_begin: The property id to assign to the first overridden property. 959s # * 959s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 959s # * The properties are overridden in the order they are defined. 959s # * 959s # * Returns: The last property id. 959s # */ 959s # guint 959s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 959s # { 959s # return property_id_begin - 1; 959s # } 959s # 959s # 959s # inline static void 959s # org_project_useful_interface_method_marshal_single_arg_method_i ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # 959s # /** 959s # * OrgProjectUsefulInterface: 959s # * 959s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceIface: 959s # * @parent_iface: The parent interface. 959s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 959s # * 959s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 959s # */ 959s # 959s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 959s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 959s # 959s # static void 959s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 959s # { 959s # /* GObject signals for incoming D-Bus method calls: */ 959s # /** 959s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 959s # * @object: A #OrgProjectUsefulInterface. 959s # * @invocation: A #GDBusMethodInvocation. 959s # * 959s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 959s # * 959s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_i() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 959s # * 959s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 959s # */ 959s # g_signal_new ("handle-single-arg-method-i", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 959s # g_signal_accumulator_true_handled, 959s # NULL, 959s # org_project_useful_interface_method_marshal_single_arg_method_i, 959s # G_TYPE_BOOLEAN, 959s # 1, 959s # G_TYPE_DBUS_METHOD_INVOCATION); 959s # 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_i: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 959s # */ 959s # void 959s # org_project_useful_interface_call_single_arg_method_i ( 959s # OrgProjectUsefulInterface *proxy, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 959s # "SingleArgMethodI", 959s # g_variant_new ("()"), 959s # G_DBUS_CALL_FLAGS_NONE, 959s # -1, 959s # cancellable, 959s # callback, 959s # user_data); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_i_finish: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 959s # * @error: Return location for error or %NULL. 959s # * 959s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 959s # * 959s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 959s # */ 959s # gboolean 959s # org_project_useful_interface_call_single_arg_method_i_finish ( 959s # OrgProjectUsefulInterface *proxy, 959s # gint *out_arg_i, 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GVariant *_ret; 959s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 959s # if (_ret == NULL) 959s # goto _out; 959s # g_variant_get (_ret, 959s # "(i)", 959s # out_arg_i); 959s # g_variant_unref (_ret); 959s # _out: 959s # return _ret != NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_i_sync: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL. 959s # * 959s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 959s # * 959s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 959s # */ 959s # gboolean 959s # org_project_useful_interface_call_single_arg_method_i_sync ( 959s # OrgProjectUsefulInterface *proxy, 959s # gint *out_arg_i, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GVariant *_ret; 959s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 959s # "SingleArgMethodI", 959s # g_variant_new ("()"), 959s # G_DBUS_CALL_FLAGS_NONE, 959s # -1, 959s # cancellable, 959s # error); 959s # if (_ret == NULL) 959s # goto _out; 959s # g_variant_get (_ret, 959s # "(i)", 959s # out_arg_i); 959s # g_variant_unref (_ret); 959s # _out: 959s # return _ret != NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_complete_single_arg_method_i: 959s # * @object: A #OrgProjectUsefulInterface. 959s # * @invocation: (transfer full): A #GDBusMethodInvocation. 959s # * @arg_i: Parameter to return. 959s # * 959s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodI() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 959s # * 959s # * This method will free @invocation, you cannot use it afterwards. 959s # */ 959s # void 959s # org_project_useful_interface_complete_single_arg_method_i ( 959s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 959s # GDBusMethodInvocation *invocation, 959s # gint arg_i) 959s # { 959s # g_dbus_method_invocation_return_value (invocation, 959s # g_variant_new ("(i)", 959s # arg_i)); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceProxy: 959s # * 959s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceProxyClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectUsefulInterfaceProxy. 959s # */ 959s # 959s # struct _OrgProjectUsefulInterfaceProxyPrivate 959s # { 959s # GData *qdata; 959s # }; 959s # 959s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 959s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_useful_interface_proxy_finalize (GObject *object) 959s # { 959s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 959s # g_datalist_clear (&proxy->priv->qdata); 959s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # const GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 959s # const gchar *sender_name G_GNUC_UNUSED, 959s # const gchar *signal_name, 959s # GVariant *parameters) 959s # { 959s # _ExtendedGDBusSignalInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # gsize n; 959s # guint signal_id; 959s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 959s # if (info == NULL) 959s # return; 959s # num_params = g_variant_n_children (parameters); 959s # paramv = g_new0 (GValue, num_params + 1); 959s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_set_object (¶mv[0], proxy); 959s # g_variant_iter_init (&iter, parameters); 959s # n = 1; 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_signal_emitv (paramv, signal_id, 0, NULL); 959s # for (n = 0; n < num_params + 1; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 959s # GVariant *changed_properties, 959s # const gchar *const *invalidated_properties) 959s # { 959s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 959s # guint n; 959s # const gchar *key; 959s # GVariantIter *iter; 959s # _ExtendedGDBusPropertyInfo *info; 959s # g_variant_get (changed_properties, "a{sv}", &iter); 959s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 959s # g_datalist_remove_data (&proxy->priv->qdata, key); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # g_variant_iter_free (iter); 959s # for (n = 0; invalidated_properties[n] != NULL; n++) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 959s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 959s # #else 959s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 959s # #endif 959s # 959s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusProxyClass *proxy_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 959s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 959s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 959s # 959s # proxy_class = G_DBUS_PROXY_CLASS (klass); 959s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 959s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_useful_interface_proxy_new ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_sync: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_sync ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_useful_interface_proxy_new_for_bus ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_for_bus_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus_sync: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_for_bus_sync ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceSkeleton: 959s # * 959s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceSkeletonClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 959s # */ 959s # 959s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 959s # { 959s # GValue *properties; 959s # GList *changed_properties; 959s # GSource *changed_properties_idle_source; 959s # GMainContext *context; 959s # GMutex lock; 959s # }; 959s # 959s # static void 959s # _org_project_useful_interface_skeleton_handle_method_call ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name, 959s # const gchar *method_name, 959s # GVariant *parameters, 959s # GDBusMethodInvocation *invocation, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # _ExtendedGDBusMethodInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # guint num_extra; 959s # gsize n; 959s # guint signal_id; 959s # GValue return_value = G_VALUE_INIT; 959s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 959s # g_assert (info != NULL); 959s # num_params = g_variant_n_children (parameters); 959s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 959s # n = 0; 959s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_set_object (¶mv[n++], skeleton); 959s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 959s # g_value_set_object (¶mv[n++], invocation); 959s # if (info->pass_fdlist) 959s # { 959s # #ifdef G_OS_UNIX 959s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 959s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 959s # #else 959s # g_assert_not_reached (); 959s # #endif 959s # } 959s # g_variant_iter_init (&iter, parameters); 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_init (&return_value, G_TYPE_BOOLEAN); 959s # g_signal_emitv (paramv, signal_id, 0, &return_value); 959s # if (!g_value_get_boolean (&return_value)) 959s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 959s # g_value_unset (&return_value); 959s # for (n = 0; n < num_params + num_extra; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static GVariant * 959s # _org_project_useful_interface_skeleton_handle_get_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # GVariant *ret; 959s # ret = NULL; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # g_value_init (&value, pspec->value_type); 959s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 959s # g_value_unset (&value); 959s # } 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _org_project_useful_interface_skeleton_handle_set_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GVariant *variant, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # gboolean ret; 959s # ret = FALSE; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # if (info->use_gvariant) 959s # g_value_set_variant (&value, variant); 959s # else 959s # g_dbus_gvariant_to_gvalue (variant, &value); 959s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # g_value_unset (&value); 959s # ret = TRUE; 959s # } 959s # return ret; 959s # } 959s # 959s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 959s # { 959s # _org_project_useful_interface_skeleton_handle_method_call, 959s # _org_project_useful_interface_skeleton_handle_get_property, 959s # _org_project_useful_interface_skeleton_handle_set_property, 959s # {NULL} 959s # }; 959s # 959s # static GDBusInterfaceInfo * 959s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return org_project_useful_interface_interface_info (); 959s # } 959s # 959s # static GDBusInterfaceVTable * 959s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 959s # } 959s # 959s # static GVariant * 959s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 959s # 959s # GVariantBuilder builder; 959s # guint n; 959s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 959s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 959s # goto out; 959s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 959s # { 959s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 959s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 959s # { 959s # GVariant *value; 959s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 959s # if (value != NULL) 959s # { 959s # g_variant_take_ref (value); 959s # g_variant_builder_add (&builder, "{sv}", info->name, value); 959s # g_variant_unref (value); 959s # } 959s # } 959s # } 959s # out: 959s # return g_variant_builder_end (&builder); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_useful_interface_skeleton_finalize (GObject *object) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 959s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 959s # if (skeleton->priv->changed_properties_idle_source != NULL) 959s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 959s # g_main_context_unref (skeleton->priv->context); 959s # g_mutex_clear (&skeleton->priv->lock); 959s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 959s # #else 959s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 959s # #endif 959s # 959s # g_mutex_init (&skeleton->priv->lock); 959s # skeleton->priv->context = g_main_context_ref_thread_default (); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusInterfaceSkeletonClass *skeleton_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 959s # 959s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 959s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 959s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 959s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 959s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_skeleton_new: 959s # * 959s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_skeleton_new (void) 959s # { 959s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 959s # } 959s # /tmp/tmpt56g2_ry/tmpjqgv9sir.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt56g2_ry/tmpjqgv9sir.xml', '--output', '-', '--body'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: /* 959s # * This file is generated by gdbus-codegen, do not modify it. 959s # * 959s # * The license of this code is the same as for the D-Bus interface description 959s # * it was derived from. Note that it links to GLib, so must comply with the 959s # * LGPL linking clauses. 959s # */ 959s # 959s # #ifdef HAVE_CONFIG_H 959s # # include "config.h" 959s # #endif 959s # 959s # #include 959s # #ifdef G_OS_UNIX 959s # # include 959s # #endif 959s # 959s # #ifdef G_ENABLE_DEBUG 959s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 959s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 959s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 959s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 959s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 959s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 959s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 959s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 959s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 959s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 959s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 959s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 959s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 959s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 959s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 959s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 959s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 959s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 959s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 959s # #else /* !G_ENABLE_DEBUG */ 959s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 959s # * Do not access GValues directly in your code. Instead, use the 959s # * g_value_get_*() functions 959s # */ 959s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 959s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 959s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 959s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 959s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 959s # #endif /* !G_ENABLE_DEBUG */ 959s # 959s # typedef struct 959s # { 959s # GDBusArgInfo parent_struct; 959s # gboolean use_gvariant; 959s # } _ExtendedGDBusArgInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusMethodInfo parent_struct; 959s # const gchar *signal_name; 959s # gboolean pass_fdlist; 959s # } _ExtendedGDBusMethodInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusSignalInfo parent_struct; 959s # const gchar *signal_name; 959s # } _ExtendedGDBusSignalInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusPropertyInfo parent_struct; 959s # const gchar *hyphen_name; 959s # guint use_gvariant : 1; 959s # guint emits_changed_signal : 1; 959s # } _ExtendedGDBusPropertyInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusInterfaceInfo parent_struct; 959s # const gchar *hyphen_name; 959s # } _ExtendedGDBusInterfaceInfo; 959s # 959s # typedef struct 959s # { 959s # const _ExtendedGDBusPropertyInfo *info; 959s # guint prop_id; 959s # GValue orig_value; /* the value before the change */ 959s # } ChangedProperty; 959s # 959s # static void 959s # _changed_property_free (ChangedProperty *data) 959s # { 959s # g_value_unset (&data->orig_value); 959s # g_free (data); 959s # } 959s # 959s # static gboolean 959s # _g_strv_equal0 (gchar **a, gchar **b) 959s # { 959s # gboolean ret = FALSE; 959s # guint n; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # if (g_strv_length (a) != g_strv_length (b)) 959s # goto out; 959s # for (n = 0; a[n] != NULL; n++) 959s # if (g_strcmp0 (a[n], b[n]) != 0) 959s # goto out; 959s # ret = TRUE; 959s # out: 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _g_variant_equal0 (GVariant *a, GVariant *b) 959s # { 959s # gboolean ret = FALSE; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # ret = g_variant_equal (a, b); 959s # out: 959s # return ret; 959s # } 959s # 959s # G_GNUC_UNUSED static gboolean 959s # _g_value_equal (const GValue *a, const GValue *b) 959s # { 959s # gboolean ret = FALSE; 959s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 959s # switch (G_VALUE_TYPE (a)) 959s # { 959s # case G_TYPE_BOOLEAN: 959s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 959s # break; 959s # case G_TYPE_UCHAR: 959s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 959s # break; 959s # case G_TYPE_INT: 959s # ret = (g_value_get_int (a) == g_value_get_int (b)); 959s # break; 959s # case G_TYPE_UINT: 959s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 959s # break; 959s # case G_TYPE_INT64: 959s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 959s # break; 959s # case G_TYPE_UINT64: 959s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 959s # break; 959s # case G_TYPE_DOUBLE: 959s # { 959s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 959s # gdouble da = g_value_get_double (a); 959s # gdouble db = g_value_get_double (b); 959s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 959s # } 959s # break; 959s # case G_TYPE_STRING: 959s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 959s # break; 959s # case G_TYPE_VARIANT: 959s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 959s # break; 959s # default: 959s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 959s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 959s # else 959s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 959s # break; 959s # } 959s # return ret; 959s # } 959s # 959s # static void 959s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint G_GNUC_UNUSED, 959s # void *marshal_data) 959s # { 959s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 959s # (void *data1, 959s # GDBusMethodInvocation *arg_method_invocation, 959s # void *data2); 959s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 959s # GCClosure *cc = (GCClosure*) closure; 959s # void *data1, *data2; 959s # gboolean v_return; 959s # 959s # g_return_if_fail (return_value != NULL); 959s # g_return_if_fail (n_param_values == 2); 959s # 959s # if (G_CCLOSURE_SWAP_DATA (closure)) 959s # { 959s # data1 = closure->data; 959s # data2 = g_value_peek_pointer (param_values + 0); 959s # } 959s # else 959s # { 959s # data1 = g_value_peek_pointer (param_values + 0); 959s # data2 = closure->data; 959s # } 959s # 959s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 959s # (marshal_data ? marshal_data : cc->callback); 959s # 959s # v_return = 959s # callback (data1, 959s # g_marshal_value_peek_object (param_values + 1), 959s # data2); 959s # 959s # g_value_set_boolean (return_value, v_return); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ 959s # * Code for interface org.project.UsefulInterface 959s # * ------------------------------------------------------------------------ 959s # */ 959s # 959s # /** 959s # * SECTION:OrgProjectUsefulInterface 959s # * @title: OrgProjectUsefulInterface 959s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 959s # * 959s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 959s # */ 959s # 959s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 959s # { 959s # { 959s # -1, 959s # (gchar *) "arg_u", 959s # (gchar *) "u", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 959s # { 959s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgMethodU", 959s # NULL, 959s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 959s # NULL 959s # }, 959s # "handle-single-arg-method-u", 959s # FALSE 959s # }; 959s # 959s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 959s # { 959s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 959s # { 959s # { 959s # -1, 959s # (gchar *) "org.project.UsefulInterface", 959s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 959s # NULL, 959s # NULL, 959s # NULL 959s # }, 959s # "org-project-useful-interface", 959s # }; 959s # 959s # 959s # /** 959s # * org_project_useful_interface_interface_info: 959s # * 959s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 959s # * 959s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 959s # */ 959s # GDBusInterfaceInfo * 959s # org_project_useful_interface_interface_info (void) 959s # { 959s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_override_properties: 959s # * @klass: The class structure for a #GObject derived class. 959s # * @property_id_begin: The property id to assign to the first overridden property. 959s # * 959s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 959s # * The properties are overridden in the order they are defined. 959s # * 959s # * Returns: The last property id. 959s # */ 959s # guint 959s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 959s # { 959s # return property_id_begin - 1; 959s # } 959s # 959s # 959s # inline static void 959s # org_project_useful_interface_method_marshal_single_arg_method_u ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # 959s # /** 959s # * OrgProjectUsefulInterface: 959s # * 959s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceIface: 959s # * @parent_iface: The parent interface. 959s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 959s # * 959s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 959s # */ 959s # 959s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 959s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 959s # 959s # static void 959s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 959s # { 959s # /* GObject signals for incoming D-Bus method calls: */ 959s # /** 959s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 959s # * @object: A #OrgProjectUsefulInterface. 959s # * @invocation: A #GDBusMethodInvocation. 959s # * 959s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 959s # * 959s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_u() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 959s # * 959s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 959s # */ 959s # g_signal_new ("handle-single-arg-method-u", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 959s # g_signal_accumulator_true_handled, 959s # NULL, 959s # org_project_useful_interface_method_marshal_single_arg_method_u, 959s # G_TYPE_BOOLEAN, 959s # 1, 959s # G_TYPE_DBUS_METHOD_INVOCATION); 959s # 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_u: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 959s # */ 959s # void 959s # org_project_useful_interface_call_single_arg_method_u ( 959s # OrgProjectUsefulInterface *proxy, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 959s # "SingleArgMethodU", 959s # g_variant_new ("()"), 959s # G_DBUS_CALL_FLAGS_NONE, 959s # -1, 959s # cancellable, 959s # callback, 959s # user_data); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_u_finish: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 959s # * @error: Return location for error or %NULL. 959s # * 959s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 959s # * 959s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 959s # */ 959s # gboolean 959s # org_project_useful_interface_call_single_arg_method_u_finish ( 959s # OrgProjectUsefulInterface *proxy, 959s # guint *out_arg_u, 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GVariant *_ret; 959s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 959s # if (_ret == NULL) 959s # goto _out; 959s # g_variant_get (_ret, 959s # "(u)", 959s # out_arg_u); 959s # g_variant_unref (_ret); 959s # _out: 959s # return _ret != NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_u_sync: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL. 959s # * 959s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 959s # * 959s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 959s # */ 959s # gboolean 959s # org_project_useful_interface_call_single_arg_method_u_sync ( 959s # OrgProjectUsefulInterface *proxy, 959s # guint *out_arg_u, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GVariant *_ret; 959s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 959s # "SingleArgMethodU", 959s # g_variant_new ("()"), 959s # G_DBUS_CALL_FLAGS_NONE, 959s # -1, 959s # cancellable, 959s # error); 959s # if (_ret == NULL) 959s # goto _out; 959s # g_variant_get (_ret, 959s # "(u)", 959s # out_arg_u); 959s # g_variant_unref (_ret); 959s # _out: 959s # return _ret != NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_complete_single_arg_method_u: 959s # * @object: A #OrgProjectUsefulInterface. 959s # * @invocation: (transfer full): A #GDBusMethodInvocation. 959s # * @arg_u: Parameter to return. 959s # * 959s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodU() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 959s # * 959s # * This method will free @invocation, you cannot use it afterwards. 959s # */ 959s # void 959s # org_project_useful_interface_complete_single_arg_method_u ( 959s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 959s # GDBusMethodInvocation *invocation, 959s # guint arg_u) 959s # { 959s # g_dbus_method_invocation_return_value (invocation, 959s # g_variant_new ("(u)", 959s # arg_u)); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceProxy: 959s # * 959s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceProxyClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectUsefulInterfaceProxy. 959s # */ 959s # 959s # struct _OrgProjectUsefulInterfaceProxyPrivate 959s # { 959s # GData *qdata; 959s # }; 959s # 959s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 959s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_useful_interface_proxy_finalize (GObject *object) 959s # { 959s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 959s # g_datalist_clear (&proxy->priv->qdata); 959s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # const GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 959s # const gchar *sender_name G_GNUC_UNUSED, 959s # const gchar *signal_name, 959s # GVariant *parameters) 959s # { 959s # _ExtendedGDBusSignalInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # gsize n; 959s # guint signal_id; 959s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 959s # if (info == NULL) 959s # return; 959s # num_params = g_variant_n_children (parameters); 959s # paramv = g_new0 (GValue, num_params + 1); 959s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_set_object (¶mv[0], proxy); 959s # g_variant_iter_init (&iter, parameters); 959s # n = 1; 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_signal_emitv (paramv, signal_id, 0, NULL); 959s # for (n = 0; n < num_params + 1; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 959s # GVariant *changed_properties, 959s # const gchar *const *invalidated_properties) 959s # { 959s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 959s # guint n; 959s # const gchar *key; 959s # GVariantIter *iter; 959s # _ExtendedGDBusPropertyInfo *info; 959s # g_variant_get (changed_properties, "a{sv}", &iter); 959s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 959s # g_datalist_remove_data (&proxy->priv->qdata, key); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # g_variant_iter_free (iter); 959s # for (n = 0; invalidated_properties[n] != NULL; n++) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 959s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 959s # #else 959s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 959s # #endif 959s # 959s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusProxyClass *proxy_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 959s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 959s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 959s # 959s # proxy_class = G_DBUS_PROXY_CLASS (klass); 959s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 959s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_useful_interface_proxy_new ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_sync: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_sync ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_useful_interface_proxy_new_for_bus ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_for_bus_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus_sync: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_for_bus_sync ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceSkeleton: 959s # * 959s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceSkeletonClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 959s # */ 959s # 959s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 959s # { 959s # GValue *properties; 959s # GList *changed_properties; 959s # GSource *changed_properties_idle_source; 959s # GMainContext *context; 959s # GMutex lock; 959s # }; 959s # 959s # static void 959s # _org_project_useful_interface_skeleton_handle_method_call ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name, 959s # const gchar *method_name, 959s # GVariant *parameters, 959s # GDBusMethodInvocation *invocation, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # _ExtendedGDBusMethodInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # guint num_extra; 959s # gsize n; 959s # guint signal_id; 959s # GValue return_value = G_VALUE_INIT; 959s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 959s # g_assert (info != NULL); 959s # num_params = g_variant_n_children (parameters); 959s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 959s # n = 0; 959s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_set_object (¶mv[n++], skeleton); 959s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 959s # g_value_set_object (¶mv[n++], invocation); 959s # if (info->pass_fdlist) 959s # { 959s # #ifdef G_OS_UNIX 959s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 959s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 959s # #else 959s # g_assert_not_reached (); 959s # #endif 959s # } 959s # g_variant_iter_init (&iter, parameters); 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_init (&return_value, G_TYPE_BOOLEAN); 959s # g_signal_emitv (paramv, signal_id, 0, &return_value); 959s # if (!g_value_get_boolean (&return_value)) 959s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 959s # g_value_unset (&return_value); 959s # for (n = 0; n < num_params + num_extra; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static GVariant * 959s # _org_project_useful_interface_skeleton_handle_get_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # GVariant *ret; 959s # ret = NULL; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # g_value_init (&value, pspec->value_type); 959s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 959s # g_value_unset (&value); 959s # } 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _org_project_useful_interface_skeleton_handle_set_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GVariant *variant, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # gboolean ret; 959s # ret = FALSE; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # if (info->use_gvariant) 959s # g_value_set_variant (&value, variant); 959s # else 959s # g_dbus_gvariant_to_gvalue (variant, &value); 959s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # g_value_unset (&value); 959s # ret = TRUE; 959s # } 959s # return ret; 959s # } 959s # 959s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 959s # { 959s # _org_project_useful_interface_skeleton_handle_method_call, 959s # _org_project_useful_interface_skeleton_handle_get_property, 959s # _org_project_useful_interface_skeleton_handle_set_property, 959s # {NULL} 959s # }; 959s # 959s # static GDBusInterfaceInfo * 959s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return org_project_useful_interface_interface_info (); 959s # } 959s # 959s # static GDBusInterfaceVTable * 959s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 959s # } 959s # 959s # static GVariant * 959s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 959s # 959s # GVariantBuilder builder; 959s # guint n; 959s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 959s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 959s # goto out; 959s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 959s # { 959s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 959s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 959s # { 959s # GVariant *value; 959s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 959s # if (value != NULL) 959s # { 959s # g_variant_take_ref (value); 959s # g_variant_builder_add (&builder, "{sv}", info->name, value); 959s # g_variant_unref (value); 959s # } 959s # } 959s # } 959s # out: 959s # return g_variant_builder_end (&builder); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_useful_interface_skeleton_finalize (GObject *object) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 959s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 959s # if (skeleton->priv->changed_properties_idle_source != NULL) 959s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 959s # g_main_context_unref (skeleton->priv->context); 959s # g_mutex_clear (&skeleton->priv->lock); 959s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 959s # #else 959s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 959s # #endif 959s # 959s # g_mutex_init (&skeleton->priv->lock); 959s # skeleton->priv->context = g_main_context_ref_thread_default (); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusInterfaceSkeletonClass *skeleton_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 959s # 959s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 959s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 959s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 959s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 959s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_skeleton_new: 959s # * 959s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_skeleton_new (void) 959s # { 959s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 959s # } 959s # /tmp/tmpt56g2_ry/tmpxlxav7ff.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt56g2_ry/tmpxlxav7ff.xml', '--output', '-', '--body'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: /* 959s # * This file is generated by gdbus-codegen, do not modify it. 959s # * 959s # * The license of this code is the same as for the D-Bus interface description 959s # * it was derived from. Note that it links to GLib, so must comply with the 959s # * LGPL linking clauses. 959s # */ 959s # 959s # #ifdef HAVE_CONFIG_H 959s # # include "config.h" 959s # #endif 959s # 959s # #include 959s # #ifdef G_OS_UNIX 959s # # include 959s # #endif 959s # 959s # #ifdef G_ENABLE_DEBUG 959s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 959s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 959s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 959s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 959s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 959s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 959s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 959s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 959s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 959s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 959s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 959s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 959s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 959s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 959s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 959s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 959s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 959s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 959s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 959s # #else /* !G_ENABLE_DEBUG */ 959s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 959s # * Do not access GValues directly in your code. Instead, use the 959s # * g_value_get_*() functions 959s # */ 959s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 959s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 959s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 959s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 959s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 959s # #endif /* !G_ENABLE_DEBUG */ 959s # 959s # typedef struct 959s # { 959s # GDBusArgInfo parent_struct; 959s # gboolean use_gvariant; 959s # } _ExtendedGDBusArgInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusMethodInfo parent_struct; 959s # const gchar *signal_name; 959s # gboolean pass_fdlist; 959s # } _ExtendedGDBusMethodInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusSignalInfo parent_struct; 959s # const gchar *signal_name; 959s # } _ExtendedGDBusSignalInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusPropertyInfo parent_struct; 959s # const gchar *hyphen_name; 959s # guint use_gvariant : 1; 959s # guint emits_changed_signal : 1; 959s # } _ExtendedGDBusPropertyInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusInterfaceInfo parent_struct; 959s # const gchar *hyphen_name; 959s # } _ExtendedGDBusInterfaceInfo; 959s # 959s # typedef struct 959s # { 959s # const _ExtendedGDBusPropertyInfo *info; 959s # guint prop_id; 959s # GValue orig_value; /* the value before the change */ 959s # } ChangedProperty; 959s # 959s # static void 959s # _changed_property_free (ChangedProperty *data) 959s # { 959s # g_value_unset (&data->orig_value); 959s # g_free (data); 959s # } 959s # 959s # static gboolean 959s # _g_strv_equal0 (gchar **a, gchar **b) 959s # { 959s # gboolean ret = FALSE; 959s # guint n; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # if (g_strv_length (a) != g_strv_length (b)) 959s # goto out; 959s # for (n = 0; a[n] != NULL; n++) 959s # if (g_strcmp0 (a[n], b[n]) != 0) 959s # goto out; 959s # ret = TRUE; 959s # out: 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _g_variant_equal0 (GVariant *a, GVariant *b) 959s # { 959s # gboolean ret = FALSE; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # ret = g_variant_equal (a, b); 959s # out: 959s # return ret; 959s # } 959s # 959s # G_GNUC_UNUSED static gboolean 959s # _g_value_equal (const GValue *a, const GValue *b) 959s # { 959s # gboolean ret = FALSE; 959s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 959s # switch (G_VALUE_TYPE (a)) 959s # { 959s # case G_TYPE_BOOLEAN: 959s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 959s # break; 959s # case G_TYPE_UCHAR: 959s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 959s # break; 959s # case G_TYPE_INT: 959s # ret = (g_value_get_int (a) == g_value_get_int (b)); 959s # break; 959s # case G_TYPE_UINT: 959s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 959s # break; 959s # case G_TYPE_INT64: 959s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 959s # break; 959s # case G_TYPE_UINT64: 959s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 959s # break; 959s # case G_TYPE_DOUBLE: 959s # { 959s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 959s # gdouble da = g_value_get_double (a); 959s # gdouble db = g_value_get_double (b); 959s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 959s # } 959s # break; 959s # case G_TYPE_STRING: 959s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 959s # break; 959s # case G_TYPE_VARIANT: 959s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 959s # break; 959s # default: 959s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 959s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 959s # else 959s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 959s # break; 959s # } 959s # return ret; 959s # } 959s # 959s # static void 959s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint G_GNUC_UNUSED, 959s # void *marshal_data) 959s # { 959s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 959s # (void *data1, 959s # GDBusMethodInvocation *arg_method_invocation, 959s # void *data2); 959s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 959s # GCClosure *cc = (GCClosure*) closure; 959s # void *data1, *data2; 959s # gboolean v_return; 959s # 959s # g_return_if_fail (return_value != NULL); 959s # g_return_if_fail (n_param_values == 2); 959s # 959s # if (G_CCLOSURE_SWAP_DATA (closure)) 959s # { 959s # data1 = closure->data; 959s # data2 = g_value_peek_pointer (param_values + 0); 959s # } 959s # else 959s # { 959s # data1 = g_value_peek_pointer (param_values + 0); 959s # data2 = closure->data; 959s # } 959s # 959s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 959s # (marshal_data ? marshal_data : cc->callback); 959s # 959s # v_return = 959s # callback (data1, 959s # g_marshal_value_peek_object (param_values + 1), 959s # data2); 959s # 959s # g_value_set_boolean (return_value, v_return); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ 959s # * Code for interface org.project.UsefulInterface 959s # * ------------------------------------------------------------------------ 959s # */ 959s # 959s # /** 959s # * SECTION:OrgProjectUsefulInterface 959s # * @title: OrgProjectUsefulInterface 959s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 959s # * 959s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 959s # */ 959s # 959s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 959s # { 959s # { 959s # -1, 959s # (gchar *) "arg_x", 959s # (gchar *) "x", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 959s # { 959s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgMethodX", 959s # NULL, 959s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 959s # NULL 959s # }, 959s # "handle-single-arg-method-x", 959s # FALSE 959s # }; 959s # 959s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 959s # { 959s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 959s # { 959s # { 959s # -1, 959s # (gchar *) "org.project.UsefulInterface", 959s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 959s # NULL, 959s # NULL, 959s # NULL 959s # }, 959s # "org-project-useful-interface", 959s # }; 959s # 959s # 959s # /** 959s # * org_project_useful_interface_interface_info: 959s # * 959s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 959s # * 959s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 959s # */ 959s # GDBusInterfaceInfo * 959s # org_project_useful_interface_interface_info (void) 959s # { 959s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_override_properties: 959s # * @klass: The class structure for a #GObject derived class. 959s # * @property_id_begin: The property id to assign to the first overridden property. 959s # * 959s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 959s # * The properties are overridden in the order they are defined. 959s # * 959s # * Returns: The last property id. 959s # */ 959s # guint 959s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 959s # { 959s # return property_id_begin - 1; 959s # } 959s # 959s # 959s # inline static void 959s # org_project_useful_interface_method_marshal_single_arg_method_x ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # 959s # /** 959s # * OrgProjectUsefulInterface: 959s # * 959s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceIface: 959s # * @parent_iface: The parent interface. 959s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 959s # * 959s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 959s # */ 959s # 959s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 959s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 959s # 959s # static void 959s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 959s # { 959s # /* GObject signals for incoming D-Bus method calls: */ 959s # /** 959s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 959s # * @object: A #OrgProjectUsefulInterface. 959s # * @invocation: A #GDBusMethodInvocation. 959s # * 959s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 959s # * 959s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_x() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 959s # * 959s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 959s # */ 959s # g_signal_new ("handle-single-arg-method-x", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 959s # g_signal_accumulator_true_handled, 959s # NULL, 959s # org_project_useful_interface_method_marshal_single_arg_method_x, 959s # G_TYPE_BOOLEAN, 959s # 1, 959s # G_TYPE_DBUS_METHOD_INVOCATION); 959s # 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_x: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 959s # */ 959s # void 959s # org_project_useful_interface_call_single_arg_method_x ( 959s # OrgProjectUsefulInterface *proxy, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 959s # "SingleArgMethodX", 959s # g_variant_new ("()"), 959s # G_DBUS_CALL_FLAGS_NONE, 959s # -1, 959s # cancellable, 959s # callback, 959s # user_data); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_x_finish: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 959s # * @error: Return location for error or %NULL. 959s # * 959s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 959s # * 959s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 959s # */ 959s # gboolean 959s # org_project_useful_interface_call_single_arg_method_x_finish ( 959s # OrgProjectUsefulInterface *proxy, 959s # gint64 *out_arg_x, 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GVariant *_ret; 959s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 959s # if (_ret == NULL) 959s # goto _out; 959s # g_variant_get (_ret, 959s # "(x)", 959s # out_arg_x); 959s # g_variant_unref (_ret); 959s # _out: 959s # return _ret != NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_x_sync: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL. 959s # * 959s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 959s # * 959s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 959s # */ 959s # gboolean 959s # org_project_useful_interface_call_single_arg_method_x_sync ( 959s # OrgProjectUsefulInterface *proxy, 959s # gint64 *out_arg_x, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GVariant *_ret; 959s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 959s # "SingleArgMethodX", 959s # g_variant_new ("()"), 959s # G_DBUS_CALL_FLAGS_NONE, 959s # -1, 959s # cancellable, 959s # error); 959s # if (_ret == NULL) 959s # goto _out; 959s # g_variant_get (_ret, 959s # "(x)", 959s # out_arg_x); 959s # g_variant_unref (_ret); 959s # _out: 959s # return _ret != NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_complete_single_arg_method_x: 959s # * @object: A #OrgProjectUsefulInterface. 959s # * @invocation: (transfer full): A #GDBusMethodInvocation. 959s # * @arg_x: Parameter to return. 959s # * 959s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodX() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 959s # * 959s # * This method will free @invocation, you cannot use it afterwards. 959s # */ 959s # void 959s # org_project_useful_interface_complete_single_arg_method_x ( 959s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 959s # GDBusMethodInvocation *invocation, 959s # gint64 arg_x) 959s # { 959s # g_dbus_method_invocation_return_value (invocation, 959s # g_variant_new ("(x)", 959s # arg_x)); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceProxy: 959s # * 959s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceProxyClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectUsefulInterfaceProxy. 959s # */ 959s # 959s # struct _OrgProjectUsefulInterfaceProxyPrivate 959s # { 959s # GData *qdata; 959s # }; 959s # 959s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 959s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_useful_interface_proxy_finalize (GObject *object) 959s # { 959s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 959s # g_datalist_clear (&proxy->priv->qdata); 959s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # const GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 959s # const gchar *sender_name G_GNUC_UNUSED, 959s # const gchar *signal_name, 959s # GVariant *parameters) 959s # { 959s # _ExtendedGDBusSignalInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # gsize n; 959s # guint signal_id; 959s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 959s # if (info == NULL) 959s # return; 959s # num_params = g_variant_n_children (parameters); 959s # paramv = g_new0 (GValue, num_params + 1); 959s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_set_object (¶mv[0], proxy); 959s # g_variant_iter_init (&iter, parameters); 959s # n = 1; 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_signal_emitv (paramv, signal_id, 0, NULL); 959s # for (n = 0; n < num_params + 1; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 959s # GVariant *changed_properties, 959s # const gchar *const *invalidated_properties) 959s # { 959s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 959s # guint n; 959s # const gchar *key; 959s # GVariantIter *iter; 959s # _ExtendedGDBusPropertyInfo *info; 959s # g_variant_get (changed_properties, "a{sv}", &iter); 959s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 959s # g_datalist_remove_data (&proxy->priv->qdata, key); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # g_variant_iter_free (iter); 959s # for (n = 0; invalidated_properties[n] != NULL; n++) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 959s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 959s # #else 959s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 959s # #endif 959s # 959s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusProxyClass *proxy_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 959s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 959s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 959s # 959s # proxy_class = G_DBUS_PROXY_CLASS (klass); 959s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 959s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_useful_interface_proxy_new ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_sync: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_sync ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_useful_interface_proxy_new_for_bus ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_for_bus_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus_sync: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_for_bus_sync ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceSkeleton: 959s # * 959s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceSkeletonClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 959s # */ 959s # 959s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 959s # { 959s # GValue *properties; 959s # GList *changed_properties; 959s # GSource *changed_properties_idle_source; 959s # GMainContext *context; 959s # GMutex lock; 959s # }; 959s # 959s # static void 959s # _org_project_useful_interface_skeleton_handle_method_call ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name, 959s # const gchar *method_name, 959s # GVariant *parameters, 959s # GDBusMethodInvocation *invocation, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # _ExtendedGDBusMethodInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # guint num_extra; 959s # gsize n; 959s # guint signal_id; 959s # GValue return_value = G_VALUE_INIT; 959s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 959s # g_assert (info != NULL); 959s # num_params = g_variant_n_children (parameters); 959s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 959s # n = 0; 959s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_set_object (¶mv[n++], skeleton); 959s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 959s # g_value_set_object (¶mv[n++], invocation); 959s # if (info->pass_fdlist) 959s # { 959s # #ifdef G_OS_UNIX 959s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 959s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 959s # #else 959s # g_assert_not_reached (); 959s # #endif 959s # } 959s # g_variant_iter_init (&iter, parameters); 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_init (&return_value, G_TYPE_BOOLEAN); 959s # g_signal_emitv (paramv, signal_id, 0, &return_value); 959s # if (!g_value_get_boolean (&return_value)) 959s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 959s # g_value_unset (&return_value); 959s # for (n = 0; n < num_params + num_extra; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static GVariant * 959s # _org_project_useful_interface_skeleton_handle_get_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # GVariant *ret; 959s # ret = NULL; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # g_value_init (&value, pspec->value_type); 959s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 959s # g_value_unset (&value); 959s # } 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _org_project_useful_interface_skeleton_handle_set_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GVariant *variant, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # gboolean ret; 959s # ret = FALSE; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # if (info->use_gvariant) 959s # g_value_set_variant (&value, variant); 959s # else 959s # g_dbus_gvariant_to_gvalue (variant, &value); 959s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # g_value_unset (&value); 959s # ret = TRUE; 959s # } 959s # return ret; 959s # } 959s # 959s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 959s # { 959s # _org_project_useful_interface_skeleton_handle_method_call, 959s # _org_project_useful_interface_skeleton_handle_get_property, 959s # _org_project_useful_interface_skeleton_handle_set_property, 959s # {NULL} 959s # }; 959s # 959s # static GDBusInterfaceInfo * 959s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return org_project_useful_interface_interface_info (); 959s # } 959s # 959s # static GDBusInterfaceVTable * 959s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 959s # } 959s # 959s # static GVariant * 959s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 959s # 959s # GVariantBuilder builder; 959s # guint n; 959s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 959s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 959s # goto out; 959s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 959s # { 959s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 959s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 959s # { 959s # GVariant *value; 959s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 959s # if (value != NULL) 959s # { 959s # g_variant_take_ref (value); 959s # g_variant_builder_add (&builder, "{sv}", info->name, value); 959s # g_variant_unref (value); 959s # } 959s # } 959s # } 959s # out: 959s # return g_variant_builder_end (&builder); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_useful_interface_skeleton_finalize (GObject *object) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 959s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 959s # if (skeleton->priv->changed_properties_idle_source != NULL) 959s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 959s # g_main_context_unref (skeleton->priv->context); 959s # g_mutex_clear (&skeleton->priv->lock); 959s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 959s # #else 959s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 959s # #endif 959s # 959s # g_mutex_init (&skeleton->priv->lock); 959s # skeleton->priv->context = g_main_context_ref_thread_default (); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusInterfaceSkeletonClass *skeleton_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 959s # 959s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 959s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 959s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 959s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 959s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_skeleton_new: 959s # * 959s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_skeleton_new (void) 959s # { 959s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 959s # } 959s # /tmp/tmpt56g2_ry/tmp5wqlafho.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt56g2_ry/tmp5wqlafho.xml', '--output', '-', '--body'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: /* 959s # * This file is generated by gdbus-codegen, do not modify it. 959s # * 959s # * The license of this code is the same as for the D-Bus interface description 959s # * it was derived from. Note that it links to GLib, so must comply with the 959s # * LGPL linking clauses. 959s # */ 959s # 959s # #ifdef HAVE_CONFIG_H 959s # # include "config.h" 959s # #endif 959s # 959s # #include 959s # #ifdef G_OS_UNIX 959s # # include 959s # #endif 959s # 959s # #ifdef G_ENABLE_DEBUG 959s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 959s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 959s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 959s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 959s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 959s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 959s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 959s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 959s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 959s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 959s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 959s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 959s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 959s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 959s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 959s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 959s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 959s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 959s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 959s # #else /* !G_ENABLE_DEBUG */ 959s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 959s # * Do not access GValues directly in your code. Instead, use the 959s # * g_value_get_*() functions 959s # */ 959s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 959s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 959s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 959s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 959s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 959s # #endif /* !G_ENABLE_DEBUG */ 959s # 959s # typedef struct 959s # { 959s # GDBusArgInfo parent_struct; 959s # gboolean use_gvariant; 959s # } _ExtendedGDBusArgInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusMethodInfo parent_struct; 959s # const gchar *signal_name; 959s # gboolean pass_fdlist; 959s # } _ExtendedGDBusMethodInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusSignalInfo parent_struct; 959s # const gchar *signal_name; 959s # } _ExtendedGDBusSignalInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusPropertyInfo parent_struct; 959s # const gchar *hyphen_name; 959s # guint use_gvariant : 1; 959s # guint emits_changed_signal : 1; 959s # } _ExtendedGDBusPropertyInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusInterfaceInfo parent_struct; 959s # const gchar *hyphen_name; 959s # } _ExtendedGDBusInterfaceInfo; 959s # 959s # typedef struct 959s # { 959s # const _ExtendedGDBusPropertyInfo *info; 959s # guint prop_id; 959s # GValue orig_value; /* the value before the change */ 959s # } ChangedProperty; 959s # 959s # static void 959s # _changed_property_free (ChangedProperty *data) 959s # { 959s # g_value_unset (&data->orig_value); 959s # g_free (data); 959s # } 959s # 959s # static gboolean 959s # _g_strv_equal0 (gchar **a, gchar **b) 959s # { 959s # gboolean ret = FALSE; 959s # guint n; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # if (g_strv_length (a) != g_strv_length (b)) 959s # goto out; 959s # for (n = 0; a[n] != NULL; n++) 959s # if (g_strcmp0 (a[n], b[n]) != 0) 959s # goto out; 959s # ret = TRUE; 959s # out: 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _g_variant_equal0 (GVariant *a, GVariant *b) 959s # { 959s # gboolean ret = FALSE; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # ret = g_variant_equal (a, b); 959s # out: 959s # return ret; 959s # } 959s # 959s # G_GNUC_UNUSED static gboolean 959s # _g_value_equal (const GValue *a, const GValue *b) 959s # { 959s # gboolean ret = FALSE; 959s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 959s # switch (G_VALUE_TYPE (a)) 959s # { 959s # case G_TYPE_BOOLEAN: 959s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 959s # break; 959s # case G_TYPE_UCHAR: 959s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 959s # break; 959s # case G_TYPE_INT: 959s # ret = (g_value_get_int (a) == g_value_get_int (b)); 959s # break; 959s # case G_TYPE_UINT: 959s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 959s # break; 959s # case G_TYPE_INT64: 959s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 959s # break; 959s # case G_TYPE_UINT64: 959s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 959s # break; 959s # case G_TYPE_DOUBLE: 959s # { 959s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 959s # gdouble da = g_value_get_double (a); 959s # gdouble db = g_value_get_double (b); 959s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 959s # } 959s # break; 959s # case G_TYPE_STRING: 959s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 959s # break; 959s # case G_TYPE_VARIANT: 959s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 959s # break; 959s # default: 959s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 959s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 959s # else 959s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 959s # break; 959s # } 959s # return ret; 959s # } 959s # 959s # static void 959s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint G_GNUC_UNUSED, 959s # void *marshal_data) 959s # { 959s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 959s # (void *data1, 959s # GDBusMethodInvocation *arg_method_invocation, 959s # void *data2); 959s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 959s # GCClosure *cc = (GCClosure*) closure; 959s # void *data1, *data2; 959s # gboolean v_return; 959s # 959s # g_return_if_fail (return_value != NULL); 959s # g_return_if_fail (n_param_values == 2); 959s # 959s # if (G_CCLOSURE_SWAP_DATA (closure)) 959s # { 959s # data1 = closure->data; 959s # data2 = g_value_peek_pointer (param_values + 0); 959s # } 959s # else 959s # { 959s # data1 = g_value_peek_pointer (param_values + 0); 959s # data2 = closure->data; 959s # } 959s # 959s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 959s # (marshal_data ? marshal_data : cc->callback); 959s # 959s # v_return = 959s # callback (data1, 959s # g_marshal_value_peek_object (param_values + 1), 959s # data2); 959s # 959s # g_value_set_boolean (return_value, v_return); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ 959s # * Code for interface org.project.UsefulInterface 959s # * ------------------------------------------------------------------------ 959s # */ 959s # 959s # /** 959s # * SECTION:OrgProjectUsefulInterface 959s # * @title: OrgProjectUsefulInterface 959s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 959s # * 959s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 959s # */ 959s # 959s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 959s # { 959s # { 959s # -1, 959s # (gchar *) "arg_t", 959s # (gchar *) "t", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 959s # { 959s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgMethodT", 959s # NULL, 959s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 959s # NULL 959s # }, 959s # "handle-single-arg-method-t", 959s # FALSE 959s # }; 959s # 959s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 959s # { 959s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 959s # { 959s # { 959s # -1, 959s # (gchar *) "org.project.UsefulInterface", 959s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 959s # NULL, 959s # NULL, 959s # NULL 959s # }, 959s # "org-project-useful-interface", 959s # }; 959s # 959s # 959s # /** 959s # * org_project_useful_interface_interface_info: 959s # * 959s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 959s # * 959s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 959s # */ 959s # GDBusInterfaceInfo * 959s # org_project_useful_interface_interface_info (void) 959s # { 959s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_override_properties: 959s # * @klass: The class structure for a #GObject derived class. 959s # * @property_id_begin: The property id to assign to the first overridden property. 959s # * 959s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 959s # * The properties are overridden in the order they are defined. 959s # * 959s # * Returns: The last property id. 959s # */ 959s # guint 959s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 959s # { 959s # return property_id_begin - 1; 959s # } 959s # 959s # 959s # inline static void 959s # org_project_useful_interface_method_marshal_single_arg_method_t ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # 959s # /** 959s # * OrgProjectUsefulInterface: 959s # * 959s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceIface: 959s # * @parent_iface: The parent interface. 959s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 959s # * 959s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 959s # */ 959s # 959s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 959s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 959s # 959s # static void 959s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 959s # { 959s # /* GObject signals for incoming D-Bus method calls: */ 959s # /** 959s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 959s # * @object: A #OrgProjectUsefulInterface. 959s # * @invocation: A #GDBusMethodInvocation. 959s # * 959s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 959s # * 959s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_t() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 959s # * 959s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 959s # */ 959s # g_signal_new ("handle-single-arg-method-t", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 959s # g_signal_accumulator_true_handled, 959s # NULL, 959s # org_project_useful_interface_method_marshal_single_arg_method_t, 959s # G_TYPE_BOOLEAN, 959s # 1, 959s # G_TYPE_DBUS_METHOD_INVOCATION); 959s # 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_t: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 959s # */ 959s # void 959s # org_project_useful_interface_call_single_arg_method_t ( 959s # OrgProjectUsefulInterface *proxy, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 959s # "SingleArgMethodT", 959s # g_variant_new ("()"), 959s # G_DBUS_CALL_FLAGS_NONE, 959s # -1, 959s # cancellable, 959s # callback, 959s # user_data); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_t_finish: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 959s # * @error: Return location for error or %NULL. 959s # * 959s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 959s # * 959s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 959s # */ 959s # gboolean 959s # org_project_useful_interface_call_single_arg_method_t_finish ( 959s # OrgProjectUsefulInterface *proxy, 959s # guint64 *out_arg_t, 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GVariant *_ret; 959s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 959s # if (_ret == NULL) 959s # goto _out; 959s # g_variant_get (_ret, 959s # "(t)", 959s # out_arg_t); 959s # g_variant_unref (_ret); 959s # _out: 959s # return _ret != NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_t_sync: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL. 959s # * 959s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 959s # * 959s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 959s # */ 959s # gboolean 959s # org_project_useful_interface_call_single_arg_method_t_sync ( 959s # OrgProjectUsefulInterface *proxy, 959s # guint64 *out_arg_t, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GVariant *_ret; 959s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 959s # "SingleArgMethodT", 959s # g_variant_new ("()"), 959s # G_DBUS_CALL_FLAGS_NONE, 959s # -1, 959s # cancellable, 959s # error); 959s # if (_ret == NULL) 959s # goto _out; 959s # g_variant_get (_ret, 959s # "(t)", 959s # out_arg_t); 959s # g_variant_unref (_ret); 959s # _out: 959s # return _ret != NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_complete_single_arg_method_t: 959s # * @object: A #OrgProjectUsefulInterface. 959s # * @invocation: (transfer full): A #GDBusMethodInvocation. 959s # * @arg_t: Parameter to return. 959s # * 959s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodT() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 959s # * 959s # * This method will free @invocation, you cannot use it afterwards. 959s # */ 959s # void 959s # org_project_useful_interface_complete_single_arg_method_t ( 959s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 959s # GDBusMethodInvocation *invocation, 959s # guint64 arg_t) 959s # { 959s # g_dbus_method_invocation_return_value (invocation, 959s # g_variant_new ("(t)", 959s # arg_t)); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceProxy: 959s # * 959s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceProxyClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectUsefulInterfaceProxy. 959s # */ 959s # 959s # struct _OrgProjectUsefulInterfaceProxyPrivate 959s # { 959s # GData *qdata; 959s # }; 959s # 959s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 959s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_useful_interface_proxy_finalize (GObject *object) 959s # { 959s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 959s # g_datalist_clear (&proxy->priv->qdata); 959s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # const GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 959s # const gchar *sender_name G_GNUC_UNUSED, 959s # const gchar *signal_name, 959s # GVariant *parameters) 959s # { 959s # _ExtendedGDBusSignalInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # gsize n; 959s # guint signal_id; 959s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 959s # if (info == NULL) 959s # return; 959s # num_params = g_variant_n_children (parameters); 959s # paramv = g_new0 (GValue, num_params + 1); 959s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_set_object (¶mv[0], proxy); 959s # g_variant_iter_init (&iter, parameters); 959s # n = 1; 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_signal_emitv (paramv, signal_id, 0, NULL); 959s # for (n = 0; n < num_params + 1; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 959s # GVariant *changed_properties, 959s # const gchar *const *invalidated_properties) 959s # { 959s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 959s # guint n; 959s # const gchar *key; 959s # GVariantIter *iter; 959s # _ExtendedGDBusPropertyInfo *info; 959s # g_variant_get (changed_properties, "a{sv}", &iter); 959s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 959s # g_datalist_remove_data (&proxy->priv->qdata, key); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # g_variant_iter_free (iter); 959s # for (n = 0; invalidated_properties[n] != NULL; n++) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 959s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 959s # #else 959s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 959s # #endif 959s # 959s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusProxyClass *proxy_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 959s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 959s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 959s # 959s # proxy_class = G_DBUS_PROXY_CLASS (klass); 959s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 959s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_useful_interface_proxy_new ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_sync: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_sync ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_useful_interface_proxy_new_for_bus ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_for_bus_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus_sync: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_for_bus_sync ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceSkeleton: 959s # * 959s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceSkeletonClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 959s # */ 959s # 959s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 959s # { 959s # GValue *properties; 959s # GList *changed_properties; 959s # GSource *changed_properties_idle_source; 959s # GMainContext *context; 959s # GMutex lock; 959s # }; 959s # 959s # static void 959s # _org_project_useful_interface_skeleton_handle_method_call ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name, 959s # const gchar *method_name, 959s # GVariant *parameters, 959s # GDBusMethodInvocation *invocation, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # _ExtendedGDBusMethodInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # guint num_extra; 959s # gsize n; 959s # guint signal_id; 959s # GValue return_value = G_VALUE_INIT; 959s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 959s # g_assert (info != NULL); 959s # num_params = g_variant_n_children (parameters); 959s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 959s # n = 0; 959s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_set_object (¶mv[n++], skeleton); 959s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 959s # g_value_set_object (¶mv[n++], invocation); 959s # if (info->pass_fdlist) 959s # { 959s # #ifdef G_OS_UNIX 959s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 959s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 959s # #else 959s # g_assert_not_reached (); 959s # #endif 959s # } 959s # g_variant_iter_init (&iter, parameters); 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_init (&return_value, G_TYPE_BOOLEAN); 959s # g_signal_emitv (paramv, signal_id, 0, &return_value); 959s # if (!g_value_get_boolean (&return_value)) 959s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 959s # g_value_unset (&return_value); 959s # for (n = 0; n < num_params + num_extra; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static GVariant * 959s # _org_project_useful_interface_skeleton_handle_get_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # GVariant *ret; 959s # ret = NULL; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # g_value_init (&value, pspec->value_type); 959s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 959s # g_value_unset (&value); 959s # } 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _org_project_useful_interface_skeleton_handle_set_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GVariant *variant, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # gboolean ret; 959s # ret = FALSE; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # if (info->use_gvariant) 959s # g_value_set_variant (&value, variant); 959s # else 959s # g_dbus_gvariant_to_gvalue (variant, &value); 959s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # g_value_unset (&value); 959s # ret = TRUE; 959s # } 959s # return ret; 959s # } 959s # 959s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 959s # { 959s # _org_project_useful_interface_skeleton_handle_method_call, 959s # _org_project_useful_interface_skeleton_handle_get_property, 959s # _org_project_useful_interface_skeleton_handle_set_property, 959s # {NULL} 959s # }; 959s # 959s # static GDBusInterfaceInfo * 959s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return org_project_useful_interface_interface_info (); 959s # } 959s # 959s # static GDBusInterfaceVTable * 959s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 959s # } 959s # 959s # static GVariant * 959s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 959s # 959s # GVariantBuilder builder; 959s # guint n; 959s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 959s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 959s # goto out; 959s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 959s # { 959s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 959s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 959s # { 959s # GVariant *value; 959s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 959s # if (value != NULL) 959s # { 959s # g_variant_take_ref (value); 959s # g_variant_builder_add (&builder, "{sv}", info->name, value); 959s # g_variant_unref (value); 959s # } 959s # } 959s # } 959s # out: 959s # return g_variant_builder_end (&builder); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_useful_interface_skeleton_finalize (GObject *object) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 959s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 959s # if (skeleton->priv->changed_properties_idle_source != NULL) 959s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 959s # g_main_context_unref (skeleton->priv->context); 959s # g_mutex_clear (&skeleton->priv->lock); 959s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 959s # #else 959s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 959s # #endif 959s # 959s # g_mutex_init (&skeleton->priv->lock); 959s # skeleton->priv->context = g_main_context_ref_thread_default (); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusInterfaceSkeletonClass *skeleton_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 959s # 959s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 959s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 959s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 959s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 959s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_skeleton_new: 959s # * 959s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_skeleton_new (void) 959s # { 959s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 959s # } 959s # /tmp/tmpt56g2_ry/tmplzsaplmk.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt56g2_ry/tmplzsaplmk.xml', '--output', '-', '--body'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: /* 959s # * This file is generated by gdbus-codegen, do not modify it. 959s # * 959s # * The license of this code is the same as for the D-Bus interface description 959s # * it was derived from. Note that it links to GLib, so must comply with the 959s # * LGPL linking clauses. 959s # */ 959s # 959s # #ifdef HAVE_CONFIG_H 959s # # include "config.h" 959s # #endif 959s # 959s # #include 959s # #ifdef G_OS_UNIX 959s # # include 959s # #endif 959s # 959s # #ifdef G_ENABLE_DEBUG 959s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 959s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 959s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 959s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 959s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 959s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 959s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 959s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 959s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 959s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 959s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 959s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 959s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 959s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 959s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 959s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 959s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 959s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 959s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 959s # #else /* !G_ENABLE_DEBUG */ 959s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 959s # * Do not access GValues directly in your code. Instead, use the 959s # * g_value_get_*() functions 959s # */ 959s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 959s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 959s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 959s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 959s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 959s # #endif /* !G_ENABLE_DEBUG */ 959s # 959s # typedef struct 959s # { 959s # GDBusArgInfo parent_struct; 959s # gboolean use_gvariant; 959s # } _ExtendedGDBusArgInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusMethodInfo parent_struct; 959s # const gchar *signal_name; 959s # gboolean pass_fdlist; 959s # } _ExtendedGDBusMethodInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusSignalInfo parent_struct; 959s # const gchar *signal_name; 959s # } _ExtendedGDBusSignalInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusPropertyInfo parent_struct; 959s # const gchar *hyphen_name; 959s # guint use_gvariant : 1; 959s # guint emits_changed_signal : 1; 959s # } _ExtendedGDBusPropertyInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusInterfaceInfo parent_struct; 959s # const gchar *hyphen_name; 959s # } _ExtendedGDBusInterfaceInfo; 959s # 959s # typedef struct 959s # { 959s # const _ExtendedGDBusPropertyInfo *info; 959s # guint prop_id; 959s # GValue orig_value; /* the value before the change */ 959s # } ChangedProperty; 959s # 959s # static void 959s # _changed_property_free (ChangedProperty *data) 959s # { 959s # g_value_unset (&data->orig_value); 959s # g_free (data); 959s # } 959s # 959s # static gboolean 959s # _g_strv_equal0 (gchar **a, gchar **b) 959s # { 959s # gboolean ret = FALSE; 959s # guint n; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # if (g_strv_length (a) != g_strv_length (b)) 959s # goto out; 959s # for (n = 0; a[n] != NULL; n++) 959s # if (g_strcmp0 (a[n], b[n]) != 0) 959s # goto out; 959s # ret = TRUE; 959s # out: 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _g_variant_equal0 (GVariant *a, GVariant *b) 959s # { 959s # gboolean ret = FALSE; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # ret = g_variant_equal (a, b); 959s # out: 959s # return ret; 959s # } 959s # 959s # G_GNUC_UNUSED static gboolean 959s # _g_value_equal (const GValue *a, const GValue *b) 959s # { 959s # gboolean ret = FALSE; 959s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 959s # switch (G_VALUE_TYPE (a)) 959s # { 959s # case G_TYPE_BOOLEAN: 959s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 959s # break; 959s # case G_TYPE_UCHAR: 959s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 959s # break; 959s # case G_TYPE_INT: 959s # ret = (g_value_get_int (a) == g_value_get_int (b)); 959s # break; 959s # case G_TYPE_UINT: 959s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 959s # break; 959s # case G_TYPE_INT64: 959s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 959s # break; 959s # case G_TYPE_UINT64: 959s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 959s # break; 959s # case G_TYPE_DOUBLE: 959s # { 959s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 959s # gdouble da = g_value_get_double (a); 959s # gdouble db = g_value_get_double (b); 959s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 959s # } 959s # break; 959s # case G_TYPE_STRING: 959s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 959s # break; 959s # case G_TYPE_VARIANT: 959s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 959s # break; 959s # default: 959s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 959s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 959s # else 959s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 959s # break; 959s # } 959s # return ret; 959s # } 959s # 959s # static void 959s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint G_GNUC_UNUSED, 959s # void *marshal_data) 959s # { 959s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 959s # (void *data1, 959s # GDBusMethodInvocation *arg_method_invocation, 959s # void *data2); 959s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 959s # GCClosure *cc = (GCClosure*) closure; 959s # void *data1, *data2; 959s # gboolean v_return; 959s # 959s # g_return_if_fail (return_value != NULL); 959s # g_return_if_fail (n_param_values == 2); 959s # 959s # if (G_CCLOSURE_SWAP_DATA (closure)) 959s # { 959s # data1 = closure->data; 959s # data2 = g_value_peek_pointer (param_values + 0); 959s # } 959s # else 959s # { 959s # data1 = g_value_peek_pointer (param_values + 0); 959s # data2 = closure->data; 959s # } 959s # 959s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 959s # (marshal_data ? marshal_data : cc->callback); 959s # 959s # v_return = 959s # callback (data1, 959s # g_marshal_value_peek_object (param_values + 1), 959s # data2); 959s # 959s # g_value_set_boolean (return_value, v_return); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ 959s # * Code for interface org.project.UsefulInterface 959s # * ------------------------------------------------------------------------ 959s # */ 959s # 959s # /** 959s # * SECTION:OrgProjectUsefulInterface 959s # * @title: OrgProjectUsefulInterface 959s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 959s # * 959s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 959s # */ 959s # 959s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 959s # { 959s # { 959s # -1, 959s # (gchar *) "arg_d", 959s # (gchar *) "d", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 959s # { 959s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgMethodD", 959s # NULL, 959s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 959s # NULL 959s # }, 959s # "handle-single-arg-method-d", 959s # FALSE 959s # }; 959s # 959s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 959s # { 959s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 959s # { 959s # { 959s # -1, 959s # (gchar *) "org.project.UsefulInterface", 959s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 959s # NULL, 959s # NULL, 959s # NULL 959s # }, 959s # "org-project-useful-interface", 959s # }; 959s # 959s # 959s # /** 959s # * org_project_useful_interface_interface_info: 959s # * 959s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 959s # * 959s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 959s # */ 959s # GDBusInterfaceInfo * 959s # org_project_useful_interface_interface_info (void) 959s # { 959s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_override_properties: 959s # * @klass: The class structure for a #GObject derived class. 959s # * @property_id_begin: The property id to assign to the first overridden property. 959s # * 959s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 959s # * The properties are overridden in the order they are defined. 959s # * 959s # * Returns: The last property id. 959s # */ 959s # guint 959s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 959s # { 959s # return property_id_begin - 1; 959s # } 959s # 959s # 959s # inline static void 959s # org_project_useful_interface_method_marshal_single_arg_method_d ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # 959s # /** 959s # * OrgProjectUsefulInterface: 959s # * 959s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceIface: 959s # * @parent_iface: The parent interface. 959s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 959s # * 959s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 959s # */ 959s # 959s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 959s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 959s # 959s # static void 959s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 959s # { 959s # /* GObject signals for incoming D-Bus method calls: */ 959s # /** 959s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 959s # * @object: A #OrgProjectUsefulInterface. 959s # * @invocation: A #GDBusMethodInvocation. 959s # * 959s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 959s # * 959s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_d() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 959s # * 959s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 959s # */ 959s # g_signal_new ("handle-single-arg-method-d", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 959s # g_signal_accumulator_true_handled, 959s # NULL, 959s # org_project_useful_interface_method_marshal_single_arg_method_d, 959s # G_TYPE_BOOLEAN, 959s # 1, 959s # G_TYPE_DBUS_METHOD_INVOCATION); 959s # 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_d: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 959s # */ 959s # void 959s # org_project_useful_interface_call_single_arg_method_d ( 959s # OrgProjectUsefulInterface *proxy, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 959s # "SingleArgMethodD", 959s # g_variant_new ("()"), 959s # G_DBUS_CALL_FLAGS_NONE, 959s # -1, 959s # cancellable, 959s # callback, 959s # user_data); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_d_finish: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 959s # * @error: Return location for error or %NULL. 959s # * 959s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 959s # * 959s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 959s # */ 959s # gboolean 959s # org_project_useful_interface_call_single_arg_method_d_finish ( 959s # OrgProjectUsefulInterface *proxy, 959s # gdouble *out_arg_d, 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GVariant *_ret; 959s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 959s # if (_ret == NULL) 959s # goto _out; 959s # g_variant_get (_ret, 959s # "(d)", 959s # out_arg_d); 959s # g_variant_unref (_ret); 959s # _out: 959s # return _ret != NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_d_sync: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL. 959s # * 959s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 959s # * 959s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 959s # */ 959s # gboolean 959s # org_project_useful_interface_call_single_arg_method_d_sync ( 959s # OrgProjectUsefulInterface *proxy, 959s # gdouble *out_arg_d, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GVariant *_ret; 959s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 959s # "SingleArgMethodD", 959s # g_variant_new ("()"), 959s # G_DBUS_CALL_FLAGS_NONE, 959s # -1, 959s # cancellable, 959s # error); 959s # if (_ret == NULL) 959s # goto _out; 959s # g_variant_get (_ret, 959s # "(d)", 959s # out_arg_d); 959s # g_variant_unref (_ret); 959s # _out: 959s # return _ret != NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_complete_single_arg_method_d: 959s # * @object: A #OrgProjectUsefulInterface. 959s # * @invocation: (transfer full): A #GDBusMethodInvocation. 959s # * @arg_d: Parameter to return. 959s # * 959s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodD() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 959s # * 959s # * This method will free @invocation, you cannot use it afterwards. 959s # */ 959s # void 959s # org_project_useful_interface_complete_single_arg_method_d ( 959s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 959s # GDBusMethodInvocation *invocation, 959s # gdouble arg_d) 959s # { 959s # g_dbus_method_invocation_return_value (invocation, 959s # g_variant_new ("(d)", 959s # arg_d)); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceProxy: 959s # * 959s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceProxyClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectUsefulInterfaceProxy. 959s # */ 959s # 959s # struct _OrgProjectUsefulInterfaceProxyPrivate 959s # { 959s # GData *qdata; 959s # }; 959s # 959s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 959s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_useful_interface_proxy_finalize (GObject *object) 959s # { 959s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 959s # g_datalist_clear (&proxy->priv->qdata); 959s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # const GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 959s # const gchar *sender_name G_GNUC_UNUSED, 959s # const gchar *signal_name, 959s # GVariant *parameters) 959s # { 959s # _ExtendedGDBusSignalInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # gsize n; 959s # guint signal_id; 959s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 959s # if (info == NULL) 959s # return; 959s # num_params = g_variant_n_children (parameters); 959s # paramv = g_new0 (GValue, num_params + 1); 959s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_set_object (¶mv[0], proxy); 959s # g_variant_iter_init (&iter, parameters); 959s # n = 1; 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_signal_emitv (paramv, signal_id, 0, NULL); 959s # for (n = 0; n < num_params + 1; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 959s # GVariant *changed_properties, 959s # const gchar *const *invalidated_properties) 959s # { 959s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 959s # guint n; 959s # const gchar *key; 959s # GVariantIter *iter; 959s # _ExtendedGDBusPropertyInfo *info; 959s # g_variant_get (changed_properties, "a{sv}", &iter); 959s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 959s # g_datalist_remove_data (&proxy->priv->qdata, key); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # g_variant_iter_free (iter); 959s # for (n = 0; invalidated_properties[n] != NULL; n++) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 959s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 959s # #else 959s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 959s # #endif 959s # 959s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusProxyClass *proxy_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 959s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 959s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 959s # 959s # proxy_class = G_DBUS_PROXY_CLASS (klass); 959s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 959s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_useful_interface_proxy_new ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_sync: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_sync ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_useful_interface_proxy_new_for_bus ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_for_bus_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus_sync: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_for_bus_sync ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceSkeleton: 959s # * 959s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceSkeletonClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 959s # */ 959s # 959s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 959s # { 959s # GValue *properties; 959s # GList *changed_properties; 959s # GSource *changed_properties_idle_source; 959s # GMainContext *context; 959s # GMutex lock; 959s # }; 959s # 959s # static void 959s # _org_project_useful_interface_skeleton_handle_method_call ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name, 959s # const gchar *method_name, 959s # GVariant *parameters, 959s # GDBusMethodInvocation *invocation, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # _ExtendedGDBusMethodInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # guint num_extra; 959s # gsize n; 959s # guint signal_id; 959s # GValue return_value = G_VALUE_INIT; 959s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 959s # g_assert (info != NULL); 959s # num_params = g_variant_n_children (parameters); 959s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 959s # n = 0; 959s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_set_object (¶mv[n++], skeleton); 959s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 959s # g_value_set_object (¶mv[n++], invocation); 959s # if (info->pass_fdlist) 959s # { 959s # #ifdef G_OS_UNIX 959s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 959s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 959s # #else 959s # g_assert_not_reached (); 959s # #endif 959s # } 959s # g_variant_iter_init (&iter, parameters); 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_init (&return_value, G_TYPE_BOOLEAN); 959s # g_signal_emitv (paramv, signal_id, 0, &return_value); 959s # if (!g_value_get_boolean (&return_value)) 959s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 959s # g_value_unset (&return_value); 959s # for (n = 0; n < num_params + num_extra; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static GVariant * 959s # _org_project_useful_interface_skeleton_handle_get_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # GVariant *ret; 959s # ret = NULL; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # g_value_init (&value, pspec->value_type); 959s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 959s # g_value_unset (&value); 959s # } 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _org_project_useful_interface_skeleton_handle_set_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GVariant *variant, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # gboolean ret; 959s # ret = FALSE; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # if (info->use_gvariant) 959s # g_value_set_variant (&value, variant); 959s # else 959s # g_dbus_gvariant_to_gvalue (variant, &value); 959s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # g_value_unset (&value); 959s # ret = TRUE; 959s # } 959s # return ret; 959s # } 959s # 959s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 959s # { 959s # _org_project_useful_interface_skeleton_handle_method_call, 959s # _org_project_useful_interface_skeleton_handle_get_property, 959s # _org_project_useful_interface_skeleton_handle_set_property, 959s # {NULL} 959s # }; 959s # 959s # static GDBusInterfaceInfo * 959s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return org_project_useful_interface_interface_info (); 959s # } 959s # 959s # static GDBusInterfaceVTable * 959s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 959s # } 959s # 959s # static GVariant * 959s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 959s # 959s # GVariantBuilder builder; 959s # guint n; 959s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 959s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 959s # goto out; 959s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 959s # { 959s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 959s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 959s # { 959s # GVariant *value; 959s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 959s # if (value != NULL) 959s # { 959s # g_variant_take_ref (value); 959s # g_variant_builder_add (&builder, "{sv}", info->name, value); 959s # g_variant_unref (value); 959s # } 959s # } 959s # } 959s # out: 959s # return g_variant_builder_end (&builder); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_useful_interface_skeleton_finalize (GObject *object) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 959s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 959s # if (skeleton->priv->changed_properties_idle_source != NULL) 959s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 959s # g_main_context_unref (skeleton->priv->context); 959s # g_mutex_clear (&skeleton->priv->lock); 959s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 959s # #else 959s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 959s # #endif 959s # 959s # g_mutex_init (&skeleton->priv->lock); 959s # skeleton->priv->context = g_main_context_ref_thread_default (); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusInterfaceSkeletonClass *skeleton_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 959s # 959s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 959s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 959s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 959s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 959s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_skeleton_new: 959s # * 959s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_skeleton_new (void) 959s # { 959s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 959s # } 959s # /tmp/tmpt56g2_ry/tmplm95c_f5.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt56g2_ry/tmplm95c_f5.xml', '--output', '-', '--body'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: /* 959s # * This file is generated by gdbus-codegen, do not modify it. 959s # * 959s # * The license of this code is the same as for the D-Bus interface description 959s # * it was derived from. Note that it links to GLib, so must comply with the 959s # * LGPL linking clauses. 959s # */ 959s # 959s # #ifdef HAVE_CONFIG_H 959s # # include "config.h" 959s # #endif 959s # 959s # #include 959s # #ifdef G_OS_UNIX 959s # # include 959s # #endif 959s # 959s # #ifdef G_ENABLE_DEBUG 959s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 959s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 959s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 959s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 959s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 959s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 959s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 959s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 959s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 959s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 959s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 959s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 959s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 959s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 959s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 959s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 959s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 959s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 959s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 959s # #else /* !G_ENABLE_DEBUG */ 959s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 959s # * Do not access GValues directly in your code. Instead, use the 959s # * g_value_get_*() functions 959s # */ 959s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 959s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 959s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 959s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 959s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 959s # #endif /* !G_ENABLE_DEBUG */ 959s # 959s # typedef struct 959s # { 959s # GDBusArgInfo parent_struct; 959s # gboolean use_gvariant; 959s # } _ExtendedGDBusArgInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusMethodInfo parent_struct; 959s # const gchar *signal_name; 959s # gboolean pass_fdlist; 959s # } _ExtendedGDBusMethodInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusSignalInfo parent_struct; 959s # const gchar *signal_name; 959s # } _ExtendedGDBusSignalInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusPropertyInfo parent_struct; 959s # const gchar *hyphen_name; 959s # guint use_gvariant : 1; 959s # guint emits_changed_signal : 1; 959s # } _ExtendedGDBusPropertyInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusInterfaceInfo parent_struct; 959s # const gchar *hyphen_name; 959s # } _ExtendedGDBusInterfaceInfo; 959s # 959s # typedef struct 959s # { 959s # const _ExtendedGDBusPropertyInfo *info; 959s # guint prop_id; 959s # GValue orig_value; /* the value before the change */ 959s # } ChangedProperty; 959s # 959s # static void 959s # _changed_property_free (ChangedProperty *data) 959s # { 959s # g_value_unset (&data->orig_value); 959s # g_free (data); 959s # } 959s # 959s # static gboolean 959s # _g_strv_equal0 (gchar **a, gchar **b) 959s # { 959s # gboolean ret = FALSE; 959s # guint n; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # if (g_strv_length (a) != g_strv_length (b)) 959s # goto out; 959s # for (n = 0; a[n] != NULL; n++) 959s # if (g_strcmp0 (a[n], b[n]) != 0) 959s # goto out; 959s # ret = TRUE; 959s # out: 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _g_variant_equal0 (GVariant *a, GVariant *b) 959s # { 959s # gboolean ret = FALSE; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # ret = g_variant_equal (a, b); 959s # out: 959s # return ret; 959s # } 959s # 959s # G_GNUC_UNUSED static gboolean 959s # _g_value_equal (const GValue *a, const GValue *b) 959s # { 959s # gboolean ret = FALSE; 959s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 959s # switch (G_VALUE_TYPE (a)) 959s # { 959s # case G_TYPE_BOOLEAN: 959s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 959s # break; 959s # case G_TYPE_UCHAR: 959s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 959s # break; 959s # case G_TYPE_INT: 959s # ret = (g_value_get_int (a) == g_value_get_int (b)); 959s # break; 959s # case G_TYPE_UINT: 959s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 959s # break; 959s # case G_TYPE_INT64: 959s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 959s # break; 959s # case G_TYPE_UINT64: 959s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 959s # break; 959s # case G_TYPE_DOUBLE: 959s # { 959s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 959s # gdouble da = g_value_get_double (a); 959s # gdouble db = g_value_get_double (b); 959s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 959s # } 959s # break; 959s # case G_TYPE_STRING: 959s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 959s # break; 959s # case G_TYPE_VARIANT: 959s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 959s # break; 959s # default: 959s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 959s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 959s # else 959s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 959s # break; 959s # } 959s # return ret; 959s # } 959s # 959s # static void 959s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint G_GNUC_UNUSED, 959s # void *marshal_data) 959s # { 959s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 959s # (void *data1, 959s # GDBusMethodInvocation *arg_method_invocation, 959s # void *data2); 959s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 959s # GCClosure *cc = (GCClosure*) closure; 959s # void *data1, *data2; 959s # gboolean v_return; 959s # 959s # g_return_if_fail (return_value != NULL); 959s # g_return_if_fail (n_param_values == 2); 959s # 959s # if (G_CCLOSURE_SWAP_DATA (closure)) 959s # { 959s # data1 = closure->data; 959s # data2 = g_value_peek_pointer (param_values + 0); 959s # } 959s # else 959s # { 959s # data1 = g_value_peek_pointer (param_values + 0); 959s # data2 = closure->data; 959s # } 959s # 959s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 959s # (marshal_data ? marshal_data : cc->callback); 959s # 959s # v_return = 959s # callback (data1, 959s # g_marshal_value_peek_object (param_values + 1), 959s # data2); 959s # 959s # g_value_set_boolean (return_value, v_return); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ 959s # * Code for interface org.project.UsefulInterface 959s # * ------------------------------------------------------------------------ 959s # */ 959s # 959s # /** 959s # * SECTION:OrgProjectUsefulInterface 959s # * @title: OrgProjectUsefulInterface 959s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 959s # * 959s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 959s # */ 959s # 959s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 959s # { 959s # { 959s # -1, 959s # (gchar *) "arg_s", 959s # (gchar *) "s", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 959s # { 959s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgMethodS", 959s # NULL, 959s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 959s # NULL 959s # }, 959s # "handle-single-arg-method-s", 959s # FALSE 959s # }; 959s # 959s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 959s # { 959s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 959s # { 959s # { 959s # -1, 959s # (gchar *) "org.project.UsefulInterface", 959s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 959s # NULL, 959s # NULL, 959s # NULL 959s # }, 959s # "org-project-useful-interface", 959s # }; 959s # 959s # 959s # /** 959s # * org_project_useful_interface_interface_info: 959s # * 959s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 959s # * 959s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 959s # */ 959s # GDBusInterfaceInfo * 959s # org_project_useful_interface_interface_info (void) 959s # { 959s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_override_properties: 959s # * @klass: The class structure for a #GObject derived class. 959s # * @property_id_begin: The property id to assign to the first overridden property. 959s # * 959s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 959s # * The properties are overridden in the order they are defined. 959s # * 959s # * Returns: The last property id. 959s # */ 959s # guint 959s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 959s # { 959s # return property_id_begin - 1; 959s # } 959s # 959s # 959s # inline static void 959s # org_project_useful_interface_method_marshal_single_arg_method_s ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # 959s # /** 959s # * OrgProjectUsefulInterface: 959s # * 959s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceIface: 959s # * @parent_iface: The parent interface. 959s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 959s # * 959s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 959s # */ 959s # 959s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 959s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 959s # 959s # static void 959s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 959s # { 959s # /* GObject signals for incoming D-Bus method calls: */ 959s # /** 959s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 959s # * @object: A #OrgProjectUsefulInterface. 959s # * @invocation: A #GDBusMethodInvocation. 959s # * 959s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 959s # * 959s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_s() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 959s # * 959s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 959s # */ 959s # g_signal_new ("handle-single-arg-method-s", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 959s # g_signal_accumulator_true_handled, 959s # NULL, 959s # org_project_useful_interface_method_marshal_single_arg_method_s, 959s # G_TYPE_BOOLEAN, 959s # 1, 959s # G_TYPE_DBUS_METHOD_INVOCATION); 959s # 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_s: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 959s # */ 959s # void 959s # org_project_useful_interface_call_single_arg_method_s ( 959s # OrgProjectUsefulInterface *proxy, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 959s # "SingleArgMethodS", 959s # g_variant_new ("()"), 959s # G_DBUS_CALL_FLAGS_NONE, 959s # -1, 959s # cancellable, 959s # callback, 959s # user_data); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_s_finish: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 959s # * @error: Return location for error or %NULL. 959s # * 959s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 959s # * 959s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 959s # */ 959s # gboolean 959s # org_project_useful_interface_call_single_arg_method_s_finish ( 959s # OrgProjectUsefulInterface *proxy, 959s # gchar **out_arg_s, 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GVariant *_ret; 959s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 959s # if (_ret == NULL) 959s # goto _out; 959s # g_variant_get (_ret, 959s # "(s)", 959s # out_arg_s); 959s # g_variant_unref (_ret); 959s # _out: 959s # return _ret != NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_s_sync: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL. 959s # * 959s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 959s # * 959s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 959s # */ 959s # gboolean 959s # org_project_useful_interface_call_single_arg_method_s_sync ( 959s # OrgProjectUsefulInterface *proxy, 959s # gchar **out_arg_s, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GVariant *_ret; 959s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 959s # "SingleArgMethodS", 959s # g_variant_new ("()"), 959s # G_DBUS_CALL_FLAGS_NONE, 959s # -1, 959s # cancellable, 959s # error); 959s # if (_ret == NULL) 959s # goto _out; 959s # g_variant_get (_ret, 959s # "(s)", 959s # out_arg_s); 959s # g_variant_unref (_ret); 959s # _out: 959s # return _ret != NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_complete_single_arg_method_s: 959s # * @object: A #OrgProjectUsefulInterface. 959s # * @invocation: (transfer full): A #GDBusMethodInvocation. 959s # * @arg_s: Parameter to return. 959s # * 959s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodS() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 959s # * 959s # * This method will free @invocation, you cannot use it afterwards. 959s # */ 959s # void 959s # org_project_useful_interface_complete_single_arg_method_s ( 959s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 959s # GDBusMethodInvocation *invocation, 959s # const gchar *arg_s) 959s # { 959s # g_dbus_method_invocation_return_value (invocation, 959s # g_variant_new ("(s)", 959s # arg_s)); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceProxy: 959s # * 959s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceProxyClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectUsefulInterfaceProxy. 959s # */ 959s # 959s # struct _OrgProjectUsefulInterfaceProxyPrivate 959s # { 959s # GData *qdata; 959s # }; 959s # 959s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 959s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_useful_interface_proxy_finalize (GObject *object) 959s # { 959s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 959s # g_datalist_clear (&proxy->priv->qdata); 959s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # const GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 959s # const gchar *sender_name G_GNUC_UNUSED, 959s # const gchar *signal_name, 959s # GVariant *parameters) 959s # { 959s # _ExtendedGDBusSignalInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # gsize n; 959s # guint signal_id; 959s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 959s # if (info == NULL) 959s # return; 959s # num_params = g_variant_n_children (parameters); 959s # paramv = g_new0 (GValue, num_params + 1); 959s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_set_object (¶mv[0], proxy); 959s # g_variant_iter_init (&iter, parameters); 959s # n = 1; 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_signal_emitv (paramv, signal_id, 0, NULL); 959s # for (n = 0; n < num_params + 1; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 959s # GVariant *changed_properties, 959s # const gchar *const *invalidated_properties) 959s # { 959s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 959s # guint n; 959s # const gchar *key; 959s # GVariantIter *iter; 959s # _ExtendedGDBusPropertyInfo *info; 959s # g_variant_get (changed_properties, "a{sv}", &iter); 959s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 959s # g_datalist_remove_data (&proxy->priv->qdata, key); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # g_variant_iter_free (iter); 959s # for (n = 0; invalidated_properties[n] != NULL; n++) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 959s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 959s # #else 959s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 959s # #endif 959s # 959s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusProxyClass *proxy_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 959s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 959s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 959s # 959s # proxy_class = G_DBUS_PROXY_CLASS (klass); 959s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 959s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_useful_interface_proxy_new ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_sync: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_sync ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_useful_interface_proxy_new_for_bus ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_for_bus_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus_sync: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_for_bus_sync ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceSkeleton: 959s # * 959s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceSkeletonClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 959s # */ 959s # 959s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 959s # { 959s # GValue *properties; 959s # GList *changed_properties; 959s # GSource *changed_properties_idle_source; 959s # GMainContext *context; 959s # GMutex lock; 959s # }; 959s # 959s # static void 959s # _org_project_useful_interface_skeleton_handle_method_call ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name, 959s # const gchar *method_name, 959s # GVariant *parameters, 959s # GDBusMethodInvocation *invocation, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # _ExtendedGDBusMethodInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # guint num_extra; 959s # gsize n; 959s # guint signal_id; 959s # GValue return_value = G_VALUE_INIT; 959s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 959s # g_assert (info != NULL); 959s # num_params = g_variant_n_children (parameters); 959s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 959s # n = 0; 959s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_set_object (¶mv[n++], skeleton); 959s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 959s # g_value_set_object (¶mv[n++], invocation); 959s # if (info->pass_fdlist) 959s # { 959s # #ifdef G_OS_UNIX 959s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 959s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 959s # #else 959s # g_assert_not_reached (); 959s # #endif 959s # } 959s # g_variant_iter_init (&iter, parameters); 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_init (&return_value, G_TYPE_BOOLEAN); 959s # g_signal_emitv (paramv, signal_id, 0, &return_value); 959s # if (!g_value_get_boolean (&return_value)) 959s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 959s # g_value_unset (&return_value); 959s # for (n = 0; n < num_params + num_extra; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static GVariant * 959s # _org_project_useful_interface_skeleton_handle_get_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # GVariant *ret; 959s # ret = NULL; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # g_value_init (&value, pspec->value_type); 959s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 959s # g_value_unset (&value); 959s # } 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _org_project_useful_interface_skeleton_handle_set_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GVariant *variant, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # gboolean ret; 959s # ret = FALSE; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # if (info->use_gvariant) 959s # g_value_set_variant (&value, variant); 959s # else 959s # g_dbus_gvariant_to_gvalue (variant, &value); 959s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # g_value_unset (&value); 959s # ret = TRUE; 959s # } 959s # return ret; 959s # } 959s # 959s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 959s # { 959s # _org_project_useful_interface_skeleton_handle_method_call, 959s # _org_project_useful_interface_skeleton_handle_get_property, 959s # _org_project_useful_interface_skeleton_handle_set_property, 959s # {NULL} 959s # }; 959s # 959s # static GDBusInterfaceInfo * 959s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return org_project_useful_interface_interface_info (); 959s # } 959s # 959s # static GDBusInterfaceVTable * 959s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 959s # } 959s # 959s # static GVariant * 959s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 959s # 959s # GVariantBuilder builder; 959s # guint n; 959s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 959s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 959s # goto out; 959s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 959s # { 959s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 959s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 959s # { 959s # GVariant *value; 959s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 959s # if (value != NULL) 959s # { 959s # g_variant_take_ref (value); 959s # g_variant_builder_add (&builder, "{sv}", info->name, value); 959s # g_variant_unref (value); 959s # } 959s # } 959s # } 959s # out: 959s # return g_variant_builder_end (&builder); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_useful_interface_skeleton_finalize (GObject *object) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 959s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 959s # if (skeleton->priv->changed_properties_idle_source != NULL) 959s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 959s # g_main_context_unref (skeleton->priv->context); 959s # g_mutex_clear (&skeleton->priv->lock); 959s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 959s # #else 959s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 959s # #endif 959s # 959s # g_mutex_init (&skeleton->priv->lock); 959s # skeleton->priv->context = g_main_context_ref_thread_default (); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusInterfaceSkeletonClass *skeleton_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 959s # 959s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 959s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 959s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 959s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 959s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_skeleton_new: 959s # * 959s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_skeleton_new (void) 959s # { 959s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 959s # } 959s # /tmp/tmpt56g2_ry/tmpz840xy2j.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt56g2_ry/tmpz840xy2j.xml', '--output', '-', '--body'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: /* 959s # * This file is generated by gdbus-codegen, do not modify it. 959s # * 959s # * The license of this code is the same as for the D-Bus interface description 959s # * it was derived from. Note that it links to GLib, so must comply with the 959s # * LGPL linking clauses. 959s # */ 959s # 959s # #ifdef HAVE_CONFIG_H 959s # # include "config.h" 959s # #endif 959s # 959s # #include 959s # #ifdef G_OS_UNIX 959s # # include 959s # #endif 959s # 959s # #ifdef G_ENABLE_DEBUG 959s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 959s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 959s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 959s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 959s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 959s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 959s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 959s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 959s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 959s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 959s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 959s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 959s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 959s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 959s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 959s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 959s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 959s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 959s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 959s # #else /* !G_ENABLE_DEBUG */ 959s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 959s # * Do not access GValues directly in your code. Instead, use the 959s # * g_value_get_*() functions 959s # */ 959s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 959s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 959s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 959s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 959s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 959s # #endif /* !G_ENABLE_DEBUG */ 959s # 959s # typedef struct 959s # { 959s # GDBusArgInfo parent_struct; 959s # gboolean use_gvariant; 959s # } _ExtendedGDBusArgInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusMethodInfo parent_struct; 959s # const gchar *signal_name; 959s # gboolean pass_fdlist; 959s # } _ExtendedGDBusMethodInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusSignalInfo parent_struct; 959s # const gchar *signal_name; 959s # } _ExtendedGDBusSignalInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusPropertyInfo parent_struct; 959s # const gchar *hyphen_name; 959s # guint use_gvariant : 1; 959s # guint emits_changed_signal : 1; 959s # } _ExtendedGDBusPropertyInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusInterfaceInfo parent_struct; 959s # const gchar *hyphen_name; 959s # } _ExtendedGDBusInterfaceInfo; 959s # 959s # typedef struct 959s # { 959s # const _ExtendedGDBusPropertyInfo *info; 959s # guint prop_id; 959s # GValue orig_value; /* the value before the change */ 959s # } ChangedProperty; 959s # 959s # static void 959s # _changed_property_free (ChangedProperty *data) 959s # { 959s # g_value_unset (&data->orig_value); 959s # g_free (data); 959s # } 959s # 959s # static gboolean 959s # _g_strv_equal0 (gchar **a, gchar **b) 959s # { 959s # gboolean ret = FALSE; 959s # guint n; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # if (g_strv_length (a) != g_strv_length (b)) 959s # goto out; 959s # for (n = 0; a[n] != NULL; n++) 959s # if (g_strcmp0 (a[n], b[n]) != 0) 959s # goto out; 959s # ret = TRUE; 959s # out: 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _g_variant_equal0 (GVariant *a, GVariant *b) 959s # { 959s # gboolean ret = FALSE; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # ret = g_variant_equal (a, b); 959s # out: 959s # return ret; 959s # } 959s # 959s # G_GNUC_UNUSED static gboolean 959s # _g_value_equal (const GValue *a, const GValue *b) 959s # { 959s # gboolean ret = FALSE; 959s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 959s # switch (G_VALUE_TYPE (a)) 959s # { 959s # case G_TYPE_BOOLEAN: 959s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 959s # break; 959s # case G_TYPE_UCHAR: 959s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 959s # break; 959s # case G_TYPE_INT: 959s # ret = (g_value_get_int (a) == g_value_get_int (b)); 959s # break; 959s # case G_TYPE_UINT: 959s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 959s # break; 959s # case G_TYPE_INT64: 959s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 959s # break; 959s # case G_TYPE_UINT64: 959s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 959s # break; 959s # case G_TYPE_DOUBLE: 959s # { 959s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 959s # gdouble da = g_value_get_double (a); 959s # gdouble db = g_value_get_double (b); 959s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 959s # } 959s # break; 959s # case G_TYPE_STRING: 959s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 959s # break; 959s # case G_TYPE_VARIANT: 959s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 959s # break; 959s # default: 959s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 959s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 959s # else 959s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 959s # break; 959s # } 959s # return ret; 959s # } 959s # 959s # static void 959s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint G_GNUC_UNUSED, 959s # void *marshal_data) 959s # { 959s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 959s # (void *data1, 959s # GDBusMethodInvocation *arg_method_invocation, 959s # void *data2); 959s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 959s # GCClosure *cc = (GCClosure*) closure; 959s # void *data1, *data2; 959s # gboolean v_return; 959s # 959s # g_return_if_fail (return_value != NULL); 959s # g_return_if_fail (n_param_values == 2); 959s # 959s # if (G_CCLOSURE_SWAP_DATA (closure)) 959s # { 959s # data1 = closure->data; 959s # data2 = g_value_peek_pointer (param_values + 0); 959s # } 959s # else 959s # { 959s # data1 = g_value_peek_pointer (param_values + 0); 959s # data2 = closure->data; 959s # } 959s # 959s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 959s # (marshal_data ? marshal_data : cc->callback); 959s # 959s # v_return = 959s # callback (data1, 959s # g_marshal_value_peek_object (param_values + 1), 959s # data2); 959s # 959s # g_value_set_boolean (return_value, v_return); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ 959s # * Code for interface org.project.UsefulInterface 959s # * ------------------------------------------------------------------------ 959s # */ 959s # 959s # /** 959s # * SECTION:OrgProjectUsefulInterface 959s # * @title: OrgProjectUsefulInterface 959s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 959s # * 959s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 959s # */ 959s # 959s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 959s # { 959s # { 959s # -1, 959s # (gchar *) "arg_o", 959s # (gchar *) "o", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 959s # { 959s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgMethodO", 959s # NULL, 959s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 959s # NULL 959s # }, 959s # "handle-single-arg-method-o", 959s # FALSE 959s # }; 959s # 959s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 959s # { 959s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 959s # { 959s # { 959s # -1, 959s # (gchar *) "org.project.UsefulInterface", 959s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 959s # NULL, 959s # NULL, 959s # NULL 959s # }, 959s # "org-project-useful-interface", 959s # }; 959s # 959s # 959s # /** 959s # * org_project_useful_interface_interface_info: 959s # * 959s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 959s # * 959s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 959s # */ 959s # GDBusInterfaceInfo * 959s # org_project_useful_interface_interface_info (void) 959s # { 959s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_override_properties: 959s # * @klass: The class structure for a #GObject derived class. 959s # * @property_id_begin: The property id to assign to the first overridden property. 959s # * 959s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 959s # * The properties are overridden in the order they are defined. 959s # * 959s # * Returns: The last property id. 959s # */ 959s # guint 959s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 959s # { 959s # return property_id_begin - 1; 959s # } 959s # 959s # 959s # inline static void 959s # org_project_useful_interface_method_marshal_single_arg_method_o ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # 959s # /** 959s # * OrgProjectUsefulInterface: 959s # * 959s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceIface: 959s # * @parent_iface: The parent interface. 959s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 959s # * 959s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 959s # */ 959s # 959s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 959s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 959s # 959s # static void 959s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 959s # { 959s # /* GObject signals for incoming D-Bus method calls: */ 959s # /** 959s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 959s # * @object: A #OrgProjectUsefulInterface. 959s # * @invocation: A #GDBusMethodInvocation. 959s # * 959s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 959s # * 959s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_o() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 959s # * 959s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 959s # */ 959s # g_signal_new ("handle-single-arg-method-o", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 959s # g_signal_accumulator_true_handled, 959s # NULL, 959s # org_project_useful_interface_method_marshal_single_arg_method_o, 959s # G_TYPE_BOOLEAN, 959s # 1, 959s # G_TYPE_DBUS_METHOD_INVOCATION); 959s # 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_o: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 959s # */ 959s # void 959s # org_project_useful_interface_call_single_arg_method_o ( 959s # OrgProjectUsefulInterface *proxy, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 959s # "SingleArgMethodO", 959s # g_variant_new ("()"), 959s # G_DBUS_CALL_FLAGS_NONE, 959s # -1, 959s # cancellable, 959s # callback, 959s # user_data); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_o_finish: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 959s # * @error: Return location for error or %NULL. 959s # * 959s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 959s # * 959s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 959s # */ 959s # gboolean 959s # org_project_useful_interface_call_single_arg_method_o_finish ( 959s # OrgProjectUsefulInterface *proxy, 959s # gchar **out_arg_o, 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GVariant *_ret; 959s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 959s # if (_ret == NULL) 959s # goto _out; 959s # g_variant_get (_ret, 959s # "(o)", 959s # out_arg_o); 959s # g_variant_unref (_ret); 959s # _out: 959s # return _ret != NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_o_sync: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL. 959s # * 959s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 959s # * 959s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 959s # */ 959s # gboolean 959s # org_project_useful_interface_call_single_arg_method_o_sync ( 959s # OrgProjectUsefulInterface *proxy, 959s # gchar **out_arg_o, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GVariant *_ret; 959s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 959s # "SingleArgMethodO", 959s # g_variant_new ("()"), 959s # G_DBUS_CALL_FLAGS_NONE, 959s # -1, 959s # cancellable, 959s # error); 959s # if (_ret == NULL) 959s # goto _out; 959s # g_variant_get (_ret, 959s # "(o)", 959s # out_arg_o); 959s # g_variant_unref (_ret); 959s # _out: 959s # return _ret != NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_complete_single_arg_method_o: 959s # * @object: A #OrgProjectUsefulInterface. 959s # * @invocation: (transfer full): A #GDBusMethodInvocation. 959s # * @arg_o: Parameter to return. 959s # * 959s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodO() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 959s # * 959s # * This method will free @invocation, you cannot use it afterwards. 959s # */ 959s # void 959s # org_project_useful_interface_complete_single_arg_method_o ( 959s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 959s # GDBusMethodInvocation *invocation, 959s # const gchar *arg_o) 959s # { 959s # g_dbus_method_invocation_return_value (invocation, 959s # g_variant_new ("(o)", 959s # arg_o)); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceProxy: 959s # * 959s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceProxyClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectUsefulInterfaceProxy. 959s # */ 959s # 959s # struct _OrgProjectUsefulInterfaceProxyPrivate 959s # { 959s # GData *qdata; 959s # }; 959s # 959s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 959s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_useful_interface_proxy_finalize (GObject *object) 959s # { 959s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 959s # g_datalist_clear (&proxy->priv->qdata); 959s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # const GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 959s # const gchar *sender_name G_GNUC_UNUSED, 959s # const gchar *signal_name, 959s # GVariant *parameters) 959s # { 959s # _ExtendedGDBusSignalInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # gsize n; 959s # guint signal_id; 959s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 959s # if (info == NULL) 959s # return; 959s # num_params = g_variant_n_children (parameters); 959s # paramv = g_new0 (GValue, num_params + 1); 959s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_set_object (¶mv[0], proxy); 959s # g_variant_iter_init (&iter, parameters); 959s # n = 1; 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_signal_emitv (paramv, signal_id, 0, NULL); 959s # for (n = 0; n < num_params + 1; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 959s # GVariant *changed_properties, 959s # const gchar *const *invalidated_properties) 959s # { 959s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 959s # guint n; 959s # const gchar *key; 959s # GVariantIter *iter; 959s # _ExtendedGDBusPropertyInfo *info; 959s # g_variant_get (changed_properties, "a{sv}", &iter); 959s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 959s # g_datalist_remove_data (&proxy->priv->qdata, key); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # g_variant_iter_free (iter); 959s # for (n = 0; invalidated_properties[n] != NULL; n++) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 959s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 959s # #else 959s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 959s # #endif 959s # 959s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusProxyClass *proxy_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 959s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 959s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 959s # 959s # proxy_class = G_DBUS_PROXY_CLASS (klass); 959s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 959s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_useful_interface_proxy_new ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_sync: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_sync ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_useful_interface_proxy_new_for_bus ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_for_bus_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus_sync: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_for_bus_sync ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceSkeleton: 959s # * 959s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceSkeletonClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 959s # */ 959s # 959s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 959s # { 959s # GValue *properties; 959s # GList *changed_properties; 959s # GSource *changed_properties_idle_source; 959s # GMainContext *context; 959s # GMutex lock; 959s # }; 959s # 959s # static void 959s # _org_project_useful_interface_skeleton_handle_method_call ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name, 959s # const gchar *method_name, 959s # GVariant *parameters, 959s # GDBusMethodInvocation *invocation, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # _ExtendedGDBusMethodInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # guint num_extra; 959s # gsize n; 959s # guint signal_id; 959s # GValue return_value = G_VALUE_INIT; 959s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 959s # g_assert (info != NULL); 959s # num_params = g_variant_n_children (parameters); 959s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 959s # n = 0; 959s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_set_object (¶mv[n++], skeleton); 959s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 959s # g_value_set_object (¶mv[n++], invocation); 959s # if (info->pass_fdlist) 959s # { 959s # #ifdef G_OS_UNIX 959s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 959s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 959s # #else 959s # g_assert_not_reached (); 959s # #endif 959s # } 959s # g_variant_iter_init (&iter, parameters); 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_init (&return_value, G_TYPE_BOOLEAN); 959s # g_signal_emitv (paramv, signal_id, 0, &return_value); 959s # if (!g_value_get_boolean (&return_value)) 959s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 959s # g_value_unset (&return_value); 959s # for (n = 0; n < num_params + num_extra; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static GVariant * 959s # _org_project_useful_interface_skeleton_handle_get_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # GVariant *ret; 959s # ret = NULL; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # g_value_init (&value, pspec->value_type); 959s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 959s # g_value_unset (&value); 959s # } 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _org_project_useful_interface_skeleton_handle_set_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GVariant *variant, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # gboolean ret; 959s # ret = FALSE; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # if (info->use_gvariant) 959s # g_value_set_variant (&value, variant); 959s # else 959s # g_dbus_gvariant_to_gvalue (variant, &value); 959s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # g_value_unset (&value); 959s # ret = TRUE; 959s # } 959s # return ret; 959s # } 959s # 959s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 959s # { 959s # _org_project_useful_interface_skeleton_handle_method_call, 959s # _org_project_useful_interface_skeleton_handle_get_property, 959s # _org_project_useful_interface_skeleton_handle_set_property, 959s # {NULL} 959s # }; 959s # 959s # static GDBusInterfaceInfo * 959s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return org_project_useful_interface_interface_info (); 959s # } 959s # 959s # static GDBusInterfaceVTable * 959s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 959s # } 959s # 959s # static GVariant * 959s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 959s # 959s # GVariantBuilder builder; 959s # guint n; 959s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 959s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 959s # goto out; 959s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 959s # { 959s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 959s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 959s # { 959s # GVariant *value; 959s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 959s # if (value != NULL) 959s # { 959s # g_variant_take_ref (value); 959s # g_variant_builder_add (&builder, "{sv}", info->name, value); 959s # g_variant_unref (value); 959s # } 959s # } 959s # } 959s # out: 959s # return g_variant_builder_end (&builder); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_useful_interface_skeleton_finalize (GObject *object) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 959s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 959s # if (skeleton->priv->changed_properties_idle_source != NULL) 959s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 959s # g_main_context_unref (skeleton->priv->context); 959s # g_mutex_clear (&skeleton->priv->lock); 959s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 959s # #else 959s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 959s # #endif 959s # 959s # g_mutex_init (&skeleton->priv->lock); 959s # skeleton->priv->context = g_main_context_ref_thread_default (); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusInterfaceSkeletonClass *skeleton_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 959s # 959s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 959s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 959s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 959s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 959s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_skeleton_new: 959s # * 959s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_skeleton_new (void) 959s # { 959s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 959s # } 959s # /tmp/tmpt56g2_ry/tmpordwcdag.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt56g2_ry/tmpordwcdag.xml', '--output', '-', '--body'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: /* 959s # * This file is generated by gdbus-codegen, do not modify it. 959s # * 959s # * The license of this code is the same as for the D-Bus interface description 959s # * it was derived from. Note that it links to GLib, so must comply with the 959s # * LGPL linking clauses. 959s # */ 959s # 959s # #ifdef HAVE_CONFIG_H 959s # # include "config.h" 959s # #endif 959s # 959s # #include 959s # #ifdef G_OS_UNIX 959s # # include 959s # #endif 959s # 959s # #ifdef G_ENABLE_DEBUG 959s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 959s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 959s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 959s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 959s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 959s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 959s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 959s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 959s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 959s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 959s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 959s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 959s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 959s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 959s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 959s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 959s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 959s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 959s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 959s # #else /* !G_ENABLE_DEBUG */ 959s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 959s # * Do not access GValues directly in your code. Instead, use the 959s # * g_value_get_*() functions 959s # */ 959s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 959s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 959s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 959s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 959s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 959s # #endif /* !G_ENABLE_DEBUG */ 959s # 959s # typedef struct 959s # { 959s # GDBusArgInfo parent_struct; 959s # gboolean use_gvariant; 959s # } _ExtendedGDBusArgInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusMethodInfo parent_struct; 959s # const gchar *signal_name; 959s # gboolean pass_fdlist; 959s # } _ExtendedGDBusMethodInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusSignalInfo parent_struct; 959s # const gchar *signal_name; 959s # } _ExtendedGDBusSignalInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusPropertyInfo parent_struct; 959s # const gchar *hyphen_name; 959s # guint use_gvariant : 1; 959s # guint emits_changed_signal : 1; 959s # } _ExtendedGDBusPropertyInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusInterfaceInfo parent_struct; 959s # const gchar *hyphen_name; 959s # } _ExtendedGDBusInterfaceInfo; 959s # 959s # typedef struct 959s # { 959s # const _ExtendedGDBusPropertyInfo *info; 959s # guint prop_id; 959s # GValue orig_value; /* the value before the change */ 959s # } ChangedProperty; 959s # 959s # static void 959s # _changed_property_free (ChangedProperty *data) 959s # { 959s # g_value_unset (&data->orig_value); 959s # g_free (data); 959s # } 959s # 959s # static gboolean 959s # _g_strv_equal0 (gchar **a, gchar **b) 959s # { 959s # gboolean ret = FALSE; 959s # guint n; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # if (g_strv_length (a) != g_strv_length (b)) 959s # goto out; 959s # for (n = 0; a[n] != NULL; n++) 959s # if (g_strcmp0 (a[n], b[n]) != 0) 959s # goto out; 959s # ret = TRUE; 959s # out: 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _g_variant_equal0 (GVariant *a, GVariant *b) 959s # { 959s # gboolean ret = FALSE; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # ret = g_variant_equal (a, b); 959s # out: 959s # return ret; 959s # } 959s # 959s # G_GNUC_UNUSED static gboolean 959s # _g_value_equal (const GValue *a, const GValue *b) 959s # { 959s # gboolean ret = FALSE; 959s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 959s # switch (G_VALUE_TYPE (a)) 959s # { 959s # case G_TYPE_BOOLEAN: 959s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 959s # break; 959s # case G_TYPE_UCHAR: 959s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 959s # break; 959s # case G_TYPE_INT: 959s # ret = (g_value_get_int (a) == g_value_get_int (b)); 959s # break; 959s # case G_TYPE_UINT: 959s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 959s # break; 959s # case G_TYPE_INT64: 959s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 959s # break; 959s # case G_TYPE_UINT64: 959s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 959s # break; 959s # case G_TYPE_DOUBLE: 959s # { 959s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 959s # gdouble da = g_value_get_double (a); 959s # gdouble db = g_value_get_double (b); 959s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 959s # } 959s # break; 959s # case G_TYPE_STRING: 959s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 959s # break; 959s # case G_TYPE_VARIANT: 959s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 959s # break; 959s # default: 959s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 959s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 959s # else 959s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 959s # break; 959s # } 959s # return ret; 959s # } 959s # 959s # static void 959s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint G_GNUC_UNUSED, 959s # void *marshal_data) 959s # { 959s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 959s # (void *data1, 959s # GDBusMethodInvocation *arg_method_invocation, 959s # void *data2); 959s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 959s # GCClosure *cc = (GCClosure*) closure; 959s # void *data1, *data2; 959s # gboolean v_return; 959s # 959s # g_return_if_fail (return_value != NULL); 959s # g_return_if_fail (n_param_values == 2); 959s # 959s # if (G_CCLOSURE_SWAP_DATA (closure)) 959s # { 959s # data1 = closure->data; 959s # data2 = g_value_peek_pointer (param_values + 0); 959s # } 959s # else 959s # { 959s # data1 = g_value_peek_pointer (param_values + 0); 959s # data2 = closure->data; 959s # } 959s # 959s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 959s # (marshal_data ? marshal_data : cc->callback); 959s # 959s # v_return = 959s # callback (data1, 959s # g_marshal_value_peek_object (param_values + 1), 959s # data2); 959s # 959s # g_value_set_boolean (return_value, v_return); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ 959s # * Code for interface org.project.UsefulInterface 959s # * ------------------------------------------------------------------------ 959s # */ 959s # 959s # /** 959s # * SECTION:OrgProjectUsefulInterface 959s # * @title: OrgProjectUsefulInterface 959s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 959s # * 959s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 959s # */ 959s # 959s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 959s # { 959s # { 959s # -1, 959s # (gchar *) "arg_g", 959s # (gchar *) "g", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 959s # { 959s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgMethodG", 959s # NULL, 959s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 959s # NULL 959s # }, 959s # "handle-single-arg-method-g", 959s # FALSE 959s # }; 959s # 959s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 959s # { 959s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 959s # { 959s # { 959s # -1, 959s # (gchar *) "org.project.UsefulInterface", 959s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 959s # NULL, 959s # NULL, 959s # NULL 959s # }, 959s # "org-project-useful-interface", 959s # }; 959s # 959s # 959s # /** 959s # * org_project_useful_interface_interface_info: 959s # * 959s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 959s # * 959s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 959s # */ 959s # GDBusInterfaceInfo * 959s # org_project_useful_interface_interface_info (void) 959s # { 959s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_override_properties: 959s # * @klass: The class structure for a #GObject derived class. 959s # * @property_id_begin: The property id to assign to the first overridden property. 959s # * 959s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 959s # * The properties are overridden in the order they are defined. 959s # * 959s # * Returns: The last property id. 959s # */ 959s # guint 959s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 959s # { 959s # return property_id_begin - 1; 959s # } 959s # 959s # 959s # inline static void 959s # org_project_useful_interface_method_marshal_single_arg_method_g ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # 959s # /** 959s # * OrgProjectUsefulInterface: 959s # * 959s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceIface: 959s # * @parent_iface: The parent interface. 959s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 959s # * 959s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 959s # */ 959s # 959s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 959s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 959s # 959s # static void 959s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 959s # { 959s # /* GObject signals for incoming D-Bus method calls: */ 959s # /** 959s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 959s # * @object: A #OrgProjectUsefulInterface. 959s # * @invocation: A #GDBusMethodInvocation. 959s # * 959s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 959s # * 959s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_g() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 959s # * 959s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 959s # */ 959s # g_signal_new ("handle-single-arg-method-g", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 959s # g_signal_accumulator_true_handled, 959s # NULL, 959s # org_project_useful_interface_method_marshal_single_arg_method_g, 959s # G_TYPE_BOOLEAN, 959s # 1, 959s # G_TYPE_DBUS_METHOD_INVOCATION); 959s # 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_g: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 959s # */ 959s # void 959s # org_project_useful_interface_call_single_arg_method_g ( 959s # OrgProjectUsefulInterface *proxy, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 959s # "SingleArgMethodG", 959s # g_variant_new ("()"), 959s # G_DBUS_CALL_FLAGS_NONE, 959s # -1, 959s # cancellable, 959s # callback, 959s # user_data); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_g_finish: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 959s # * @error: Return location for error or %NULL. 959s # * 959s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 959s # * 959s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 959s # */ 959s # gboolean 959s # org_project_useful_interface_call_single_arg_method_g_finish ( 959s # OrgProjectUsefulInterface *proxy, 959s # gchar **out_arg_g, 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GVariant *_ret; 959s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 959s # if (_ret == NULL) 959s # goto _out; 959s # g_variant_get (_ret, 959s # "(g)", 959s # out_arg_g); 959s # g_variant_unref (_ret); 959s # _out: 959s # return _ret != NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_g_sync: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL. 959s # * 959s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 959s # * 959s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 959s # */ 959s # gboolean 959s # org_project_useful_interface_call_single_arg_method_g_sync ( 959s # OrgProjectUsefulInterface *proxy, 959s # gchar **out_arg_g, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GVariant *_ret; 959s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 959s # "SingleArgMethodG", 959s # g_variant_new ("()"), 959s # G_DBUS_CALL_FLAGS_NONE, 959s # -1, 959s # cancellable, 959s # error); 959s # if (_ret == NULL) 959s # goto _out; 959s # g_variant_get (_ret, 959s # "(g)", 959s # out_arg_g); 959s # g_variant_unref (_ret); 959s # _out: 959s # return _ret != NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_complete_single_arg_method_g: 959s # * @object: A #OrgProjectUsefulInterface. 959s # * @invocation: (transfer full): A #GDBusMethodInvocation. 959s # * @arg_g: Parameter to return. 959s # * 959s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodG() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 959s # * 959s # * This method will free @invocation, you cannot use it afterwards. 959s # */ 959s # void 959s # org_project_useful_interface_complete_single_arg_method_g ( 959s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 959s # GDBusMethodInvocation *invocation, 959s # const gchar *arg_g) 959s # { 959s # g_dbus_method_invocation_return_value (invocation, 959s # g_variant_new ("(g)", 959s # arg_g)); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceProxy: 959s # * 959s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceProxyClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectUsefulInterfaceProxy. 959s # */ 959s # 959s # struct _OrgProjectUsefulInterfaceProxyPrivate 959s # { 959s # GData *qdata; 959s # }; 959s # 959s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 959s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_useful_interface_proxy_finalize (GObject *object) 959s # { 959s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 959s # g_datalist_clear (&proxy->priv->qdata); 959s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # const GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 959s # const gchar *sender_name G_GNUC_UNUSED, 959s # const gchar *signal_name, 959s # GVariant *parameters) 959s # { 959s # _ExtendedGDBusSignalInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # gsize n; 959s # guint signal_id; 959s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 959s # if (info == NULL) 959s # return; 959s # num_params = g_variant_n_children (parameters); 959s # paramv = g_new0 (GValue, num_params + 1); 959s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_set_object (¶mv[0], proxy); 959s # g_variant_iter_init (&iter, parameters); 959s # n = 1; 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_signal_emitv (paramv, signal_id, 0, NULL); 959s # for (n = 0; n < num_params + 1; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 959s # GVariant *changed_properties, 959s # const gchar *const *invalidated_properties) 959s # { 959s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 959s # guint n; 959s # const gchar *key; 959s # GVariantIter *iter; 959s # _ExtendedGDBusPropertyInfo *info; 959s # g_variant_get (changed_properties, "a{sv}", &iter); 959s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 959s # g_datalist_remove_data (&proxy->priv->qdata, key); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # g_variant_iter_free (iter); 959s # for (n = 0; invalidated_properties[n] != NULL; n++) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 959s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 959s # #else 959s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 959s # #endif 959s # 959s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusProxyClass *proxy_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 959s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 959s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 959s # 959s # proxy_class = G_DBUS_PROXY_CLASS (klass); 959s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 959s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_useful_interface_proxy_new ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_sync: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_sync ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_useful_interface_proxy_new_for_bus ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_for_bus_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus_sync: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_for_bus_sync ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceSkeleton: 959s # * 959s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceSkeletonClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 959s # */ 959s # 959s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 959s # { 959s # GValue *properties; 959s # GList *changed_properties; 959s # GSource *changed_properties_idle_source; 959s # GMainContext *context; 959s # GMutex lock; 959s # }; 959s # 959s # static void 959s # _org_project_useful_interface_skeleton_handle_method_call ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name, 959s # const gchar *method_name, 959s # GVariant *parameters, 959s # GDBusMethodInvocation *invocation, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # _ExtendedGDBusMethodInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # guint num_extra; 959s # gsize n; 959s # guint signal_id; 959s # GValue return_value = G_VALUE_INIT; 959s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 959s # g_assert (info != NULL); 959s # num_params = g_variant_n_children (parameters); 959s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 959s # n = 0; 959s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_set_object (¶mv[n++], skeleton); 959s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 959s # g_value_set_object (¶mv[n++], invocation); 959s # if (info->pass_fdlist) 959s # { 959s # #ifdef G_OS_UNIX 959s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 959s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 959s # #else 959s # g_assert_not_reached (); 959s # #endif 959s # } 959s # g_variant_iter_init (&iter, parameters); 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_init (&return_value, G_TYPE_BOOLEAN); 959s # g_signal_emitv (paramv, signal_id, 0, &return_value); 959s # if (!g_value_get_boolean (&return_value)) 959s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 959s # g_value_unset (&return_value); 959s # for (n = 0; n < num_params + num_extra; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static GVariant * 959s # _org_project_useful_interface_skeleton_handle_get_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # GVariant *ret; 959s # ret = NULL; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # g_value_init (&value, pspec->value_type); 959s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 959s # g_value_unset (&value); 959s # } 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _org_project_useful_interface_skeleton_handle_set_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GVariant *variant, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # gboolean ret; 959s # ret = FALSE; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # if (info->use_gvariant) 959s # g_value_set_variant (&value, variant); 959s # else 959s # g_dbus_gvariant_to_gvalue (variant, &value); 959s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # g_value_unset (&value); 959s # ret = TRUE; 959s # } 959s # return ret; 959s # } 959s # 959s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 959s # { 959s # _org_project_useful_interface_skeleton_handle_method_call, 959s # _org_project_useful_interface_skeleton_handle_get_property, 959s # _org_project_useful_interface_skeleton_handle_set_property, 959s # {NULL} 959s # }; 959s # 959s # static GDBusInterfaceInfo * 959s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return org_project_useful_interface_interface_info (); 959s # } 959s # 959s # static GDBusInterfaceVTable * 959s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 959s # } 959s # 959s # static GVariant * 959s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 959s # 959s # GVariantBuilder builder; 959s # guint n; 959s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 959s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 959s # goto out; 959s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 959s # { 959s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 959s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 959s # { 959s # GVariant *value; 959s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 959s # if (value != NULL) 959s # { 959s # g_variant_take_ref (value); 959s # g_variant_builder_add (&builder, "{sv}", info->name, value); 959s # g_variant_unref (value); 959s # } 959s # } 959s # } 959s # out: 959s # return g_variant_builder_end (&builder); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_useful_interface_skeleton_finalize (GObject *object) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 959s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 959s # if (skeleton->priv->changed_properties_idle_source != NULL) 959s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 959s # g_main_context_unref (skeleton->priv->context); 959s # g_mutex_clear (&skeleton->priv->lock); 959s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 959s # #else 959s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 959s # #endif 959s # 959s # g_mutex_init (&skeleton->priv->lock); 959s # skeleton->priv->context = g_main_context_ref_thread_default (); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusInterfaceSkeletonClass *skeleton_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 959s # 959s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 959s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 959s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 959s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 959s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_skeleton_new: 959s # * 959s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_skeleton_new (void) 959s # { 959s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 959s # } 959s # /tmp/tmpt56g2_ry/tmp7sv26ceo.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt56g2_ry/tmp7sv26ceo.xml', '--output', '-', '--body'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: /* 959s # * This file is generated by gdbus-codegen, do not modify it. 959s # * 959s # * The license of this code is the same as for the D-Bus interface description 959s # * it was derived from. Note that it links to GLib, so must comply with the 959s # * LGPL linking clauses. 959s # */ 959s # 959s # #ifdef HAVE_CONFIG_H 959s # # include "config.h" 959s # #endif 959s # 959s # #include 959s # #ifdef G_OS_UNIX 959s # # include 959s # #endif 959s # 959s # #ifdef G_ENABLE_DEBUG 959s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 959s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 959s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 959s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 959s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 959s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 959s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 959s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 959s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 959s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 959s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 959s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 959s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 959s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 959s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 959s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 959s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 959s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 959s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 959s # #else /* !G_ENABLE_DEBUG */ 959s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 959s # * Do not access GValues directly in your code. Instead, use the 959s # * g_value_get_*() functions 959s # */ 959s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 959s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 959s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 959s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 959s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 959s # #endif /* !G_ENABLE_DEBUG */ 959s # 959s # typedef struct 959s # { 959s # GDBusArgInfo parent_struct; 959s # gboolean use_gvariant; 959s # } _ExtendedGDBusArgInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusMethodInfo parent_struct; 959s # const gchar *signal_name; 959s # gboolean pass_fdlist; 959s # } _ExtendedGDBusMethodInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusSignalInfo parent_struct; 959s # const gchar *signal_name; 959s # } _ExtendedGDBusSignalInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusPropertyInfo parent_struct; 959s # const gchar *hyphen_name; 959s # guint use_gvariant : 1; 959s # guint emits_changed_signal : 1; 959s # } _ExtendedGDBusPropertyInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusInterfaceInfo parent_struct; 959s # const gchar *hyphen_name; 959s # } _ExtendedGDBusInterfaceInfo; 959s # 959s # typedef struct 959s # { 959s # const _ExtendedGDBusPropertyInfo *info; 959s # guint prop_id; 959s # GValue orig_value; /* the value before the change */ 959s # } ChangedProperty; 959s # 959s # static void 959s # _changed_property_free (ChangedProperty *data) 959s # { 959s # g_value_unset (&data->orig_value); 959s # g_free (data); 959s # } 959s # 959s # static gboolean 959s # _g_strv_equal0 (gchar **a, gchar **b) 959s # { 959s # gboolean ret = FALSE; 959s # guint n; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # if (g_strv_length (a) != g_strv_length (b)) 959s # goto out; 959s # for (n = 0; a[n] != NULL; n++) 959s # if (g_strcmp0 (a[n], b[n]) != 0) 959s # goto out; 959s # ret = TRUE; 959s # out: 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _g_variant_equal0 (GVariant *a, GVariant *b) 959s # { 959s # gboolean ret = FALSE; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # ret = g_variant_equal (a, b); 959s # out: 959s # return ret; 959s # } 959s # 959s # G_GNUC_UNUSED static gboolean 959s # _g_value_equal (const GValue *a, const GValue *b) 959s # { 959s # gboolean ret = FALSE; 959s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 959s # switch (G_VALUE_TYPE (a)) 959s # { 959s # case G_TYPE_BOOLEAN: 959s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 959s # break; 959s # case G_TYPE_UCHAR: 959s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 959s # break; 959s # case G_TYPE_INT: 959s # ret = (g_value_get_int (a) == g_value_get_int (b)); 959s # break; 959s # case G_TYPE_UINT: 959s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 959s # break; 959s # case G_TYPE_INT64: 959s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 959s # break; 959s # case G_TYPE_UINT64: 959s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 959s # break; 959s # case G_TYPE_DOUBLE: 959s # { 959s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 959s # gdouble da = g_value_get_double (a); 959s # gdouble db = g_value_get_double (b); 959s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 959s # } 959s # break; 959s # case G_TYPE_STRING: 959s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 959s # break; 959s # case G_TYPE_VARIANT: 959s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 959s # break; 959s # default: 959s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 959s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 959s # else 959s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 959s # break; 959s # } 959s # return ret; 959s # } 959s # 959s # static void 959s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint G_GNUC_UNUSED, 959s # void *marshal_data) 959s # { 959s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 959s # (void *data1, 959s # GDBusMethodInvocation *arg_method_invocation, 959s # void *data2); 959s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 959s # GCClosure *cc = (GCClosure*) closure; 959s # void *data1, *data2; 959s # gboolean v_return; 959s # 959s # g_return_if_fail (return_value != NULL); 959s # g_return_if_fail (n_param_values == 2); 959s # 959s # if (G_CCLOSURE_SWAP_DATA (closure)) 959s # { 959s # data1 = closure->data; 959s # data2 = g_value_peek_pointer (param_values + 0); 959s # } 959s # else 959s # { 959s # data1 = g_value_peek_pointer (param_values + 0); 959s # data2 = closure->data; 959s # } 959s # 959s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 959s # (marshal_data ? marshal_data : cc->callback); 959s # 959s # v_return = 959s # callback (data1, 959s # g_marshal_value_peek_object (param_values + 1), 959s # data2); 959s # 959s # g_value_set_boolean (return_value, v_return); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ 959s # * Code for interface org.project.UsefulInterface 959s # * ------------------------------------------------------------------------ 959s # */ 959s # 959s # /** 959s # * SECTION:OrgProjectUsefulInterface 959s # * @title: OrgProjectUsefulInterface 959s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 959s # * 959s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 959s # */ 959s # 959s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 959s # { 959s # { 959s # -1, 959s # (gchar *) "arg_h", 959s # (gchar *) "h", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 959s # { 959s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgMethodH", 959s # NULL, 959s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 959s # NULL 959s # }, 959s # "handle-single-arg-method-h", 959s # FALSE 959s # }; 959s # 959s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 959s # { 959s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 959s # { 959s # { 959s # -1, 959s # (gchar *) "org.project.UsefulInterface", 959s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 959s # NULL, 959s # NULL, 959s # NULL 959s # }, 959s # "org-project-useful-interface", 959s # }; 959s # 959s # 959s # /** 959s # * org_project_useful_interface_interface_info: 959s # * 959s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 959s # * 959s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 959s # */ 959s # GDBusInterfaceInfo * 959s # org_project_useful_interface_interface_info (void) 959s # { 959s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_override_properties: 959s # * @klass: The class structure for a #GObject derived class. 959s # * @property_id_begin: The property id to assign to the first overridden property. 959s # * 959s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 959s # * The properties are overridden in the order they are defined. 959s # * 959s # * Returns: The last property id. 959s # */ 959s # guint 959s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 959s # { 959s # return property_id_begin - 1; 959s # } 959s # 959s # 959s # inline static void 959s # org_project_useful_interface_method_marshal_single_arg_method_h ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # 959s # /** 959s # * OrgProjectUsefulInterface: 959s # * 959s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceIface: 959s # * @parent_iface: The parent interface. 959s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 959s # * 959s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 959s # */ 959s # 959s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 959s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 959s # 959s # static void 959s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 959s # { 959s # /* GObject signals for incoming D-Bus method calls: */ 959s # /** 959s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 959s # * @object: A #OrgProjectUsefulInterface. 959s # * @invocation: A #GDBusMethodInvocation. 959s # * 959s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 959s # * 959s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_h() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 959s # * 959s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 959s # */ 959s # g_signal_new ("handle-single-arg-method-h", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 959s # g_signal_accumulator_true_handled, 959s # NULL, 959s # org_project_useful_interface_method_marshal_single_arg_method_h, 959s # G_TYPE_BOOLEAN, 959s # 1, 959s # G_TYPE_DBUS_METHOD_INVOCATION); 959s # 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_h: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 959s # */ 959s # void 959s # org_project_useful_interface_call_single_arg_method_h ( 959s # OrgProjectUsefulInterface *proxy, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 959s # "SingleArgMethodH", 959s # g_variant_new ("()"), 959s # G_DBUS_CALL_FLAGS_NONE, 959s # -1, 959s # cancellable, 959s # callback, 959s # user_data); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_h_finish: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 959s # * @error: Return location for error or %NULL. 959s # * 959s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 959s # * 959s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 959s # */ 959s # gboolean 959s # org_project_useful_interface_call_single_arg_method_h_finish ( 959s # OrgProjectUsefulInterface *proxy, 959s # GVariant **out_arg_h, 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GVariant *_ret; 959s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 959s # if (_ret == NULL) 959s # goto _out; 959s # g_variant_get (_ret, 959s # "(@h)", 959s # out_arg_h); 959s # g_variant_unref (_ret); 959s # _out: 959s # return _ret != NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_h_sync: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL. 959s # * 959s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 959s # * 959s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 959s # */ 959s # gboolean 959s # org_project_useful_interface_call_single_arg_method_h_sync ( 959s # OrgProjectUsefulInterface *proxy, 959s # GVariant **out_arg_h, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GVariant *_ret; 959s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 959s # "SingleArgMethodH", 959s # g_variant_new ("()"), 959s # G_DBUS_CALL_FLAGS_NONE, 959s # -1, 959s # cancellable, 959s # error); 959s # if (_ret == NULL) 959s # goto _out; 959s # g_variant_get (_ret, 959s # "(@h)", 959s # out_arg_h); 959s # g_variant_unref (_ret); 959s # _out: 959s # return _ret != NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_complete_single_arg_method_h: 959s # * @object: A #OrgProjectUsefulInterface. 959s # * @invocation: (transfer full): A #GDBusMethodInvocation. 959s # * @arg_h: Parameter to return. 959s # * 959s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodH() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 959s # * 959s # * This method will free @invocation, you cannot use it afterwards. 959s # */ 959s # void 959s # org_project_useful_interface_complete_single_arg_method_h ( 959s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 959s # GDBusMethodInvocation *invocation, 959s # GVariant *arg_h) 959s # { 959s # g_dbus_method_invocation_return_value (invocation, 959s # g_variant_new ("(@h)", 959s # arg_h)); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceProxy: 959s # * 959s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceProxyClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectUsefulInterfaceProxy. 959s # */ 959s # 959s # struct _OrgProjectUsefulInterfaceProxyPrivate 959s # { 959s # GData *qdata; 959s # }; 959s # 959s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 959s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_useful_interface_proxy_finalize (GObject *object) 959s # { 959s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 959s # g_datalist_clear (&proxy->priv->qdata); 959s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # const GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 959s # const gchar *sender_name G_GNUC_UNUSED, 959s # const gchar *signal_name, 959s # GVariant *parameters) 959s # { 959s # _ExtendedGDBusSignalInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # gsize n; 959s # guint signal_id; 959s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 959s # if (info == NULL) 959s # return; 959s # num_params = g_variant_n_children (parameters); 959s # paramv = g_new0 (GValue, num_params + 1); 959s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_set_object (¶mv[0], proxy); 959s # g_variant_iter_init (&iter, parameters); 959s # n = 1; 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_signal_emitv (paramv, signal_id, 0, NULL); 959s # for (n = 0; n < num_params + 1; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 959s # GVariant *changed_properties, 959s # const gchar *const *invalidated_properties) 959s # { 959s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 959s # guint n; 959s # const gchar *key; 959s # GVariantIter *iter; 959s # _ExtendedGDBusPropertyInfo *info; 959s # g_variant_get (changed_properties, "a{sv}", &iter); 959s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 959s # g_datalist_remove_data (&proxy->priv->qdata, key); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # g_variant_iter_free (iter); 959s # for (n = 0; invalidated_properties[n] != NULL; n++) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 959s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 959s # #else 959s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 959s # #endif 959s # 959s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusProxyClass *proxy_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 959s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 959s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 959s # 959s # proxy_class = G_DBUS_PROXY_CLASS (klass); 959s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 959s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_useful_interface_proxy_new ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_sync: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_sync ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_useful_interface_proxy_new_for_bus ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_for_bus_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus_sync: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_for_bus_sync ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceSkeleton: 959s # * 959s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceSkeletonClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 959s # */ 959s # 959s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 959s # { 959s # GValue *properties; 959s # GList *changed_properties; 959s # GSource *changed_properties_idle_source; 959s # GMainContext *context; 959s # GMutex lock; 959s # }; 959s # 959s # static void 959s # _org_project_useful_interface_skeleton_handle_method_call ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name, 959s # const gchar *method_name, 959s # GVariant *parameters, 959s # GDBusMethodInvocation *invocation, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # _ExtendedGDBusMethodInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # guint num_extra; 959s # gsize n; 959s # guint signal_id; 959s # GValue return_value = G_VALUE_INIT; 959s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 959s # g_assert (info != NULL); 959s # num_params = g_variant_n_children (parameters); 959s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 959s # n = 0; 959s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_set_object (¶mv[n++], skeleton); 959s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 959s # g_value_set_object (¶mv[n++], invocation); 959s # if (info->pass_fdlist) 959s # { 959s # #ifdef G_OS_UNIX 959s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 959s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 959s # #else 959s # g_assert_not_reached (); 959s # #endif 959s # } 959s # g_variant_iter_init (&iter, parameters); 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_init (&return_value, G_TYPE_BOOLEAN); 959s # g_signal_emitv (paramv, signal_id, 0, &return_value); 959s # if (!g_value_get_boolean (&return_value)) 959s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 959s # g_value_unset (&return_value); 959s # for (n = 0; n < num_params + num_extra; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static GVariant * 959s # _org_project_useful_interface_skeleton_handle_get_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # GVariant *ret; 959s # ret = NULL; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # g_value_init (&value, pspec->value_type); 959s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 959s # g_value_unset (&value); 959s # } 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _org_project_useful_interface_skeleton_handle_set_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GVariant *variant, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # gboolean ret; 959s # ret = FALSE; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # if (info->use_gvariant) 959s # g_value_set_variant (&value, variant); 959s # else 959s # g_dbus_gvariant_to_gvalue (variant, &value); 959s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # g_value_unset (&value); 959s # ret = TRUE; 959s # } 959s # return ret; 959s # } 959s # 959s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 959s # { 959s # _org_project_useful_interface_skeleton_handle_method_call, 959s # _org_project_useful_interface_skeleton_handle_get_property, 959s # _org_project_useful_interface_skeleton_handle_set_property, 959s # {NULL} 959s # }; 959s # 959s # static GDBusInterfaceInfo * 959s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return org_project_useful_interface_interface_info (); 959s # } 959s # 959s # static GDBusInterfaceVTable * 959s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 959s # } 959s # 959s # static GVariant * 959s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 959s # 959s # GVariantBuilder builder; 959s # guint n; 959s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 959s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 959s # goto out; 959s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 959s # { 959s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 959s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 959s # { 959s # GVariant *value; 959s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 959s # if (value != NULL) 959s # { 959s # g_variant_take_ref (value); 959s # g_variant_builder_add (&builder, "{sv}", info->name, value); 959s # g_variant_unref (value); 959s # } 959s # } 959s # } 959s # out: 959s # return g_variant_builder_end (&builder); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_useful_interface_skeleton_finalize (GObject *object) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 959s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 959s # if (skeleton->priv->changed_properties_idle_source != NULL) 959s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 959s # g_main_context_unref (skeleton->priv->context); 959s # g_mutex_clear (&skeleton->priv->lock); 959s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 959s # #else 959s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 959s # #endif 959s # 959s # g_mutex_init (&skeleton->priv->lock); 959s # skeleton->priv->context = g_main_context_ref_thread_default (); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusInterfaceSkeletonClass *skeleton_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 959s # 959s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 959s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 959s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 959s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 959s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_skeleton_new: 959s # * 959s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_skeleton_new (void) 959s # { 959s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 959s # } 959s # /tmp/tmpt56g2_ry/tmptmdae9n_.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt56g2_ry/tmptmdae9n_.xml', '--output', '-', '--body'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: /* 959s # * This file is generated by gdbus-codegen, do not modify it. 959s # * 959s # * The license of this code is the same as for the D-Bus interface description 959s # * it was derived from. Note that it links to GLib, so must comply with the 959s # * LGPL linking clauses. 959s # */ 959s # 959s # #ifdef HAVE_CONFIG_H 959s # # include "config.h" 959s # #endif 959s # 959s # #include 959s # #ifdef G_OS_UNIX 959s # # include 959s # #endif 959s # 959s # #ifdef G_ENABLE_DEBUG 959s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 959s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 959s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 959s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 959s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 959s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 959s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 959s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 959s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 959s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 959s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 959s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 959s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 959s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 959s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 959s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 959s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 959s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 959s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 959s # #else /* !G_ENABLE_DEBUG */ 959s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 959s # * Do not access GValues directly in your code. Instead, use the 959s # * g_value_get_*() functions 959s # */ 959s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 959s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 959s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 959s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 959s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 959s # #endif /* !G_ENABLE_DEBUG */ 959s # 959s # typedef struct 959s # { 959s # GDBusArgInfo parent_struct; 959s # gboolean use_gvariant; 959s # } _ExtendedGDBusArgInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusMethodInfo parent_struct; 959s # const gchar *signal_name; 959s # gboolean pass_fdlist; 959s # } _ExtendedGDBusMethodInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusSignalInfo parent_struct; 959s # const gchar *signal_name; 959s # } _ExtendedGDBusSignalInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusPropertyInfo parent_struct; 959s # const gchar *hyphen_name; 959s # guint use_gvariant : 1; 959s # guint emits_changed_signal : 1; 959s # } _ExtendedGDBusPropertyInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusInterfaceInfo parent_struct; 959s # const gchar *hyphen_name; 959s # } _ExtendedGDBusInterfaceInfo; 959s # 959s # typedef struct 959s # { 959s # const _ExtendedGDBusPropertyInfo *info; 959s # guint prop_id; 959s # GValue orig_value; /* the value before the change */ 959s # } ChangedProperty; 959s # 959s # static void 959s # _changed_property_free (ChangedProperty *data) 959s # { 959s # g_value_unset (&data->orig_value); 959s # g_free (data); 959s # } 959s # 959s # static gboolean 959s # _g_strv_equal0 (gchar **a, gchar **b) 959s # { 959s # gboolean ret = FALSE; 959s # guint n; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # if (g_strv_length (a) != g_strv_length (b)) 959s # goto out; 959s # for (n = 0; a[n] != NULL; n++) 959s # if (g_strcmp0 (a[n], b[n]) != 0) 959s # goto out; 959s # ret = TRUE; 959s # out: 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _g_variant_equal0 (GVariant *a, GVariant *b) 959s # { 959s # gboolean ret = FALSE; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # ret = g_variant_equal (a, b); 959s # out: 959s # return ret; 959s # } 959s # 959s # G_GNUC_UNUSED static gboolean 959s # _g_value_equal (const GValue *a, const GValue *b) 959s # { 959s # gboolean ret = FALSE; 959s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 959s # switch (G_VALUE_TYPE (a)) 959s # { 959s # case G_TYPE_BOOLEAN: 959s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 959s # break; 959s # case G_TYPE_UCHAR: 959s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 959s # break; 959s # case G_TYPE_INT: 959s # ret = (g_value_get_int (a) == g_value_get_int (b)); 959s # break; 959s # case G_TYPE_UINT: 959s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 959s # break; 959s # case G_TYPE_INT64: 959s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 959s # break; 959s # case G_TYPE_UINT64: 959s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 959s # break; 959s # case G_TYPE_DOUBLE: 959s # { 959s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 959s # gdouble da = g_value_get_double (a); 959s # gdouble db = g_value_get_double (b); 959s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 959s # } 959s # break; 959s # case G_TYPE_STRING: 959s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 959s # break; 959s # case G_TYPE_VARIANT: 959s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 959s # break; 959s # default: 959s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 959s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 959s # else 959s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 959s # break; 959s # } 959s # return ret; 959s # } 959s # 959s # static void 959s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint G_GNUC_UNUSED, 959s # void *marshal_data) 959s # { 959s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 959s # (void *data1, 959s # GDBusMethodInvocation *arg_method_invocation, 959s # void *data2); 959s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 959s # GCClosure *cc = (GCClosure*) closure; 959s # void *data1, *data2; 959s # gboolean v_return; 959s # 959s # g_return_if_fail (return_value != NULL); 959s # g_return_if_fail (n_param_values == 2); 959s # 959s # if (G_CCLOSURE_SWAP_DATA (closure)) 959s # { 959s # data1 = closure->data; 959s # data2 = g_value_peek_pointer (param_values + 0); 959s # } 959s # else 959s # { 959s # data1 = g_value_peek_pointer (param_values + 0); 959s # data2 = closure->data; 959s # } 959s # 959s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 959s # (marshal_data ? marshal_data : cc->callback); 959s # 959s # v_return = 959s # callback (data1, 959s # g_marshal_value_peek_object (param_values + 1), 959s # data2); 959s # 959s # g_value_set_boolean (return_value, v_return); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ 959s # * Code for interface org.project.UsefulInterface 959s # * ------------------------------------------------------------------------ 959s # */ 959s # 959s # /** 959s # * SECTION:OrgProjectUsefulInterface 959s # * @title: OrgProjectUsefulInterface 959s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 959s # * 959s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 959s # */ 959s # 959s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 959s # { 959s # { 959s # -1, 959s # (gchar *) "arg_ay", 959s # (gchar *) "ay", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 959s # { 959s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgMethodAy", 959s # NULL, 959s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 959s # NULL 959s # }, 959s # "handle-single-arg-method-ay", 959s # FALSE 959s # }; 959s # 959s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 959s # { 959s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 959s # { 959s # { 959s # -1, 959s # (gchar *) "org.project.UsefulInterface", 959s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 959s # NULL, 959s # NULL, 959s # NULL 959s # }, 959s # "org-project-useful-interface", 959s # }; 959s # 959s # 959s # /** 959s # * org_project_useful_interface_interface_info: 959s # * 959s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 959s # * 959s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 959s # */ 959s # GDBusInterfaceInfo * 959s # org_project_useful_interface_interface_info (void) 959s # { 959s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_override_properties: 959s # * @klass: The class structure for a #GObject derived class. 959s # * @property_id_begin: The property id to assign to the first overridden property. 959s # * 959s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 959s # * The properties are overridden in the order they are defined. 959s # * 959s # * Returns: The last property id. 959s # */ 959s # guint 959s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 959s # { 959s # return property_id_begin - 1; 959s # } 959s # 959s # 959s # inline static void 959s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # 959s # /** 959s # * OrgProjectUsefulInterface: 959s # * 959s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceIface: 959s # * @parent_iface: The parent interface. 959s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 959s # * 959s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 959s # */ 959s # 959s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 959s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 959s # 959s # static void 959s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 959s # { 959s # /* GObject signals for incoming D-Bus method calls: */ 959s # /** 959s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 959s # * @object: A #OrgProjectUsefulInterface. 959s # * @invocation: A #GDBusMethodInvocation. 959s # * 959s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 959s # * 959s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_ay() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 959s # * 959s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 959s # */ 959s # g_signal_new ("handle-single-arg-method-ay", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 959s # g_signal_accumulator_true_handled, 959s # NULL, 959s # org_project_useful_interface_method_marshal_single_arg_method_ay, 959s # G_TYPE_BOOLEAN, 959s # 1, 959s # G_TYPE_DBUS_METHOD_INVOCATION); 959s # 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_ay: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 959s # */ 959s # void 959s # org_project_useful_interface_call_single_arg_method_ay ( 959s # OrgProjectUsefulInterface *proxy, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 959s # "SingleArgMethodAy", 959s # g_variant_new ("()"), 959s # G_DBUS_CALL_FLAGS_NONE, 959s # -1, 959s # cancellable, 959s # callback, 959s # user_data); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_ay_finish: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 959s # * @error: Return location for error or %NULL. 959s # * 959s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 959s # * 959s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 959s # */ 959s # gboolean 959s # org_project_useful_interface_call_single_arg_method_ay_finish ( 959s # OrgProjectUsefulInterface *proxy, 959s # gchar **out_arg_ay, 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GVariant *_ret; 959s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 959s # if (_ret == NULL) 959s # goto _out; 959s # g_variant_get (_ret, 959s # "(^ay)", 959s # out_arg_ay); 959s # g_variant_unref (_ret); 959s # _out: 959s # return _ret != NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_ay_sync: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL. 959s # * 959s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 959s # * 959s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 959s # */ 959s # gboolean 959s # org_project_useful_interface_call_single_arg_method_ay_sync ( 959s # OrgProjectUsefulInterface *proxy, 959s # gchar **out_arg_ay, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GVariant *_ret; 959s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 959s # "SingleArgMethodAy", 959s # g_variant_new ("()"), 959s # G_DBUS_CALL_FLAGS_NONE, 959s # -1, 959s # cancellable, 959s # error); 959s # if (_ret == NULL) 959s # goto _out; 959s # g_variant_get (_ret, 959s # "(^ay)", 959s # out_arg_ay); 959s # g_variant_unref (_ret); 959s # _out: 959s # return _ret != NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_complete_single_arg_method_ay: 959s # * @object: A #OrgProjectUsefulInterface. 959s # * @invocation: (transfer full): A #GDBusMethodInvocation. 959s # * @arg_ay: Parameter to return. 959s # * 959s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodAy() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 959s # * 959s # * This method will free @invocation, you cannot use it afterwards. 959s # */ 959s # void 959s # org_project_useful_interface_complete_single_arg_method_ay ( 959s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 959s # GDBusMethodInvocation *invocation, 959s # const gchar *arg_ay) 959s # { 959s # g_dbus_method_invocation_return_value (invocation, 959s # g_variant_new ("(^ay)", 959s # arg_ay)); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceProxy: 959s # * 959s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceProxyClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectUsefulInterfaceProxy. 959s # */ 959s # 959s # struct _OrgProjectUsefulInterfaceProxyPrivate 959s # { 959s # GData *qdata; 959s # }; 959s # 959s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 959s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_useful_interface_proxy_finalize (GObject *object) 959s # { 959s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 959s # g_datalist_clear (&proxy->priv->qdata); 959s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # const GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 959s # const gchar *sender_name G_GNUC_UNUSED, 959s # const gchar *signal_name, 959s # GVariant *parameters) 959s # { 959s # _ExtendedGDBusSignalInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # gsize n; 959s # guint signal_id; 959s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 959s # if (info == NULL) 959s # return; 959s # num_params = g_variant_n_children (parameters); 959s # paramv = g_new0 (GValue, num_params + 1); 959s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_set_object (¶mv[0], proxy); 959s # g_variant_iter_init (&iter, parameters); 959s # n = 1; 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_signal_emitv (paramv, signal_id, 0, NULL); 959s # for (n = 0; n < num_params + 1; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 959s # GVariant *changed_properties, 959s # const gchar *const *invalidated_properties) 959s # { 959s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 959s # guint n; 959s # const gchar *key; 959s # GVariantIter *iter; 959s # _ExtendedGDBusPropertyInfo *info; 959s # g_variant_get (changed_properties, "a{sv}", &iter); 959s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 959s # g_datalist_remove_data (&proxy->priv->qdata, key); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # g_variant_iter_free (iter); 959s # for (n = 0; invalidated_properties[n] != NULL; n++) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 959s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 959s # #else 959s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 959s # #endif 959s # 959s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusProxyClass *proxy_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 959s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 959s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 959s # 959s # proxy_class = G_DBUS_PROXY_CLASS (klass); 959s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 959s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_useful_interface_proxy_new ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_sync: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_sync ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_useful_interface_proxy_new_for_bus ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_for_bus_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus_sync: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_for_bus_sync ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceSkeleton: 959s # * 959s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceSkeletonClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 959s # */ 959s # 959s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 959s # { 959s # GValue *properties; 959s # GList *changed_properties; 959s # GSource *changed_properties_idle_source; 959s # GMainContext *context; 959s # GMutex lock; 959s # }; 959s # 959s # static void 959s # _org_project_useful_interface_skeleton_handle_method_call ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name, 959s # const gchar *method_name, 959s # GVariant *parameters, 959s # GDBusMethodInvocation *invocation, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # _ExtendedGDBusMethodInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # guint num_extra; 959s # gsize n; 959s # guint signal_id; 959s # GValue return_value = G_VALUE_INIT; 959s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 959s # g_assert (info != NULL); 959s # num_params = g_variant_n_children (parameters); 959s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 959s # n = 0; 959s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_set_object (¶mv[n++], skeleton); 959s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 959s # g_value_set_object (¶mv[n++], invocation); 959s # if (info->pass_fdlist) 959s # { 959s # #ifdef G_OS_UNIX 959s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 959s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 959s # #else 959s # g_assert_not_reached (); 959s # #endif 959s # } 959s # g_variant_iter_init (&iter, parameters); 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_init (&return_value, G_TYPE_BOOLEAN); 959s # g_signal_emitv (paramv, signal_id, 0, &return_value); 959s # if (!g_value_get_boolean (&return_value)) 959s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 959s # g_value_unset (&return_value); 959s # for (n = 0; n < num_params + num_extra; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static GVariant * 959s # _org_project_useful_interface_skeleton_handle_get_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # GVariant *ret; 959s # ret = NULL; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # g_value_init (&value, pspec->value_type); 959s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 959s # g_value_unset (&value); 959s # } 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _org_project_useful_interface_skeleton_handle_set_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GVariant *variant, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # gboolean ret; 959s # ret = FALSE; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # if (info->use_gvariant) 959s # g_value_set_variant (&value, variant); 959s # else 959s # g_dbus_gvariant_to_gvalue (variant, &value); 959s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # g_value_unset (&value); 959s # ret = TRUE; 959s # } 959s # return ret; 959s # } 959s # 959s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 959s # { 959s # _org_project_useful_interface_skeleton_handle_method_call, 959s # _org_project_useful_interface_skeleton_handle_get_property, 959s # _org_project_useful_interface_skeleton_handle_set_property, 959s # {NULL} 959s # }; 959s # 959s # static GDBusInterfaceInfo * 959s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return org_project_useful_interface_interface_info (); 959s # } 959s # 959s # static GDBusInterfaceVTable * 959s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 959s # } 959s # 959s # static GVariant * 959s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 959s # 959s # GVariantBuilder builder; 959s # guint n; 959s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 959s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 959s # goto out; 959s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 959s # { 959s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 959s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 959s # { 959s # GVariant *value; 959s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 959s # if (value != NULL) 959s # { 959s # g_variant_take_ref (value); 959s # g_variant_builder_add (&builder, "{sv}", info->name, value); 959s # g_variant_unref (value); 959s # } 959s # } 959s # } 959s # out: 959s # return g_variant_builder_end (&builder); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_useful_interface_skeleton_finalize (GObject *object) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 959s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 959s # if (skeleton->priv->changed_properties_idle_source != NULL) 959s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 959s # g_main_context_unref (skeleton->priv->context); 959s # g_mutex_clear (&skeleton->priv->lock); 959s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 959s # #else 959s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 959s # #endif 959s # 959s # g_mutex_init (&skeleton->priv->lock); 959s # skeleton->priv->context = g_main_context_ref_thread_default (); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusInterfaceSkeletonClass *skeleton_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 959s # 959s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 959s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 959s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 959s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 959s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_skeleton_new: 959s # * 959s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_skeleton_new (void) 959s # { 959s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 959s # } 959s # /tmp/tmpt56g2_ry/tmp_zigd3qj.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt56g2_ry/tmp_zigd3qj.xml', '--output', '-', '--body'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: /* 959s # * This file is generated by gdbus-codegen, do not modify it. 959s # * 959s # * The license of this code is the same as for the D-Bus interface description 959s # * it was derived from. Note that it links to GLib, so must comply with the 959s # * LGPL linking clauses. 959s # */ 959s # 959s # #ifdef HAVE_CONFIG_H 959s # # include "config.h" 959s # #endif 959s # 959s # #include 959s # #ifdef G_OS_UNIX 959s # # include 959s # #endif 959s # 959s # #ifdef G_ENABLE_DEBUG 959s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 959s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 959s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 959s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 959s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 959s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 959s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 959s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 959s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 959s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 959s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 959s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 959s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 959s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 959s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 959s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 959s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 959s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 959s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 959s # #else /* !G_ENABLE_DEBUG */ 959s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 959s # * Do not access GValues directly in your code. Instead, use the 959s # * g_value_get_*() functions 959s # */ 959s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 959s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 959s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 959s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 959s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 959s # #endif /* !G_ENABLE_DEBUG */ 959s # 959s # typedef struct 959s # { 959s # GDBusArgInfo parent_struct; 959s # gboolean use_gvariant; 959s # } _ExtendedGDBusArgInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusMethodInfo parent_struct; 959s # const gchar *signal_name; 959s # gboolean pass_fdlist; 959s # } _ExtendedGDBusMethodInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusSignalInfo parent_struct; 959s # const gchar *signal_name; 959s # } _ExtendedGDBusSignalInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusPropertyInfo parent_struct; 959s # const gchar *hyphen_name; 959s # guint use_gvariant : 1; 959s # guint emits_changed_signal : 1; 959s # } _ExtendedGDBusPropertyInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusInterfaceInfo parent_struct; 959s # const gchar *hyphen_name; 959s # } _ExtendedGDBusInterfaceInfo; 959s # 959s # typedef struct 959s # { 959s # const _ExtendedGDBusPropertyInfo *info; 959s # guint prop_id; 959s # GValue orig_value; /* the value before the change */ 959s # } ChangedProperty; 959s # 959s # static void 959s # _changed_property_free (ChangedProperty *data) 959s # { 959s # g_value_unset (&data->orig_value); 959s # g_free (data); 959s # } 959s # 959s # static gboolean 959s # _g_strv_equal0 (gchar **a, gchar **b) 959s # { 959s # gboolean ret = FALSE; 959s # guint n; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # if (g_strv_length (a) != g_strv_length (b)) 959s # goto out; 959s # for (n = 0; a[n] != NULL; n++) 959s # if (g_strcmp0 (a[n], b[n]) != 0) 959s # goto out; 959s # ret = TRUE; 959s # out: 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _g_variant_equal0 (GVariant *a, GVariant *b) 959s # { 959s # gboolean ret = FALSE; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # ret = g_variant_equal (a, b); 959s # out: 959s # return ret; 959s # } 959s # 959s # G_GNUC_UNUSED static gboolean 959s # _g_value_equal (const GValue *a, const GValue *b) 959s # { 959s # gboolean ret = FALSE; 959s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 959s # switch (G_VALUE_TYPE (a)) 959s # { 959s # case G_TYPE_BOOLEAN: 959s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 959s # break; 959s # case G_TYPE_UCHAR: 959s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 959s # break; 959s # case G_TYPE_INT: 959s # ret = (g_value_get_int (a) == g_value_get_int (b)); 959s # break; 959s # case G_TYPE_UINT: 959s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 959s # break; 959s # case G_TYPE_INT64: 959s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 959s # break; 959s # case G_TYPE_UINT64: 959s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 959s # break; 959s # case G_TYPE_DOUBLE: 959s # { 959s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 959s # gdouble da = g_value_get_double (a); 959s # gdouble db = g_value_get_double (b); 959s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 959s # } 959s # break; 959s # case G_TYPE_STRING: 959s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 959s # break; 959s # case G_TYPE_VARIANT: 959s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 959s # break; 959s # default: 959s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 959s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 959s # else 959s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 959s # break; 959s # } 959s # return ret; 959s # } 959s # 959s # static void 959s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint G_GNUC_UNUSED, 959s # void *marshal_data) 959s # { 959s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 959s # (void *data1, 959s # GDBusMethodInvocation *arg_method_invocation, 959s # void *data2); 959s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 959s # GCClosure *cc = (GCClosure*) closure; 959s # void *data1, *data2; 959s # gboolean v_return; 959s # 959s # g_return_if_fail (return_value != NULL); 959s # g_return_if_fail (n_param_values == 2); 959s # 959s # if (G_CCLOSURE_SWAP_DATA (closure)) 959s # { 959s # data1 = closure->data; 959s # data2 = g_value_peek_pointer (param_values + 0); 959s # } 959s # else 959s # { 959s # data1 = g_value_peek_pointer (param_values + 0); 959s # data2 = closure->data; 959s # } 959s # 959s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 959s # (marshal_data ? marshal_data : cc->callback); 959s # 959s # v_return = 959s # callback (data1, 959s # g_marshal_value_peek_object (param_values + 1), 959s # data2); 959s # 959s # g_value_set_boolean (return_value, v_return); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ 959s # * Code for interface org.project.UsefulInterface 959s # * ------------------------------------------------------------------------ 959s # */ 959s # 959s # /** 959s # * SECTION:OrgProjectUsefulInterface 959s # * @title: OrgProjectUsefulInterface 959s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 959s # * 959s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 959s # */ 959s # 959s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 959s # { 959s # { 959s # -1, 959s # (gchar *) "arg_as", 959s # (gchar *) "as", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 959s # { 959s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgMethodAs", 959s # NULL, 959s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 959s # NULL 959s # }, 959s # "handle-single-arg-method-as", 959s # FALSE 959s # }; 959s # 959s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 959s # { 959s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 959s # { 959s # { 959s # -1, 959s # (gchar *) "org.project.UsefulInterface", 959s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 959s # NULL, 959s # NULL, 959s # NULL 959s # }, 959s # "org-project-useful-interface", 959s # }; 959s # 959s # 959s # /** 959s # * org_project_useful_interface_interface_info: 959s # * 959s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 959s # * 959s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 959s # */ 959s # GDBusInterfaceInfo * 959s # org_project_useful_interface_interface_info (void) 959s # { 959s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_override_properties: 959s # * @klass: The class structure for a #GObject derived class. 959s # * @property_id_begin: The property id to assign to the first overridden property. 959s # * 959s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 959s # * The properties are overridden in the order they are defined. 959s # * 959s # * Returns: The last property id. 959s # */ 959s # guint 959s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 959s # { 959s # return property_id_begin - 1; 959s # } 959s # 959s # 959s # inline static void 959s # org_project_useful_interface_method_marshal_single_arg_method_as ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # 959s # /** 959s # * OrgProjectUsefulInterface: 959s # * 959s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceIface: 959s # * @parent_iface: The parent interface. 959s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 959s # * 959s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 959s # */ 959s # 959s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 959s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 959s # 959s # static void 959s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 959s # { 959s # /* GObject signals for incoming D-Bus method calls: */ 959s # /** 959s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 959s # * @object: A #OrgProjectUsefulInterface. 959s # * @invocation: A #GDBusMethodInvocation. 959s # * 959s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 959s # * 959s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_as() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 959s # * 959s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 959s # */ 959s # g_signal_new ("handle-single-arg-method-as", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 959s # g_signal_accumulator_true_handled, 959s # NULL, 959s # org_project_useful_interface_method_marshal_single_arg_method_as, 959s # G_TYPE_BOOLEAN, 959s # 1, 959s # G_TYPE_DBUS_METHOD_INVOCATION); 959s # 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_as: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 959s # */ 959s # void 959s # org_project_useful_interface_call_single_arg_method_as ( 959s # OrgProjectUsefulInterface *proxy, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 959s # "SingleArgMethodAs", 959s # g_variant_new ("()"), 959s # G_DBUS_CALL_FLAGS_NONE, 959s # -1, 959s # cancellable, 959s # callback, 959s # user_data); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_as_finish: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 959s # * @error: Return location for error or %NULL. 959s # * 959s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 959s # * 959s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 959s # */ 959s # gboolean 959s # org_project_useful_interface_call_single_arg_method_as_finish ( 959s # OrgProjectUsefulInterface *proxy, 959s # gchar ***out_arg_as, 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GVariant *_ret; 959s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 959s # if (_ret == NULL) 959s # goto _out; 959s # g_variant_get (_ret, 959s # "(^as)", 959s # out_arg_as); 959s # g_variant_unref (_ret); 959s # _out: 959s # return _ret != NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_as_sync: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL. 959s # * 959s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 959s # * 959s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 959s # */ 959s # gboolean 959s # org_project_useful_interface_call_single_arg_method_as_sync ( 959s # OrgProjectUsefulInterface *proxy, 959s # gchar ***out_arg_as, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GVariant *_ret; 959s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 959s # "SingleArgMethodAs", 959s # g_variant_new ("()"), 959s # G_DBUS_CALL_FLAGS_NONE, 959s # -1, 959s # cancellable, 959s # error); 959s # if (_ret == NULL) 959s # goto _out; 959s # g_variant_get (_ret, 959s # "(^as)", 959s # out_arg_as); 959s # g_variant_unref (_ret); 959s # _out: 959s # return _ret != NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_complete_single_arg_method_as: 959s # * @object: A #OrgProjectUsefulInterface. 959s # * @invocation: (transfer full): A #GDBusMethodInvocation. 959s # * @arg_as: Parameter to return. 959s # * 959s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodAs() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 959s # * 959s # * This method will free @invocation, you cannot use it afterwards. 959s # */ 959s # void 959s # org_project_useful_interface_complete_single_arg_method_as ( 959s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 959s # GDBusMethodInvocation *invocation, 959s # const gchar *const *arg_as) 959s # { 959s # g_dbus_method_invocation_return_value (invocation, 959s # g_variant_new ("(^as)", 959s # arg_as)); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceProxy: 959s # * 959s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceProxyClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectUsefulInterfaceProxy. 959s # */ 959s # 959s # struct _OrgProjectUsefulInterfaceProxyPrivate 959s # { 959s # GData *qdata; 959s # }; 959s # 959s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 959s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_useful_interface_proxy_finalize (GObject *object) 959s # { 959s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 959s # g_datalist_clear (&proxy->priv->qdata); 959s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # const GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 959s # const gchar *sender_name G_GNUC_UNUSED, 959s # const gchar *signal_name, 959s # GVariant *parameters) 959s # { 959s # _ExtendedGDBusSignalInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # gsize n; 959s # guint signal_id; 959s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 959s # if (info == NULL) 959s # return; 959s # num_params = g_variant_n_children (parameters); 959s # paramv = g_new0 (GValue, num_params + 1); 959s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_set_object (¶mv[0], proxy); 959s # g_variant_iter_init (&iter, parameters); 959s # n = 1; 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_signal_emitv (paramv, signal_id, 0, NULL); 959s # for (n = 0; n < num_params + 1; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 959s # GVariant *changed_properties, 959s # const gchar *const *invalidated_properties) 959s # { 959s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 959s # guint n; 959s # const gchar *key; 959s # GVariantIter *iter; 959s # _ExtendedGDBusPropertyInfo *info; 959s # g_variant_get (changed_properties, "a{sv}", &iter); 959s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 959s # g_datalist_remove_data (&proxy->priv->qdata, key); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # g_variant_iter_free (iter); 959s # for (n = 0; invalidated_properties[n] != NULL; n++) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 959s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 959s # #else 959s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 959s # #endif 959s # 959s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusProxyClass *proxy_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 959s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 959s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 959s # 959s # proxy_class = G_DBUS_PROXY_CLASS (klass); 959s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 959s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_useful_interface_proxy_new ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_sync: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_sync ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_useful_interface_proxy_new_for_bus ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_for_bus_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus_sync: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_for_bus_sync ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceSkeleton: 959s # * 959s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceSkeletonClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 959s # */ 959s # 959s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 959s # { 959s # GValue *properties; 959s # GList *changed_properties; 959s # GSource *changed_properties_idle_source; 959s # GMainContext *context; 959s # GMutex lock; 959s # }; 959s # 959s # static void 959s # _org_project_useful_interface_skeleton_handle_method_call ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name, 959s # const gchar *method_name, 959s # GVariant *parameters, 959s # GDBusMethodInvocation *invocation, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # _ExtendedGDBusMethodInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # guint num_extra; 959s # gsize n; 959s # guint signal_id; 959s # GValue return_value = G_VALUE_INIT; 959s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 959s # g_assert (info != NULL); 959s # num_params = g_variant_n_children (parameters); 959s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 959s # n = 0; 959s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_set_object (¶mv[n++], skeleton); 959s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 959s # g_value_set_object (¶mv[n++], invocation); 959s # if (info->pass_fdlist) 959s # { 959s # #ifdef G_OS_UNIX 959s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 959s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 959s # #else 959s # g_assert_not_reached (); 959s # #endif 959s # } 959s # g_variant_iter_init (&iter, parameters); 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_init (&return_value, G_TYPE_BOOLEAN); 959s # g_signal_emitv (paramv, signal_id, 0, &return_value); 959s # if (!g_value_get_boolean (&return_value)) 959s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 959s # g_value_unset (&return_value); 959s # for (n = 0; n < num_params + num_extra; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static GVariant * 959s # _org_project_useful_interface_skeleton_handle_get_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # GVariant *ret; 959s # ret = NULL; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # g_value_init (&value, pspec->value_type); 959s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 959s # g_value_unset (&value); 959s # } 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _org_project_useful_interface_skeleton_handle_set_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GVariant *variant, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # gboolean ret; 959s # ret = FALSE; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # if (info->use_gvariant) 959s # g_value_set_variant (&value, variant); 959s # else 959s # g_dbus_gvariant_to_gvalue (variant, &value); 959s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # g_value_unset (&value); 959s # ret = TRUE; 959s # } 959s # return ret; 959s # } 959s # 959s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 959s # { 959s # _org_project_useful_interface_skeleton_handle_method_call, 959s # _org_project_useful_interface_skeleton_handle_get_property, 959s # _org_project_useful_interface_skeleton_handle_set_property, 959s # {NULL} 959s # }; 959s # 959s # static GDBusInterfaceInfo * 959s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return org_project_useful_interface_interface_info (); 959s # } 959s # 959s # static GDBusInterfaceVTable * 959s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 959s # } 959s # 959s # static GVariant * 959s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 959s # 959s # GVariantBuilder builder; 959s # guint n; 959s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 959s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 959s # goto out; 959s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 959s # { 959s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 959s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 959s # { 959s # GVariant *value; 959s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 959s # if (value != NULL) 959s # { 959s # g_variant_take_ref (value); 959s # g_variant_builder_add (&builder, "{sv}", info->name, value); 959s # g_variant_unref (value); 959s # } 959s # } 959s # } 959s # out: 959s # return g_variant_builder_end (&builder); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_useful_interface_skeleton_finalize (GObject *object) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 959s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 959s # if (skeleton->priv->changed_properties_idle_source != NULL) 959s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 959s # g_main_context_unref (skeleton->priv->context); 959s # g_mutex_clear (&skeleton->priv->lock); 959s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 959s # #else 959s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 959s # #endif 959s # 959s # g_mutex_init (&skeleton->priv->lock); 959s # skeleton->priv->context = g_main_context_ref_thread_default (); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusInterfaceSkeletonClass *skeleton_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 959s # 959s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 959s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 959s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 959s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 959s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_skeleton_new: 959s # * 959s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_skeleton_new (void) 959s # { 959s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 959s # } 959s # /tmp/tmpt56g2_ry/tmpem5pawlh.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt56g2_ry/tmpem5pawlh.xml', '--output', '-', '--body'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: /* 959s # * This file is generated by gdbus-codegen, do not modify it. 959s # * 959s # * The license of this code is the same as for the D-Bus interface description 959s # * it was derived from. Note that it links to GLib, so must comply with the 959s # * LGPL linking clauses. 959s # */ 959s # 959s # #ifdef HAVE_CONFIG_H 959s # # include "config.h" 959s # #endif 959s # 959s # #include 959s # #ifdef G_OS_UNIX 959s # # include 959s # #endif 959s # 959s # #ifdef G_ENABLE_DEBUG 959s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 959s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 959s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 959s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 959s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 959s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 959s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 959s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 959s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 959s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 959s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 959s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 959s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 959s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 959s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 959s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 959s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 959s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 959s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 959s # #else /* !G_ENABLE_DEBUG */ 959s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 959s # * Do not access GValues directly in your code. Instead, use the 959s # * g_value_get_*() functions 959s # */ 959s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 959s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 959s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 959s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 959s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 959s # #endif /* !G_ENABLE_DEBUG */ 959s # 959s # typedef struct 959s # { 959s # GDBusArgInfo parent_struct; 959s # gboolean use_gvariant; 959s # } _ExtendedGDBusArgInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusMethodInfo parent_struct; 959s # const gchar *signal_name; 959s # gboolean pass_fdlist; 959s # } _ExtendedGDBusMethodInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusSignalInfo parent_struct; 959s # const gchar *signal_name; 959s # } _ExtendedGDBusSignalInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusPropertyInfo parent_struct; 959s # const gchar *hyphen_name; 959s # guint use_gvariant : 1; 959s # guint emits_changed_signal : 1; 959s # } _ExtendedGDBusPropertyInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusInterfaceInfo parent_struct; 959s # const gchar *hyphen_name; 959s # } _ExtendedGDBusInterfaceInfo; 959s # 959s # typedef struct 959s # { 959s # const _ExtendedGDBusPropertyInfo *info; 959s # guint prop_id; 959s # GValue orig_value; /* the value before the change */ 959s # } ChangedProperty; 959s # 959s # static void 959s # _changed_property_free (ChangedProperty *data) 959s # { 959s # g_value_unset (&data->orig_value); 959s # g_free (data); 959s # } 959s # 959s # static gboolean 959s # _g_strv_equal0 (gchar **a, gchar **b) 959s # { 959s # gboolean ret = FALSE; 959s # guint n; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # if (g_strv_length (a) != g_strv_length (b)) 959s # goto out; 959s # for (n = 0; a[n] != NULL; n++) 959s # if (g_strcmp0 (a[n], b[n]) != 0) 959s # goto out; 959s # ret = TRUE; 959s # out: 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _g_variant_equal0 (GVariant *a, GVariant *b) 959s # { 959s # gboolean ret = FALSE; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # ret = g_variant_equal (a, b); 959s # out: 959s # return ret; 959s # } 959s # 959s # G_GNUC_UNUSED static gboolean 959s # _g_value_equal (const GValue *a, const GValue *b) 959s # { 959s # gboolean ret = FALSE; 959s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 959s # switch (G_VALUE_TYPE (a)) 959s # { 959s # case G_TYPE_BOOLEAN: 959s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 959s # break; 959s # case G_TYPE_UCHAR: 959s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 959s # break; 959s # case G_TYPE_INT: 959s # ret = (g_value_get_int (a) == g_value_get_int (b)); 959s # break; 959s # case G_TYPE_UINT: 959s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 959s # break; 959s # case G_TYPE_INT64: 959s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 959s # break; 959s # case G_TYPE_UINT64: 959s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 959s # break; 959s # case G_TYPE_DOUBLE: 959s # { 959s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 959s # gdouble da = g_value_get_double (a); 959s # gdouble db = g_value_get_double (b); 959s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 959s # } 959s # break; 959s # case G_TYPE_STRING: 959s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 959s # break; 959s # case G_TYPE_VARIANT: 959s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 959s # break; 959s # default: 959s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 959s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 959s # else 959s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 959s # break; 959s # } 959s # return ret; 959s # } 959s # 959s # static void 959s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint G_GNUC_UNUSED, 959s # void *marshal_data) 959s # { 959s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 959s # (void *data1, 959s # GDBusMethodInvocation *arg_method_invocation, 959s # void *data2); 959s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 959s # GCClosure *cc = (GCClosure*) closure; 959s # void *data1, *data2; 959s # gboolean v_return; 959s # 959s # g_return_if_fail (return_value != NULL); 959s # g_return_if_fail (n_param_values == 2); 959s # 959s # if (G_CCLOSURE_SWAP_DATA (closure)) 959s # { 959s # data1 = closure->data; 959s # data2 = g_value_peek_pointer (param_values + 0); 959s # } 959s # else 959s # { 959s # data1 = g_value_peek_pointer (param_values + 0); 959s # data2 = closure->data; 959s # } 959s # 959s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 959s # (marshal_data ? marshal_data : cc->callback); 959s # 959s # v_return = 959s # callback (data1, 959s # g_marshal_value_peek_object (param_values + 1), 959s # data2); 959s # 959s # g_value_set_boolean (return_value, v_return); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ 959s # * Code for interface org.project.UsefulInterface 959s # * ------------------------------------------------------------------------ 959s # */ 959s # 959s # /** 959s # * SECTION:OrgProjectUsefulInterface 959s # * @title: OrgProjectUsefulInterface 959s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 959s # * 959s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 959s # */ 959s # 959s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 959s # { 959s # { 959s # -1, 959s # (gchar *) "arg_ao", 959s # (gchar *) "ao", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 959s # { 959s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgMethodAo", 959s # NULL, 959s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 959s # NULL 959s # }, 959s # "handle-single-arg-method-ao", 959s # FALSE 959s # }; 959s # 959s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 959s # { 959s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 959s # { 959s # { 959s # -1, 959s # (gchar *) "org.project.UsefulInterface", 959s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 959s # NULL, 959s # NULL, 959s # NULL 959s # }, 959s # "org-project-useful-interface", 959s # }; 959s # 959s # 959s # /** 959s # * org_project_useful_interface_interface_info: 959s # * 959s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 959s # * 959s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 959s # */ 959s # GDBusInterfaceInfo * 959s # org_project_useful_interface_interface_info (void) 959s # { 959s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_override_properties: 959s # * @klass: The class structure for a #GObject derived class. 959s # * @property_id_begin: The property id to assign to the first overridden property. 959s # * 959s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 959s # * The properties are overridden in the order they are defined. 959s # * 959s # * Returns: The last property id. 959s # */ 959s # guint 959s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 959s # { 959s # return property_id_begin - 1; 959s # } 959s # 959s # 959s # inline static void 959s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # 959s # /** 959s # * OrgProjectUsefulInterface: 959s # * 959s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceIface: 959s # * @parent_iface: The parent interface. 959s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 959s # * 959s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 959s # */ 959s # 959s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 959s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 959s # 959s # static void 959s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 959s # { 959s # /* GObject signals for incoming D-Bus method calls: */ 959s # /** 959s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 959s # * @object: A #OrgProjectUsefulInterface. 959s # * @invocation: A #GDBusMethodInvocation. 959s # * 959s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 959s # * 959s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_ao() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 959s # * 959s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 959s # */ 959s # g_signal_new ("handle-single-arg-method-ao", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 959s # g_signal_accumulator_true_handled, 959s # NULL, 959s # org_project_useful_interface_method_marshal_single_arg_method_ao, 959s # G_TYPE_BOOLEAN, 959s # 1, 959s # G_TYPE_DBUS_METHOD_INVOCATION); 959s # 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_ao: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 959s # */ 959s # void 959s # org_project_useful_interface_call_single_arg_method_ao ( 959s # OrgProjectUsefulInterface *proxy, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 959s # "SingleArgMethodAo", 959s # g_variant_new ("()"), 959s # G_DBUS_CALL_FLAGS_NONE, 959s # -1, 959s # cancellable, 959s # callback, 959s # user_data); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_ao_finish: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 959s # * @error: Return location for error or %NULL. 959s # * 959s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 959s # * 959s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 959s # */ 959s # gboolean 959s # org_project_useful_interface_call_single_arg_method_ao_finish ( 959s # OrgProjectUsefulInterface *proxy, 959s # gchar ***out_arg_ao, 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GVariant *_ret; 959s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 959s # if (_ret == NULL) 959s # goto _out; 959s # g_variant_get (_ret, 959s # "(^ao)", 959s # out_arg_ao); 959s # g_variant_unref (_ret); 959s # _out: 959s # return _ret != NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_ao_sync: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL. 959s # * 959s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 959s # * 959s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 959s # */ 959s # gboolean 959s # org_project_useful_interface_call_single_arg_method_ao_sync ( 959s # OrgProjectUsefulInterface *proxy, 959s # gchar ***out_arg_ao, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GVariant *_ret; 959s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 959s # "SingleArgMethodAo", 959s # g_variant_new ("()"), 959s # G_DBUS_CALL_FLAGS_NONE, 959s # -1, 959s # cancellable, 959s # error); 959s # if (_ret == NULL) 959s # goto _out; 959s # g_variant_get (_ret, 959s # "(^ao)", 959s # out_arg_ao); 959s # g_variant_unref (_ret); 959s # _out: 959s # return _ret != NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_complete_single_arg_method_ao: 959s # * @object: A #OrgProjectUsefulInterface. 959s # * @invocation: (transfer full): A #GDBusMethodInvocation. 959s # * @arg_ao: Parameter to return. 959s # * 959s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodAo() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 959s # * 959s # * This method will free @invocation, you cannot use it afterwards. 959s # */ 959s # void 959s # org_project_useful_interface_complete_single_arg_method_ao ( 959s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 959s # GDBusMethodInvocation *invocation, 959s # const gchar *const *arg_ao) 959s # { 959s # g_dbus_method_invocation_return_value (invocation, 959s # g_variant_new ("(^ao)", 959s # arg_ao)); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceProxy: 959s # * 959s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceProxyClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectUsefulInterfaceProxy. 959s # */ 959s # 959s # struct _OrgProjectUsefulInterfaceProxyPrivate 959s # { 959s # GData *qdata; 959s # }; 959s # 959s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 959s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_useful_interface_proxy_finalize (GObject *object) 959s # { 959s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 959s # g_datalist_clear (&proxy->priv->qdata); 959s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # const GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 959s # const gchar *sender_name G_GNUC_UNUSED, 959s # const gchar *signal_name, 959s # GVariant *parameters) 959s # { 959s # _ExtendedGDBusSignalInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # gsize n; 959s # guint signal_id; 959s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 959s # if (info == NULL) 959s # return; 959s # num_params = g_variant_n_children (parameters); 959s # paramv = g_new0 (GValue, num_params + 1); 959s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_set_object (¶mv[0], proxy); 959s # g_variant_iter_init (&iter, parameters); 959s # n = 1; 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_signal_emitv (paramv, signal_id, 0, NULL); 959s # for (n = 0; n < num_params + 1; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 959s # GVariant *changed_properties, 959s # const gchar *const *invalidated_properties) 959s # { 959s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 959s # guint n; 959s # const gchar *key; 959s # GVariantIter *iter; 959s # _ExtendedGDBusPropertyInfo *info; 959s # g_variant_get (changed_properties, "a{sv}", &iter); 959s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 959s # g_datalist_remove_data (&proxy->priv->qdata, key); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # g_variant_iter_free (iter); 959s # for (n = 0; invalidated_properties[n] != NULL; n++) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 959s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 959s # #else 959s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 959s # #endif 959s # 959s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusProxyClass *proxy_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 959s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 959s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 959s # 959s # proxy_class = G_DBUS_PROXY_CLASS (klass); 959s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 959s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_useful_interface_proxy_new ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_sync: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_sync ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_useful_interface_proxy_new_for_bus ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_for_bus_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus_sync: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_for_bus_sync ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceSkeleton: 959s # * 959s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceSkeletonClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 959s # */ 959s # 959s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 959s # { 959s # GValue *properties; 959s # GList *changed_properties; 959s # GSource *changed_properties_idle_source; 959s # GMainContext *context; 959s # GMutex lock; 959s # }; 959s # 959s # static void 959s # _org_project_useful_interface_skeleton_handle_method_call ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name, 959s # const gchar *method_name, 959s # GVariant *parameters, 959s # GDBusMethodInvocation *invocation, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # _ExtendedGDBusMethodInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # guint num_extra; 959s # gsize n; 959s # guint signal_id; 959s # GValue return_value = G_VALUE_INIT; 959s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 959s # g_assert (info != NULL); 959s # num_params = g_variant_n_children (parameters); 959s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 959s # n = 0; 959s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_set_object (¶mv[n++], skeleton); 959s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 959s # g_value_set_object (¶mv[n++], invocation); 959s # if (info->pass_fdlist) 959s # { 959s # #ifdef G_OS_UNIX 959s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 959s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 959s # #else 959s # g_assert_not_reached (); 959s # #endif 959s # } 959s # g_variant_iter_init (&iter, parameters); 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_init (&return_value, G_TYPE_BOOLEAN); 959s # g_signal_emitv (paramv, signal_id, 0, &return_value); 959s # if (!g_value_get_boolean (&return_value)) 959s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 959s # g_value_unset (&return_value); 959s # for (n = 0; n < num_params + num_extra; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static GVariant * 959s # _org_project_useful_interface_skeleton_handle_get_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # GVariant *ret; 959s # ret = NULL; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # g_value_init (&value, pspec->value_type); 959s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 959s # g_value_unset (&value); 959s # } 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _org_project_useful_interface_skeleton_handle_set_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GVariant *variant, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # gboolean ret; 959s # ret = FALSE; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # if (info->use_gvariant) 959s # g_value_set_variant (&value, variant); 959s # else 959s # g_dbus_gvariant_to_gvalue (variant, &value); 959s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # g_value_unset (&value); 959s # ret = TRUE; 959s # } 959s # return ret; 959s # } 959s # 959s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 959s # { 959s # _org_project_useful_interface_skeleton_handle_method_call, 959s # _org_project_useful_interface_skeleton_handle_get_property, 959s # _org_project_useful_interface_skeleton_handle_set_property, 959s # {NULL} 959s # }; 959s # 959s # static GDBusInterfaceInfo * 959s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return org_project_useful_interface_interface_info (); 959s # } 959s # 959s # static GDBusInterfaceVTable * 959s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 959s # } 959s # 959s # static GVariant * 959s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 959s # 959s # GVariantBuilder builder; 959s # guint n; 959s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 959s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 959s # goto out; 959s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 959s # { 959s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 959s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 959s # { 959s # GVariant *value; 959s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 959s # if (value != NULL) 959s # { 959s # g_variant_take_ref (value); 959s # g_variant_builder_add (&builder, "{sv}", info->name, value); 959s # g_variant_unref (value); 959s # } 959s # } 959s # } 959s # out: 959s # return g_variant_builder_end (&builder); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_useful_interface_skeleton_finalize (GObject *object) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 959s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 959s # if (skeleton->priv->changed_properties_idle_source != NULL) 959s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 959s # g_main_context_unref (skeleton->priv->context); 959s # g_mutex_clear (&skeleton->priv->lock); 959s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 959s # #else 959s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 959s # #endif 959s # 959s # g_mutex_init (&skeleton->priv->lock); 959s # skeleton->priv->context = g_main_context_ref_thread_default (); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusInterfaceSkeletonClass *skeleton_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 959s # 959s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 959s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 959s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 959s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 959s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_skeleton_new: 959s # * 959s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_skeleton_new (void) 959s # { 959s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 959s # } 959s # /tmp/tmpt56g2_ry/tmp3obni1uh.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt56g2_ry/tmp3obni1uh.xml', '--output', '-', '--body'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: /* 959s # * This file is generated by gdbus-codegen, do not modify it. 959s # * 959s # * The license of this code is the same as for the D-Bus interface description 959s # * it was derived from. Note that it links to GLib, so must comply with the 959s # * LGPL linking clauses. 959s # */ 959s # 959s # #ifdef HAVE_CONFIG_H 959s # # include "config.h" 959s # #endif 959s # 959s # #include 959s # #ifdef G_OS_UNIX 959s # # include 959s # #endif 959s # 959s # #ifdef G_ENABLE_DEBUG 959s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 959s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 959s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 959s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 959s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 959s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 959s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 959s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 959s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 959s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 959s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 959s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 959s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 959s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 959s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 959s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 959s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 959s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 959s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 959s # #else /* !G_ENABLE_DEBUG */ 959s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 959s # * Do not access GValues directly in your code. Instead, use the 959s # * g_value_get_*() functions 959s # */ 959s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 959s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 959s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 959s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 959s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 959s # #endif /* !G_ENABLE_DEBUG */ 959s # 959s # typedef struct 959s # { 959s # GDBusArgInfo parent_struct; 959s # gboolean use_gvariant; 959s # } _ExtendedGDBusArgInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusMethodInfo parent_struct; 959s # const gchar *signal_name; 959s # gboolean pass_fdlist; 959s # } _ExtendedGDBusMethodInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusSignalInfo parent_struct; 959s # const gchar *signal_name; 959s # } _ExtendedGDBusSignalInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusPropertyInfo parent_struct; 959s # const gchar *hyphen_name; 959s # guint use_gvariant : 1; 959s # guint emits_changed_signal : 1; 959s # } _ExtendedGDBusPropertyInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusInterfaceInfo parent_struct; 959s # const gchar *hyphen_name; 959s # } _ExtendedGDBusInterfaceInfo; 959s # 959s # typedef struct 959s # { 959s # const _ExtendedGDBusPropertyInfo *info; 959s # guint prop_id; 959s # GValue orig_value; /* the value before the change */ 959s # } ChangedProperty; 959s # 959s # static void 959s # _changed_property_free (ChangedProperty *data) 959s # { 959s # g_value_unset (&data->orig_value); 959s # g_free (data); 959s # } 959s # 959s # static gboolean 959s # _g_strv_equal0 (gchar **a, gchar **b) 959s # { 959s # gboolean ret = FALSE; 959s # guint n; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # if (g_strv_length (a) != g_strv_length (b)) 959s # goto out; 959s # for (n = 0; a[n] != NULL; n++) 959s # if (g_strcmp0 (a[n], b[n]) != 0) 959s # goto out; 959s # ret = TRUE; 959s # out: 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _g_variant_equal0 (GVariant *a, GVariant *b) 959s # { 959s # gboolean ret = FALSE; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # ret = g_variant_equal (a, b); 959s # out: 959s # return ret; 959s # } 959s # 959s # G_GNUC_UNUSED static gboolean 959s # _g_value_equal (const GValue *a, const GValue *b) 959s # { 959s # gboolean ret = FALSE; 959s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 959s # switch (G_VALUE_TYPE (a)) 959s # { 959s # case G_TYPE_BOOLEAN: 959s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 959s # break; 959s # case G_TYPE_UCHAR: 959s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 959s # break; 959s # case G_TYPE_INT: 959s # ret = (g_value_get_int (a) == g_value_get_int (b)); 959s # break; 959s # case G_TYPE_UINT: 959s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 959s # break; 959s # case G_TYPE_INT64: 959s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 959s # break; 959s # case G_TYPE_UINT64: 959s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 959s # break; 959s # case G_TYPE_DOUBLE: 959s # { 959s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 959s # gdouble da = g_value_get_double (a); 959s # gdouble db = g_value_get_double (b); 959s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 959s # } 959s # break; 959s # case G_TYPE_STRING: 959s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 959s # break; 959s # case G_TYPE_VARIANT: 959s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 959s # break; 959s # default: 959s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 959s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 959s # else 959s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 959s # break; 959s # } 959s # return ret; 959s # } 959s # 959s # static void 959s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint G_GNUC_UNUSED, 959s # void *marshal_data) 959s # { 959s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 959s # (void *data1, 959s # GDBusMethodInvocation *arg_method_invocation, 959s # void *data2); 959s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 959s # GCClosure *cc = (GCClosure*) closure; 959s # void *data1, *data2; 959s # gboolean v_return; 959s # 959s # g_return_if_fail (return_value != NULL); 959s # g_return_if_fail (n_param_values == 2); 959s # 959s # if (G_CCLOSURE_SWAP_DATA (closure)) 959s # { 959s # data1 = closure->data; 959s # data2 = g_value_peek_pointer (param_values + 0); 959s # } 959s # else 959s # { 959s # data1 = g_value_peek_pointer (param_values + 0); 959s # data2 = closure->data; 959s # } 959s # 959s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 959s # (marshal_data ? marshal_data : cc->callback); 959s # 959s # v_return = 959s # callback (data1, 959s # g_marshal_value_peek_object (param_values + 1), 959s # data2); 959s # 959s # g_value_set_boolean (return_value, v_return); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ 959s # * Code for interface org.project.UsefulInterface 959s # * ------------------------------------------------------------------------ 959s # */ 959s # 959s # /** 959s # * SECTION:OrgProjectUsefulInterface 959s # * @title: OrgProjectUsefulInterface 959s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 959s # * 959s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 959s # */ 959s # 959s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 959s # { 959s # { 959s # -1, 959s # (gchar *) "arg_aay", 959s # (gchar *) "aay", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 959s # { 959s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgMethodAay", 959s # NULL, 959s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 959s # NULL 959s # }, 959s # "handle-single-arg-method-aay", 959s # FALSE 959s # }; 959s # 959s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 959s # { 959s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 959s # { 959s # { 959s # -1, 959s # (gchar *) "org.project.UsefulInterface", 959s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 959s # NULL, 959s # NULL, 959s # NULL 959s # }, 959s # "org-project-useful-interface", 959s # }; 959s # 959s # 959s # /** 959s # * org_project_useful_interface_interface_info: 959s # * 959s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 959s # * 959s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 959s # */ 959s # GDBusInterfaceInfo * 959s # org_project_useful_interface_interface_info (void) 959s # { 959s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_override_properties: 959s # * @klass: The class structure for a #GObject derived class. 959s # * @property_id_begin: The property id to assign to the first overridden property. 959s # * 959s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 959s # * The properties are overridden in the order they are defined. 959s # * 959s # * Returns: The last property id. 959s # */ 959s # guint 959s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 959s # { 959s # return property_id_begin - 1; 959s # } 959s # 959s # 959s # inline static void 959s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # 959s # /** 959s # * OrgProjectUsefulInterface: 959s # * 959s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceIface: 959s # * @parent_iface: The parent interface. 959s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 959s # * 959s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 959s # */ 959s # 959s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 959s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 959s # 959s # static void 959s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 959s # { 959s # /* GObject signals for incoming D-Bus method calls: */ 959s # /** 959s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 959s # * @object: A #OrgProjectUsefulInterface. 959s # * @invocation: A #GDBusMethodInvocation. 959s # * 959s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 959s # * 959s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_aay() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 959s # * 959s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 959s # */ 959s # g_signal_new ("handle-single-arg-method-aay", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 959s # g_signal_accumulator_true_handled, 959s # NULL, 959s # org_project_useful_interface_method_marshal_single_arg_method_aay, 959s # G_TYPE_BOOLEAN, 959s # 1, 959s # G_TYPE_DBUS_METHOD_INVOCATION); 959s # 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_aay: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 959s # */ 959s # void 959s # org_project_useful_interface_call_single_arg_method_aay ( 959s # OrgProjectUsefulInterface *proxy, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 959s # "SingleArgMethodAay", 959s # g_variant_new ("()"), 959s # G_DBUS_CALL_FLAGS_NONE, 959s # -1, 959s # cancellable, 959s # callback, 959s # user_data); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_aay_finish: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 959s # * @error: Return location for error or %NULL. 959s # * 959s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 959s # * 959s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 959s # */ 959s # gboolean 959s # org_project_useful_interface_call_single_arg_method_aay_finish ( 959s # OrgProjectUsefulInterface *proxy, 959s # gchar ***out_arg_aay, 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GVariant *_ret; 959s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 959s # if (_ret == NULL) 959s # goto _out; 959s # g_variant_get (_ret, 959s # "(^aay)", 959s # out_arg_aay); 959s # g_variant_unref (_ret); 959s # _out: 959s # return _ret != NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_aay_sync: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL. 959s # * 959s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 959s # * 959s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 959s # */ 959s # gboolean 959s # org_project_useful_interface_call_single_arg_method_aay_sync ( 959s # OrgProjectUsefulInterface *proxy, 959s # gchar ***out_arg_aay, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GVariant *_ret; 959s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 959s # "SingleArgMethodAay", 959s # g_variant_new ("()"), 959s # G_DBUS_CALL_FLAGS_NONE, 959s # -1, 959s # cancellable, 959s # error); 959s # if (_ret == NULL) 959s # goto _out; 959s # g_variant_get (_ret, 959s # "(^aay)", 959s # out_arg_aay); 959s # g_variant_unref (_ret); 959s # _out: 959s # return _ret != NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_complete_single_arg_method_aay: 959s # * @object: A #OrgProjectUsefulInterface. 959s # * @invocation: (transfer full): A #GDBusMethodInvocation. 959s # * @arg_aay: Parameter to return. 959s # * 959s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodAay() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 959s # * 959s # * This method will free @invocation, you cannot use it afterwards. 959s # */ 959s # void 959s # org_project_useful_interface_complete_single_arg_method_aay ( 959s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 959s # GDBusMethodInvocation *invocation, 959s # const gchar *const *arg_aay) 959s # { 959s # g_dbus_method_invocation_return_value (invocation, 959s # g_variant_new ("(^aay)", 959s # arg_aay)); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceProxy: 959s # * 959s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceProxyClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectUsefulInterfaceProxy. 959s # */ 959s # 959s # struct _OrgProjectUsefulInterfaceProxyPrivate 959s # { 959s # GData *qdata; 959s # }; 959s # 959s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 959s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_useful_interface_proxy_finalize (GObject *object) 959s # { 959s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 959s # g_datalist_clear (&proxy->priv->qdata); 959s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # const GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 959s # const gchar *sender_name G_GNUC_UNUSED, 959s # const gchar *signal_name, 959s # GVariant *parameters) 959s # { 959s # _ExtendedGDBusSignalInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # gsize n; 959s # guint signal_id; 959s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 959s # if (info == NULL) 959s # return; 959s # num_params = g_variant_n_children (parameters); 959s # paramv = g_new0 (GValue, num_params + 1); 959s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_set_object (¶mv[0], proxy); 959s # g_variant_iter_init (&iter, parameters); 959s # n = 1; 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_signal_emitv (paramv, signal_id, 0, NULL); 959s # for (n = 0; n < num_params + 1; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 959s # GVariant *changed_properties, 959s # const gchar *const *invalidated_properties) 959s # { 959s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 959s # guint n; 959s # const gchar *key; 959s # GVariantIter *iter; 959s # _ExtendedGDBusPropertyInfo *info; 959s # g_variant_get (changed_properties, "a{sv}", &iter); 959s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 959s # g_datalist_remove_data (&proxy->priv->qdata, key); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # g_variant_iter_free (iter); 959s # for (n = 0; invalidated_properties[n] != NULL; n++) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 959s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 959s # #else 959s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 959s # #endif 959s # 959s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusProxyClass *proxy_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 959s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 959s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 959s # 959s # proxy_class = G_DBUS_PROXY_CLASS (klass); 959s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 959s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_useful_interface_proxy_new ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_sync: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_sync ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_useful_interface_proxy_new_for_bus ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_for_bus_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus_sync: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_for_bus_sync ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceSkeleton: 959s # * 959s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceSkeletonClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 959s # */ 959s # 959s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 959s # { 959s # GValue *properties; 959s # GList *changed_properties; 959s # GSource *changed_properties_idle_source; 959s # GMainContext *context; 959s # GMutex lock; 959s # }; 959s # 959s # static void 959s # _org_project_useful_interface_skeleton_handle_method_call ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name, 959s # const gchar *method_name, 959s # GVariant *parameters, 959s # GDBusMethodInvocation *invocation, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # _ExtendedGDBusMethodInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # guint num_extra; 959s # gsize n; 959s # guint signal_id; 959s # GValue return_value = G_VALUE_INIT; 959s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 959s # g_assert (info != NULL); 959s # num_params = g_variant_n_children (parameters); 959s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 959s # n = 0; 959s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_set_object (¶mv[n++], skeleton); 959s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 959s # g_value_set_object (¶mv[n++], invocation); 959s # if (info->pass_fdlist) 959s # { 959s # #ifdef G_OS_UNIX 959s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 959s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 959s # #else 959s # g_assert_not_reached (); 959s # #endif 959s # } 959s # g_variant_iter_init (&iter, parameters); 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_init (&return_value, G_TYPE_BOOLEAN); 959s # g_signal_emitv (paramv, signal_id, 0, &return_value); 959s # if (!g_value_get_boolean (&return_value)) 959s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 959s # g_value_unset (&return_value); 959s # for (n = 0; n < num_params + num_extra; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static GVariant * 959s # _org_project_useful_interface_skeleton_handle_get_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # GVariant *ret; 959s # ret = NULL; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # g_value_init (&value, pspec->value_type); 959s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 959s # g_value_unset (&value); 959s # } 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _org_project_useful_interface_skeleton_handle_set_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GVariant *variant, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # gboolean ret; 959s # ret = FALSE; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # if (info->use_gvariant) 959s # g_value_set_variant (&value, variant); 959s # else 959s # g_dbus_gvariant_to_gvalue (variant, &value); 959s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # g_value_unset (&value); 959s # ret = TRUE; 959s # } 959s # return ret; 959s # } 959s # 959s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 959s # { 959s # _org_project_useful_interface_skeleton_handle_method_call, 959s # _org_project_useful_interface_skeleton_handle_get_property, 959s # _org_project_useful_interface_skeleton_handle_set_property, 959s # {NULL} 959s # }; 959s # 959s # static GDBusInterfaceInfo * 959s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return org_project_useful_interface_interface_info (); 959s # } 959s # 959s # static GDBusInterfaceVTable * 959s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 959s # } 959s # 959s # static GVariant * 959s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 959s # 959s # GVariantBuilder builder; 959s # guint n; 959s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 959s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 959s # goto out; 959s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 959s # { 959s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 959s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 959s # { 959s # GVariant *value; 959s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 959s # if (value != NULL) 959s # { 959s # g_variant_take_ref (value); 959s # g_variant_builder_add (&builder, "{sv}", info->name, value); 959s # g_variant_unref (value); 959s # } 959s # } 959s # } 959s # out: 959s # return g_variant_builder_end (&builder); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_useful_interface_skeleton_finalize (GObject *object) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 959s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 959s # if (skeleton->priv->changed_properties_idle_source != NULL) 959s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 959s # g_main_context_unref (skeleton->priv->context); 959s # g_mutex_clear (&skeleton->priv->lock); 959s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 959s # #else 959s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 959s # #endif 959s # 959s # g_mutex_init (&skeleton->priv->lock); 959s # skeleton->priv->context = g_main_context_ref_thread_default (); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusInterfaceSkeletonClass *skeleton_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 959s # 959s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 959s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 959s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 959s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 959s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_skeleton_new: 959s # * 959s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_skeleton_new (void) 959s # { 959s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 959s # } 959s # /tmp/tmpt56g2_ry/tmp_z9a5pwi.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt56g2_ry/tmp_z9a5pwi.xml', '--output', '-', '--body'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: /* 959s # * This file is generated by gdbus-codegen, do not modify it. 959s # * 959s # * The license of this code is the same as for the D-Bus interface description 959s # * it was derived from. Note that it links to GLib, so must comply with the 959s # * LGPL linking clauses. 959s # */ 959s # 959s # #ifdef HAVE_CONFIG_H 959s # # include "config.h" 959s # #endif 959s # 959s # #include 959s # #ifdef G_OS_UNIX 959s # # include 959s # #endif 959s # 959s # #ifdef G_ENABLE_DEBUG 959s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 959s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 959s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 959s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 959s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 959s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 959s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 959s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 959s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 959s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 959s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 959s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 959s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 959s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 959s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 959s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 959s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 959s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 959s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 959s # #else /* !G_ENABLE_DEBUG */ 959s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 959s # * Do not access GValues directly in your code. Instead, use the 959s # * g_value_get_*() functions 959s # */ 959s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 959s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 959s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 959s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 959s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 959s # #endif /* !G_ENABLE_DEBUG */ 959s # 959s # typedef struct 959s # { 959s # GDBusArgInfo parent_struct; 959s # gboolean use_gvariant; 959s # } _ExtendedGDBusArgInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusMethodInfo parent_struct; 959s # const gchar *signal_name; 959s # gboolean pass_fdlist; 959s # } _ExtendedGDBusMethodInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusSignalInfo parent_struct; 959s # const gchar *signal_name; 959s # } _ExtendedGDBusSignalInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusPropertyInfo parent_struct; 959s # const gchar *hyphen_name; 959s # guint use_gvariant : 1; 959s # guint emits_changed_signal : 1; 959s # } _ExtendedGDBusPropertyInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusInterfaceInfo parent_struct; 959s # const gchar *hyphen_name; 959s # } _ExtendedGDBusInterfaceInfo; 959s # 959s # typedef struct 959s # { 959s # const _ExtendedGDBusPropertyInfo *info; 959s # guint prop_id; 959s # GValue orig_value; /* the value before the change */ 959s # } ChangedProperty; 959s # 959s # static void 959s # _changed_property_free (ChangedProperty *data) 959s # { 959s # g_value_unset (&data->orig_value); 959s # g_free (data); 959s # } 959s # 959s # static gboolean 959s # _g_strv_equal0 (gchar **a, gchar **b) 959s # { 959s # gboolean ret = FALSE; 959s # guint n; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # if (g_strv_length (a) != g_strv_length (b)) 959s # goto out; 959s # for (n = 0; a[n] != NULL; n++) 959s # if (g_strcmp0 (a[n], b[n]) != 0) 959s # goto out; 959s # ret = TRUE; 959s # out: 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _g_variant_equal0 (GVariant *a, GVariant *b) 959s # { 959s # gboolean ret = FALSE; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # ret = g_variant_equal (a, b); 959s # out: 959s # return ret; 959s # } 959s # 959s # G_GNUC_UNUSED static gboolean 959s # _g_value_equal (const GValue *a, const GValue *b) 959s # { 959s # gboolean ret = FALSE; 959s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 959s # switch (G_VALUE_TYPE (a)) 959s # { 959s # case G_TYPE_BOOLEAN: 959s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 959s # break; 959s # case G_TYPE_UCHAR: 959s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 959s # break; 959s # case G_TYPE_INT: 959s # ret = (g_value_get_int (a) == g_value_get_int (b)); 959s # break; 959s # case G_TYPE_UINT: 959s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 959s # break; 959s # case G_TYPE_INT64: 959s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 959s # break; 959s # case G_TYPE_UINT64: 959s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 959s # break; 959s # case G_TYPE_DOUBLE: 959s # { 959s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 959s # gdouble da = g_value_get_double (a); 959s # gdouble db = g_value_get_double (b); 959s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 959s # } 959s # break; 959s # case G_TYPE_STRING: 959s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 959s # break; 959s # case G_TYPE_VARIANT: 959s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 959s # break; 959s # default: 959s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 959s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 959s # else 959s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 959s # break; 959s # } 959s # return ret; 959s # } 959s # 959s # static void 959s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint G_GNUC_UNUSED, 959s # void *marshal_data) 959s # { 959s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 959s # (void *data1, 959s # GDBusMethodInvocation *arg_method_invocation, 959s # void *data2); 959s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 959s # GCClosure *cc = (GCClosure*) closure; 959s # void *data1, *data2; 959s # gboolean v_return; 959s # 959s # g_return_if_fail (return_value != NULL); 959s # g_return_if_fail (n_param_values == 2); 959s # 959s # if (G_CCLOSURE_SWAP_DATA (closure)) 959s # { 959s # data1 = closure->data; 959s # data2 = g_value_peek_pointer (param_values + 0); 959s # } 959s # else 959s # { 959s # data1 = g_value_peek_pointer (param_values + 0); 959s # data2 = closure->data; 959s # } 959s # 959s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 959s # (marshal_data ? marshal_data : cc->callback); 959s # 959s # v_return = 959s # callback (data1, 959s # g_marshal_value_peek_object (param_values + 1), 959s # data2); 959s # 959s # g_value_set_boolean (return_value, v_return); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ 959s # * Code for interface org.project.UsefulInterface 959s # * ------------------------------------------------------------------------ 959s # */ 959s # 959s # /** 959s # * SECTION:OrgProjectUsefulInterface 959s # * @title: OrgProjectUsefulInterface 959s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 959s # * 959s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 959s # */ 959s # 959s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 959s # { 959s # { 959s # -1, 959s # (gchar *) "arg_asv", 959s # (gchar *) "a{sv}", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 959s # { 959s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgMethodAsv", 959s # NULL, 959s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 959s # NULL 959s # }, 959s # "handle-single-arg-method-asv", 959s # FALSE 959s # }; 959s # 959s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 959s # { 959s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 959s # { 959s # { 959s # -1, 959s # (gchar *) "org.project.UsefulInterface", 959s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 959s # NULL, 959s # NULL, 959s # NULL 959s # }, 959s # "org-project-useful-interface", 959s # }; 959s # 959s # 959s # /** 959s # * org_project_useful_interface_interface_info: 959s # * 959s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 959s # * 959s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 959s # */ 959s # GDBusInterfaceInfo * 959s # org_project_useful_interface_interface_info (void) 959s # { 959s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_override_properties: 959s # * @klass: The class structure for a #GObject derived class. 959s # * @property_id_begin: The property id to assign to the first overridden property. 959s # * 959s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 959s # * The properties are overridden in the order they are defined. 959s # * 959s # * Returns: The last property id. 959s # */ 959s # guint 959s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 959s # { 959s # return property_id_begin - 1; 959s # } 959s # 959s # 959s # inline static void 959s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # 959s # /** 959s # * OrgProjectUsefulInterface: 959s # * 959s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceIface: 959s # * @parent_iface: The parent interface. 959s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 959s # * 959s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 959s # */ 959s # 959s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 959s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 959s # 959s # static void 959s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 959s # { 959s # /* GObject signals for incoming D-Bus method calls: */ 959s # /** 959s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 959s # * @object: A #OrgProjectUsefulInterface. 959s # * @invocation: A #GDBusMethodInvocation. 959s # * 959s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 959s # * 959s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_asv() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 959s # * 959s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 959s # */ 959s # g_signal_new ("handle-single-arg-method-asv", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 959s # g_signal_accumulator_true_handled, 959s # NULL, 959s # org_project_useful_interface_method_marshal_single_arg_method_asv, 959s # G_TYPE_BOOLEAN, 959s # 1, 959s # G_TYPE_DBUS_METHOD_INVOCATION); 959s # 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_asv: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 959s # */ 959s # void 959s # org_project_useful_interface_call_single_arg_method_asv ( 959s # OrgProjectUsefulInterface *proxy, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 959s # "SingleArgMethodAsv", 959s # g_variant_new ("()"), 959s # G_DBUS_CALL_FLAGS_NONE, 959s # -1, 959s # cancellable, 959s # callback, 959s # user_data); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_asv_finish: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 959s # * @error: Return location for error or %NULL. 959s # * 959s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 959s # * 959s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 959s # */ 959s # gboolean 959s # org_project_useful_interface_call_single_arg_method_asv_finish ( 959s # OrgProjectUsefulInterface *proxy, 959s # GVariant **out_arg_asv, 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GVariant *_ret; 959s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 959s # if (_ret == NULL) 959s # goto _out; 959s # g_variant_get (_ret, 959s # "(@a{sv})", 959s # out_arg_asv); 959s # g_variant_unref (_ret); 959s # _out: 959s # return _ret != NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_call_single_arg_method_asv_sync: 959s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 959s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL. 959s # * 959s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 959s # * 959s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 959s # */ 959s # gboolean 959s # org_project_useful_interface_call_single_arg_method_asv_sync ( 959s # OrgProjectUsefulInterface *proxy, 959s # GVariant **out_arg_asv, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GVariant *_ret; 959s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 959s # "SingleArgMethodAsv", 959s # g_variant_new ("()"), 959s # G_DBUS_CALL_FLAGS_NONE, 959s # -1, 959s # cancellable, 959s # error); 959s # if (_ret == NULL) 959s # goto _out; 959s # g_variant_get (_ret, 959s # "(@a{sv})", 959s # out_arg_asv); 959s # g_variant_unref (_ret); 959s # _out: 959s # return _ret != NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_complete_single_arg_method_asv: 959s # * @object: A #OrgProjectUsefulInterface. 959s # * @invocation: (transfer full): A #GDBusMethodInvocation. 959s # * @arg_asv: Parameter to return. 959s # * 959s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodAsv() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 959s # * 959s # * This method will free @invocation, you cannot use it afterwards. 959s # */ 959s # void 959s # org_project_useful_interface_complete_single_arg_method_asv ( 959s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 959s # GDBusMethodInvocation *invocation, 959s # GVariant *arg_asv) 959s # { 959s # g_dbus_method_invocation_return_value (invocation, 959s # g_variant_new ("(@a{sv})", 959s # arg_asv)); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceProxy: 959s # * 959s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceProxyClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectUsefulInterfaceProxy. 959s # */ 959s # 959s # struct _OrgProjectUsefulInterfaceProxyPrivate 959s # { 959s # GData *qdata; 959s # }; 959s # 959s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 959s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_useful_interface_proxy_finalize (GObject *object) 959s # { 959s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 959s # g_datalist_clear (&proxy->priv->qdata); 959s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # const GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 959s # const gchar *sender_name G_GNUC_UNUSED, 959s # const gchar *signal_name, 959s # GVariant *parameters) 959s # { 959s # _ExtendedGDBusSignalInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # gsize n; 959s # guint signal_id; 959s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 959s # if (info == NULL) 959s # return; 959s # num_params = g_variant_n_children (parameters); 959s # paramv = g_new0 (GValue, num_params + 1); 959s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_set_object (¶mv[0], proxy); 959s # g_variant_iter_init (&iter, parameters); 959s # n = 1; 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_signal_emitv (paramv, signal_id, 0, NULL); 959s # for (n = 0; n < num_params + 1; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 959s # GVariant *changed_properties, 959s # const gchar *const *invalidated_properties) 959s # { 959s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 959s # guint n; 959s # const gchar *key; 959s # GVariantIter *iter; 959s # _ExtendedGDBusPropertyInfo *info; 959s # g_variant_get (changed_properties, "a{sv}", &iter); 959s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 959s # g_datalist_remove_data (&proxy->priv->qdata, key); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # g_variant_iter_free (iter); 959s # for (n = 0; invalidated_properties[n] != NULL; n++) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 959s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 959s # #else 959s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 959s # #endif 959s # 959s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusProxyClass *proxy_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 959s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 959s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 959s # 959s # proxy_class = G_DBUS_PROXY_CLASS (klass); 959s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 959s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_useful_interface_proxy_new ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_sync: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_sync ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_useful_interface_proxy_new_for_bus ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_for_bus_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus_sync: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_for_bus_sync ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceSkeleton: 959s # * 959s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceSkeletonClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 959s # */ 959s # 959s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 959s # { 959s # GValue *properties; 959s # GList *changed_properties; 959s # GSource *changed_properties_idle_source; 959s # GMainContext *context; 959s # GMutex lock; 959s # }; 959s # 959s # static void 959s # _org_project_useful_interface_skeleton_handle_method_call ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name, 959s # const gchar *method_name, 959s # GVariant *parameters, 959s # GDBusMethodInvocation *invocation, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # _ExtendedGDBusMethodInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # guint num_extra; 959s # gsize n; 959s # guint signal_id; 959s # GValue return_value = G_VALUE_INIT; 959s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 959s # g_assert (info != NULL); 959s # num_params = g_variant_n_children (parameters); 959s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 959s # n = 0; 959s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_set_object (¶mv[n++], skeleton); 959s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 959s # g_value_set_object (¶mv[n++], invocation); 959s # if (info->pass_fdlist) 959s # { 959s # #ifdef G_OS_UNIX 959s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 959s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 959s # #else 959s # g_assert_not_reached (); 959s # #endif 959s # } 959s # g_variant_iter_init (&iter, parameters); 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_init (&return_value, G_TYPE_BOOLEAN); 959s # g_signal_emitv (paramv, signal_id, 0, &return_value); 959s # if (!g_value_get_boolean (&return_value)) 959s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 959s # g_value_unset (&return_value); 959s # for (n = 0; n < num_params + num_extra; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static GVariant * 959s # _org_project_useful_interface_skeleton_handle_get_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # GVariant *ret; 959s # ret = NULL; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # g_value_init (&value, pspec->value_type); 959s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 959s # g_value_unset (&value); 959s # } 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _org_project_useful_interface_skeleton_handle_set_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GVariant *variant, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # gboolean ret; 959s # ret = FALSE; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # if (info->use_gvariant) 959s # g_value_set_variant (&value, variant); 959s # else 959s # g_dbus_gvariant_to_gvalue (variant, &value); 959s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # g_value_unset (&value); 959s # ret = TRUE; 959s # } 959s # return ret; 959s # } 959s # 959s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 959s # { 959s # _org_project_useful_interface_skeleton_handle_method_call, 959s # _org_project_useful_interface_skeleton_handle_get_property, 959s # _org_project_useful_interface_skeleton_handle_set_property, 959s # {NULL} 959s # }; 959s # 959s # static GDBusInterfaceInfo * 959s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return org_project_useful_interface_interface_info (); 959s # } 959s # 959s # static GDBusInterfaceVTable * 959s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 959s # } 959s # 959s # static GVariant * 959s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 959s # 959s # GVariantBuilder builder; 959s # guint n; 959s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 959s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 959s # goto out; 959s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 959s # { 959s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 959s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 959s # { 959s # GVariant *value; 959s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 959s # if (value != NULL) 959s # { 959s # g_variant_take_ref (value); 959s # g_variant_builder_add (&builder, "{sv}", info->name, value); 959s # g_variant_unref (value); 959s # } 959s # } 959s # } 959s # out: 959s # return g_variant_builder_end (&builder); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_useful_interface_skeleton_finalize (GObject *object) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 959s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 959s # if (skeleton->priv->changed_properties_idle_source != NULL) 959s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 959s # g_main_context_unref (skeleton->priv->context); 959s # g_mutex_clear (&skeleton->priv->lock); 959s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 959s # #else 959s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 959s # #endif 959s # 959s # g_mutex_init (&skeleton->priv->lock); 959s # skeleton->priv->context = g_main_context_ref_thread_default (); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusInterfaceSkeletonClass *skeleton_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 959s # 959s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 959s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 959s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 959s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 959s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_skeleton_new: 959s # * 959s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_skeleton_new (void) 959s # { 959s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 959s # } 959s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 959s # tmpdir: /tmp/tmp842olc2v 959s # codegen: /usr/bin/gdbus-codegen 959s # /tmp/tmp842olc2v/tmpjbtrkuu3.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp842olc2v/tmpjbtrkuu3.xml', '--output', '-', '--body'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: /* 959s # * This file is generated by gdbus-codegen, do not modify it. 959s # * 959s # * The license of this code is the same as for the D-Bus interface description 959s # * it was derived from. Note that it links to GLib, so must comply with the 959s # * LGPL linking clauses. 959s # */ 959s # 959s # #ifdef HAVE_CONFIG_H 959s # # include "config.h" 959s # #endif 959s # 959s # #include 959s # #ifdef G_OS_UNIX 959s # # include 959s # #endif 959s # 959s # #ifdef G_ENABLE_DEBUG 959s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 959s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 959s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 959s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 959s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 959s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 959s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 959s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 959s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 959s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 959s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 959s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 959s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 959s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 959s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 959s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 959s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 959s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 959s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 959s # #else /* !G_ENABLE_DEBUG */ 959s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 959s # * Do not access GValues directly in your code. Instead, use the 959s # * g_value_get_*() functions 959s # */ 959s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 959s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 959s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 959s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 959s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 959s # #endif /* !G_ENABLE_DEBUG */ 959s # 959s # typedef struct 959s # { 959s # GDBusArgInfo parent_struct; 959s # gboolean use_gvariant; 959s # } _ExtendedGDBusArgInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusMethodInfo parent_struct; 959s # const gchar *signal_name; 959s # gboolean pass_fdlist; 959s # } _ExtendedGDBusMethodInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusSignalInfo parent_struct; 959s # const gchar *signal_name; 959s # } _ExtendedGDBusSignalInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusPropertyInfo parent_struct; 959s # const gchar *hyphen_name; 959s # guint use_gvariant : 1; 959s # guint emits_changed_signal : 1; 959s # } _ExtendedGDBusPropertyInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusInterfaceInfo parent_struct; 959s # const gchar *hyphen_name; 959s # } _ExtendedGDBusInterfaceInfo; 959s # 959s # typedef struct 959s # { 959s # const _ExtendedGDBusPropertyInfo *info; 959s # guint prop_id; 959s # GValue orig_value; /* the value before the change */ 959s # } ChangedProperty; 959s # 959s # static void 959s # _changed_property_free (ChangedProperty *data) 959s # { 959s # g_value_unset (&data->orig_value); 959s # g_free (data); 959s # } 959s # 959s # static gboolean 959s # _g_strv_equal0 (gchar **a, gchar **b) 959s # { 959s # gboolean ret = FALSE; 959s # guint n; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # if (g_strv_length (a) != g_strv_length (b)) 959s # goto out; 959s # for (n = 0; a[n] != NULL; n++) 959s # if (g_strcmp0 (a[n], b[n]) != 0) 959s # goto out; 959s # ret = TRUE; 959s # out: 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _g_variant_equal0 (GVariant *a, GVariant *b) 959s # { 959s # gboolean ret = FALSE; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # ret = g_variant_equal (a, b); 959s # out: 959s # return ret; 959s # } 959s # 959s # G_GNUC_UNUSED static gboolean 959s # _g_value_equal (const GValue *a, const GValue *b) 959s # { 959s # gboolean ret = FALSE; 959s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 959s # switch (G_VALUE_TYPE (a)) 959s # { 959s # case G_TYPE_BOOLEAN: 959s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 959s # break; 959s # case G_TYPE_UCHAR: 959s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 959s # break; 959s # case G_TYPE_INT: 959s # ret = (g_value_get_int (a) == g_value_get_int (b)); 959s # break; 959s # case G_TYPE_UINT: 959s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 959s # break; 959s # case G_TYPE_INT64: 959s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 959s # break; 959s # case G_TYPE_UINT64: 959s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 959s # break; 959s # case G_TYPE_DOUBLE: 959s # { 959s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 959s # gdouble da = g_value_get_double (a); 959s # gdouble db = g_value_get_double (b); 959s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 959s # } 959s # break; 959s # case G_TYPE_STRING: 959s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 959s # break; 959s # case G_TYPE_VARIANT: 959s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 959s # break; 959s # default: 959s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 959s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 959s # else 959s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 959s # break; 959s # } 959s # return ret; 959s # } 959s # 959s # static void 959s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint G_GNUC_UNUSED, 959s # void *marshal_data) 959s # { 959s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 959s # (void *data1, 959s # GDBusMethodInvocation *arg_method_invocation, 959s # gboolean arg_an_b, 959s # guchar arg_an_y, 959s # gint16 arg_an_n, 959s # guint16 arg_an_q, 959s # gint arg_an_i, 959s # guint arg_an_u, 959s # gint64 arg_an_x, 959s # guint64 arg_an_t, 959s # gdouble arg_an_d, 959s # const gchar *arg_an_s, 959s # const gchar *arg_an_o, 959s # const gchar *arg_an_g, 959s # GVariant *arg_an_h, 959s # const gchar *arg_an_ay, 959s # const gchar *const *arg_an_as, 959s # const gchar *const *arg_an_ao, 959s # const gchar *const *arg_an_aay, 959s # GVariant *arg_an_asv, 959s # void *data2); 959s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 959s # GCClosure *cc = (GCClosure*) closure; 959s # void *data1, *data2; 959s # gboolean v_return; 959s # 959s # g_return_if_fail (return_value != NULL); 959s # g_return_if_fail (n_param_values == 20); 959s # 959s # if (G_CCLOSURE_SWAP_DATA (closure)) 959s # { 959s # data1 = closure->data; 959s # data2 = g_value_peek_pointer (param_values + 0); 959s # } 959s # else 959s # { 959s # data1 = g_value_peek_pointer (param_values + 0); 959s # data2 = closure->data; 959s # } 959s # 959s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 959s # (marshal_data ? marshal_data : cc->callback); 959s # 959s # v_return = 959s # callback (data1, 959s # g_marshal_value_peek_object (param_values + 1), 959s # g_marshal_value_peek_boolean (param_values + 2), 959s # g_marshal_value_peek_uchar (param_values + 3), 959s # g_marshal_value_peek_int (param_values + 4), 959s # g_marshal_value_peek_uint (param_values + 5), 959s # g_marshal_value_peek_int (param_values + 6), 959s # g_marshal_value_peek_uint (param_values + 7), 959s # g_marshal_value_peek_int64 (param_values + 8), 959s # g_marshal_value_peek_uint64 (param_values + 9), 959s # g_marshal_value_peek_double (param_values + 10), 959s # g_marshal_value_peek_string (param_values + 11), 959s # g_marshal_value_peek_string (param_values + 12), 959s # g_marshal_value_peek_string (param_values + 13), 959s # g_marshal_value_peek_variant (param_values + 14), 959s # g_marshal_value_peek_string (param_values + 15), 959s # g_marshal_value_peek_boxed (param_values + 16), 959s # g_marshal_value_peek_boxed (param_values + 17), 959s # g_marshal_value_peek_boxed (param_values + 18), 959s # g_marshal_value_peek_variant (param_values + 19), 959s # data2); 959s # 959s # g_value_set_boolean (return_value, v_return); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ 959s # * Code for interface org.project.CallableIface 959s # * ------------------------------------------------------------------------ 959s # */ 959s # 959s # /** 959s # * SECTION:OrgProjectCallableIface 959s # * @title: OrgProjectCallableIface 959s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 959s # * 959s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 959s # */ 959s # 959s # /* ---- Introspection data for org.project.CallableIface ---- */ 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_b", 959s # (gchar *) "b", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_y", 959s # (gchar *) "y", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_n", 959s # (gchar *) "n", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_q", 959s # (gchar *) "q", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_i", 959s # (gchar *) "i", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_u", 959s # (gchar *) "u", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_x", 959s # (gchar *) "x", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_t", 959s # (gchar *) "t", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_d", 959s # (gchar *) "d", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_s", 959s # (gchar *) "s", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_o", 959s # (gchar *) "o", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_g", 959s # (gchar *) "g", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_h", 959s # (gchar *) "h", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_ay", 959s # (gchar *) "ay", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_as", 959s # (gchar *) "as", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_ao", 959s # (gchar *) "ao", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_aay", 959s # (gchar *) "aay", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_asv", 959s # (gchar *) "a{sv}", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 959s # { 959s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 959s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 959s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 959s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 959s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 959s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 959s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 959s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 959s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 959s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 959s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 959s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 959s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 959s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 959s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 959s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 959s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 959s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 959s # { 959s # { 959s # -1, 959s # (gchar *) "MethodWithManyArgs", 959s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 959s # NULL, 959s # NULL 959s # }, 959s # "handle-method-with-many-args", 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_b", 959s # (gchar *) "b", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_y", 959s # (gchar *) "y", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_n", 959s # (gchar *) "n", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_q", 959s # (gchar *) "q", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_i", 959s # (gchar *) "i", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_u", 959s # (gchar *) "u", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_x", 959s # (gchar *) "x", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_t", 959s # (gchar *) "t", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_d", 959s # (gchar *) "d", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_s", 959s # (gchar *) "s", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_o", 959s # (gchar *) "o", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_g", 959s # (gchar *) "g", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_h", 959s # (gchar *) "h", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_ay", 959s # (gchar *) "ay", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_as", 959s # (gchar *) "as", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_ao", 959s # (gchar *) "ao", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_aay", 959s # (gchar *) "aay", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_asv", 959s # (gchar *) "a{sv}", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 959s # { 959s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 959s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 959s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 959s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 959s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 959s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 959s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 959s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 959s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 959s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 959s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 959s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 959s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 959s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 959s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 959s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 959s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 959s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SameMethodWithManyArgs", 959s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 959s # NULL, 959s # NULL 959s # }, 959s # "handle-same-method-with-many-args", 959s # FALSE 959s # }; 959s # 959s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 959s # { 959s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 959s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 959s # { 959s # { 959s # -1, 959s # (gchar *) "org.project.CallableIface", 959s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 959s # NULL, 959s # NULL, 959s # NULL 959s # }, 959s # "org-project-callable-iface", 959s # }; 959s # 959s # 959s # /** 959s # * org_project_callable_iface_interface_info: 959s # * 959s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 959s # * 959s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 959s # */ 959s # GDBusInterfaceInfo * 959s # org_project_callable_iface_interface_info (void) 959s # { 959s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 959s # } 959s # 959s # /** 959s # * org_project_callable_iface_override_properties: 959s # * @klass: The class structure for a #GObject derived class. 959s # * @property_id_begin: The property id to assign to the first overridden property. 959s # * 959s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 959s # * The properties are overridden in the order they are defined. 959s # * 959s # * Returns: The last property id. 959s # */ 959s # guint 959s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 959s # { 959s # return property_id_begin - 1; 959s # } 959s # 959s # 959s # inline static void 959s # org_project_callable_iface_method_marshal_method_with_many_args ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # inline static void 959s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # 959s # /** 959s # * OrgProjectCallableIface: 959s # * 959s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 959s # */ 959s # 959s # /** 959s # * OrgProjectCallableIfaceIface: 959s # * @parent_iface: The parent interface. 959s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 959s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 959s # * 959s # * Virtual table for the D-Bus interface org.project.CallableIface. 959s # */ 959s # 959s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 959s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 959s # 959s # static void 959s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 959s # { 959s # /* GObject signals for incoming D-Bus method calls: */ 959s # /** 959s # * OrgProjectCallableIface::handle-method-with-many-args: 959s # * @object: A #OrgProjectCallableIface. 959s # * @invocation: A #GDBusMethodInvocation. 959s # * @arg_an_b: Argument passed by remote caller. 959s # * @arg_an_y: Argument passed by remote caller. 959s # * @arg_an_n: Argument passed by remote caller. 959s # * @arg_an_q: Argument passed by remote caller. 959s # * @arg_an_i: Argument passed by remote caller. 959s # * @arg_an_u: Argument passed by remote caller. 959s # * @arg_an_x: Argument passed by remote caller. 959s # * @arg_an_t: Argument passed by remote caller. 959s # * @arg_an_d: Argument passed by remote caller. 959s # * @arg_an_s: Argument passed by remote caller. 959s # * @arg_an_o: Argument passed by remote caller. 959s # * @arg_an_g: Argument passed by remote caller. 959s # * @arg_an_h: Argument passed by remote caller. 959s # * @arg_an_ay: Argument passed by remote caller. 959s # * @arg_an_as: Argument passed by remote caller. 959s # * @arg_an_ao: Argument passed by remote caller. 959s # * @arg_an_aay: Argument passed by remote caller. 959s # * @arg_an_asv: Argument passed by remote caller. 959s # * 959s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 959s # * 959s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_callable_iface_complete_method_with_many_args() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 959s # * 959s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 959s # */ 959s # g_signal_new ("handle-method-with-many-args", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 959s # g_signal_accumulator_true_handled, 959s # NULL, 959s # org_project_callable_iface_method_marshal_method_with_many_args, 959s # G_TYPE_BOOLEAN, 959s # 19, 959s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN, G_TYPE_UCHAR, G_TYPE_INT, G_TYPE_UINT, G_TYPE_INT, G_TYPE_UINT, G_TYPE_INT64, G_TYPE_UINT64, G_TYPE_DOUBLE, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_VARIANT, G_TYPE_STRING, G_TYPE_STRV, G_TYPE_STRV, G_TYPE_STRV, G_TYPE_VARIANT); 959s # 959s # /** 959s # * OrgProjectCallableIface::handle-same-method-with-many-args: 959s # * @object: A #OrgProjectCallableIface. 959s # * @invocation: A #GDBusMethodInvocation. 959s # * @arg_an_b: Argument passed by remote caller. 959s # * @arg_an_y: Argument passed by remote caller. 959s # * @arg_an_n: Argument passed by remote caller. 959s # * @arg_an_q: Argument passed by remote caller. 959s # * @arg_an_i: Argument passed by remote caller. 959s # * @arg_an_u: Argument passed by remote caller. 959s # * @arg_an_x: Argument passed by remote caller. 959s # * @arg_an_t: Argument passed by remote caller. 959s # * @arg_an_d: Argument passed by remote caller. 959s # * @arg_an_s: Argument passed by remote caller. 959s # * @arg_an_o: Argument passed by remote caller. 959s # * @arg_an_g: Argument passed by remote caller. 959s # * @arg_an_h: Argument passed by remote caller. 959s # * @arg_an_ay: Argument passed by remote caller. 959s # * @arg_an_as: Argument passed by remote caller. 959s # * @arg_an_ao: Argument passed by remote caller. 959s # * @arg_an_aay: Argument passed by remote caller. 959s # * @arg_an_asv: Argument passed by remote caller. 959s # * 959s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 959s # * 959s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_callable_iface_complete_same_method_with_many_args() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 959s # * 959s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 959s # */ 959s # g_signal_new ("handle-same-method-with-many-args", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 959s # g_signal_accumulator_true_handled, 959s # NULL, 959s # org_project_callable_iface_method_marshal_same_method_with_many_args, 959s # G_TYPE_BOOLEAN, 959s # 19, 959s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN, G_TYPE_UCHAR, G_TYPE_INT, G_TYPE_UINT, G_TYPE_INT, G_TYPE_UINT, G_TYPE_INT64, G_TYPE_UINT64, G_TYPE_DOUBLE, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_VARIANT, G_TYPE_STRING, G_TYPE_STRV, G_TYPE_STRV, G_TYPE_STRV, G_TYPE_VARIANT); 959s # 959s # } 959s # 959s # /** 959s # * org_project_callable_iface_call_method_with_many_args: 959s # * @proxy: A #OrgProjectCallableIfaceProxy. 959s # * @arg_an_b: Argument to pass with the method invocation. 959s # * @arg_an_y: Argument to pass with the method invocation. 959s # * @arg_an_n: Argument to pass with the method invocation. 959s # * @arg_an_q: Argument to pass with the method invocation. 959s # * @arg_an_i: Argument to pass with the method invocation. 959s # * @arg_an_u: Argument to pass with the method invocation. 959s # * @arg_an_x: Argument to pass with the method invocation. 959s # * @arg_an_t: Argument to pass with the method invocation. 959s # * @arg_an_d: Argument to pass with the method invocation. 959s # * @arg_an_s: Argument to pass with the method invocation. 959s # * @arg_an_o: Argument to pass with the method invocation. 959s # * @arg_an_g: Argument to pass with the method invocation. 959s # * @arg_an_h: Argument to pass with the method invocation. 959s # * @arg_an_ay: Argument to pass with the method invocation. 959s # * @arg_an_as: Argument to pass with the method invocation. 959s # * @arg_an_ao: Argument to pass with the method invocation. 959s # * @arg_an_aay: Argument to pass with the method invocation. 959s # * @arg_an_asv: Argument to pass with the method invocation. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 959s # * 959s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 959s # */ 959s # void 959s # org_project_callable_iface_call_method_with_many_args ( 959s # OrgProjectCallableIface *proxy, 959s # gboolean arg_an_b, 959s # guchar arg_an_y, 959s # gint16 arg_an_n, 959s # guint16 arg_an_q, 959s # gint arg_an_i, 959s # guint arg_an_u, 959s # gint64 arg_an_x, 959s # guint64 arg_an_t, 959s # gdouble arg_an_d, 959s # const gchar *arg_an_s, 959s # const gchar *arg_an_o, 959s # const gchar *arg_an_g, 959s # GVariant *arg_an_h, 959s # const gchar *arg_an_ay, 959s # const gchar *const *arg_an_as, 959s # const gchar *const *arg_an_ao, 959s # const gchar *const *arg_an_aay, 959s # GVariant *arg_an_asv, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 959s # "MethodWithManyArgs", 959s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 959s # arg_an_b, 959s # arg_an_y, 959s # arg_an_n, 959s # arg_an_q, 959s # arg_an_i, 959s # arg_an_u, 959s # arg_an_x, 959s # arg_an_t, 959s # arg_an_d, 959s # arg_an_s, 959s # arg_an_o, 959s # arg_an_g, 959s # arg_an_h, 959s # arg_an_ay, 959s # arg_an_as, 959s # arg_an_ao, 959s # arg_an_aay, 959s # arg_an_asv), 959s # G_DBUS_CALL_FLAGS_NONE, 959s # -1, 959s # cancellable, 959s # callback, 959s # user_data); 959s # } 959s # 959s # /** 959s # * org_project_callable_iface_call_method_with_many_args_finish: 959s # * @proxy: A #OrgProjectCallableIfaceProxy. 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 959s # * @error: Return location for error or %NULL. 959s # * 959s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 959s # * 959s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 959s # */ 959s # gboolean 959s # org_project_callable_iface_call_method_with_many_args_finish ( 959s # OrgProjectCallableIface *proxy, 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GVariant *_ret; 959s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 959s # if (_ret == NULL) 959s # goto _out; 959s # g_variant_get (_ret, 959s # "()"); 959s # g_variant_unref (_ret); 959s # _out: 959s # return _ret != NULL; 959s # } 959s # 959s # /** 959s # * org_project_callable_iface_call_method_with_many_args_sync: 959s # * @proxy: A #OrgProjectCallableIfaceProxy. 959s # * @arg_an_b: Argument to pass with the method invocation. 959s # * @arg_an_y: Argument to pass with the method invocation. 959s # * @arg_an_n: Argument to pass with the method invocation. 959s # * @arg_an_q: Argument to pass with the method invocation. 959s # * @arg_an_i: Argument to pass with the method invocation. 959s # * @arg_an_u: Argument to pass with the method invocation. 959s # * @arg_an_x: Argument to pass with the method invocation. 959s # * @arg_an_t: Argument to pass with the method invocation. 959s # * @arg_an_d: Argument to pass with the method invocation. 959s # * @arg_an_s: Argument to pass with the method invocation. 959s # * @arg_an_o: Argument to pass with the method invocation. 959s # * @arg_an_g: Argument to pass with the method invocation. 959s # * @arg_an_h: Argument to pass with the method invocation. 959s # * @arg_an_ay: Argument to pass with the method invocation. 959s # * @arg_an_as: Argument to pass with the method invocation. 959s # * @arg_an_ao: Argument to pass with the method invocation. 959s # * @arg_an_aay: Argument to pass with the method invocation. 959s # * @arg_an_asv: Argument to pass with the method invocation. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL. 959s # * 959s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 959s # * 959s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 959s # */ 959s # gboolean 959s # org_project_callable_iface_call_method_with_many_args_sync ( 959s # OrgProjectCallableIface *proxy, 959s # gboolean arg_an_b, 959s # guchar arg_an_y, 959s # gint16 arg_an_n, 959s # guint16 arg_an_q, 959s # gint arg_an_i, 959s # guint arg_an_u, 959s # gint64 arg_an_x, 959s # guint64 arg_an_t, 959s # gdouble arg_an_d, 959s # const gchar *arg_an_s, 959s # const gchar *arg_an_o, 959s # const gchar *arg_an_g, 959s # GVariant *arg_an_h, 959s # const gchar *arg_an_ay, 959s # const gchar *const *arg_an_as, 959s # const gchar *const *arg_an_ao, 959s # const gchar *const *arg_an_aay, 959s # GVariant *arg_an_asv, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GVariant *_ret; 959s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 959s # "MethodWithManyArgs", 959s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 959s # arg_an_b, 959s # arg_an_y, 959s # arg_an_n, 959s # arg_an_q, 959s # arg_an_i, 959s # arg_an_u, 959s # arg_an_x, 959s # arg_an_t, 959s # arg_an_d, 959s # arg_an_s, 959s # arg_an_o, 959s # arg_an_g, 959s # arg_an_h, 959s # arg_an_ay, 959s # arg_an_as, 959s # arg_an_ao, 959s # arg_an_aay, 959s # arg_an_asv), 959s # G_DBUS_CALL_FLAGS_NONE, 959s # -1, 959s # cancellable, 959s # error); 959s # if (_ret == NULL) 959s # goto _out; 959s # g_variant_get (_ret, 959s # "()"); 959s # g_variant_unref (_ret); 959s # _out: 959s # return _ret != NULL; 959s # } 959s # 959s # /** 959s # * org_project_callable_iface_call_same_method_with_many_args: 959s # * @proxy: A #OrgProjectCallableIfaceProxy. 959s # * @arg_an_b: Argument to pass with the method invocation. 959s # * @arg_an_y: Argument to pass with the method invocation. 959s # * @arg_an_n: Argument to pass with the method invocation. 959s # * @arg_an_q: Argument to pass with the method invocation. 959s # * @arg_an_i: Argument to pass with the method invocation. 959s # * @arg_an_u: Argument to pass with the method invocation. 959s # * @arg_an_x: Argument to pass with the method invocation. 959s # * @arg_an_t: Argument to pass with the method invocation. 959s # * @arg_an_d: Argument to pass with the method invocation. 959s # * @arg_an_s: Argument to pass with the method invocation. 959s # * @arg_an_o: Argument to pass with the method invocation. 959s # * @arg_an_g: Argument to pass with the method invocation. 959s # * @arg_an_h: Argument to pass with the method invocation. 959s # * @arg_an_ay: Argument to pass with the method invocation. 959s # * @arg_an_as: Argument to pass with the method invocation. 959s # * @arg_an_ao: Argument to pass with the method invocation. 959s # * @arg_an_aay: Argument to pass with the method invocation. 959s # * @arg_an_asv: Argument to pass with the method invocation. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 959s # * 959s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 959s # */ 959s # void 959s # org_project_callable_iface_call_same_method_with_many_args ( 959s # OrgProjectCallableIface *proxy, 959s # gboolean arg_an_b, 959s # guchar arg_an_y, 959s # gint16 arg_an_n, 959s # guint16 arg_an_q, 959s # gint arg_an_i, 959s # guint arg_an_u, 959s # gint64 arg_an_x, 959s # guint64 arg_an_t, 959s # gdouble arg_an_d, 959s # const gchar *arg_an_s, 959s # const gchar *arg_an_o, 959s # const gchar *arg_an_g, 959s # GVariant *arg_an_h, 959s # const gchar *arg_an_ay, 959s # const gchar *const *arg_an_as, 959s # const gchar *const *arg_an_ao, 959s # const gchar *const *arg_an_aay, 959s # GVariant *arg_an_asv, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 959s # "SameMethodWithManyArgs", 959s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 959s # arg_an_b, 959s # arg_an_y, 959s # arg_an_n, 959s # arg_an_q, 959s # arg_an_i, 959s # arg_an_u, 959s # arg_an_x, 959s # arg_an_t, 959s # arg_an_d, 959s # arg_an_s, 959s # arg_an_o, 959s # arg_an_g, 959s # arg_an_h, 959s # arg_an_ay, 959s # arg_an_as, 959s # arg_an_ao, 959s # arg_an_aay, 959s # arg_an_asv), 959s # G_DBUS_CALL_FLAGS_NONE, 959s # -1, 959s # cancellable, 959s # callback, 959s # user_data); 959s # } 959s # 959s # /** 959s # * org_project_callable_iface_call_same_method_with_many_args_finish: 959s # * @proxy: A #OrgProjectCallableIfaceProxy. 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 959s # * @error: Return location for error or %NULL. 959s # * 959s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 959s # * 959s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 959s # */ 959s # gboolean 959s # org_project_callable_iface_call_same_method_with_many_args_finish ( 959s # OrgProjectCallableIface *proxy, 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GVariant *_ret; 959s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 959s # if (_ret == NULL) 959s # goto _out; 959s # g_variant_get (_ret, 959s # "()"); 959s # g_variant_unref (_ret); 959s # _out: 959s # return _ret != NULL; 959s # } 959s # 959s # /** 959s # * org_project_callable_iface_call_same_method_with_many_args_sync: 959s # * @proxy: A #OrgProjectCallableIfaceProxy. 959s # * @arg_an_b: Argument to pass with the method invocation. 959s # * @arg_an_y: Argument to pass with the method invocation. 959s # * @arg_an_n: Argument to pass with the method invocation. 959s # * @arg_an_q: Argument to pass with the method invocation. 959s # * @arg_an_i: Argument to pass with the method invocation. 959s # * @arg_an_u: Argument to pass with the method invocation. 959s # * @arg_an_x: Argument to pass with the method invocation. 959s # * @arg_an_t: Argument to pass with the method invocation. 959s # * @arg_an_d: Argument to pass with the method invocation. 959s # * @arg_an_s: Argument to pass with the method invocation. 959s # * @arg_an_o: Argument to pass with the method invocation. 959s # * @arg_an_g: Argument to pass with the method invocation. 959s # * @arg_an_h: Argument to pass with the method invocation. 959s # * @arg_an_ay: Argument to pass with the method invocation. 959s # * @arg_an_as: Argument to pass with the method invocation. 959s # * @arg_an_ao: Argument to pass with the method invocation. 959s # * @arg_an_aay: Argument to pass with the method invocation. 959s # * @arg_an_asv: Argument to pass with the method invocation. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL. 959s # * 959s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 959s # * 959s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 959s # */ 959s # gboolean 959s # org_project_callable_iface_call_same_method_with_many_args_sync ( 959s # OrgProjectCallableIface *proxy, 959s # gboolean arg_an_b, 959s # guchar arg_an_y, 959s # gint16 arg_an_n, 959s # guint16 arg_an_q, 959s # gint arg_an_i, 959s # guint arg_an_u, 959s # gint64 arg_an_x, 959s # guint64 arg_an_t, 959s # gdouble arg_an_d, 959s # const gchar *arg_an_s, 959s # const gchar *arg_an_o, 959s # const gchar *arg_an_g, 959s # GVariant *arg_an_h, 959s # const gchar *arg_an_ay, 959s # const gchar *const *arg_an_as, 959s # const gchar *const *arg_an_ao, 959s # const gchar *const *arg_an_aay, 959s # GVariant *arg_an_asv, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GVariant *_ret; 959s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 959s # "SameMethodWithManyArgs", 959s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 959s # arg_an_b, 959s # arg_an_y, 959s # arg_an_n, 959s # arg_an_q, 959s # arg_an_i, 959s # arg_an_u, 959s # arg_an_x, 959s # arg_an_t, 959s # arg_an_d, 959s # arg_an_s, 959s # arg_an_o, 959s # arg_an_g, 959s # arg_an_h, 959s # arg_an_ay, 959s # arg_an_as, 959s # arg_an_ao, 959s # arg_an_aay, 959s # arg_an_asv), 959s # G_DBUS_CALL_FLAGS_NONE, 959s # -1, 959s # cancellable, 959s # error); 959s # if (_ret == NULL) 959s # goto _out; 959s # g_variant_get (_ret, 959s # "()"); 959s # g_variant_unref (_ret); 959s # _out: 959s # return _ret != NULL; 959s # } 959s # 959s # /** 959s # * org_project_callable_iface_complete_method_with_many_args: 959s # * @object: A #OrgProjectCallableIface. 959s # * @invocation: (transfer full): A #GDBusMethodInvocation. 959s # * 959s # * Helper function used in service implementations to finish handling invocations of the MethodWithManyArgs() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 959s # * 959s # * This method will free @invocation, you cannot use it afterwards. 959s # */ 959s # void 959s # org_project_callable_iface_complete_method_with_many_args ( 959s # OrgProjectCallableIface *object G_GNUC_UNUSED, 959s # GDBusMethodInvocation *invocation) 959s # { 959s # g_dbus_method_invocation_return_value (invocation, 959s # g_variant_new ("()")); 959s # } 959s # 959s # /** 959s # * org_project_callable_iface_complete_same_method_with_many_args: 959s # * @object: A #OrgProjectCallableIface. 959s # * @invocation: (transfer full): A #GDBusMethodInvocation. 959s # * 959s # * Helper function used in service implementations to finish handling invocations of the SameMethodWithManyArgs() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 959s # * 959s # * This method will free @invocation, you cannot use it afterwards. 959s # */ 959s # void 959s # org_project_callable_iface_complete_same_method_with_many_args ( 959s # OrgProjectCallableIface *object G_GNUC_UNUSED, 959s # GDBusMethodInvocation *invocation) 959s # { 959s # g_dbus_method_invocation_return_value (invocation, 959s # g_variant_new ("()")); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectCallableIfaceProxy: 959s # * 959s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectCallableIfaceProxyClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectCallableIfaceProxy. 959s # */ 959s # 959s # struct _OrgProjectCallableIfaceProxyPrivate 959s # { 959s # GData *qdata; 959s # }; 959s # 959s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_callable_iface_proxy_finalize (GObject *object) 959s # { 959s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 959s # g_datalist_clear (&proxy->priv->qdata); 959s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # const GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 959s # const gchar *sender_name G_GNUC_UNUSED, 959s # const gchar *signal_name, 959s # GVariant *parameters) 959s # { 959s # _ExtendedGDBusSignalInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # gsize n; 959s # guint signal_id; 959s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 959s # if (info == NULL) 959s # return; 959s # num_params = g_variant_n_children (parameters); 959s # paramv = g_new0 (GValue, num_params + 1); 959s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 959s # g_value_set_object (¶mv[0], proxy); 959s # g_variant_iter_init (&iter, parameters); 959s # n = 1; 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 959s # g_signal_emitv (paramv, signal_id, 0, NULL); 959s # for (n = 0; n < num_params + 1; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static void 959s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 959s # GVariant *changed_properties, 959s # const gchar *const *invalidated_properties) 959s # { 959s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 959s # guint n; 959s # const gchar *key; 959s # GVariantIter *iter; 959s # _ExtendedGDBusPropertyInfo *info; 959s # g_variant_get (changed_properties, "a{sv}", &iter); 959s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 959s # g_datalist_remove_data (&proxy->priv->qdata, key); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # g_variant_iter_free (iter); 959s # for (n = 0; invalidated_properties[n] != NULL; n++) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 959s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # } 959s # 959s # static void 959s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 959s # #else 959s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 959s # #endif 959s # 959s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 959s # } 959s # 959s # static void 959s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusProxyClass *proxy_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 959s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 959s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 959s # 959s # proxy_class = G_DBUS_PROXY_CLASS (klass); 959s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 959s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_callable_iface_proxy_new: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 959s # * 959s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_callable_iface_proxy_new ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.CallableIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_callable_iface_proxy_new_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectCallableIface * 959s # org_project_callable_iface_proxy_new_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_CALLABLE_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_callable_iface_proxy_new_sync: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectCallableIface * 959s # org_project_callable_iface_proxy_new_sync ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.CallableIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_CALLABLE_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /** 959s # * org_project_callable_iface_proxy_new_for_bus: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 959s # * 959s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_callable_iface_proxy_new_for_bus ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.CallableIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_callable_iface_proxy_new_for_bus_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectCallableIface * 959s # org_project_callable_iface_proxy_new_for_bus_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_CALLABLE_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_callable_iface_proxy_new_for_bus_sync: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectCallableIface * 959s # org_project_callable_iface_proxy_new_for_bus_sync ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.CallableIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_CALLABLE_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectCallableIfaceSkeleton: 959s # * 959s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectCallableIfaceSkeletonClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectCallableIfaceSkeleton. 959s # */ 959s # 959s # struct _OrgProjectCallableIfaceSkeletonPrivate 959s # { 959s # GValue *properties; 959s # GList *changed_properties; 959s # GSource *changed_properties_idle_source; 959s # GMainContext *context; 959s # GMutex lock; 959s # }; 959s # 959s # static void 959s # _org_project_callable_iface_skeleton_handle_method_call ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name, 959s # const gchar *method_name, 959s # GVariant *parameters, 959s # GDBusMethodInvocation *invocation, 959s # gpointer user_data) 959s # { 959s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 959s # _ExtendedGDBusMethodInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # guint num_extra; 959s # gsize n; 959s # guint signal_id; 959s # GValue return_value = G_VALUE_INIT; 959s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 959s # g_assert (info != NULL); 959s # num_params = g_variant_n_children (parameters); 959s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 959s # n = 0; 959s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 959s # g_value_set_object (¶mv[n++], skeleton); 959s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 959s # g_value_set_object (¶mv[n++], invocation); 959s # if (info->pass_fdlist) 959s # { 959s # #ifdef G_OS_UNIX 959s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 959s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 959s # #else 959s # g_assert_not_reached (); 959s # #endif 959s # } 959s # g_variant_iter_init (&iter, parameters); 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 959s # g_value_init (&return_value, G_TYPE_BOOLEAN); 959s # g_signal_emitv (paramv, signal_id, 0, &return_value); 959s # if (!g_value_get_boolean (&return_value)) 959s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 959s # g_value_unset (&return_value); 959s # for (n = 0; n < num_params + num_extra; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static GVariant * 959s # _org_project_callable_iface_skeleton_handle_get_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # GVariant *ret; 959s # ret = NULL; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # g_value_init (&value, pspec->value_type); 959s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 959s # g_value_unset (&value); 959s # } 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _org_project_callable_iface_skeleton_handle_set_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GVariant *variant, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # gboolean ret; 959s # ret = FALSE; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # if (info->use_gvariant) 959s # g_value_set_variant (&value, variant); 959s # else 959s # g_dbus_gvariant_to_gvalue (variant, &value); 959s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # g_value_unset (&value); 959s # ret = TRUE; 959s # } 959s # return ret; 959s # } 959s # 959s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 959s # { 959s # _org_project_callable_iface_skeleton_handle_method_call, 959s # _org_project_callable_iface_skeleton_handle_get_property, 959s # _org_project_callable_iface_skeleton_handle_set_property, 959s # {NULL} 959s # }; 959s # 959s # static GDBusInterfaceInfo * 959s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return org_project_callable_iface_interface_info (); 959s # } 959s # 959s # static GDBusInterfaceVTable * 959s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 959s # } 959s # 959s # static GVariant * 959s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 959s # { 959s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 959s # 959s # GVariantBuilder builder; 959s # guint n; 959s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 959s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 959s # goto out; 959s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 959s # { 959s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 959s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 959s # { 959s # GVariant *value; 959s # value = _org_project_callable_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.CallableIface", info->name, NULL, skeleton); 959s # if (value != NULL) 959s # { 959s # g_variant_take_ref (value); 959s # g_variant_builder_add (&builder, "{sv}", info->name, value); 959s # g_variant_unref (value); 959s # } 959s # } 959s # } 959s # out: 959s # return g_variant_builder_end (&builder); 959s # } 959s # 959s # static void 959s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_callable_iface_skeleton_finalize (GObject *object) 959s # { 959s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 959s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 959s # if (skeleton->priv->changed_properties_idle_source != NULL) 959s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 959s # g_main_context_unref (skeleton->priv->context); 959s # g_mutex_clear (&skeleton->priv->lock); 959s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 959s # #else 959s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 959s # #endif 959s # 959s # g_mutex_init (&skeleton->priv->lock); 959s # skeleton->priv->context = g_main_context_ref_thread_default (); 959s # } 959s # 959s # static void 959s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusInterfaceSkeletonClass *skeleton_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 959s # 959s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 959s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 959s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 959s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 959s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_callable_iface_skeleton_new: 959s # * 959s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 959s # * 959s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 959s # */ 959s # OrgProjectCallableIface * 959s # org_project_callable_iface_skeleton_new (void) 959s # { 959s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ 959s # * Code for interface org.project.OtherCallableIface 959s # * ------------------------------------------------------------------------ 959s # */ 959s # 959s # /** 959s # * SECTION:OrgProjectOtherCallableIface 959s # * @title: OrgProjectOtherCallableIface 959s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 959s # * 959s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 959s # */ 959s # 959s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_b", 959s # (gchar *) "b", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_y", 959s # (gchar *) "y", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_n", 959s # (gchar *) "n", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_q", 959s # (gchar *) "q", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_i", 959s # (gchar *) "i", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_u", 959s # (gchar *) "u", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_x", 959s # (gchar *) "x", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_t", 959s # (gchar *) "t", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_d", 959s # (gchar *) "d", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_s", 959s # (gchar *) "s", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_o", 959s # (gchar *) "o", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_g", 959s # (gchar *) "g", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_h", 959s # (gchar *) "h", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_ay", 959s # (gchar *) "ay", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_as", 959s # (gchar *) "as", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_ao", 959s # (gchar *) "ao", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_aay", 959s # (gchar *) "aay", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_asv", 959s # (gchar *) "a{sv}", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 959s # { 959s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 959s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 959s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 959s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 959s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 959s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 959s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 959s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 959s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 959s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 959s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 959s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 959s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 959s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 959s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 959s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 959s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 959s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 959s # { 959s # { 959s # -1, 959s # (gchar *) "MethodWithManyArgs", 959s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 959s # NULL, 959s # NULL 959s # }, 959s # "handle-method-with-many-args", 959s # FALSE 959s # }; 959s # 959s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 959s # { 959s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 959s # { 959s # { 959s # -1, 959s # (gchar *) "org.project.OtherCallableIface", 959s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 959s # NULL, 959s # NULL, 959s # NULL 959s # }, 959s # "org-project-other-callable-iface", 959s # }; 959s # 959s # 959s # /** 959s # * org_project_other_callable_iface_interface_info: 959s # * 959s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 959s # * 959s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 959s # */ 959s # GDBusInterfaceInfo * 959s # org_project_other_callable_iface_interface_info (void) 959s # { 959s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 959s # } 959s # 959s # /** 959s # * org_project_other_callable_iface_override_properties: 959s # * @klass: The class structure for a #GObject derived class. 959s # * @property_id_begin: The property id to assign to the first overridden property. 959s # * 959s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 959s # * The properties are overridden in the order they are defined. 959s # * 959s # * Returns: The last property id. 959s # */ 959s # guint 959s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 959s # { 959s # return property_id_begin - 1; 959s # } 959s # 959s # 959s # inline static void 959s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # 959s # /** 959s # * OrgProjectOtherCallableIface: 959s # * 959s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 959s # */ 959s # 959s # /** 959s # * OrgProjectOtherCallableIfaceIface: 959s # * @parent_iface: The parent interface. 959s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 959s # * 959s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 959s # */ 959s # 959s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 959s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 959s # 959s # static void 959s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 959s # { 959s # /* GObject signals for incoming D-Bus method calls: */ 959s # /** 959s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 959s # * @object: A #OrgProjectOtherCallableIface. 959s # * @invocation: A #GDBusMethodInvocation. 959s # * @arg_an_b: Argument passed by remote caller. 959s # * @arg_an_y: Argument passed by remote caller. 959s # * @arg_an_n: Argument passed by remote caller. 959s # * @arg_an_q: Argument passed by remote caller. 959s # * @arg_an_i: Argument passed by remote caller. 959s # * @arg_an_u: Argument passed by remote caller. 959s # * @arg_an_x: Argument passed by remote caller. 959s # * @arg_an_t: Argument passed by remote caller. 959s # * @arg_an_d: Argument passed by remote caller. 959s # * @arg_an_s: Argument passed by remote caller. 959s # * @arg_an_o: Argument passed by remote caller. 959s # * @arg_an_g: Argument passed by remote caller. 959s # * @arg_an_h: Argument passed by remote caller. 959s # * @arg_an_ay: Argument passed by remote caller. 959s # * @arg_an_as: Argument passed by remote caller. 959s # * @arg_an_ao: Argument passed by remote caller. 959s # * @arg_an_aay: Argument passed by remote caller. 959s # * @arg_an_asv: Argument passed by remote caller. 959s # * 959s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 959s # * 959s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_other_callable_iface_complete_method_with_many_args() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 959s # * 959s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 959s # */ 959s # g_signal_new ("handle-method-with-many-args", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 959s # g_signal_accumulator_true_handled, 959s # NULL, 959s # org_project_other_callable_iface_method_marshal_method_with_many_args, 959s # G_TYPE_BOOLEAN, 959s # 19, 959s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN, G_TYPE_UCHAR, G_TYPE_INT, G_TYPE_UINT, G_TYPE_INT, G_TYPE_UINT, G_TYPE_INT64, G_TYPE_UINT64, G_TYPE_DOUBLE, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_VARIANT, G_TYPE_STRING, G_TYPE_STRV, G_TYPE_STRV, G_TYPE_STRV, G_TYPE_VARIANT); 959s # 959s # } 959s # 959s # /** 959s # * org_project_other_callable_iface_call_method_with_many_args: 959s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 959s # * @arg_an_b: Argument to pass with the method invocation. 959s # * @arg_an_y: Argument to pass with the method invocation. 959s # * @arg_an_n: Argument to pass with the method invocation. 959s # * @arg_an_q: Argument to pass with the method invocation. 959s # * @arg_an_i: Argument to pass with the method invocation. 959s # * @arg_an_u: Argument to pass with the method invocation. 959s # * @arg_an_x: Argument to pass with the method invocation. 959s # * @arg_an_t: Argument to pass with the method invocation. 959s # * @arg_an_d: Argument to pass with the method invocation. 959s # * @arg_an_s: Argument to pass with the method invocation. 959s # * @arg_an_o: Argument to pass with the method invocation. 959s # * @arg_an_g: Argument to pass with the method invocation. 959s # * @arg_an_h: Argument to pass with the method invocation. 959s # * @arg_an_ay: Argument to pass with the method invocation. 959s # * @arg_an_as: Argument to pass with the method invocation. 959s # * @arg_an_ao: Argument to pass with the method invocation. 959s # * @arg_an_aay: Argument to pass with the method invocation. 959s # * @arg_an_asv: Argument to pass with the method invocation. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 959s # * 959s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 959s # */ 959s # void 959s # org_project_other_callable_iface_call_method_with_many_args ( 959s # OrgProjectOtherCallableIface *proxy, 959s # gboolean arg_an_b, 959s # guchar arg_an_y, 959s # gint16 arg_an_n, 959s # guint16 arg_an_q, 959s # gint arg_an_i, 959s # guint arg_an_u, 959s # gint64 arg_an_x, 959s # guint64 arg_an_t, 959s # gdouble arg_an_d, 959s # const gchar *arg_an_s, 959s # const gchar *arg_an_o, 959s # const gchar *arg_an_g, 959s # GVariant *arg_an_h, 959s # const gchar *arg_an_ay, 959s # const gchar *const *arg_an_as, 959s # const gchar *const *arg_an_ao, 959s # const gchar *const *arg_an_aay, 959s # GVariant *arg_an_asv, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 959s # "MethodWithManyArgs", 959s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 959s # arg_an_b, 959s # arg_an_y, 959s # arg_an_n, 959s # arg_an_q, 959s # arg_an_i, 959s # arg_an_u, 959s # arg_an_x, 959s # arg_an_t, 959s # arg_an_d, 959s # arg_an_s, 959s # arg_an_o, 959s # arg_an_g, 959s # arg_an_h, 959s # arg_an_ay, 959s # arg_an_as, 959s # arg_an_ao, 959s # arg_an_aay, 959s # arg_an_asv), 959s # G_DBUS_CALL_FLAGS_NONE, 959s # -1, 959s # cancellable, 959s # callback, 959s # user_data); 959s # } 959s # 959s # /** 959s # * org_project_other_callable_iface_call_method_with_many_args_finish: 959s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 959s # * @error: Return location for error or %NULL. 959s # * 959s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 959s # * 959s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 959s # */ 959s # gboolean 959s # org_project_other_callable_iface_call_method_with_many_args_finish ( 959s # OrgProjectOtherCallableIface *proxy, 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GVariant *_ret; 959s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 959s # if (_ret == NULL) 959s # goto _out; 959s # g_variant_get (_ret, 959s # "()"); 959s # g_variant_unref (_ret); 959s # _out: 959s # return _ret != NULL; 959s # } 959s # 959s # /** 959s # * org_project_other_callable_iface_call_method_with_many_args_sync: 959s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 959s # * @arg_an_b: Argument to pass with the method invocation. 959s # * @arg_an_y: Argument to pass with the method invocation. 959s # * @arg_an_n: Argument to pass with the method invocation. 959s # * @arg_an_q: Argument to pass with the method invocation. 959s # * @arg_an_i: Argument to pass with the method invocation. 959s # * @arg_an_u: Argument to pass with the method invocation. 959s # * @arg_an_x: Argument to pass with the method invocation. 959s # * @arg_an_t: Argument to pass with the method invocation. 959s # * @arg_an_d: Argument to pass with the method invocation. 959s # * @arg_an_s: Argument to pass with the method invocation. 959s # * @arg_an_o: Argument to pass with the method invocation. 959s # * @arg_an_g: Argument to pass with the method invocation. 959s # * @arg_an_h: Argument to pass with the method invocation. 959s # * @arg_an_ay: Argument to pass with the method invocation. 959s # * @arg_an_as: Argument to pass with the method invocation. 959s # * @arg_an_ao: Argument to pass with the method invocation. 959s # * @arg_an_aay: Argument to pass with the method invocation. 959s # * @arg_an_asv: Argument to pass with the method invocation. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL. 959s # * 959s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 959s # * 959s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 959s # */ 959s # gboolean 959s # org_project_other_callable_iface_call_method_with_many_args_sync ( 959s # OrgProjectOtherCallableIface *proxy, 959s # gboolean arg_an_b, 959s # guchar arg_an_y, 959s # gint16 arg_an_n, 959s # guint16 arg_an_q, 959s # gint arg_an_i, 959s # guint arg_an_u, 959s # gint64 arg_an_x, 959s # guint64 arg_an_t, 959s # gdouble arg_an_d, 959s # const gchar *arg_an_s, 959s # const gchar *arg_an_o, 959s # const gchar *arg_an_g, 959s # GVariant *arg_an_h, 959s # const gchar *arg_an_ay, 959s # const gchar *const *arg_an_as, 959s # const gchar *const *arg_an_ao, 959s # const gchar *const *arg_an_aay, 959s # GVariant *arg_an_asv, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GVariant *_ret; 959s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 959s # "MethodWithManyArgs", 959s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 959s # arg_an_b, 959s # arg_an_y, 959s # arg_an_n, 959s # arg_an_q, 959s # arg_an_i, 959s # arg_an_u, 959s # arg_an_x, 959s # arg_an_t, 959s # arg_an_d, 959s # arg_an_s, 959s # arg_an_o, 959s # arg_an_g, 959s # arg_an_h, 959s # arg_an_ay, 959s # arg_an_as, 959s # arg_an_ao, 959s # arg_an_aay, 959s # arg_an_asv), 959s # G_DBUS_CALL_FLAGS_NONE, 959s # -1, 959s # cancellable, 959s # error); 959s # if (_ret == NULL) 959s # goto _out; 959s # g_variant_get (_ret, 959s # "()"); 959s # g_variant_unref (_ret); 959s # _out: 959s # return _ret != NULL; 959s # } 959s # 959s # /** 959s # * org_project_other_callable_iface_complete_method_with_many_args: 959s # * @object: A #OrgProjectOtherCallableIface. 959s # * @invocation: (transfer full): A #GDBusMethodInvocation. 959s # * 959s # * Helper function used in service implementations to finish handling invocations of the MethodWithManyArgs() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 959s # * 959s # * This method will free @invocation, you cannot use it afterwards. 959s # */ 959s # void 959s # org_project_other_callable_iface_complete_method_with_many_args ( 959s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 959s # GDBusMethodInvocation *invocation) 959s # { 959s # g_dbus_method_invocation_return_value (invocation, 959s # g_variant_new ("()")); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectOtherCallableIfaceProxy: 959s # * 959s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectOtherCallableIfaceProxyClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 959s # */ 959s # 959s # struct _OrgProjectOtherCallableIfaceProxyPrivate 959s # { 959s # GData *qdata; 959s # }; 959s # 959s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_other_callable_iface_proxy_finalize (GObject *object) 959s # { 959s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 959s # g_datalist_clear (&proxy->priv->qdata); 959s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # const GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 959s # const gchar *sender_name G_GNUC_UNUSED, 959s # const gchar *signal_name, 959s # GVariant *parameters) 959s # { 959s # _ExtendedGDBusSignalInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # gsize n; 959s # guint signal_id; 959s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 959s # if (info == NULL) 959s # return; 959s # num_params = g_variant_n_children (parameters); 959s # paramv = g_new0 (GValue, num_params + 1); 959s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 959s # g_value_set_object (¶mv[0], proxy); 959s # g_variant_iter_init (&iter, parameters); 959s # n = 1; 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 959s # g_signal_emitv (paramv, signal_id, 0, NULL); 959s # for (n = 0; n < num_params + 1; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static void 959s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 959s # GVariant *changed_properties, 959s # const gchar *const *invalidated_properties) 959s # { 959s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 959s # guint n; 959s # const gchar *key; 959s # GVariantIter *iter; 959s # _ExtendedGDBusPropertyInfo *info; 959s # g_variant_get (changed_properties, "a{sv}", &iter); 959s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 959s # g_datalist_remove_data (&proxy->priv->qdata, key); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # g_variant_iter_free (iter); 959s # for (n = 0; invalidated_properties[n] != NULL; n++) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 959s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # } 959s # 959s # static void 959s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 959s # #else 959s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 959s # #endif 959s # 959s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 959s # } 959s # 959s # static void 959s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusProxyClass *proxy_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 959s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 959s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 959s # 959s # proxy_class = G_DBUS_PROXY_CLASS (klass); 959s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 959s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_other_callable_iface_proxy_new: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 959s # * 959s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_other_callable_iface_proxy_new ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.OtherCallableIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_other_callable_iface_proxy_new_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectOtherCallableIface * 959s # org_project_other_callable_iface_proxy_new_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_other_callable_iface_proxy_new_sync: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectOtherCallableIface * 959s # org_project_other_callable_iface_proxy_new_sync ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.OtherCallableIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /** 959s # * org_project_other_callable_iface_proxy_new_for_bus: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 959s # * 959s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_other_callable_iface_proxy_new_for_bus ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.OtherCallableIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectOtherCallableIface * 959s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectOtherCallableIface * 959s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.OtherCallableIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectOtherCallableIfaceSkeleton: 959s # * 959s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectOtherCallableIfaceSkeletonClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 959s # */ 959s # 959s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 959s # { 959s # GValue *properties; 959s # GList *changed_properties; 959s # GSource *changed_properties_idle_source; 959s # GMainContext *context; 959s # GMutex lock; 959s # }; 959s # 959s # static void 959s # _org_project_other_callable_iface_skeleton_handle_method_call ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name, 959s # const gchar *method_name, 959s # GVariant *parameters, 959s # GDBusMethodInvocation *invocation, 959s # gpointer user_data) 959s # { 959s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 959s # _ExtendedGDBusMethodInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # guint num_extra; 959s # gsize n; 959s # guint signal_id; 959s # GValue return_value = G_VALUE_INIT; 959s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 959s # g_assert (info != NULL); 959s # num_params = g_variant_n_children (parameters); 959s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 959s # n = 0; 959s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 959s # g_value_set_object (¶mv[n++], skeleton); 959s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 959s # g_value_set_object (¶mv[n++], invocation); 959s # if (info->pass_fdlist) 959s # { 959s # #ifdef G_OS_UNIX 959s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 959s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 959s # #else 959s # g_assert_not_reached (); 959s # #endif 959s # } 959s # g_variant_iter_init (&iter, parameters); 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 959s # g_value_init (&return_value, G_TYPE_BOOLEAN); 959s # g_signal_emitv (paramv, signal_id, 0, &return_value); 959s # if (!g_value_get_boolean (&return_value)) 959s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 959s # g_value_unset (&return_value); 959s # for (n = 0; n < num_params + num_extra; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static GVariant * 959s # _org_project_other_callable_iface_skeleton_handle_get_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # GVariant *ret; 959s # ret = NULL; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # g_value_init (&value, pspec->value_type); 959s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 959s # g_value_unset (&value); 959s # } 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _org_project_other_callable_iface_skeleton_handle_set_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GVariant *variant, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # gboolean ret; 959s # ret = FALSE; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # if (info->use_gvariant) 959s # g_value_set_variant (&value, variant); 959s # else 959s # g_dbus_gvariant_to_gvalue (variant, &value); 959s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # g_value_unset (&value); 959s # ret = TRUE; 959s # } 959s # return ret; 959s # } 959s # 959s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 959s # { 959s # _org_project_other_callable_iface_skeleton_handle_method_call, 959s # _org_project_other_callable_iface_skeleton_handle_get_property, 959s # _org_project_other_callable_iface_skeleton_handle_set_property, 959s # {NULL} 959s # }; 959s # 959s # static GDBusInterfaceInfo * 959s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return org_project_other_callable_iface_interface_info (); 959s # } 959s # 959s # static GDBusInterfaceVTable * 959s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 959s # } 959s # 959s # static GVariant * 959s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 959s # { 959s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 959s # 959s # GVariantBuilder builder; 959s # guint n; 959s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 959s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 959s # goto out; 959s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 959s # { 959s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 959s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 959s # { 959s # GVariant *value; 959s # value = _org_project_other_callable_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherCallableIface", info->name, NULL, skeleton); 959s # if (value != NULL) 959s # { 959s # g_variant_take_ref (value); 959s # g_variant_builder_add (&builder, "{sv}", info->name, value); 959s # g_variant_unref (value); 959s # } 959s # } 959s # } 959s # out: 959s # return g_variant_builder_end (&builder); 959s # } 959s # 959s # static void 959s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 959s # { 959s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 959s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 959s # if (skeleton->priv->changed_properties_idle_source != NULL) 959s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 959s # g_main_context_unref (skeleton->priv->context); 959s # g_mutex_clear (&skeleton->priv->lock); 959s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 959s # #else 959s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 959s # #endif 959s # 959s # g_mutex_init (&skeleton->priv->lock); 959s # skeleton->priv->context = g_main_context_ref_thread_default (); 959s # } 959s # 959s # static void 959s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusInterfaceSkeletonClass *skeleton_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 959s # 959s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 959s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 959s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 959s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 959s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_other_callable_iface_skeleton_new: 959s # * 959s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 959s # * 959s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 959s # */ 959s # OrgProjectOtherCallableIface * 959s # org_project_other_callable_iface_skeleton_new (void) 959s # { 959s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 959s # } 959s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 959s # tmpdir: /tmp/tmp33j57hpt 959s # codegen: /usr/bin/gdbus-codegen 959s # /tmp/tmp33j57hpt/tmpzmsnq7fq.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp33j57hpt/tmpzmsnq7fq.xml', '--output', '-', '--body'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: /* 959s # * This file is generated by gdbus-codegen, do not modify it. 959s # * 959s # * The license of this code is the same as for the D-Bus interface description 959s # * it was derived from. Note that it links to GLib, so must comply with the 959s # * LGPL linking clauses. 959s # */ 959s # 959s # #ifdef HAVE_CONFIG_H 959s # # include "config.h" 959s # #endif 959s # 959s # #include 959s # #ifdef G_OS_UNIX 959s # # include 959s # #endif 959s # 959s # #ifdef G_ENABLE_DEBUG 959s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 959s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 959s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 959s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 959s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 959s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 959s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 959s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 959s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 959s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 959s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 959s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 959s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 959s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 959s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 959s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 959s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 959s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 959s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 959s # #else /* !G_ENABLE_DEBUG */ 959s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 959s # * Do not access GValues directly in your code. Instead, use the 959s # * g_value_get_*() functions 959s # */ 959s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 959s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 959s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 959s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 959s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 959s # #endif /* !G_ENABLE_DEBUG */ 959s # 959s # typedef struct 959s # { 959s # GDBusArgInfo parent_struct; 959s # gboolean use_gvariant; 959s # } _ExtendedGDBusArgInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusMethodInfo parent_struct; 959s # const gchar *signal_name; 959s # gboolean pass_fdlist; 959s # } _ExtendedGDBusMethodInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusSignalInfo parent_struct; 959s # const gchar *signal_name; 959s # } _ExtendedGDBusSignalInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusPropertyInfo parent_struct; 959s # const gchar *hyphen_name; 959s # guint use_gvariant : 1; 959s # guint emits_changed_signal : 1; 959s # } _ExtendedGDBusPropertyInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusInterfaceInfo parent_struct; 959s # const gchar *hyphen_name; 959s # } _ExtendedGDBusInterfaceInfo; 959s # 959s # typedef struct 959s # { 959s # const _ExtendedGDBusPropertyInfo *info; 959s # guint prop_id; 959s # GValue orig_value; /* the value before the change */ 959s # } ChangedProperty; 959s # 959s # static void 959s # _changed_property_free (ChangedProperty *data) 959s # { 959s # g_value_unset (&data->orig_value); 959s # g_free (data); 959s # } 959s # 959s # static gboolean 959s # _g_strv_equal0 (gchar **a, gchar **b) 959s # { 959s # gboolean ret = FALSE; 959s # guint n; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # if (g_strv_length (a) != g_strv_length (b)) 959s # goto out; 959s # for (n = 0; a[n] != NULL; n++) 959s # if (g_strcmp0 (a[n], b[n]) != 0) 959s # goto out; 959s # ret = TRUE; 959s # out: 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _g_variant_equal0 (GVariant *a, GVariant *b) 959s # { 959s # gboolean ret = FALSE; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # ret = g_variant_equal (a, b); 959s # out: 959s # return ret; 959s # } 959s # 959s # G_GNUC_UNUSED static gboolean 959s # _g_value_equal (const GValue *a, const GValue *b) 959s # { 959s # gboolean ret = FALSE; 959s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 959s # switch (G_VALUE_TYPE (a)) 959s # { 959s # case G_TYPE_BOOLEAN: 959s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 959s # break; 959s # case G_TYPE_UCHAR: 959s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 959s # break; 959s # case G_TYPE_INT: 959s # ret = (g_value_get_int (a) == g_value_get_int (b)); 959s # break; 959s # case G_TYPE_UINT: 959s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 959s # break; 959s # case G_TYPE_INT64: 959s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 959s # break; 959s # case G_TYPE_UINT64: 959s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 959s # break; 959s # case G_TYPE_DOUBLE: 959s # { 959s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 959s # gdouble da = g_value_get_double (a); 959s # gdouble db = g_value_get_double (b); 959s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 959s # } 959s # break; 959s # case G_TYPE_STRING: 959s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 959s # break; 959s # case G_TYPE_VARIANT: 959s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 959s # break; 959s # default: 959s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 959s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 959s # else 959s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 959s # break; 959s # } 959s # return ret; 959s # } 959s # 959s # static void 959s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint G_GNUC_UNUSED, 959s # void *marshal_data) 959s # { 959s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 959s # (void *data1, 959s # GDBusMethodInvocation *arg_method_invocation, 959s # void *data2); 959s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 959s # GCClosure *cc = (GCClosure*) closure; 959s # void *data1, *data2; 959s # gboolean v_return; 959s # 959s # g_return_if_fail (return_value != NULL); 959s # g_return_if_fail (n_param_values == 2); 959s # 959s # if (G_CCLOSURE_SWAP_DATA (closure)) 959s # { 959s # data1 = closure->data; 959s # data2 = g_value_peek_pointer (param_values + 0); 959s # } 959s # else 959s # { 959s # data1 = g_value_peek_pointer (param_values + 0); 959s # data2 = closure->data; 959s # } 959s # 959s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 959s # (marshal_data ? marshal_data : cc->callback); 959s # 959s # v_return = 959s # callback (data1, 959s # g_marshal_value_peek_object (param_values + 1), 959s # data2); 959s # 959s # g_value_set_boolean (return_value, v_return); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ 959s # * Code for interface org.project.CallableIface 959s # * ------------------------------------------------------------------------ 959s # */ 959s # 959s # /** 959s # * SECTION:OrgProjectCallableIface 959s # * @title: OrgProjectCallableIface 959s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 959s # * 959s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 959s # */ 959s # 959s # /* ---- Introspection data for org.project.CallableIface ---- */ 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_b", 959s # (gchar *) "b", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_y", 959s # (gchar *) "y", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_n", 959s # (gchar *) "n", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_q", 959s # (gchar *) "q", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_i", 959s # (gchar *) "i", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_u", 959s # (gchar *) "u", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_x", 959s # (gchar *) "x", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_t", 959s # (gchar *) "t", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_d", 959s # (gchar *) "d", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_s", 959s # (gchar *) "s", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_o", 959s # (gchar *) "o", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_g", 959s # (gchar *) "g", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_h", 959s # (gchar *) "h", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_ay", 959s # (gchar *) "ay", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_as", 959s # (gchar *) "as", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_ao", 959s # (gchar *) "ao", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_aay", 959s # (gchar *) "aay", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_asv", 959s # (gchar *) "a{sv}", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 959s # { 959s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 959s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 959s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 959s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 959s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 959s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 959s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 959s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 959s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 959s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 959s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 959s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 959s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 959s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 959s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 959s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 959s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 959s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 959s # { 959s # { 959s # -1, 959s # (gchar *) "MethodWithManyArgs", 959s # NULL, 959s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 959s # NULL 959s # }, 959s # "handle-method-with-many-args", 959s # FALSE 959s # }; 959s # 959s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 959s # { 959s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 959s # { 959s # { 959s # -1, 959s # (gchar *) "org.project.CallableIface", 959s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 959s # NULL, 959s # NULL, 959s # NULL 959s # }, 959s # "org-project-callable-iface", 959s # }; 959s # 959s # 959s # /** 959s # * org_project_callable_iface_interface_info: 959s # * 959s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 959s # * 959s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 959s # */ 959s # GDBusInterfaceInfo * 959s # org_project_callable_iface_interface_info (void) 959s # { 959s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 959s # } 959s # 959s # /** 959s # * org_project_callable_iface_override_properties: 959s # * @klass: The class structure for a #GObject derived class. 959s # * @property_id_begin: The property id to assign to the first overridden property. 959s # * 959s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 959s # * The properties are overridden in the order they are defined. 959s # * 959s # * Returns: The last property id. 959s # */ 959s # guint 959s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 959s # { 959s # return property_id_begin - 1; 959s # } 959s # 959s # 959s # inline static void 959s # org_project_callable_iface_method_marshal_method_with_many_args ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # 959s # /** 959s # * OrgProjectCallableIface: 959s # * 959s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 959s # */ 959s # 959s # /** 959s # * OrgProjectCallableIfaceIface: 959s # * @parent_iface: The parent interface. 959s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 959s # * 959s # * Virtual table for the D-Bus interface org.project.CallableIface. 959s # */ 959s # 959s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 959s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 959s # 959s # static void 959s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 959s # { 959s # /* GObject signals for incoming D-Bus method calls: */ 959s # /** 959s # * OrgProjectCallableIface::handle-method-with-many-args: 959s # * @object: A #OrgProjectCallableIface. 959s # * @invocation: A #GDBusMethodInvocation. 959s # * 959s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 959s # * 959s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_callable_iface_complete_method_with_many_args() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 959s # * 959s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 959s # */ 959s # g_signal_new ("handle-method-with-many-args", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 959s # g_signal_accumulator_true_handled, 959s # NULL, 959s # org_project_callable_iface_method_marshal_method_with_many_args, 959s # G_TYPE_BOOLEAN, 959s # 1, 959s # G_TYPE_DBUS_METHOD_INVOCATION); 959s # 959s # } 959s # 959s # /** 959s # * org_project_callable_iface_call_method_with_many_args: 959s # * @proxy: A #OrgProjectCallableIfaceProxy. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 959s # * 959s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 959s # */ 959s # void 959s # org_project_callable_iface_call_method_with_many_args ( 959s # OrgProjectCallableIface *proxy, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 959s # "MethodWithManyArgs", 959s # g_variant_new ("()"), 959s # G_DBUS_CALL_FLAGS_NONE, 959s # -1, 959s # cancellable, 959s # callback, 959s # user_data); 959s # } 959s # 959s # /** 959s # * org_project_callable_iface_call_method_with_many_args_finish: 959s # * @proxy: A #OrgProjectCallableIfaceProxy. 959s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 959s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 959s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 959s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 959s # * @error: Return location for error or %NULL. 959s # * 959s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 959s # * 959s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 959s # */ 959s # gboolean 959s # org_project_callable_iface_call_method_with_many_args_finish ( 959s # OrgProjectCallableIface *proxy, 959s # gboolean *out_an_b, 959s # guchar *out_an_y, 959s # gint16 *out_an_n, 959s # guint16 *out_an_q, 959s # gint *out_an_i, 959s # guint *out_an_u, 959s # gint64 *out_an_x, 959s # guint64 *out_an_t, 959s # gdouble *out_an_d, 959s # gchar **out_an_s, 959s # gchar **out_an_o, 959s # gchar **out_an_g, 959s # GVariant **out_an_h, 959s # gchar **out_an_ay, 959s # gchar ***out_an_as, 959s # gchar ***out_an_ao, 959s # gchar ***out_an_aay, 959s # GVariant **out_an_asv, 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GVariant *_ret; 959s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 959s # if (_ret == NULL) 959s # goto _out; 959s # g_variant_get (_ret, 959s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 959s # out_an_b, 959s # out_an_y, 959s # out_an_n, 959s # out_an_q, 959s # out_an_i, 959s # out_an_u, 959s # out_an_x, 959s # out_an_t, 959s # out_an_d, 959s # out_an_s, 959s # out_an_o, 959s # out_an_g, 959s # out_an_h, 959s # out_an_ay, 959s # out_an_as, 959s # out_an_ao, 959s # out_an_aay, 959s # out_an_asv); 959s # g_variant_unref (_ret); 959s # _out: 959s # return _ret != NULL; 959s # } 959s # 959s # /** 959s # * org_project_callable_iface_call_method_with_many_args_sync: 959s # * @proxy: A #OrgProjectCallableIfaceProxy. 959s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 959s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 959s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 959s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL. 959s # * 959s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 959s # * 959s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 959s # */ 959s # gboolean 959s # org_project_callable_iface_call_method_with_many_args_sync ( 959s # OrgProjectCallableIface *proxy, 959s # gboolean *out_an_b, 959s # guchar *out_an_y, 959s # gint16 *out_an_n, 959s # guint16 *out_an_q, 959s # gint *out_an_i, 959s # guint *out_an_u, 959s # gint64 *out_an_x, 959s # guint64 *out_an_t, 959s # gdouble *out_an_d, 959s # gchar **out_an_s, 959s # gchar **out_an_o, 959s # gchar **out_an_g, 959s # GVariant **out_an_h, 959s # gchar **out_an_ay, 959s # gchar ***out_an_as, 959s # gchar ***out_an_ao, 959s # gchar ***out_an_aay, 959s # GVariant **out_an_asv, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GVariant *_ret; 959s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 959s # "MethodWithManyArgs", 959s # g_variant_new ("()"), 959s # G_DBUS_CALL_FLAGS_NONE, 959s # -1, 959s # cancellable, 959s # error); 959s # if (_ret == NULL) 959s # goto _out; 959s # g_variant_get (_ret, 959s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 959s # out_an_b, 959s # out_an_y, 959s # out_an_n, 959s # out_an_q, 959s # out_an_i, 959s # out_an_u, 959s # out_an_x, 959s # out_an_t, 959s # out_an_d, 959s # out_an_s, 959s # out_an_o, 959s # out_an_g, 959s # out_an_h, 959s # out_an_ay, 959s # out_an_as, 959s # out_an_ao, 959s # out_an_aay, 959s # out_an_asv); 959s # g_variant_unref (_ret); 959s # _out: 959s # return _ret != NULL; 959s # } 959s # 959s # /** 959s # * org_project_callable_iface_complete_method_with_many_args: 959s # * @object: A #OrgProjectCallableIface. 959s # * @invocation: (transfer full): A #GDBusMethodInvocation. 959s # * @an_b: Parameter to return. 959s # * @an_y: Parameter to return. 959s # * @an_n: Parameter to return. 959s # * @an_q: Parameter to return. 959s # * @an_i: Parameter to return. 959s # * @an_u: Parameter to return. 959s # * @an_x: Parameter to return. 959s # * @an_t: Parameter to return. 959s # * @an_d: Parameter to return. 959s # * @an_s: Parameter to return. 959s # * @an_o: Parameter to return. 959s # * @an_g: Parameter to return. 959s # * @an_h: Parameter to return. 959s # * @an_ay: Parameter to return. 959s # * @an_as: Parameter to return. 959s # * @an_ao: Parameter to return. 959s # * @an_aay: Parameter to return. 959s # * @an_asv: Parameter to return. 959s # * 959s # * Helper function used in service implementations to finish handling invocations of the MethodWithManyArgs() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 959s # * 959s # * This method will free @invocation, you cannot use it afterwards. 959s # */ 959s # void 959s # org_project_callable_iface_complete_method_with_many_args ( 959s # OrgProjectCallableIface *object G_GNUC_UNUSED, 959s # GDBusMethodInvocation *invocation, 959s # gboolean an_b, 959s # guchar an_y, 959s # gint16 an_n, 959s # guint16 an_q, 959s # gint an_i, 959s # guint an_u, 959s # gint64 an_x, 959s # guint64 an_t, 959s # gdouble an_d, 959s # const gchar *an_s, 959s # const gchar *an_o, 959s # const gchar *an_g, 959s # GVariant *an_h, 959s # const gchar *an_ay, 959s # const gchar *const *an_as, 959s # const gchar *const *an_ao, 959s # const gchar *const *an_aay, 959s # GVariant *an_asv) 959s # { 959s # g_dbus_method_invocation_return_value (invocation, 959s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 959s # an_b, 959s # an_y, 959s # an_n, 959s # an_q, 959s # an_i, 959s # an_u, 959s # an_x, 959s # an_t, 959s # an_d, 959s # an_s, 959s # an_o, 959s # an_g, 959s # an_h, 959s # an_ay, 959s # an_as, 959s # an_ao, 959s # an_aay, 959s # an_asv)); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectCallableIfaceProxy: 959s # * 959s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectCallableIfaceProxyClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectCallableIfaceProxy. 959s # */ 959s # 959s # struct _OrgProjectCallableIfaceProxyPrivate 959s # { 959s # GData *qdata; 959s # }; 959s # 959s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_callable_iface_proxy_finalize (GObject *object) 959s # { 959s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 959s # g_datalist_clear (&proxy->priv->qdata); 959s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # const GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 959s # const gchar *sender_name G_GNUC_UNUSED, 959s # const gchar *signal_name, 959s # GVariant *parameters) 959s # { 959s # _ExtendedGDBusSignalInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # gsize n; 959s # guint signal_id; 959s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 959s # if (info == NULL) 959s # return; 959s # num_params = g_variant_n_children (parameters); 959s # paramv = g_new0 (GValue, num_params + 1); 959s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 959s # g_value_set_object (¶mv[0], proxy); 959s # g_variant_iter_init (&iter, parameters); 959s # n = 1; 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 959s # g_signal_emitv (paramv, signal_id, 0, NULL); 959s # for (n = 0; n < num_params + 1; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static void 959s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 959s # GVariant *changed_properties, 959s # const gchar *const *invalidated_properties) 959s # { 959s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 959s # guint n; 959s # const gchar *key; 959s # GVariantIter *iter; 959s # _ExtendedGDBusPropertyInfo *info; 959s # g_variant_get (changed_properties, "a{sv}", &iter); 959s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 959s # g_datalist_remove_data (&proxy->priv->qdata, key); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # g_variant_iter_free (iter); 959s # for (n = 0; invalidated_properties[n] != NULL; n++) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 959s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # } 959s # 959s # static void 959s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 959s # #else 959s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 959s # #endif 959s # 959s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 959s # } 959s # 959s # static void 959s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusProxyClass *proxy_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 959s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 959s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 959s # 959s # proxy_class = G_DBUS_PROXY_CLASS (klass); 959s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 959s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_callable_iface_proxy_new: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 959s # * 959s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_callable_iface_proxy_new ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.CallableIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_callable_iface_proxy_new_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectCallableIface * 959s # org_project_callable_iface_proxy_new_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_CALLABLE_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_callable_iface_proxy_new_sync: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectCallableIface * 959s # org_project_callable_iface_proxy_new_sync ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.CallableIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_CALLABLE_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /** 959s # * org_project_callable_iface_proxy_new_for_bus: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 959s # * 959s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_callable_iface_proxy_new_for_bus ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.CallableIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_callable_iface_proxy_new_for_bus_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectCallableIface * 959s # org_project_callable_iface_proxy_new_for_bus_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_CALLABLE_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_callable_iface_proxy_new_for_bus_sync: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectCallableIface * 959s # org_project_callable_iface_proxy_new_for_bus_sync ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.CallableIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_CALLABLE_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectCallableIfaceSkeleton: 959s # * 959s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectCallableIfaceSkeletonClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectCallableIfaceSkeleton. 959s # */ 959s # 959s # struct _OrgProjectCallableIfaceSkeletonPrivate 959s # { 959s # GValue *properties; 959s # GList *changed_properties; 959s # GSource *changed_properties_idle_source; 959s # GMainContext *context; 959s # GMutex lock; 959s # }; 959s # 959s # static void 959s # _org_project_callable_iface_skeleton_handle_method_call ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name, 959s # const gchar *method_name, 959s # GVariant *parameters, 959s # GDBusMethodInvocation *invocation, 959s # gpointer user_data) 959s # { 959s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 959s # _ExtendedGDBusMethodInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # guint num_extra; 959s # gsize n; 959s # guint signal_id; 959s # GValue return_value = G_VALUE_INIT; 959s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 959s # g_assert (info != NULL); 959s # num_params = g_variant_n_children (parameters); 959s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 959s # n = 0; 959s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 959s # g_value_set_object (¶mv[n++], skeleton); 959s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 959s # g_value_set_object (¶mv[n++], invocation); 959s # if (info->pass_fdlist) 959s # { 959s # #ifdef G_OS_UNIX 959s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 959s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 959s # #else 959s # g_assert_not_reached (); 959s # #endif 959s # } 959s # g_variant_iter_init (&iter, parameters); 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 959s # g_value_init (&return_value, G_TYPE_BOOLEAN); 959s # g_signal_emitv (paramv, signal_id, 0, &return_value); 959s # if (!g_value_get_boolean (&return_value)) 959s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 959s # g_value_unset (&return_value); 959s # for (n = 0; n < num_params + num_extra; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static GVariant * 959s # _org_project_callable_iface_skeleton_handle_get_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # GVariant *ret; 959s # ret = NULL; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # g_value_init (&value, pspec->value_type); 959s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 959s # g_value_unset (&value); 959s # } 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _org_project_callable_iface_skeleton_handle_set_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GVariant *variant, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # gboolean ret; 959s # ret = FALSE; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # if (info->use_gvariant) 959s # g_value_set_variant (&value, variant); 959s # else 959s # g_dbus_gvariant_to_gvalue (variant, &value); 959s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # g_value_unset (&value); 959s # ret = TRUE; 959s # } 959s # return ret; 959s # } 959s # 959s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 959s # { 959s # _org_project_callable_iface_skeleton_handle_method_call, 959s # _org_project_callable_iface_skeleton_handle_get_property, 959s # _org_project_callable_iface_skeleton_handle_set_property, 959s # {NULL} 959s # }; 959s # 959s # static GDBusInterfaceInfo * 959s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return org_project_callable_iface_interface_info (); 959s # } 959s # 959s # static GDBusInterfaceVTable * 959s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 959s # } 959s # 959s # static GVariant * 959s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 959s # { 959s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 959s # 959s # GVariantBuilder builder; 959s # guint n; 959s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 959s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 959s # goto out; 959s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 959s # { 959s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 959s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 959s # { 959s # GVariant *value; 959s # value = _org_project_callable_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.CallableIface", info->name, NULL, skeleton); 959s # if (value != NULL) 959s # { 959s # g_variant_take_ref (value); 959s # g_variant_builder_add (&builder, "{sv}", info->name, value); 959s # g_variant_unref (value); 959s # } 959s # } 959s # } 959s # out: 959s # return g_variant_builder_end (&builder); 959s # } 959s # 959s # static void 959s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_callable_iface_skeleton_finalize (GObject *object) 959s # { 959s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 959s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 959s # if (skeleton->priv->changed_properties_idle_source != NULL) 959s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 959s # g_main_context_unref (skeleton->priv->context); 959s # g_mutex_clear (&skeleton->priv->lock); 959s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 959s # #else 959s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 959s # #endif 959s # 959s # g_mutex_init (&skeleton->priv->lock); 959s # skeleton->priv->context = g_main_context_ref_thread_default (); 959s # } 959s # 959s # static void 959s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusInterfaceSkeletonClass *skeleton_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 959s # 959s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 959s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 959s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 959s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 959s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_callable_iface_skeleton_new: 959s # * 959s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 959s # * 959s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 959s # */ 959s # OrgProjectCallableIface * 959s # org_project_callable_iface_skeleton_new (void) 959s # { 959s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 959s # } 959s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 959s # tmpdir: /tmp/tmprn7th31e 959s # codegen: /usr/bin/gdbus-codegen 959s # /tmp/tmprn7th31e/tmpxlor6boq.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprn7th31e/tmpxlor6boq.xml', '--output', '-', '--body'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: /* 959s # * This file is generated by gdbus-codegen, do not modify it. 959s # * 959s # * The license of this code is the same as for the D-Bus interface description 959s # * it was derived from. Note that it links to GLib, so must comply with the 959s # * LGPL linking clauses. 959s # */ 959s # 959s # #ifdef HAVE_CONFIG_H 959s # # include "config.h" 959s # #endif 959s # 959s # #include 959s # #ifdef G_OS_UNIX 959s # # include 959s # #endif 959s # 959s # #ifdef G_ENABLE_DEBUG 959s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 959s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 959s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 959s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 959s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 959s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 959s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 959s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 959s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 959s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 959s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 959s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 959s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 959s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 959s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 959s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 959s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 959s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 959s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 959s # #else /* !G_ENABLE_DEBUG */ 959s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 959s # * Do not access GValues directly in your code. Instead, use the 959s # * g_value_get_*() functions 959s # */ 959s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 959s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 959s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 959s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 959s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 959s # #endif /* !G_ENABLE_DEBUG */ 959s # 959s # typedef struct 959s # { 959s # GDBusArgInfo parent_struct; 959s # gboolean use_gvariant; 959s # } _ExtendedGDBusArgInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusMethodInfo parent_struct; 959s # const gchar *signal_name; 959s # gboolean pass_fdlist; 959s # } _ExtendedGDBusMethodInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusSignalInfo parent_struct; 959s # const gchar *signal_name; 959s # } _ExtendedGDBusSignalInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusPropertyInfo parent_struct; 959s # const gchar *hyphen_name; 959s # guint use_gvariant : 1; 959s # guint emits_changed_signal : 1; 959s # } _ExtendedGDBusPropertyInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusInterfaceInfo parent_struct; 959s # const gchar *hyphen_name; 959s # } _ExtendedGDBusInterfaceInfo; 959s # 959s # typedef struct 959s # { 959s # const _ExtendedGDBusPropertyInfo *info; 959s # guint prop_id; 959s # GValue orig_value; /* the value before the change */ 959s # } ChangedProperty; 959s # 959s # static void 959s # _changed_property_free (ChangedProperty *data) 959s # { 959s # g_value_unset (&data->orig_value); 959s # g_free (data); 959s # } 959s # 959s # static gboolean 959s # _g_strv_equal0 (gchar **a, gchar **b) 959s # { 959s # gboolean ret = FALSE; 959s # guint n; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # if (g_strv_length (a) != g_strv_length (b)) 959s # goto out; 959s # for (n = 0; a[n] != NULL; n++) 959s # if (g_strcmp0 (a[n], b[n]) != 0) 959s # goto out; 959s # ret = TRUE; 959s # out: 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _g_variant_equal0 (GVariant *a, GVariant *b) 959s # { 959s # gboolean ret = FALSE; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # ret = g_variant_equal (a, b); 959s # out: 959s # return ret; 959s # } 959s # 959s # G_GNUC_UNUSED static gboolean 959s # _g_value_equal (const GValue *a, const GValue *b) 959s # { 959s # gboolean ret = FALSE; 959s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 959s # switch (G_VALUE_TYPE (a)) 959s # { 959s # case G_TYPE_BOOLEAN: 959s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 959s # break; 959s # case G_TYPE_UCHAR: 959s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 959s # break; 959s # case G_TYPE_INT: 959s # ret = (g_value_get_int (a) == g_value_get_int (b)); 959s # break; 959s # case G_TYPE_UINT: 959s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 959s # break; 959s # case G_TYPE_INT64: 959s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 959s # break; 959s # case G_TYPE_UINT64: 959s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 959s # break; 959s # case G_TYPE_DOUBLE: 959s # { 959s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 959s # gdouble da = g_value_get_double (a); 959s # gdouble db = g_value_get_double (b); 959s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 959s # } 959s # break; 959s # case G_TYPE_STRING: 959s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 959s # break; 959s # case G_TYPE_VARIANT: 959s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 959s # break; 959s # default: 959s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 959s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 959s # else 959s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 959s # break; 959s # } 959s # return ret; 959s # } 959s # 959s # static void 959s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint G_GNUC_UNUSED, 959s # void *marshal_data) 959s # { 959s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 959s # (void *data1, 959s # GUnixFDList *arg_fd_list, 959s # GDBusMethodInvocation *arg_method_invocation, 959s # const gchar *arg_greeting, 959s # void *data2); 959s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 959s # GCClosure *cc = (GCClosure*) closure; 959s # void *data1, *data2; 959s # gboolean v_return; 959s # 959s # g_return_if_fail (return_value != NULL); 959s # g_return_if_fail (n_param_values == 4); 959s # 959s # if (G_CCLOSURE_SWAP_DATA (closure)) 959s # { 959s # data1 = closure->data; 959s # data2 = g_value_peek_pointer (param_values + 0); 959s # } 959s # else 959s # { 959s # data1 = g_value_peek_pointer (param_values + 0); 959s # data2 = closure->data; 959s # } 959s # 959s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 959s # (marshal_data ? marshal_data : cc->callback); 959s # 959s # v_return = 959s # callback (data1, 959s # g_marshal_value_peek_object (param_values + 1), 959s # g_marshal_value_peek_object (param_values + 2), 959s # g_marshal_value_peek_string (param_values + 3), 959s # data2); 959s # 959s # g_value_set_boolean (return_value, v_return); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ 959s # * Code for interface test.FDPassing 959s # * ------------------------------------------------------------------------ 959s # */ 959s # 959s # /** 959s # * SECTION:TestFDPassing 959s # * @title: TestFDPassing 959s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 959s # * 959s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 959s # */ 959s # 959s # /* ---- Introspection data for test.FDPassing ---- */ 959s # 959s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 959s # { 959s # { 959s # -1, 959s # (gchar *) "greeting", 959s # (gchar *) "s", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 959s # { 959s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 959s # { 959s # { 959s # -1, 959s # (gchar *) "response", 959s # (gchar *) "s", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 959s # { 959s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 959s # { 959s # { 959s # -1, 959s # (gchar *) "HelloFD", 959s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 959s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 959s # NULL 959s # }, 959s # "handle-hello-fd", 959s # TRUE 959s # }; 959s # 959s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 959s # { 959s # &_test_fdpassing_method_info_hello_fd.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 959s # { 959s # { 959s # -1, 959s # (gchar *) "test.FDPassing", 959s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 959s # NULL, 959s # NULL, 959s # NULL 959s # }, 959s # "test-fdpassing", 959s # }; 959s # 959s # 959s # /** 959s # * test_fdpassing_interface_info: 959s # * 959s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 959s # * 959s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 959s # */ 959s # GDBusInterfaceInfo * 959s # test_fdpassing_interface_info (void) 959s # { 959s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 959s # } 959s # 959s # /** 959s # * test_fdpassing_override_properties: 959s # * @klass: The class structure for a #GObject derived class. 959s # * @property_id_begin: The property id to assign to the first overridden property. 959s # * 959s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 959s # * The properties are overridden in the order they are defined. 959s # * 959s # * Returns: The last property id. 959s # */ 959s # guint 959s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 959s # { 959s # return property_id_begin - 1; 959s # } 959s # 959s # 959s # inline static void 959s # test_fdpassing_method_marshal_hello_fd ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # 959s # /** 959s # * TestFDPassing: 959s # * 959s # * Abstract interface type for the D-Bus interface test.FDPassing. 959s # */ 959s # 959s # /** 959s # * TestFDPassingIface: 959s # * @parent_iface: The parent interface. 959s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 959s # * 959s # * Virtual table for the D-Bus interface test.FDPassing. 959s # */ 959s # 959s # typedef TestFDPassingIface TestFDPassingInterface; 959s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 959s # 959s # static void 959s # test_fdpassing_default_init (TestFDPassingIface *iface) 959s # { 959s # /* GObject signals for incoming D-Bus method calls: */ 959s # /** 959s # * TestFDPassing::handle-hello-fd: 959s # * @object: A #TestFDPassing. 959s # * @invocation: A #GDBusMethodInvocation. 959s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 959s # * @arg_greeting: Argument passed by remote caller. 959s # * 959s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 959s # * 959s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call test_fdpassing_complete_hello_fd() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 959s # * 959s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 959s # */ 959s # g_signal_new ("handle-hello-fd", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 959s # g_signal_accumulator_true_handled, 959s # NULL, 959s # test_fdpassing_method_marshal_hello_fd, 959s # G_TYPE_BOOLEAN, 959s # 3, 959s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 959s # 959s # } 959s # 959s # /** 959s # * test_fdpassing_call_hello_fd: 959s # * @proxy: A #TestFDPassingProxy. 959s # * @arg_greeting: Argument to pass with the method invocation. 959s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 959s # * 959s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 959s # */ 959s # void 959s # test_fdpassing_call_hello_fd ( 959s # TestFDPassing *proxy, 959s # const gchar *arg_greeting, 959s # GUnixFDList *fd_list, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 959s # "HelloFD", 959s # g_variant_new ("(s)", 959s # arg_greeting), 959s # G_DBUS_CALL_FLAGS_NONE, 959s # -1, 959s # fd_list, 959s # cancellable, 959s # callback, 959s # user_data); 959s # } 959s # 959s # /** 959s # * test_fdpassing_call_hello_fd_finish: 959s # * @proxy: A #TestFDPassingProxy. 959s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @out_fd_list: (out) (optional): Return location for a #GUnixFDList or %NULL to ignore. 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 959s # * @error: Return location for error or %NULL. 959s # * 959s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 959s # * 959s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 959s # */ 959s # gboolean 959s # test_fdpassing_call_hello_fd_finish ( 959s # TestFDPassing *proxy, 959s # gchar **out_response, 959s # GUnixFDList **out_fd_list, 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GVariant *_ret; 959s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 959s # if (_ret == NULL) 959s # goto _out; 959s # g_variant_get (_ret, 959s # "(s)", 959s # out_response); 959s # g_variant_unref (_ret); 959s # _out: 959s # return _ret != NULL; 959s # } 959s # 959s # /** 959s # * test_fdpassing_call_hello_fd_sync: 959s # * @proxy: A #TestFDPassingProxy. 959s # * @arg_greeting: Argument to pass with the method invocation. 959s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 959s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 959s # * @out_fd_list: (out): Return location for a #GUnixFDList or %NULL. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL. 959s # * 959s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 959s # * 959s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 959s # * 959s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 959s # */ 959s # gboolean 959s # test_fdpassing_call_hello_fd_sync ( 959s # TestFDPassing *proxy, 959s # const gchar *arg_greeting, 959s # GUnixFDList *fd_list, 959s # gchar **out_response, 959s # GUnixFDList **out_fd_list, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GVariant *_ret; 959s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 959s # "HelloFD", 959s # g_variant_new ("(s)", 959s # arg_greeting), 959s # G_DBUS_CALL_FLAGS_NONE, 959s # -1, 959s # fd_list, 959s # out_fd_list, 959s # cancellable, 959s # error); 959s # if (_ret == NULL) 959s # goto _out; 959s # g_variant_get (_ret, 959s # "(s)", 959s # out_response); 959s # g_variant_unref (_ret); 959s # _out: 959s # return _ret != NULL; 959s # } 959s # 959s # /** 959s # * test_fdpassing_complete_hello_fd: 959s # * @object: A #TestFDPassing. 959s # * @invocation: (transfer full): A #GDBusMethodInvocation. 959s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 959s # * @response: Parameter to return. 959s # * 959s # * Helper function used in service implementations to finish handling invocations of the HelloFD() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 959s # * 959s # * This method will free @invocation, you cannot use it afterwards. 959s # */ 959s # void 959s # test_fdpassing_complete_hello_fd ( 959s # TestFDPassing *object G_GNUC_UNUSED, 959s # GDBusMethodInvocation *invocation, 959s # GUnixFDList *fd_list, 959s # const gchar *response) 959s # { 959s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 959s # g_variant_new ("(s)", 959s # response), 959s # fd_list); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * TestFDPassingProxy: 959s # * 959s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * TestFDPassingProxyClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #TestFDPassingProxy. 959s # */ 959s # 959s # struct _TestFDPassingProxyPrivate 959s # { 959s # GData *qdata; 959s # }; 959s # 959s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 959s # G_ADD_PRIVATE (TestFDPassingProxy) 959s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 959s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 959s # 959s # #endif 959s # static void 959s # test_fdpassing_proxy_finalize (GObject *object) 959s # { 959s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 959s # g_datalist_clear (&proxy->priv->qdata); 959s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # const GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 959s # const gchar *sender_name G_GNUC_UNUSED, 959s # const gchar *signal_name, 959s # GVariant *parameters) 959s # { 959s # _ExtendedGDBusSignalInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # gsize n; 959s # guint signal_id; 959s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 959s # if (info == NULL) 959s # return; 959s # num_params = g_variant_n_children (parameters); 959s # paramv = g_new0 (GValue, num_params + 1); 959s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 959s # g_value_set_object (¶mv[0], proxy); 959s # g_variant_iter_init (&iter, parameters); 959s # n = 1; 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 959s # g_signal_emitv (paramv, signal_id, 0, NULL); 959s # for (n = 0; n < num_params + 1; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static void 959s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 959s # GVariant *changed_properties, 959s # const gchar *const *invalidated_properties) 959s # { 959s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 959s # guint n; 959s # const gchar *key; 959s # GVariantIter *iter; 959s # _ExtendedGDBusPropertyInfo *info; 959s # g_variant_get (changed_properties, "a{sv}", &iter); 959s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 959s # g_datalist_remove_data (&proxy->priv->qdata, key); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # g_variant_iter_free (iter); 959s # for (n = 0; invalidated_properties[n] != NULL; n++) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 959s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # } 959s # 959s # static void 959s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 959s # #else 959s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 959s # #endif 959s # 959s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 959s # } 959s # 959s # static void 959s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusProxyClass *proxy_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = test_fdpassing_proxy_finalize; 959s # gobject_class->get_property = test_fdpassing_proxy_get_property; 959s # gobject_class->set_property = test_fdpassing_proxy_set_property; 959s # 959s # proxy_class = G_DBUS_PROXY_CLASS (klass); 959s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 959s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * test_fdpassing_proxy_new: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 959s # * 959s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # test_fdpassing_proxy_new ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_TEST_FDPASSING_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "test.FDPassing", NULL); 959s # } 959s # 959s # /** 959s # * test_fdpassing_proxy_new_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with test_fdpassing_proxy_new(). 959s # * 959s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # TestFDPassing * 959s # test_fdpassing_proxy_new_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return TEST_FDPASSING (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * test_fdpassing_proxy_new_sync: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # TestFDPassing * 959s # test_fdpassing_proxy_new_sync ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_TEST_FDPASSING_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "test.FDPassing", NULL); 959s # if (ret != NULL) 959s # return TEST_FDPASSING (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /** 959s # * test_fdpassing_proxy_new_for_bus: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 959s # * 959s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # test_fdpassing_proxy_new_for_bus ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_TEST_FDPASSING_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "test.FDPassing", NULL); 959s # } 959s # 959s # /** 959s # * test_fdpassing_proxy_new_for_bus_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 959s # * 959s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # TestFDPassing * 959s # test_fdpassing_proxy_new_for_bus_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return TEST_FDPASSING (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * test_fdpassing_proxy_new_for_bus_sync: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # TestFDPassing * 959s # test_fdpassing_proxy_new_for_bus_sync ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_TEST_FDPASSING_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "test.FDPassing", NULL); 959s # if (ret != NULL) 959s # return TEST_FDPASSING (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * TestFDPassingSkeleton: 959s # * 959s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * TestFDPassingSkeletonClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #TestFDPassingSkeleton. 959s # */ 959s # 959s # struct _TestFDPassingSkeletonPrivate 959s # { 959s # GValue *properties; 959s # GList *changed_properties; 959s # GSource *changed_properties_idle_source; 959s # GMainContext *context; 959s # GMutex lock; 959s # }; 959s # 959s # static void 959s # _test_fdpassing_skeleton_handle_method_call ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name, 959s # const gchar *method_name, 959s # GVariant *parameters, 959s # GDBusMethodInvocation *invocation, 959s # gpointer user_data) 959s # { 959s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 959s # _ExtendedGDBusMethodInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # guint num_extra; 959s # gsize n; 959s # guint signal_id; 959s # GValue return_value = G_VALUE_INIT; 959s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 959s # g_assert (info != NULL); 959s # num_params = g_variant_n_children (parameters); 959s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 959s # n = 0; 959s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 959s # g_value_set_object (¶mv[n++], skeleton); 959s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 959s # g_value_set_object (¶mv[n++], invocation); 959s # if (info->pass_fdlist) 959s # { 959s # #ifdef G_OS_UNIX 959s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 959s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 959s # #else 959s # g_assert_not_reached (); 959s # #endif 959s # } 959s # g_variant_iter_init (&iter, parameters); 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 959s # g_value_init (&return_value, G_TYPE_BOOLEAN); 959s # g_signal_emitv (paramv, signal_id, 0, &return_value); 959s # if (!g_value_get_boolean (&return_value)) 959s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 959s # g_value_unset (&return_value); 959s # for (n = 0; n < num_params + num_extra; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static GVariant * 959s # _test_fdpassing_skeleton_handle_get_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # GVariant *ret; 959s # ret = NULL; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # g_value_init (&value, pspec->value_type); 959s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 959s # g_value_unset (&value); 959s # } 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _test_fdpassing_skeleton_handle_set_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GVariant *variant, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # gboolean ret; 959s # ret = FALSE; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # if (info->use_gvariant) 959s # g_value_set_variant (&value, variant); 959s # else 959s # g_dbus_gvariant_to_gvalue (variant, &value); 959s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # g_value_unset (&value); 959s # ret = TRUE; 959s # } 959s # return ret; 959s # } 959s # 959s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 959s # { 959s # _test_fdpassing_skeleton_handle_method_call, 959s # _test_fdpassing_skeleton_handle_get_property, 959s # _test_fdpassing_skeleton_handle_set_property, 959s # {NULL} 959s # }; 959s # 959s # static GDBusInterfaceInfo * 959s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return test_fdpassing_interface_info (); 959s # } 959s # 959s # static GDBusInterfaceVTable * 959s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 959s # } 959s # 959s # static GVariant * 959s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 959s # { 959s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 959s # 959s # GVariantBuilder builder; 959s # guint n; 959s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 959s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 959s # goto out; 959s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 959s # { 959s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 959s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 959s # { 959s # GVariant *value; 959s # value = _test_fdpassing_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "test.FDPassing", info->name, NULL, skeleton); 959s # if (value != NULL) 959s # { 959s # g_variant_take_ref (value); 959s # g_variant_builder_add (&builder, "{sv}", info->name, value); 959s # g_variant_unref (value); 959s # } 959s # } 959s # } 959s # out: 959s # return g_variant_builder_end (&builder); 959s # } 959s # 959s # static void 959s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_ADD_PRIVATE (TestFDPassingSkeleton) 959s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 959s # 959s # #endif 959s # static void 959s # test_fdpassing_skeleton_finalize (GObject *object) 959s # { 959s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 959s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 959s # if (skeleton->priv->changed_properties_idle_source != NULL) 959s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 959s # g_main_context_unref (skeleton->priv->context); 959s # g_mutex_clear (&skeleton->priv->lock); 959s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 959s # #else 959s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 959s # #endif 959s # 959s # g_mutex_init (&skeleton->priv->lock); 959s # skeleton->priv->context = g_main_context_ref_thread_default (); 959s # } 959s # 959s # static void 959s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusInterfaceSkeletonClass *skeleton_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 959s # 959s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 959s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 959s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 959s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 959s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * test_fdpassing_skeleton_new: 959s # * 959s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 959s # * 959s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 959s # */ 959s # TestFDPassing * 959s # test_fdpassing_skeleton_new (void) 959s # { 959s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 959s # } 959s ok 15 __main__.TestCodegen.test_generate_rst 959s # tmpdir: /tmp/tmpquseyk6c 959s # codegen: /usr/bin/gdbus-codegen 959s # /tmp/tmpquseyk6c/tmp0ogttcb7.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpquseyk6c/tmp0ogttcb7.xml', '--generate-rst', 'test'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: 959s ok 16 __main__.TestCodegen.test_generate_rst_method 959s # tmpdir: /tmp/tmp036te_si 959s # codegen: /usr/bin/gdbus-codegen 959s # /tmp/tmp036te_si/tmpw56o45g8.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp036te_si/tmpw56o45g8.xml', '--generate-rst', 'test'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: 959s ok 17 __main__.TestCodegen.test_generate_rst_property 959s # tmpdir: /tmp/tmp702tglzx 959s # codegen: /usr/bin/gdbus-codegen 959s # /tmp/tmp702tglzx/tmpajzpzsbe.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp702tglzx/tmpajzpzsbe.xml', '--generate-rst', 'test'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: 959s ok 18 __main__.TestCodegen.test_generate_rst_signal 959s # tmpdir: /tmp/tmpj7xpt7op 959s # codegen: /usr/bin/gdbus-codegen 959s # /tmp/tmpj7xpt7op/tmp259hvelx.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj7xpt7op/tmp259hvelx.xml', '--generate-rst', 'test'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: 959s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 959s # tmpdir: /tmp/tmpad3m1nsy 959s # codegen: /usr/bin/gdbus-codegen 959s # /tmp/tmpad3m1nsy/tmp1jkyvzfz.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpad3m1nsy/tmp1jkyvzfz.xml', '--output', '-', '--body'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: /* 959s # * This file is generated by gdbus-codegen, do not modify it. 959s # * 959s # * The license of this code is the same as for the D-Bus interface description 959s # * it was derived from. Note that it links to GLib, so must comply with the 959s # * LGPL linking clauses. 959s # */ 959s # 959s # #ifdef HAVE_CONFIG_H 959s # # include "config.h" 959s # #endif 959s # 959s # #include 959s # #ifdef G_OS_UNIX 959s # # include 959s # #endif 959s # 959s # #ifdef G_ENABLE_DEBUG 959s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 959s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 959s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 959s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 959s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 959s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 959s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 959s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 959s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 959s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 959s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 959s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 959s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 959s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 959s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 959s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 959s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 959s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 959s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 959s # #else /* !G_ENABLE_DEBUG */ 959s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 959s # * Do not access GValues directly in your code. Instead, use the 959s # * g_value_get_*() functions 959s # */ 959s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 959s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 959s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 959s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 959s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 959s # #endif /* !G_ENABLE_DEBUG */ 959s # 959s # typedef struct 959s # { 959s # GDBusArgInfo parent_struct; 959s # gboolean use_gvariant; 959s # } _ExtendedGDBusArgInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusMethodInfo parent_struct; 959s # const gchar *signal_name; 959s # gboolean pass_fdlist; 959s # } _ExtendedGDBusMethodInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusSignalInfo parent_struct; 959s # const gchar *signal_name; 959s # } _ExtendedGDBusSignalInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusPropertyInfo parent_struct; 959s # const gchar *hyphen_name; 959s # guint use_gvariant : 1; 959s # guint emits_changed_signal : 1; 959s # } _ExtendedGDBusPropertyInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusInterfaceInfo parent_struct; 959s # const gchar *hyphen_name; 959s # } _ExtendedGDBusInterfaceInfo; 959s # 959s # typedef struct 959s # { 959s # const _ExtendedGDBusPropertyInfo *info; 959s # guint prop_id; 959s # GValue orig_value; /* the value before the change */ 959s # } ChangedProperty; 959s # 959s # static void 959s # _changed_property_free (ChangedProperty *data) 959s # { 959s # g_value_unset (&data->orig_value); 959s # g_free (data); 959s # } 959s # 959s # static gboolean 959s # _g_strv_equal0 (gchar **a, gchar **b) 959s # { 959s # gboolean ret = FALSE; 959s # guint n; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # if (g_strv_length (a) != g_strv_length (b)) 959s # goto out; 959s # for (n = 0; a[n] != NULL; n++) 959s # if (g_strcmp0 (a[n], b[n]) != 0) 959s # goto out; 959s # ret = TRUE; 959s # out: 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _g_variant_equal0 (GVariant *a, GVariant *b) 959s # { 959s # gboolean ret = FALSE; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # ret = g_variant_equal (a, b); 959s # out: 959s # return ret; 959s # } 959s # 959s # G_GNUC_UNUSED static gboolean 959s # _g_value_equal (const GValue *a, const GValue *b) 959s # { 959s # gboolean ret = FALSE; 959s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 959s # switch (G_VALUE_TYPE (a)) 959s # { 959s # case G_TYPE_BOOLEAN: 959s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 959s # break; 959s # case G_TYPE_UCHAR: 959s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 959s # break; 959s # case G_TYPE_INT: 959s # ret = (g_value_get_int (a) == g_value_get_int (b)); 959s # break; 959s # case G_TYPE_UINT: 959s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 959s # break; 959s # case G_TYPE_INT64: 959s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 959s # break; 959s # case G_TYPE_UINT64: 959s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 959s # break; 959s # case G_TYPE_DOUBLE: 959s # { 959s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 959s # gdouble da = g_value_get_double (a); 959s # gdouble db = g_value_get_double (b); 959s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 959s # } 959s # break; 959s # case G_TYPE_STRING: 959s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 959s # break; 959s # case G_TYPE_VARIANT: 959s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 959s # break; 959s # default: 959s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 959s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 959s # else 959s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 959s # break; 959s # } 959s # return ret; 959s # } 959s # 959s # static void 959s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 959s # GClosure *closure, 959s # GValue *return_value G_GNUC_UNUSED, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint G_GNUC_UNUSED, 959s # void *marshal_data) 959s # { 959s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 959s # (void *data1, 959s # gboolean arg_an_b, 959s # guchar arg_an_y, 959s # gint16 arg_an_n, 959s # guint16 arg_an_q, 959s # gint arg_an_i, 959s # guint arg_an_u, 959s # gint64 arg_an_x, 959s # guint64 arg_an_t, 959s # gdouble arg_an_d, 959s # const gchar *arg_an_s, 959s # const gchar *arg_an_o, 959s # const gchar *arg_an_g, 959s # GVariant *arg_an_h, 959s # const gchar *arg_an_ay, 959s # const gchar *const *arg_an_as, 959s # const gchar *const *arg_an_ao, 959s # const gchar *const *arg_an_aay, 959s # GVariant *arg_an_asv, 959s # void *data2); 959s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 959s # GCClosure *cc = (GCClosure*) closure; 959s # void *data1, *data2; 959s # 959s # g_return_if_fail (n_param_values == 19); 959s # 959s # if (G_CCLOSURE_SWAP_DATA (closure)) 959s # { 959s # data1 = closure->data; 959s # data2 = g_value_peek_pointer (param_values + 0); 959s # } 959s # else 959s # { 959s # data1 = g_value_peek_pointer (param_values + 0); 959s # data2 = closure->data; 959s # } 959s # 959s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 959s # (marshal_data ? marshal_data : cc->callback); 959s # 959s # callback (data1, 959s # g_marshal_value_peek_boolean (param_values + 1), 959s # g_marshal_value_peek_uchar (param_values + 2), 959s # g_marshal_value_peek_int (param_values + 3), 959s # g_marshal_value_peek_uint (param_values + 4), 959s # g_marshal_value_peek_int (param_values + 5), 959s # g_marshal_value_peek_uint (param_values + 6), 959s # g_marshal_value_peek_int64 (param_values + 7), 959s # g_marshal_value_peek_uint64 (param_values + 8), 959s # g_marshal_value_peek_double (param_values + 9), 959s # g_marshal_value_peek_string (param_values + 10), 959s # g_marshal_value_peek_string (param_values + 11), 959s # g_marshal_value_peek_string (param_values + 12), 959s # g_marshal_value_peek_variant (param_values + 13), 959s # g_marshal_value_peek_string (param_values + 14), 959s # g_marshal_value_peek_boxed (param_values + 15), 959s # g_marshal_value_peek_boxed (param_values + 16), 959s # g_marshal_value_peek_boxed (param_values + 17), 959s # g_marshal_value_peek_variant (param_values + 18), 959s # data2); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ 959s # * Code for interface org.project.SignalingIface 959s # * ------------------------------------------------------------------------ 959s # */ 959s # 959s # /** 959s # * SECTION:OrgProjectSignalingIface 959s # * @title: OrgProjectSignalingIface 959s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 959s # * 959s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 959s # */ 959s # 959s # enum 959s # { 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 959s # }; 959s # 959s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 959s # 959s # /* ---- Introspection data for org.project.SignalingIface ---- */ 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_b", 959s # (gchar *) "b", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_y", 959s # (gchar *) "y", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_n", 959s # (gchar *) "n", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_q", 959s # (gchar *) "q", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_i", 959s # (gchar *) "i", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_u", 959s # (gchar *) "u", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_x", 959s # (gchar *) "x", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_t", 959s # (gchar *) "t", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_d", 959s # (gchar *) "d", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_s", 959s # (gchar *) "s", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_o", 959s # (gchar *) "o", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_g", 959s # (gchar *) "g", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_h", 959s # (gchar *) "h", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_ay", 959s # (gchar *) "ay", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_as", 959s # (gchar *) "as", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_ao", 959s # (gchar *) "ao", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_aay", 959s # (gchar *) "aay", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_asv", 959s # (gchar *) "a{sv}", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 959s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 959s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 959s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 959s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 959s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 959s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 959s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 959s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 959s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 959s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 959s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 959s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 959s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 959s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 959s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 959s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 959s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SignalWithManyArgs", 959s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 959s # NULL 959s # }, 959s # "signal-with-many-args" 959s # }; 959s # 959s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 959s # { 959s # { 959s # -1, 959s # (gchar *) "org.project.SignalingIface", 959s # NULL, 959s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 959s # NULL, 959s # NULL 959s # }, 959s # "org-project-signaling-iface", 959s # }; 959s # 959s # 959s # /** 959s # * org_project_signaling_iface_interface_info: 959s # * 959s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 959s # * 959s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 959s # */ 959s # GDBusInterfaceInfo * 959s # org_project_signaling_iface_interface_info (void) 959s # { 959s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_override_properties: 959s # * @klass: The class structure for a #GObject derived class. 959s # * @property_id_begin: The property id to assign to the first overridden property. 959s # * 959s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 959s # * The properties are overridden in the order they are defined. 959s # * 959s # * Returns: The last property id. 959s # */ 959s # guint 959s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 959s # { 959s # return property_id_begin - 1; 959s # } 959s # 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # 959s # /** 959s # * OrgProjectSignalingIface: 959s # * 959s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceIface: 959s # * @parent_iface: The parent interface. 959s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 959s # * 959s # * Virtual table for the D-Bus interface org.project.SignalingIface. 959s # */ 959s # 959s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 959s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 959s # 959s # static void 959s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 959s # { 959s # /* GObject signals for received D-Bus signals: */ 959s # /** 959s # * OrgProjectSignalingIface::signal-with-many-args: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_an_b: Argument. 959s # * @arg_an_y: Argument. 959s # * @arg_an_n: Argument. 959s # * @arg_an_q: Argument. 959s # * @arg_an_i: Argument. 959s # * @arg_an_u: Argument. 959s # * @arg_an_x: Argument. 959s # * @arg_an_t: Argument. 959s # * @arg_an_d: Argument. 959s # * @arg_an_s: Argument. 959s # * @arg_an_o: Argument. 959s # * @arg_an_g: Argument. 959s # * @arg_an_h: Argument. 959s # * @arg_an_ay: Argument. 959s # * @arg_an_as: Argument. 959s # * @arg_an_ao: Argument. 959s # * @arg_an_aay: Argument. 959s # * @arg_an_asv: Argument. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 959s # g_signal_new ("signal-with-many-args", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 959s # G_TYPE_NONE, 959s # 18, G_TYPE_BOOLEAN, G_TYPE_UCHAR, G_TYPE_INT, G_TYPE_UINT, G_TYPE_INT, G_TYPE_UINT, G_TYPE_INT64, G_TYPE_UINT64, G_TYPE_DOUBLE, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_VARIANT, G_TYPE_STRING, G_TYPE_STRV, G_TYPE_STRV, G_TYPE_STRV, G_TYPE_VARIANT); 959s # 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_signal_with_many_args: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_an_b: Argument to pass with the signal. 959s # * @arg_an_y: Argument to pass with the signal. 959s # * @arg_an_n: Argument to pass with the signal. 959s # * @arg_an_q: Argument to pass with the signal. 959s # * @arg_an_i: Argument to pass with the signal. 959s # * @arg_an_u: Argument to pass with the signal. 959s # * @arg_an_x: Argument to pass with the signal. 959s # * @arg_an_t: Argument to pass with the signal. 959s # * @arg_an_d: Argument to pass with the signal. 959s # * @arg_an_s: Argument to pass with the signal. 959s # * @arg_an_o: Argument to pass with the signal. 959s # * @arg_an_g: Argument to pass with the signal. 959s # * @arg_an_h: Argument to pass with the signal. 959s # * @arg_an_ay: Argument to pass with the signal. 959s # * @arg_an_as: Argument to pass with the signal. 959s # * @arg_an_ao: Argument to pass with the signal. 959s # * @arg_an_aay: Argument to pass with the signal. 959s # * @arg_an_asv: Argument to pass with the signal. 959s # * 959s # * Emits the "SignalWithManyArgs" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_signal_with_many_args ( 959s # OrgProjectSignalingIface *object, 959s # gboolean arg_an_b, 959s # guchar arg_an_y, 959s # gint16 arg_an_n, 959s # guint16 arg_an_q, 959s # gint arg_an_i, 959s # guint arg_an_u, 959s # gint64 arg_an_x, 959s # guint64 arg_an_t, 959s # gdouble arg_an_d, 959s # const gchar *arg_an_s, 959s # const gchar *arg_an_o, 959s # const gchar *arg_an_g, 959s # GVariant *arg_an_h, 959s # const gchar *arg_an_ay, 959s # const gchar *const *arg_an_as, 959s # const gchar *const *arg_an_ao, 959s # const gchar *const *arg_an_aay, 959s # GVariant *arg_an_asv) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS], 0, arg_an_b, arg_an_y, arg_an_n, arg_an_q, arg_an_i, arg_an_u, arg_an_x, arg_an_t, arg_an_d, arg_an_s, arg_an_o, arg_an_g, arg_an_h, arg_an_ay, arg_an_as, arg_an_ao, arg_an_aay, arg_an_asv); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceProxy: 959s # * 959s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceProxyClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectSignalingIfaceProxy. 959s # */ 959s # 959s # struct _OrgProjectSignalingIfaceProxyPrivate 959s # { 959s # GData *qdata; 959s # }; 959s # 959s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_signaling_iface_proxy_finalize (GObject *object) 959s # { 959s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 959s # g_datalist_clear (&proxy->priv->qdata); 959s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # const GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 959s # const gchar *sender_name G_GNUC_UNUSED, 959s # const gchar *signal_name, 959s # GVariant *parameters) 959s # { 959s # _ExtendedGDBusSignalInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # gsize n; 959s # guint signal_id; 959s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 959s # if (info == NULL) 959s # return; 959s # num_params = g_variant_n_children (parameters); 959s # paramv = g_new0 (GValue, num_params + 1); 959s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_set_object (¶mv[0], proxy); 959s # g_variant_iter_init (&iter, parameters); 959s # n = 1; 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_signal_emitv (paramv, signal_id, 0, NULL); 959s # for (n = 0; n < num_params + 1; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 959s # GVariant *changed_properties, 959s # const gchar *const *invalidated_properties) 959s # { 959s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 959s # guint n; 959s # const gchar *key; 959s # GVariantIter *iter; 959s # _ExtendedGDBusPropertyInfo *info; 959s # g_variant_get (changed_properties, "a{sv}", &iter); 959s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 959s # g_datalist_remove_data (&proxy->priv->qdata, key); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # g_variant_iter_free (iter); 959s # for (n = 0; invalidated_properties[n] != NULL; n++) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 959s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 959s # #else 959s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 959s # #endif 959s # 959s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusProxyClass *proxy_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 959s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 959s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 959s # 959s # proxy_class = G_DBUS_PROXY_CLASS (klass); 959s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 959s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 959s # * 959s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_signaling_iface_proxy_new ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_sync: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_sync ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 959s # * 959s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_signaling_iface_proxy_new_for_bus ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_for_bus_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus_sync: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_for_bus_sync ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceSkeleton: 959s # * 959s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceSkeletonClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 959s # */ 959s # 959s # struct _OrgProjectSignalingIfaceSkeletonPrivate 959s # { 959s # GValue *properties; 959s # GList *changed_properties; 959s # GSource *changed_properties_idle_source; 959s # GMainContext *context; 959s # GMutex lock; 959s # }; 959s # 959s # static void 959s # _org_project_signaling_iface_skeleton_handle_method_call ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name, 959s # const gchar *method_name, 959s # GVariant *parameters, 959s # GDBusMethodInvocation *invocation, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # _ExtendedGDBusMethodInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # guint num_extra; 959s # gsize n; 959s # guint signal_id; 959s # GValue return_value = G_VALUE_INIT; 959s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 959s # g_assert (info != NULL); 959s # num_params = g_variant_n_children (parameters); 959s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 959s # n = 0; 959s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_set_object (¶mv[n++], skeleton); 959s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 959s # g_value_set_object (¶mv[n++], invocation); 959s # if (info->pass_fdlist) 959s # { 959s # #ifdef G_OS_UNIX 959s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 959s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 959s # #else 959s # g_assert_not_reached (); 959s # #endif 959s # } 959s # g_variant_iter_init (&iter, parameters); 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_init (&return_value, G_TYPE_BOOLEAN); 959s # g_signal_emitv (paramv, signal_id, 0, &return_value); 959s # if (!g_value_get_boolean (&return_value)) 959s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 959s # g_value_unset (&return_value); 959s # for (n = 0; n < num_params + num_extra; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static GVariant * 959s # _org_project_signaling_iface_skeleton_handle_get_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # GVariant *ret; 959s # ret = NULL; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # g_value_init (&value, pspec->value_type); 959s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 959s # g_value_unset (&value); 959s # } 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _org_project_signaling_iface_skeleton_handle_set_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GVariant *variant, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # gboolean ret; 959s # ret = FALSE; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # if (info->use_gvariant) 959s # g_value_set_variant (&value, variant); 959s # else 959s # g_dbus_gvariant_to_gvalue (variant, &value); 959s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # g_value_unset (&value); 959s # ret = TRUE; 959s # } 959s # return ret; 959s # } 959s # 959s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 959s # { 959s # _org_project_signaling_iface_skeleton_handle_method_call, 959s # _org_project_signaling_iface_skeleton_handle_get_property, 959s # _org_project_signaling_iface_skeleton_handle_set_property, 959s # {NULL} 959s # }; 959s # 959s # static GDBusInterfaceInfo * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return org_project_signaling_iface_interface_info (); 959s # } 959s # 959s # static GDBusInterfaceVTable * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 959s # } 959s # 959s # static GVariant * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 959s # 959s # GVariantBuilder builder; 959s # guint n; 959s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 959s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 959s # goto out; 959s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 959s # { 959s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 959s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 959s # { 959s # GVariant *value; 959s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 959s # if (value != NULL) 959s # { 959s # g_variant_take_ref (value); 959s # g_variant_builder_add (&builder, "{sv}", info->name, value); 959s # g_variant_unref (value); 959s # } 959s # } 959s # } 959s # out: 959s # return g_variant_builder_end (&builder); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 959s # OrgProjectSignalingIface *object, 959s # gboolean arg_an_b, 959s # guchar arg_an_y, 959s # gint16 arg_an_n, 959s # guint16 arg_an_q, 959s # gint arg_an_i, 959s # guint arg_an_u, 959s # gint64 arg_an_x, 959s # guint64 arg_an_t, 959s # gdouble arg_an_d, 959s # const gchar *arg_an_s, 959s # const gchar *arg_an_o, 959s # const gchar *arg_an_g, 959s # GVariant *arg_an_h, 959s # const gchar *arg_an_ay, 959s # const gchar *const *arg_an_as, 959s # const gchar *const *arg_an_ao, 959s # const gchar *const *arg_an_aay, 959s # GVariant *arg_an_asv) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 959s # arg_an_b, 959s # arg_an_y, 959s # arg_an_n, 959s # arg_an_q, 959s # arg_an_i, 959s # arg_an_u, 959s # arg_an_x, 959s # arg_an_t, 959s # arg_an_d, 959s # arg_an_s, 959s # arg_an_o, 959s # arg_an_g, 959s # arg_an_h, 959s # arg_an_ay, 959s # arg_an_as, 959s # arg_an_ao, 959s # arg_an_aay, 959s # arg_an_asv)); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_signaling_iface_skeleton_finalize (GObject *object) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 959s # if (skeleton->priv->changed_properties_idle_source != NULL) 959s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 959s # g_main_context_unref (skeleton->priv->context); 959s # g_mutex_clear (&skeleton->priv->lock); 959s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 959s # #else 959s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 959s # #endif 959s # 959s # g_mutex_init (&skeleton->priv->lock); 959s # skeleton->priv->context = g_main_context_ref_thread_default (); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusInterfaceSkeletonClass *skeleton_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 959s # 959s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 959s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 959s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 959s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 959s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 959s # { 959s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_skeleton_new: 959s # * 959s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_skeleton_new (void) 959s # { 959s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 959s # } 959s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 959s # tmpdir: /tmp/tmp56tkogzx 959s # codegen: /usr/bin/gdbus-codegen 959s # /tmp/tmp56tkogzx/tmphuteh2pm.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp56tkogzx/tmphuteh2pm.xml', '--output', '-', '--body'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: /* 959s # * This file is generated by gdbus-codegen, do not modify it. 959s # * 959s # * The license of this code is the same as for the D-Bus interface description 959s # * it was derived from. Note that it links to GLib, so must comply with the 959s # * LGPL linking clauses. 959s # */ 959s # 959s # #ifdef HAVE_CONFIG_H 959s # # include "config.h" 959s # #endif 959s # 959s # #include 959s # #ifdef G_OS_UNIX 959s # # include 959s # #endif 959s # 959s # #ifdef G_ENABLE_DEBUG 959s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 959s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 959s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 959s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 959s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 959s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 959s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 959s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 959s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 959s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 959s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 959s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 959s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 959s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 959s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 959s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 959s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 959s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 959s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 959s # #else /* !G_ENABLE_DEBUG */ 959s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 959s # * Do not access GValues directly in your code. Instead, use the 959s # * g_value_get_*() functions 959s # */ 959s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 959s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 959s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 959s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 959s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 959s # #endif /* !G_ENABLE_DEBUG */ 959s # 959s # typedef struct 959s # { 959s # GDBusArgInfo parent_struct; 959s # gboolean use_gvariant; 959s # } _ExtendedGDBusArgInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusMethodInfo parent_struct; 959s # const gchar *signal_name; 959s # gboolean pass_fdlist; 959s # } _ExtendedGDBusMethodInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusSignalInfo parent_struct; 959s # const gchar *signal_name; 959s # } _ExtendedGDBusSignalInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusPropertyInfo parent_struct; 959s # const gchar *hyphen_name; 959s # guint use_gvariant : 1; 959s # guint emits_changed_signal : 1; 959s # } _ExtendedGDBusPropertyInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusInterfaceInfo parent_struct; 959s # const gchar *hyphen_name; 959s # } _ExtendedGDBusInterfaceInfo; 959s # 959s # typedef struct 959s # { 959s # const _ExtendedGDBusPropertyInfo *info; 959s # guint prop_id; 959s # GValue orig_value; /* the value before the change */ 959s # } ChangedProperty; 959s # 959s # static void 959s # _changed_property_free (ChangedProperty *data) 959s # { 959s # g_value_unset (&data->orig_value); 959s # g_free (data); 959s # } 959s # 959s # static gboolean 959s # _g_strv_equal0 (gchar **a, gchar **b) 959s # { 959s # gboolean ret = FALSE; 959s # guint n; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # if (g_strv_length (a) != g_strv_length (b)) 959s # goto out; 959s # for (n = 0; a[n] != NULL; n++) 959s # if (g_strcmp0 (a[n], b[n]) != 0) 959s # goto out; 959s # ret = TRUE; 959s # out: 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _g_variant_equal0 (GVariant *a, GVariant *b) 959s # { 959s # gboolean ret = FALSE; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # ret = g_variant_equal (a, b); 959s # out: 959s # return ret; 959s # } 959s # 959s # G_GNUC_UNUSED static gboolean 959s # _g_value_equal (const GValue *a, const GValue *b) 959s # { 959s # gboolean ret = FALSE; 959s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 959s # switch (G_VALUE_TYPE (a)) 959s # { 959s # case G_TYPE_BOOLEAN: 959s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 959s # break; 959s # case G_TYPE_UCHAR: 959s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 959s # break; 959s # case G_TYPE_INT: 959s # ret = (g_value_get_int (a) == g_value_get_int (b)); 959s # break; 959s # case G_TYPE_UINT: 959s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 959s # break; 959s # case G_TYPE_INT64: 959s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 959s # break; 959s # case G_TYPE_UINT64: 959s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 959s # break; 959s # case G_TYPE_DOUBLE: 959s # { 959s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 959s # gdouble da = g_value_get_double (a); 959s # gdouble db = g_value_get_double (b); 959s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 959s # } 959s # break; 959s # case G_TYPE_STRING: 959s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 959s # break; 959s # case G_TYPE_VARIANT: 959s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 959s # break; 959s # default: 959s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 959s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 959s # else 959s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 959s # break; 959s # } 959s # return ret; 959s # } 959s # 959s # static void 959s # _g_dbus_codegen_marshal_VOID__INT64 ( 959s # GClosure *closure, 959s # GValue *return_value G_GNUC_UNUSED, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint G_GNUC_UNUSED, 959s # void *marshal_data) 959s # { 959s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 959s # (void *data1, 959s # gint64 arg_an_x, 959s # void *data2); 959s # _GDbusCodegenMarshalVoid_Int64Func callback; 959s # GCClosure *cc = (GCClosure*) closure; 959s # void *data1, *data2; 959s # 959s # g_return_if_fail (n_param_values == 2); 959s # 959s # if (G_CCLOSURE_SWAP_DATA (closure)) 959s # { 959s # data1 = closure->data; 959s # data2 = g_value_peek_pointer (param_values + 0); 959s # } 959s # else 959s # { 959s # data1 = g_value_peek_pointer (param_values + 0); 959s # data2 = closure->data; 959s # } 959s # 959s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 959s # (marshal_data ? marshal_data : cc->callback); 959s # 959s # callback (data1, 959s # g_marshal_value_peek_int64 (param_values + 1), 959s # data2); 959s # } 959s # 959s # static void 959s # _g_dbus_codegen_marshal_VOID__UINT64 ( 959s # GClosure *closure, 959s # GValue *return_value G_GNUC_UNUSED, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint G_GNUC_UNUSED, 959s # void *marshal_data) 959s # { 959s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 959s # (void *data1, 959s # guint64 arg_an_t, 959s # void *data2); 959s # _GDbusCodegenMarshalVoid_Uint64Func callback; 959s # GCClosure *cc = (GCClosure*) closure; 959s # void *data1, *data2; 959s # 959s # g_return_if_fail (n_param_values == 2); 959s # 959s # if (G_CCLOSURE_SWAP_DATA (closure)) 959s # { 959s # data1 = closure->data; 959s # data2 = g_value_peek_pointer (param_values + 0); 959s # } 959s # else 959s # { 959s # data1 = g_value_peek_pointer (param_values + 0); 959s # data2 = closure->data; 959s # } 959s # 959s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 959s # (marshal_data ? marshal_data : cc->callback); 959s # 959s # callback (data1, 959s # g_marshal_value_peek_uint64 (param_values + 1), 959s # data2); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ 959s # * Code for interface org.project.SignalingIface 959s # * ------------------------------------------------------------------------ 959s # */ 959s # 959s # /** 959s # * SECTION:OrgProjectSignalingIface 959s # * @title: OrgProjectSignalingIface 959s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 959s # * 959s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 959s # */ 959s # 959s # enum 959s # { 959s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 959s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 959s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 959s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 959s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 959s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 959s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 959s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 959s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 959s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 959s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 959s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 959s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 959s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 959s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 959s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 959s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 959s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 959s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 959s # }; 959s # 959s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 959s # 959s # /* ---- Introspection data for org.project.SignalingIface ---- */ 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 959s # { 959s # { 959s # -1, 959s # (gchar *) "NoArgSignal", 959s # NULL, 959s # NULL 959s # }, 959s # "no-arg-signal" 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_b", 959s # (gchar *) "b", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgSignalB", 959s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 959s # NULL 959s # }, 959s # "single-arg-signal-b" 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_y", 959s # (gchar *) "y", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgSignalY", 959s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 959s # NULL 959s # }, 959s # "single-arg-signal-y" 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_n", 959s # (gchar *) "n", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgSignalN", 959s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 959s # NULL 959s # }, 959s # "single-arg-signal-n" 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_q", 959s # (gchar *) "q", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgSignalQ", 959s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 959s # NULL 959s # }, 959s # "single-arg-signal-q" 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_i", 959s # (gchar *) "i", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgSignalI", 959s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 959s # NULL 959s # }, 959s # "single-arg-signal-i" 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_u", 959s # (gchar *) "u", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgSignalU", 959s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 959s # NULL 959s # }, 959s # "single-arg-signal-u" 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_x", 959s # (gchar *) "x", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgSignalX", 959s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 959s # NULL 959s # }, 959s # "single-arg-signal-x" 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_t", 959s # (gchar *) "t", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgSignalT", 959s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 959s # NULL 959s # }, 959s # "single-arg-signal-t" 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_d", 959s # (gchar *) "d", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgSignalD", 959s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 959s # NULL 959s # }, 959s # "single-arg-signal-d" 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_s", 959s # (gchar *) "s", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgSignalS", 959s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 959s # NULL 959s # }, 959s # "single-arg-signal-s" 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_o", 959s # (gchar *) "o", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgSignalO", 959s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 959s # NULL 959s # }, 959s # "single-arg-signal-o" 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_g", 959s # (gchar *) "g", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgSignalG", 959s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 959s # NULL 959s # }, 959s # "single-arg-signal-g" 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_h", 959s # (gchar *) "h", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgSignalH", 959s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 959s # NULL 959s # }, 959s # "single-arg-signal-h" 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_ay", 959s # (gchar *) "ay", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgSignalAY", 959s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 959s # NULL 959s # }, 959s # "single-arg-signal-ay" 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_as", 959s # (gchar *) "as", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgSignalAS", 959s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 959s # NULL 959s # }, 959s # "single-arg-signal-as" 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_ao", 959s # (gchar *) "ao", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgSignalAO", 959s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 959s # NULL 959s # }, 959s # "single-arg-signal-ao" 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_aay", 959s # (gchar *) "aay", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgSignalAAY", 959s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 959s # NULL 959s # }, 959s # "single-arg-signal-aay" 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_asv", 959s # (gchar *) "a{sv}", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgSignalASV", 959s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 959s # NULL 959s # }, 959s # "single-arg-signal-asv" 959s # }; 959s # 959s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 959s # { 959s # { 959s # -1, 959s # (gchar *) "org.project.SignalingIface", 959s # NULL, 959s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 959s # NULL, 959s # NULL 959s # }, 959s # "org-project-signaling-iface", 959s # }; 959s # 959s # 959s # /** 959s # * org_project_signaling_iface_interface_info: 959s # * 959s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 959s # * 959s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 959s # */ 959s # GDBusInterfaceInfo * 959s # org_project_signaling_iface_interface_info (void) 959s # { 959s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_override_properties: 959s # * @klass: The class structure for a #GObject derived class. 959s # * @property_id_begin: The property id to assign to the first overridden property. 959s # * 959s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 959s # * The properties are overridden in the order they are defined. 959s # * 959s # * Returns: The last property id. 959s # */ 959s # guint 959s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 959s # { 959s # return property_id_begin - 1; 959s # } 959s # 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__VOID (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__BOOLEAN (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__UCHAR (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__INT (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__UINT (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__INT (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__UINT (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__DOUBLE (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__STRING (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__STRING (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__STRING (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__VARIANT (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__STRING (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__BOXED (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__BOXED (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__BOXED (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__VARIANT (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # 959s # /** 959s # * OrgProjectSignalingIface: 959s # * 959s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceIface: 959s # * @parent_iface: The parent interface. 959s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 959s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 959s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 959s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 959s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 959s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 959s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 959s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 959s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 959s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 959s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 959s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 959s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 959s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 959s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 959s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 959s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 959s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 959s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 959s # * 959s # * Virtual table for the D-Bus interface org.project.SignalingIface. 959s # */ 959s # 959s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 959s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 959s # 959s # static void 959s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 959s # { 959s # /* GObject signals for received D-Bus signals: */ 959s # /** 959s # * OrgProjectSignalingIface::no-arg-signal: 959s # * @object: A #OrgProjectSignalingIface. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 959s # g_signal_new ("no-arg-signal", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_no_arg_signal, 959s # G_TYPE_NONE, 959s # 0); 959s # 959s # /** 959s # * OrgProjectSignalingIface::single-arg-signal-b: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_an_b: Argument. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 959s # g_signal_new ("single-arg-signal-b", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 959s # G_TYPE_NONE, 959s # 1, G_TYPE_BOOLEAN); 959s # 959s # /** 959s # * OrgProjectSignalingIface::single-arg-signal-y: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_an_y: Argument. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 959s # g_signal_new ("single-arg-signal-y", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 959s # G_TYPE_NONE, 959s # 1, G_TYPE_UCHAR); 959s # 959s # /** 959s # * OrgProjectSignalingIface::single-arg-signal-n: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_an_n: Argument. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 959s # g_signal_new ("single-arg-signal-n", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 959s # G_TYPE_NONE, 959s # 1, G_TYPE_INT); 959s # 959s # /** 959s # * OrgProjectSignalingIface::single-arg-signal-q: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_an_q: Argument. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 959s # g_signal_new ("single-arg-signal-q", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 959s # G_TYPE_NONE, 959s # 1, G_TYPE_UINT); 959s # 959s # /** 959s # * OrgProjectSignalingIface::single-arg-signal-i: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_an_i: Argument. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 959s # g_signal_new ("single-arg-signal-i", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 959s # G_TYPE_NONE, 959s # 1, G_TYPE_INT); 959s # 959s # /** 959s # * OrgProjectSignalingIface::single-arg-signal-u: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_an_u: Argument. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 959s # g_signal_new ("single-arg-signal-u", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 959s # G_TYPE_NONE, 959s # 1, G_TYPE_UINT); 959s # 959s # /** 959s # * OrgProjectSignalingIface::single-arg-signal-x: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_an_x: Argument. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 959s # g_signal_new ("single-arg-signal-x", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 959s # G_TYPE_NONE, 959s # 1, G_TYPE_INT64); 959s # 959s # /** 959s # * OrgProjectSignalingIface::single-arg-signal-t: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_an_t: Argument. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 959s # g_signal_new ("single-arg-signal-t", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 959s # G_TYPE_NONE, 959s # 1, G_TYPE_UINT64); 959s # 959s # /** 959s # * OrgProjectSignalingIface::single-arg-signal-d: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_an_d: Argument. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 959s # g_signal_new ("single-arg-signal-d", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 959s # G_TYPE_NONE, 959s # 1, G_TYPE_DOUBLE); 959s # 959s # /** 959s # * OrgProjectSignalingIface::single-arg-signal-s: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_an_s: Argument. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 959s # g_signal_new ("single-arg-signal-s", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 959s # G_TYPE_NONE, 959s # 1, G_TYPE_STRING); 959s # 959s # /** 959s # * OrgProjectSignalingIface::single-arg-signal-o: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_an_o: Argument. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 959s # g_signal_new ("single-arg-signal-o", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 959s # G_TYPE_NONE, 959s # 1, G_TYPE_STRING); 959s # 959s # /** 959s # * OrgProjectSignalingIface::single-arg-signal-g: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_an_g: Argument. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 959s # g_signal_new ("single-arg-signal-g", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 959s # G_TYPE_NONE, 959s # 1, G_TYPE_STRING); 959s # 959s # /** 959s # * OrgProjectSignalingIface::single-arg-signal-h: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_an_h: Argument. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 959s # g_signal_new ("single-arg-signal-h", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 959s # G_TYPE_NONE, 959s # 1, G_TYPE_VARIANT); 959s # 959s # /** 959s # * OrgProjectSignalingIface::single-arg-signal-ay: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_an_ay: Argument. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 959s # g_signal_new ("single-arg-signal-ay", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 959s # G_TYPE_NONE, 959s # 1, G_TYPE_STRING); 959s # 959s # /** 959s # * OrgProjectSignalingIface::single-arg-signal-as: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_an_as: Argument. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 959s # g_signal_new ("single-arg-signal-as", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 959s # G_TYPE_NONE, 959s # 1, G_TYPE_STRV); 959s # 959s # /** 959s # * OrgProjectSignalingIface::single-arg-signal-ao: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_an_ao: Argument. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 959s # g_signal_new ("single-arg-signal-ao", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 959s # G_TYPE_NONE, 959s # 1, G_TYPE_STRV); 959s # 959s # /** 959s # * OrgProjectSignalingIface::single-arg-signal-aay: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_an_aay: Argument. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 959s # g_signal_new ("single-arg-signal-aay", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 959s # G_TYPE_NONE, 959s # 1, G_TYPE_STRV); 959s # 959s # /** 959s # * OrgProjectSignalingIface::single-arg-signal-asv: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_an_asv: Argument. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 959s # g_signal_new ("single-arg-signal-asv", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 959s # G_TYPE_NONE, 959s # 1, G_TYPE_VARIANT); 959s # 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_no_arg_signal: 959s # * @object: A #OrgProjectSignalingIface. 959s # * 959s # * Emits the "NoArgSignal" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_no_arg_signal ( 959s # OrgProjectSignalingIface *object) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_single_arg_signal_b: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_an_b: Argument to pass with the signal. 959s # * 959s # * Emits the "SingleArgSignalB" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_single_arg_signal_b ( 959s # OrgProjectSignalingIface *object, 959s # gboolean arg_an_b) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_single_arg_signal_y: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_an_y: Argument to pass with the signal. 959s # * 959s # * Emits the "SingleArgSignalY" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_single_arg_signal_y ( 959s # OrgProjectSignalingIface *object, 959s # guchar arg_an_y) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_single_arg_signal_n: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_an_n: Argument to pass with the signal. 959s # * 959s # * Emits the "SingleArgSignalN" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_single_arg_signal_n ( 959s # OrgProjectSignalingIface *object, 959s # gint16 arg_an_n) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_single_arg_signal_q: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_an_q: Argument to pass with the signal. 959s # * 959s # * Emits the "SingleArgSignalQ" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_single_arg_signal_q ( 959s # OrgProjectSignalingIface *object, 959s # guint16 arg_an_q) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_single_arg_signal_i: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_an_i: Argument to pass with the signal. 959s # * 959s # * Emits the "SingleArgSignalI" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_single_arg_signal_i ( 959s # OrgProjectSignalingIface *object, 959s # gint arg_an_i) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_single_arg_signal_u: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_an_u: Argument to pass with the signal. 959s # * 959s # * Emits the "SingleArgSignalU" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_single_arg_signal_u ( 959s # OrgProjectSignalingIface *object, 959s # guint arg_an_u) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_single_arg_signal_x: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_an_x: Argument to pass with the signal. 959s # * 959s # * Emits the "SingleArgSignalX" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_single_arg_signal_x ( 959s # OrgProjectSignalingIface *object, 959s # gint64 arg_an_x) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_single_arg_signal_t: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_an_t: Argument to pass with the signal. 959s # * 959s # * Emits the "SingleArgSignalT" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_single_arg_signal_t ( 959s # OrgProjectSignalingIface *object, 959s # guint64 arg_an_t) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_single_arg_signal_d: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_an_d: Argument to pass with the signal. 959s # * 959s # * Emits the "SingleArgSignalD" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_single_arg_signal_d ( 959s # OrgProjectSignalingIface *object, 959s # gdouble arg_an_d) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_single_arg_signal_s: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_an_s: Argument to pass with the signal. 959s # * 959s # * Emits the "SingleArgSignalS" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_single_arg_signal_s ( 959s # OrgProjectSignalingIface *object, 959s # const gchar *arg_an_s) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_single_arg_signal_o: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_an_o: Argument to pass with the signal. 959s # * 959s # * Emits the "SingleArgSignalO" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_single_arg_signal_o ( 959s # OrgProjectSignalingIface *object, 959s # const gchar *arg_an_o) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_single_arg_signal_g: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_an_g: Argument to pass with the signal. 959s # * 959s # * Emits the "SingleArgSignalG" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_single_arg_signal_g ( 959s # OrgProjectSignalingIface *object, 959s # const gchar *arg_an_g) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_single_arg_signal_h: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_an_h: Argument to pass with the signal. 959s # * 959s # * Emits the "SingleArgSignalH" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_single_arg_signal_h ( 959s # OrgProjectSignalingIface *object, 959s # GVariant *arg_an_h) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_single_arg_signal_ay: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_an_ay: Argument to pass with the signal. 959s # * 959s # * Emits the "SingleArgSignalAY" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_single_arg_signal_ay ( 959s # OrgProjectSignalingIface *object, 959s # const gchar *arg_an_ay) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_single_arg_signal_as: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_an_as: Argument to pass with the signal. 959s # * 959s # * Emits the "SingleArgSignalAS" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_single_arg_signal_as ( 959s # OrgProjectSignalingIface *object, 959s # const gchar *const *arg_an_as) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_single_arg_signal_ao: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_an_ao: Argument to pass with the signal. 959s # * 959s # * Emits the "SingleArgSignalAO" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_single_arg_signal_ao ( 959s # OrgProjectSignalingIface *object, 959s # const gchar *const *arg_an_ao) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_single_arg_signal_aay: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_an_aay: Argument to pass with the signal. 959s # * 959s # * Emits the "SingleArgSignalAAY" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_single_arg_signal_aay ( 959s # OrgProjectSignalingIface *object, 959s # const gchar *const *arg_an_aay) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_single_arg_signal_asv: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_an_asv: Argument to pass with the signal. 959s # * 959s # * Emits the "SingleArgSignalASV" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_single_arg_signal_asv ( 959s # OrgProjectSignalingIface *object, 959s # GVariant *arg_an_asv) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceProxy: 959s # * 959s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceProxyClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectSignalingIfaceProxy. 959s # */ 959s # 959s # struct _OrgProjectSignalingIfaceProxyPrivate 959s # { 959s # GData *qdata; 959s # }; 959s # 959s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_signaling_iface_proxy_finalize (GObject *object) 959s # { 959s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 959s # g_datalist_clear (&proxy->priv->qdata); 959s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # const GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 959s # const gchar *sender_name G_GNUC_UNUSED, 959s # const gchar *signal_name, 959s # GVariant *parameters) 959s # { 959s # _ExtendedGDBusSignalInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # gsize n; 959s # guint signal_id; 959s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 959s # if (info == NULL) 959s # return; 959s # num_params = g_variant_n_children (parameters); 959s # paramv = g_new0 (GValue, num_params + 1); 959s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_set_object (¶mv[0], proxy); 959s # g_variant_iter_init (&iter, parameters); 959s # n = 1; 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_signal_emitv (paramv, signal_id, 0, NULL); 959s # for (n = 0; n < num_params + 1; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 959s # GVariant *changed_properties, 959s # const gchar *const *invalidated_properties) 959s # { 959s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 959s # guint n; 959s # const gchar *key; 959s # GVariantIter *iter; 959s # _ExtendedGDBusPropertyInfo *info; 959s # g_variant_get (changed_properties, "a{sv}", &iter); 959s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 959s # g_datalist_remove_data (&proxy->priv->qdata, key); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # g_variant_iter_free (iter); 959s # for (n = 0; invalidated_properties[n] != NULL; n++) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 959s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 959s # #else 959s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 959s # #endif 959s # 959s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusProxyClass *proxy_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 959s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 959s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 959s # 959s # proxy_class = G_DBUS_PROXY_CLASS (klass); 959s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 959s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 959s # * 959s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_signaling_iface_proxy_new ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_sync: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_sync ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 959s # * 959s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_signaling_iface_proxy_new_for_bus ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_for_bus_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus_sync: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_for_bus_sync ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceSkeleton: 959s # * 959s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceSkeletonClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 959s # */ 959s # 959s # struct _OrgProjectSignalingIfaceSkeletonPrivate 959s # { 959s # GValue *properties; 959s # GList *changed_properties; 959s # GSource *changed_properties_idle_source; 959s # GMainContext *context; 959s # GMutex lock; 959s # }; 959s # 959s # static void 959s # _org_project_signaling_iface_skeleton_handle_method_call ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name, 959s # const gchar *method_name, 959s # GVariant *parameters, 959s # GDBusMethodInvocation *invocation, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # _ExtendedGDBusMethodInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # guint num_extra; 959s # gsize n; 959s # guint signal_id; 959s # GValue return_value = G_VALUE_INIT; 959s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 959s # g_assert (info != NULL); 959s # num_params = g_variant_n_children (parameters); 959s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 959s # n = 0; 959s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_set_object (¶mv[n++], skeleton); 959s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 959s # g_value_set_object (¶mv[n++], invocation); 959s # if (info->pass_fdlist) 959s # { 959s # #ifdef G_OS_UNIX 959s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 959s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 959s # #else 959s # g_assert_not_reached (); 959s # #endif 959s # } 959s # g_variant_iter_init (&iter, parameters); 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_init (&return_value, G_TYPE_BOOLEAN); 959s # g_signal_emitv (paramv, signal_id, 0, &return_value); 959s # if (!g_value_get_boolean (&return_value)) 959s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 959s # g_value_unset (&return_value); 959s # for (n = 0; n < num_params + num_extra; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static GVariant * 959s # _org_project_signaling_iface_skeleton_handle_get_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # GVariant *ret; 959s # ret = NULL; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # g_value_init (&value, pspec->value_type); 959s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 959s # g_value_unset (&value); 959s # } 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _org_project_signaling_iface_skeleton_handle_set_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GVariant *variant, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # gboolean ret; 959s # ret = FALSE; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # if (info->use_gvariant) 959s # g_value_set_variant (&value, variant); 959s # else 959s # g_dbus_gvariant_to_gvalue (variant, &value); 959s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # g_value_unset (&value); 959s # ret = TRUE; 959s # } 959s # return ret; 959s # } 959s # 959s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 959s # { 959s # _org_project_signaling_iface_skeleton_handle_method_call, 959s # _org_project_signaling_iface_skeleton_handle_get_property, 959s # _org_project_signaling_iface_skeleton_handle_set_property, 959s # {NULL} 959s # }; 959s # 959s # static GDBusInterfaceInfo * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return org_project_signaling_iface_interface_info (); 959s # } 959s # 959s # static GDBusInterfaceVTable * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 959s # } 959s # 959s # static GVariant * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 959s # 959s # GVariantBuilder builder; 959s # guint n; 959s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 959s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 959s # goto out; 959s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 959s # { 959s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 959s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 959s # { 959s # GVariant *value; 959s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 959s # if (value != NULL) 959s # { 959s # g_variant_take_ref (value); 959s # g_variant_builder_add (&builder, "{sv}", info->name, value); 959s # g_variant_unref (value); 959s # } 959s # } 959s # } 959s # out: 959s # return g_variant_builder_end (&builder); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_no_arg_signal ( 959s # OrgProjectSignalingIface *object) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 959s # OrgProjectSignalingIface *object, 959s # gboolean arg_an_b) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 959s # arg_an_b)); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 959s # OrgProjectSignalingIface *object, 959s # guchar arg_an_y) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 959s # arg_an_y)); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 959s # OrgProjectSignalingIface *object, 959s # gint16 arg_an_n) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 959s # arg_an_n)); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 959s # OrgProjectSignalingIface *object, 959s # guint16 arg_an_q) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 959s # arg_an_q)); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 959s # OrgProjectSignalingIface *object, 959s # gint arg_an_i) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 959s # arg_an_i)); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 959s # OrgProjectSignalingIface *object, 959s # guint arg_an_u) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 959s # arg_an_u)); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 959s # OrgProjectSignalingIface *object, 959s # gint64 arg_an_x) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 959s # arg_an_x)); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 959s # OrgProjectSignalingIface *object, 959s # guint64 arg_an_t) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 959s # arg_an_t)); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 959s # OrgProjectSignalingIface *object, 959s # gdouble arg_an_d) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 959s # arg_an_d)); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 959s # OrgProjectSignalingIface *object, 959s # const gchar *arg_an_s) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 959s # arg_an_s)); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 959s # OrgProjectSignalingIface *object, 959s # const gchar *arg_an_o) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 959s # arg_an_o)); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 959s # OrgProjectSignalingIface *object, 959s # const gchar *arg_an_g) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 959s # arg_an_g)); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 959s # OrgProjectSignalingIface *object, 959s # GVariant *arg_an_h) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 959s # arg_an_h)); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 959s # OrgProjectSignalingIface *object, 959s # const gchar *arg_an_ay) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 959s # arg_an_ay)); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 959s # OrgProjectSignalingIface *object, 959s # const gchar *const *arg_an_as) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 959s # arg_an_as)); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 959s # OrgProjectSignalingIface *object, 959s # const gchar *const *arg_an_ao) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 959s # arg_an_ao)); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 959s # OrgProjectSignalingIface *object, 959s # const gchar *const *arg_an_aay) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 959s # arg_an_aay)); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 959s # OrgProjectSignalingIface *object, 959s # GVariant *arg_an_asv) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 959s # arg_an_asv)); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_signaling_iface_skeleton_finalize (GObject *object) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 959s # if (skeleton->priv->changed_properties_idle_source != NULL) 959s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 959s # g_main_context_unref (skeleton->priv->context); 959s # g_mutex_clear (&skeleton->priv->lock); 959s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 959s # #else 959s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 959s # #endif 959s # 959s # g_mutex_init (&skeleton->priv->lock); 959s # skeleton->priv->context = g_main_context_ref_thread_default (); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusInterfaceSkeletonClass *skeleton_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 959s # 959s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 959s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 959s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 959s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 959s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 959s # { 959s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 959s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 959s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 959s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 959s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 959s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 959s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 959s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 959s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 959s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 959s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 959s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 959s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 959s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 959s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 959s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 959s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 959s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 959s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_skeleton_new: 959s # * 959s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_skeleton_new (void) 959s # { 959s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 959s # } 959s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 959s # tmpdir: /tmp/tmppmdqp2hb 959s # codegen: /usr/bin/gdbus-codegen 959s # /tmp/tmppmdqp2hb/tmpa2tbhl_0.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppmdqp2hb/tmpa2tbhl_0.xml', '--output', '-', '--body'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: /* 959s # * This file is generated by gdbus-codegen, do not modify it. 959s # * 959s # * The license of this code is the same as for the D-Bus interface description 959s # * it was derived from. Note that it links to GLib, so must comply with the 959s # * LGPL linking clauses. 959s # */ 959s # 959s # #ifdef HAVE_CONFIG_H 959s # # include "config.h" 959s # #endif 959s # 959s # #include 959s # #ifdef G_OS_UNIX 959s # # include 959s # #endif 959s # 959s # #ifdef G_ENABLE_DEBUG 959s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 959s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 959s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 959s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 959s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 959s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 959s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 959s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 959s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 959s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 959s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 959s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 959s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 959s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 959s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 959s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 959s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 959s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 959s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 959s # #else /* !G_ENABLE_DEBUG */ 959s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 959s # * Do not access GValues directly in your code. Instead, use the 959s # * g_value_get_*() functions 959s # */ 959s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 959s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 959s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 959s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 959s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 959s # #endif /* !G_ENABLE_DEBUG */ 959s # 959s # typedef struct 959s # { 959s # GDBusArgInfo parent_struct; 959s # gboolean use_gvariant; 959s # } _ExtendedGDBusArgInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusMethodInfo parent_struct; 959s # const gchar *signal_name; 959s # gboolean pass_fdlist; 959s # } _ExtendedGDBusMethodInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusSignalInfo parent_struct; 959s # const gchar *signal_name; 959s # } _ExtendedGDBusSignalInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusPropertyInfo parent_struct; 959s # const gchar *hyphen_name; 959s # guint use_gvariant : 1; 959s # guint emits_changed_signal : 1; 959s # } _ExtendedGDBusPropertyInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusInterfaceInfo parent_struct; 959s # const gchar *hyphen_name; 959s # } _ExtendedGDBusInterfaceInfo; 959s # 959s # typedef struct 959s # { 959s # const _ExtendedGDBusPropertyInfo *info; 959s # guint prop_id; 959s # GValue orig_value; /* the value before the change */ 959s # } ChangedProperty; 959s # 959s # static void 959s # _changed_property_free (ChangedProperty *data) 959s # { 959s # g_value_unset (&data->orig_value); 959s # g_free (data); 959s # } 959s # 959s # static gboolean 959s # _g_strv_equal0 (gchar **a, gchar **b) 959s # { 959s # gboolean ret = FALSE; 959s # guint n; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # if (g_strv_length (a) != g_strv_length (b)) 959s # goto out; 959s # for (n = 0; a[n] != NULL; n++) 959s # if (g_strcmp0 (a[n], b[n]) != 0) 959s # goto out; 959s # ret = TRUE; 959s # out: 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _g_variant_equal0 (GVariant *a, GVariant *b) 959s # { 959s # gboolean ret = FALSE; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # ret = g_variant_equal (a, b); 959s # out: 959s # return ret; 959s # } 959s # 959s # G_GNUC_UNUSED static gboolean 959s # _g_value_equal (const GValue *a, const GValue *b) 959s # { 959s # gboolean ret = FALSE; 959s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 959s # switch (G_VALUE_TYPE (a)) 959s # { 959s # case G_TYPE_BOOLEAN: 959s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 959s # break; 959s # case G_TYPE_UCHAR: 959s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 959s # break; 959s # case G_TYPE_INT: 959s # ret = (g_value_get_int (a) == g_value_get_int (b)); 959s # break; 959s # case G_TYPE_UINT: 959s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 959s # break; 959s # case G_TYPE_INT64: 959s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 959s # break; 959s # case G_TYPE_UINT64: 959s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 959s # break; 959s # case G_TYPE_DOUBLE: 959s # { 959s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 959s # gdouble da = g_value_get_double (a); 959s # gdouble db = g_value_get_double (b); 959s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 959s # } 959s # break; 959s # case G_TYPE_STRING: 959s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 959s # break; 959s # case G_TYPE_VARIANT: 959s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 959s # break; 959s # default: 959s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 959s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 959s # else 959s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 959s # break; 959s # } 959s # return ret; 959s # } 959s # 959s # /* ------------------------------------------------------------------------ 959s # * Code for interface org.project.UsefulInterface 959s # * ------------------------------------------------------------------------ 959s # */ 959s # 959s # /** 959s # * SECTION:OrgProjectUsefulInterface 959s # * @title: OrgProjectUsefulInterface 959s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 959s # * 959s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 959s # */ 959s # 959s # enum 959s # { 959s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 959s # }; 959s # 959s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 959s # 959s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SimpleSignal", 959s # NULL, 959s # NULL 959s # }, 959s # "simple-signal" 959s # }; 959s # 959s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 959s # { 959s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 959s # { 959s # { 959s # -1, 959s # (gchar *) "org.project.UsefulInterface", 959s # NULL, 959s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 959s # NULL, 959s # NULL 959s # }, 959s # "org-project-useful-interface", 959s # }; 959s # 959s # 959s # /** 959s # * org_project_useful_interface_interface_info: 959s # * 959s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 959s # * 959s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 959s # */ 959s # GDBusInterfaceInfo * 959s # org_project_useful_interface_interface_info (void) 959s # { 959s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_override_properties: 959s # * @klass: The class structure for a #GObject derived class. 959s # * @property_id_begin: The property id to assign to the first overridden property. 959s # * 959s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 959s # * The properties are overridden in the order they are defined. 959s # * 959s # * Returns: The last property id. 959s # */ 959s # guint 959s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 959s # { 959s # return property_id_begin - 1; 959s # } 959s # 959s # 959s # inline static void 959s # org_project_useful_interface_signal_marshal_simple_signal ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__VOID (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # 959s # /** 959s # * OrgProjectUsefulInterface: 959s # * 959s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceIface: 959s # * @parent_iface: The parent interface. 959s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 959s # * 959s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 959s # */ 959s # 959s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 959s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 959s # 959s # static void 959s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 959s # { 959s # /* GObject signals for received D-Bus signals: */ 959s # /** 959s # * OrgProjectUsefulInterface::simple-signal: 959s # * @object: A #OrgProjectUsefulInterface. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 959s # g_signal_new ("simple-signal", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 959s # NULL, 959s # NULL, 959s # org_project_useful_interface_signal_marshal_simple_signal, 959s # G_TYPE_NONE, 959s # 0); 959s # 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_emit_simple_signal: 959s # * @object: A #OrgProjectUsefulInterface. 959s # * 959s # * Emits the "SimpleSignal" D-Bus signal. 959s # */ 959s # void 959s # org_project_useful_interface_emit_simple_signal ( 959s # OrgProjectUsefulInterface *object) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceProxy: 959s # * 959s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceProxyClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectUsefulInterfaceProxy. 959s # */ 959s # 959s # struct _OrgProjectUsefulInterfaceProxyPrivate 959s # { 959s # GData *qdata; 959s # }; 959s # 959s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 959s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_useful_interface_proxy_finalize (GObject *object) 959s # { 959s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 959s # g_datalist_clear (&proxy->priv->qdata); 959s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # const GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 959s # const gchar *sender_name G_GNUC_UNUSED, 959s # const gchar *signal_name, 959s # GVariant *parameters) 959s # { 959s # _ExtendedGDBusSignalInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # gsize n; 959s # guint signal_id; 959s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 959s # if (info == NULL) 959s # return; 959s # num_params = g_variant_n_children (parameters); 959s # paramv = g_new0 (GValue, num_params + 1); 959s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_set_object (¶mv[0], proxy); 959s # g_variant_iter_init (&iter, parameters); 959s # n = 1; 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_signal_emitv (paramv, signal_id, 0, NULL); 959s # for (n = 0; n < num_params + 1; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 959s # GVariant *changed_properties, 959s # const gchar *const *invalidated_properties) 959s # { 959s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 959s # guint n; 959s # const gchar *key; 959s # GVariantIter *iter; 959s # _ExtendedGDBusPropertyInfo *info; 959s # g_variant_get (changed_properties, "a{sv}", &iter); 959s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 959s # g_datalist_remove_data (&proxy->priv->qdata, key); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # g_variant_iter_free (iter); 959s # for (n = 0; invalidated_properties[n] != NULL; n++) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 959s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 959s # #else 959s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 959s # #endif 959s # 959s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusProxyClass *proxy_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 959s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 959s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 959s # 959s # proxy_class = G_DBUS_PROXY_CLASS (klass); 959s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 959s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_useful_interface_proxy_new ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_sync: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_sync ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 959s # * 959s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_useful_interface_proxy_new_for_bus ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_for_bus_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_proxy_new_for_bus_sync: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_proxy_new_for_bus_sync ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceSkeleton: 959s # * 959s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectUsefulInterfaceSkeletonClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 959s # */ 959s # 959s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 959s # { 959s # GValue *properties; 959s # GList *changed_properties; 959s # GSource *changed_properties_idle_source; 959s # GMainContext *context; 959s # GMutex lock; 959s # }; 959s # 959s # static void 959s # _org_project_useful_interface_skeleton_handle_method_call ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name, 959s # const gchar *method_name, 959s # GVariant *parameters, 959s # GDBusMethodInvocation *invocation, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # _ExtendedGDBusMethodInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # guint num_extra; 959s # gsize n; 959s # guint signal_id; 959s # GValue return_value = G_VALUE_INIT; 959s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 959s # g_assert (info != NULL); 959s # num_params = g_variant_n_children (parameters); 959s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 959s # n = 0; 959s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_set_object (¶mv[n++], skeleton); 959s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 959s # g_value_set_object (¶mv[n++], invocation); 959s # if (info->pass_fdlist) 959s # { 959s # #ifdef G_OS_UNIX 959s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 959s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 959s # #else 959s # g_assert_not_reached (); 959s # #endif 959s # } 959s # g_variant_iter_init (&iter, parameters); 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 959s # g_value_init (&return_value, G_TYPE_BOOLEAN); 959s # g_signal_emitv (paramv, signal_id, 0, &return_value); 959s # if (!g_value_get_boolean (&return_value)) 959s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 959s # g_value_unset (&return_value); 959s # for (n = 0; n < num_params + num_extra; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static GVariant * 959s # _org_project_useful_interface_skeleton_handle_get_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # GVariant *ret; 959s # ret = NULL; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # g_value_init (&value, pspec->value_type); 959s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 959s # g_value_unset (&value); 959s # } 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _org_project_useful_interface_skeleton_handle_set_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GVariant *variant, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # gboolean ret; 959s # ret = FALSE; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # if (info->use_gvariant) 959s # g_value_set_variant (&value, variant); 959s # else 959s # g_dbus_gvariant_to_gvalue (variant, &value); 959s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # g_value_unset (&value); 959s # ret = TRUE; 959s # } 959s # return ret; 959s # } 959s # 959s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 959s # { 959s # _org_project_useful_interface_skeleton_handle_method_call, 959s # _org_project_useful_interface_skeleton_handle_get_property, 959s # _org_project_useful_interface_skeleton_handle_set_property, 959s # {NULL} 959s # }; 959s # 959s # static GDBusInterfaceInfo * 959s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return org_project_useful_interface_interface_info (); 959s # } 959s # 959s # static GDBusInterfaceVTable * 959s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 959s # } 959s # 959s # static GVariant * 959s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 959s # 959s # GVariantBuilder builder; 959s # guint n; 959s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 959s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 959s # goto out; 959s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 959s # { 959s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 959s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 959s # { 959s # GVariant *value; 959s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 959s # if (value != NULL) 959s # { 959s # g_variant_take_ref (value); 959s # g_variant_builder_add (&builder, "{sv}", info->name, value); 959s # g_variant_unref (value); 959s # } 959s # } 959s # } 959s # out: 959s # return g_variant_builder_end (&builder); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # _org_project_useful_interface_on_signal_simple_signal ( 959s # OrgProjectUsefulInterface *object) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_useful_interface_skeleton_finalize (GObject *object) 959s # { 959s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 959s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 959s # if (skeleton->priv->changed_properties_idle_source != NULL) 959s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 959s # g_main_context_unref (skeleton->priv->context); 959s # g_mutex_clear (&skeleton->priv->lock); 959s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 959s # #else 959s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 959s # #endif 959s # 959s # g_mutex_init (&skeleton->priv->lock); 959s # skeleton->priv->context = g_main_context_ref_thread_default (); 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusInterfaceSkeletonClass *skeleton_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 959s # 959s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 959s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 959s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 959s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 959s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 959s # { 959s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 959s # } 959s # 959s # /** 959s # * org_project_useful_interface_skeleton_new: 959s # * 959s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 959s # * 959s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 959s # */ 959s # OrgProjectUsefulInterface * 959s # org_project_useful_interface_skeleton_new (void) 959s # { 959s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ 959s # * Code for interface org.project.OtherIface 959s # * ------------------------------------------------------------------------ 959s # */ 959s # 959s # /** 959s # * SECTION:OrgProjectOtherIface 959s # * @title: OrgProjectOtherIface 959s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 959s # * 959s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 959s # */ 959s # 959s # enum 959s # { 959s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 959s # }; 959s # 959s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 959s # 959s # /* ---- Introspection data for org.project.OtherIface ---- */ 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SimpleSignal", 959s # NULL, 959s # NULL 959s # }, 959s # "simple-signal" 959s # }; 959s # 959s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 959s # { 959s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 959s # { 959s # { 959s # -1, 959s # (gchar *) "org.project.OtherIface", 959s # NULL, 959s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 959s # NULL, 959s # NULL 959s # }, 959s # "org-project-other-iface", 959s # }; 959s # 959s # 959s # /** 959s # * org_project_other_iface_interface_info: 959s # * 959s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 959s # * 959s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 959s # */ 959s # GDBusInterfaceInfo * 959s # org_project_other_iface_interface_info (void) 959s # { 959s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 959s # } 959s # 959s # /** 959s # * org_project_other_iface_override_properties: 959s # * @klass: The class structure for a #GObject derived class. 959s # * @property_id_begin: The property id to assign to the first overridden property. 959s # * 959s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 959s # * The properties are overridden in the order they are defined. 959s # * 959s # * Returns: The last property id. 959s # */ 959s # guint 959s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 959s # { 959s # return property_id_begin - 1; 959s # } 959s # 959s # 959s # inline static void 959s # org_project_other_iface_signal_marshal_simple_signal ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__VOID (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # 959s # /** 959s # * OrgProjectOtherIface: 959s # * 959s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 959s # */ 959s # 959s # /** 959s # * OrgProjectOtherIfaceIface: 959s # * @parent_iface: The parent interface. 959s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 959s # * 959s # * Virtual table for the D-Bus interface org.project.OtherIface. 959s # */ 959s # 959s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 959s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 959s # 959s # static void 959s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 959s # { 959s # /* GObject signals for received D-Bus signals: */ 959s # /** 959s # * OrgProjectOtherIface::simple-signal: 959s # * @object: A #OrgProjectOtherIface. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 959s # g_signal_new ("simple-signal", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 959s # NULL, 959s # NULL, 959s # org_project_other_iface_signal_marshal_simple_signal, 959s # G_TYPE_NONE, 959s # 0); 959s # 959s # } 959s # 959s # /** 959s # * org_project_other_iface_emit_simple_signal: 959s # * @object: A #OrgProjectOtherIface. 959s # * 959s # * Emits the "SimpleSignal" D-Bus signal. 959s # */ 959s # void 959s # org_project_other_iface_emit_simple_signal ( 959s # OrgProjectOtherIface *object) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectOtherIfaceProxy: 959s # * 959s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectOtherIfaceProxyClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectOtherIfaceProxy. 959s # */ 959s # 959s # struct _OrgProjectOtherIfaceProxyPrivate 959s # { 959s # GData *qdata; 959s # }; 959s # 959s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_other_iface_proxy_finalize (GObject *object) 959s # { 959s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 959s # g_datalist_clear (&proxy->priv->qdata); 959s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # const GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 959s # const gchar *sender_name G_GNUC_UNUSED, 959s # const gchar *signal_name, 959s # GVariant *parameters) 959s # { 959s # _ExtendedGDBusSignalInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # gsize n; 959s # guint signal_id; 959s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 959s # if (info == NULL) 959s # return; 959s # num_params = g_variant_n_children (parameters); 959s # paramv = g_new0 (GValue, num_params + 1); 959s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 959s # g_value_set_object (¶mv[0], proxy); 959s # g_variant_iter_init (&iter, parameters); 959s # n = 1; 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 959s # g_signal_emitv (paramv, signal_id, 0, NULL); 959s # for (n = 0; n < num_params + 1; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static void 959s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 959s # GVariant *changed_properties, 959s # const gchar *const *invalidated_properties) 959s # { 959s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 959s # guint n; 959s # const gchar *key; 959s # GVariantIter *iter; 959s # _ExtendedGDBusPropertyInfo *info; 959s # g_variant_get (changed_properties, "a{sv}", &iter); 959s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 959s # g_datalist_remove_data (&proxy->priv->qdata, key); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # g_variant_iter_free (iter); 959s # for (n = 0; invalidated_properties[n] != NULL; n++) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 959s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # } 959s # 959s # static void 959s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 959s # #else 959s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 959s # #endif 959s # 959s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 959s # } 959s # 959s # static void 959s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusProxyClass *proxy_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 959s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 959s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 959s # 959s # proxy_class = G_DBUS_PROXY_CLASS (klass); 959s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 959s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_other_iface_proxy_new: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 959s # * 959s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_other_iface_proxy_new ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.OtherIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_other_iface_proxy_new_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_other_iface_proxy_new(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectOtherIface * 959s # org_project_other_iface_proxy_new_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_OTHER_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_other_iface_proxy_new_sync: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectOtherIface * 959s # org_project_other_iface_proxy_new_sync ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.OtherIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_OTHER_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /** 959s # * org_project_other_iface_proxy_new_for_bus: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 959s # * 959s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_other_iface_proxy_new_for_bus ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.OtherIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_other_iface_proxy_new_for_bus_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectOtherIface * 959s # org_project_other_iface_proxy_new_for_bus_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_OTHER_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_other_iface_proxy_new_for_bus_sync: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectOtherIface * 959s # org_project_other_iface_proxy_new_for_bus_sync ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.OtherIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_OTHER_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectOtherIfaceSkeleton: 959s # * 959s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectOtherIfaceSkeletonClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectOtherIfaceSkeleton. 959s # */ 959s # 959s # struct _OrgProjectOtherIfaceSkeletonPrivate 959s # { 959s # GValue *properties; 959s # GList *changed_properties; 959s # GSource *changed_properties_idle_source; 959s # GMainContext *context; 959s # GMutex lock; 959s # }; 959s # 959s # static void 959s # _org_project_other_iface_skeleton_handle_method_call ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name, 959s # const gchar *method_name, 959s # GVariant *parameters, 959s # GDBusMethodInvocation *invocation, 959s # gpointer user_data) 959s # { 959s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 959s # _ExtendedGDBusMethodInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # guint num_extra; 959s # gsize n; 959s # guint signal_id; 959s # GValue return_value = G_VALUE_INIT; 959s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 959s # g_assert (info != NULL); 959s # num_params = g_variant_n_children (parameters); 959s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 959s # n = 0; 959s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 959s # g_value_set_object (¶mv[n++], skeleton); 959s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 959s # g_value_set_object (¶mv[n++], invocation); 959s # if (info->pass_fdlist) 959s # { 959s # #ifdef G_OS_UNIX 959s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 959s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 959s # #else 959s # g_assert_not_reached (); 959s # #endif 959s # } 959s # g_variant_iter_init (&iter, parameters); 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 959s # g_value_init (&return_value, G_TYPE_BOOLEAN); 959s # g_signal_emitv (paramv, signal_id, 0, &return_value); 959s # if (!g_value_get_boolean (&return_value)) 959s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 959s # g_value_unset (&return_value); 959s # for (n = 0; n < num_params + num_extra; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static GVariant * 959s # _org_project_other_iface_skeleton_handle_get_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # GVariant *ret; 959s # ret = NULL; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # g_value_init (&value, pspec->value_type); 959s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 959s # g_value_unset (&value); 959s # } 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _org_project_other_iface_skeleton_handle_set_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GVariant *variant, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # gboolean ret; 959s # ret = FALSE; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # if (info->use_gvariant) 959s # g_value_set_variant (&value, variant); 959s # else 959s # g_dbus_gvariant_to_gvalue (variant, &value); 959s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # g_value_unset (&value); 959s # ret = TRUE; 959s # } 959s # return ret; 959s # } 959s # 959s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 959s # { 959s # _org_project_other_iface_skeleton_handle_method_call, 959s # _org_project_other_iface_skeleton_handle_get_property, 959s # _org_project_other_iface_skeleton_handle_set_property, 959s # {NULL} 959s # }; 959s # 959s # static GDBusInterfaceInfo * 959s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return org_project_other_iface_interface_info (); 959s # } 959s # 959s # static GDBusInterfaceVTable * 959s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 959s # } 959s # 959s # static GVariant * 959s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 959s # { 959s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 959s # 959s # GVariantBuilder builder; 959s # guint n; 959s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 959s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 959s # goto out; 959s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 959s # { 959s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 959s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 959s # { 959s # GVariant *value; 959s # value = _org_project_other_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", info->name, NULL, skeleton); 959s # if (value != NULL) 959s # { 959s # g_variant_take_ref (value); 959s # g_variant_builder_add (&builder, "{sv}", info->name, value); 959s # g_variant_unref (value); 959s # } 959s # } 959s # } 959s # out: 959s # return g_variant_builder_end (&builder); 959s # } 959s # 959s # static void 959s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # _org_project_other_iface_on_signal_simple_signal ( 959s # OrgProjectOtherIface *object) 959s # { 959s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_other_iface_skeleton_finalize (GObject *object) 959s # { 959s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 959s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 959s # if (skeleton->priv->changed_properties_idle_source != NULL) 959s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 959s # g_main_context_unref (skeleton->priv->context); 959s # g_mutex_clear (&skeleton->priv->lock); 959s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 959s # #else 959s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 959s # #endif 959s # 959s # g_mutex_init (&skeleton->priv->lock); 959s # skeleton->priv->context = g_main_context_ref_thread_default (); 959s # } 959s # 959s # static void 959s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusInterfaceSkeletonClass *skeleton_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 959s # 959s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 959s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 959s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 959s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 959s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 959s # { 959s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 959s # } 959s # 959s # /** 959s # * org_project_other_iface_skeleton_new: 959s # * 959s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 959s # * 959s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 959s # */ 959s # OrgProjectOtherIface * 959s # org_project_other_iface_skeleton_new (void) 959s # { 959s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 959s # } 959s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 959s # tmpdir: /tmp/tmpx6anbamj 959s # codegen: /usr/bin/gdbus-codegen 959s # /tmp/tmpx6anbamj/tmphywwr0ux.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpx6anbamj/tmphywwr0ux.xml', '--output', '-', '--body'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: /* 959s # * This file is generated by gdbus-codegen, do not modify it. 959s # * 959s # * The license of this code is the same as for the D-Bus interface description 959s # * it was derived from. Note that it links to GLib, so must comply with the 959s # * LGPL linking clauses. 959s # */ 959s # 959s # #ifdef HAVE_CONFIG_H 959s # # include "config.h" 959s # #endif 959s # 959s # #include 959s # #ifdef G_OS_UNIX 959s # # include 959s # #endif 959s # 959s # #ifdef G_ENABLE_DEBUG 959s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 959s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 959s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 959s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 959s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 959s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 959s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 959s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 959s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 959s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 959s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 959s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 959s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 959s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 959s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 959s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 959s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 959s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 959s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 959s # #else /* !G_ENABLE_DEBUG */ 959s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 959s # * Do not access GValues directly in your code. Instead, use the 959s # * g_value_get_*() functions 959s # */ 959s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 959s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 959s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 959s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 959s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 959s # #endif /* !G_ENABLE_DEBUG */ 959s # 959s # typedef struct 959s # { 959s # GDBusArgInfo parent_struct; 959s # gboolean use_gvariant; 959s # } _ExtendedGDBusArgInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusMethodInfo parent_struct; 959s # const gchar *signal_name; 959s # gboolean pass_fdlist; 959s # } _ExtendedGDBusMethodInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusSignalInfo parent_struct; 959s # const gchar *signal_name; 959s # } _ExtendedGDBusSignalInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusPropertyInfo parent_struct; 959s # const gchar *hyphen_name; 959s # guint use_gvariant : 1; 959s # guint emits_changed_signal : 1; 959s # } _ExtendedGDBusPropertyInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusInterfaceInfo parent_struct; 959s # const gchar *hyphen_name; 959s # } _ExtendedGDBusInterfaceInfo; 959s # 959s # typedef struct 959s # { 959s # const _ExtendedGDBusPropertyInfo *info; 959s # guint prop_id; 959s # GValue orig_value; /* the value before the change */ 959s # } ChangedProperty; 959s # 959s # static void 959s # _changed_property_free (ChangedProperty *data) 959s # { 959s # g_value_unset (&data->orig_value); 959s # g_free (data); 959s # } 959s # 959s # static gboolean 959s # _g_strv_equal0 (gchar **a, gchar **b) 959s # { 959s # gboolean ret = FALSE; 959s # guint n; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # if (g_strv_length (a) != g_strv_length (b)) 959s # goto out; 959s # for (n = 0; a[n] != NULL; n++) 959s # if (g_strcmp0 (a[n], b[n]) != 0) 959s # goto out; 959s # ret = TRUE; 959s # out: 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _g_variant_equal0 (GVariant *a, GVariant *b) 959s # { 959s # gboolean ret = FALSE; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # ret = g_variant_equal (a, b); 959s # out: 959s # return ret; 959s # } 959s # 959s # G_GNUC_UNUSED static gboolean 959s # _g_value_equal (const GValue *a, const GValue *b) 959s # { 959s # gboolean ret = FALSE; 959s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 959s # switch (G_VALUE_TYPE (a)) 959s # { 959s # case G_TYPE_BOOLEAN: 959s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 959s # break; 959s # case G_TYPE_UCHAR: 959s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 959s # break; 959s # case G_TYPE_INT: 959s # ret = (g_value_get_int (a) == g_value_get_int (b)); 959s # break; 959s # case G_TYPE_UINT: 959s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 959s # break; 959s # case G_TYPE_INT64: 959s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 959s # break; 959s # case G_TYPE_UINT64: 959s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 959s # break; 959s # case G_TYPE_DOUBLE: 959s # { 959s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 959s # gdouble da = g_value_get_double (a); 959s # gdouble db = g_value_get_double (b); 959s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 959s # } 959s # break; 959s # case G_TYPE_STRING: 959s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 959s # break; 959s # case G_TYPE_VARIANT: 959s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 959s # break; 959s # default: 959s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 959s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 959s # else 959s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 959s # break; 959s # } 959s # return ret; 959s # } 959s # 959s # /* ------------------------------------------------------------------------ 959s # * Code for interface org.project.SignalingIface 959s # * ------------------------------------------------------------------------ 959s # */ 959s # 959s # /** 959s # * SECTION:OrgProjectSignalingIface 959s # * @title: OrgProjectSignalingIface 959s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 959s # * 959s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 959s # */ 959s # 959s # enum 959s # { 959s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 959s # }; 959s # 959s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 959s # 959s # /* ---- Introspection data for org.project.SignalingIface ---- */ 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SimpleSignal", 959s # NULL, 959s # NULL 959s # }, 959s # "simple-signal" 959s # }; 959s # 959s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 959s # { 959s # { 959s # -1, 959s # (gchar *) "org.project.SignalingIface", 959s # NULL, 959s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 959s # NULL, 959s # NULL 959s # }, 959s # "org-project-signaling-iface", 959s # }; 959s # 959s # 959s # /** 959s # * org_project_signaling_iface_interface_info: 959s # * 959s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 959s # * 959s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 959s # */ 959s # GDBusInterfaceInfo * 959s # org_project_signaling_iface_interface_info (void) 959s # { 959s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_override_properties: 959s # * @klass: The class structure for a #GObject derived class. 959s # * @property_id_begin: The property id to assign to the first overridden property. 959s # * 959s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 959s # * The properties are overridden in the order they are defined. 959s # * 959s # * Returns: The last property id. 959s # */ 959s # guint 959s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 959s # { 959s # return property_id_begin - 1; 959s # } 959s # 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_simple_signal ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__VOID (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # 959s # /** 959s # * OrgProjectSignalingIface: 959s # * 959s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceIface: 959s # * @parent_iface: The parent interface. 959s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 959s # * 959s # * Virtual table for the D-Bus interface org.project.SignalingIface. 959s # */ 959s # 959s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 959s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 959s # 959s # static void 959s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 959s # { 959s # /* GObject signals for received D-Bus signals: */ 959s # /** 959s # * OrgProjectSignalingIface::simple-signal: 959s # * @object: A #OrgProjectSignalingIface. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 959s # g_signal_new ("simple-signal", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_simple_signal, 959s # G_TYPE_NONE, 959s # 0); 959s # 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_simple_signal: 959s # * @object: A #OrgProjectSignalingIface. 959s # * 959s # * Emits the "SimpleSignal" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_simple_signal ( 959s # OrgProjectSignalingIface *object) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceProxy: 959s # * 959s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceProxyClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectSignalingIfaceProxy. 959s # */ 959s # 959s # struct _OrgProjectSignalingIfaceProxyPrivate 959s # { 959s # GData *qdata; 959s # }; 959s # 959s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_signaling_iface_proxy_finalize (GObject *object) 959s # { 959s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 959s # g_datalist_clear (&proxy->priv->qdata); 959s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # const GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 959s # const gchar *sender_name G_GNUC_UNUSED, 959s # const gchar *signal_name, 959s # GVariant *parameters) 959s # { 959s # _ExtendedGDBusSignalInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # gsize n; 959s # guint signal_id; 959s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 959s # if (info == NULL) 959s # return; 959s # num_params = g_variant_n_children (parameters); 959s # paramv = g_new0 (GValue, num_params + 1); 959s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_set_object (¶mv[0], proxy); 959s # g_variant_iter_init (&iter, parameters); 959s # n = 1; 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_signal_emitv (paramv, signal_id, 0, NULL); 959s # for (n = 0; n < num_params + 1; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 959s # GVariant *changed_properties, 959s # const gchar *const *invalidated_properties) 959s # { 959s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 959s # guint n; 959s # const gchar *key; 959s # GVariantIter *iter; 959s # _ExtendedGDBusPropertyInfo *info; 959s # g_variant_get (changed_properties, "a{sv}", &iter); 959s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 959s # g_datalist_remove_data (&proxy->priv->qdata, key); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # g_variant_iter_free (iter); 959s # for (n = 0; invalidated_properties[n] != NULL; n++) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 959s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 959s # #else 959s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 959s # #endif 959s # 959s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusProxyClass *proxy_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 959s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 959s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 959s # 959s # proxy_class = G_DBUS_PROXY_CLASS (klass); 959s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 959s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 959s # * 959s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_signaling_iface_proxy_new ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_sync: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_sync ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 959s # * 959s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_signaling_iface_proxy_new_for_bus ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_for_bus_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus_sync: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_for_bus_sync ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceSkeleton: 959s # * 959s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceSkeletonClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 959s # */ 959s # 959s # struct _OrgProjectSignalingIfaceSkeletonPrivate 959s # { 959s # GValue *properties; 959s # GList *changed_properties; 959s # GSource *changed_properties_idle_source; 959s # GMainContext *context; 959s # GMutex lock; 959s # }; 959s # 959s # static void 959s # _org_project_signaling_iface_skeleton_handle_method_call ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name, 959s # const gchar *method_name, 959s # GVariant *parameters, 959s # GDBusMethodInvocation *invocation, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # _ExtendedGDBusMethodInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # guint num_extra; 959s # gsize n; 959s # guint signal_id; 959s # GValue return_value = G_VALUE_INIT; 959s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 959s # g_assert (info != NULL); 959s # num_params = g_variant_n_children (parameters); 959s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 959s # n = 0; 959s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_set_object (¶mv[n++], skeleton); 959s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 959s # g_value_set_object (¶mv[n++], invocation); 959s # if (info->pass_fdlist) 959s # { 959s # #ifdef G_OS_UNIX 959s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 959s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 959s # #else 959s # g_assert_not_reached (); 959s # #endif 959s # } 959s # g_variant_iter_init (&iter, parameters); 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_init (&return_value, G_TYPE_BOOLEAN); 959s # g_signal_emitv (paramv, signal_id, 0, &return_value); 959s # if (!g_value_get_boolean (&return_value)) 959s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 959s # g_value_unset (&return_value); 959s # for (n = 0; n < num_params + num_extra; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static GVariant * 959s # _org_project_signaling_iface_skeleton_handle_get_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # GVariant *ret; 959s # ret = NULL; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # g_value_init (&value, pspec->value_type); 959s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 959s # g_value_unset (&value); 959s # } 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _org_project_signaling_iface_skeleton_handle_set_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GVariant *variant, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # gboolean ret; 959s # ret = FALSE; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # if (info->use_gvariant) 959s # g_value_set_variant (&value, variant); 959s # else 959s # g_dbus_gvariant_to_gvalue (variant, &value); 959s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # g_value_unset (&value); 959s # ret = TRUE; 959s # } 959s # return ret; 959s # } 959s # 959s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 959s # { 959s # _org_project_signaling_iface_skeleton_handle_method_call, 959s # _org_project_signaling_iface_skeleton_handle_get_property, 959s # _org_project_signaling_iface_skeleton_handle_set_property, 959s # {NULL} 959s # }; 959s # 959s # static GDBusInterfaceInfo * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return org_project_signaling_iface_interface_info (); 959s # } 959s # 959s # static GDBusInterfaceVTable * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 959s # } 959s # 959s # static GVariant * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 959s # 959s # GVariantBuilder builder; 959s # guint n; 959s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 959s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 959s # goto out; 959s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 959s # { 959s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 959s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 959s # { 959s # GVariant *value; 959s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 959s # if (value != NULL) 959s # { 959s # g_variant_take_ref (value); 959s # g_variant_builder_add (&builder, "{sv}", info->name, value); 959s # g_variant_unref (value); 959s # } 959s # } 959s # } 959s # out: 959s # return g_variant_builder_end (&builder); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_simple_signal ( 959s # OrgProjectSignalingIface *object) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_signaling_iface_skeleton_finalize (GObject *object) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 959s # if (skeleton->priv->changed_properties_idle_source != NULL) 959s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 959s # g_main_context_unref (skeleton->priv->context); 959s # g_mutex_clear (&skeleton->priv->lock); 959s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 959s # #else 959s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 959s # #endif 959s # 959s # g_mutex_init (&skeleton->priv->lock); 959s # skeleton->priv->context = g_main_context_ref_thread_default (); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusInterfaceSkeletonClass *skeleton_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 959s # 959s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 959s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 959s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 959s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 959s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 959s # { 959s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_skeleton_new: 959s # * 959s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_skeleton_new (void) 959s # { 959s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ 959s # * Code for interface org.project.OtherSignalingIface 959s # * ------------------------------------------------------------------------ 959s # */ 959s # 959s # /** 959s # * SECTION:OrgProjectOtherSignalingIface 959s # * @title: OrgProjectOtherSignalingIface 959s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 959s # * 959s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 959s # */ 959s # 959s # enum 959s # { 959s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 959s # }; 959s # 959s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 959s # 959s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SimpleSignal", 959s # NULL, 959s # NULL 959s # }, 959s # "simple-signal" 959s # }; 959s # 959s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 959s # { 959s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 959s # { 959s # { 959s # -1, 959s # (gchar *) "org.project.OtherSignalingIface", 959s # NULL, 959s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 959s # NULL, 959s # NULL 959s # }, 959s # "org-project-other-signaling-iface", 959s # }; 959s # 959s # 959s # /** 959s # * org_project_other_signaling_iface_interface_info: 959s # * 959s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 959s # * 959s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 959s # */ 959s # GDBusInterfaceInfo * 959s # org_project_other_signaling_iface_interface_info (void) 959s # { 959s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 959s # } 959s # 959s # /** 959s # * org_project_other_signaling_iface_override_properties: 959s # * @klass: The class structure for a #GObject derived class. 959s # * @property_id_begin: The property id to assign to the first overridden property. 959s # * 959s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 959s # * The properties are overridden in the order they are defined. 959s # * 959s # * Returns: The last property id. 959s # */ 959s # guint 959s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 959s # { 959s # return property_id_begin - 1; 959s # } 959s # 959s # 959s # inline static void 959s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__VOID (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # 959s # /** 959s # * OrgProjectOtherSignalingIface: 959s # * 959s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 959s # */ 959s # 959s # /** 959s # * OrgProjectOtherSignalingIfaceIface: 959s # * @parent_iface: The parent interface. 959s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 959s # * 959s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 959s # */ 959s # 959s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 959s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 959s # 959s # static void 959s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 959s # { 959s # /* GObject signals for received D-Bus signals: */ 959s # /** 959s # * OrgProjectOtherSignalingIface::simple-signal: 959s # * @object: A #OrgProjectOtherSignalingIface. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 959s # g_signal_new ("simple-signal", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 959s # NULL, 959s # NULL, 959s # org_project_other_signaling_iface_signal_marshal_simple_signal, 959s # G_TYPE_NONE, 959s # 0); 959s # 959s # } 959s # 959s # /** 959s # * org_project_other_signaling_iface_emit_simple_signal: 959s # * @object: A #OrgProjectOtherSignalingIface. 959s # * 959s # * Emits the "SimpleSignal" D-Bus signal. 959s # */ 959s # void 959s # org_project_other_signaling_iface_emit_simple_signal ( 959s # OrgProjectOtherSignalingIface *object) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectOtherSignalingIfaceProxy: 959s # * 959s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectOtherSignalingIfaceProxyClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 959s # */ 959s # 959s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 959s # { 959s # GData *qdata; 959s # }; 959s # 959s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 959s # { 959s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 959s # g_datalist_clear (&proxy->priv->qdata); 959s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # const GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 959s # const gchar *sender_name G_GNUC_UNUSED, 959s # const gchar *signal_name, 959s # GVariant *parameters) 959s # { 959s # _ExtendedGDBusSignalInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # gsize n; 959s # guint signal_id; 959s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 959s # if (info == NULL) 959s # return; 959s # num_params = g_variant_n_children (parameters); 959s # paramv = g_new0 (GValue, num_params + 1); 959s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 959s # g_value_set_object (¶mv[0], proxy); 959s # g_variant_iter_init (&iter, parameters); 959s # n = 1; 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 959s # g_signal_emitv (paramv, signal_id, 0, NULL); 959s # for (n = 0; n < num_params + 1; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static void 959s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 959s # GVariant *changed_properties, 959s # const gchar *const *invalidated_properties) 959s # { 959s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 959s # guint n; 959s # const gchar *key; 959s # GVariantIter *iter; 959s # _ExtendedGDBusPropertyInfo *info; 959s # g_variant_get (changed_properties, "a{sv}", &iter); 959s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 959s # g_datalist_remove_data (&proxy->priv->qdata, key); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # g_variant_iter_free (iter); 959s # for (n = 0; invalidated_properties[n] != NULL; n++) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 959s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # } 959s # 959s # static void 959s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 959s # #else 959s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 959s # #endif 959s # 959s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 959s # } 959s # 959s # static void 959s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusProxyClass *proxy_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 959s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 959s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 959s # 959s # proxy_class = G_DBUS_PROXY_CLASS (klass); 959s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 959s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_other_signaling_iface_proxy_new: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 959s # * 959s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_other_signaling_iface_proxy_new ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.OtherSignalingIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_other_signaling_iface_proxy_new_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectOtherSignalingIface * 959s # org_project_other_signaling_iface_proxy_new_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_other_signaling_iface_proxy_new_sync: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectOtherSignalingIface * 959s # org_project_other_signaling_iface_proxy_new_sync ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.OtherSignalingIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /** 959s # * org_project_other_signaling_iface_proxy_new_for_bus: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 959s # * 959s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_other_signaling_iface_proxy_new_for_bus ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.OtherSignalingIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectOtherSignalingIface * 959s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectOtherSignalingIface * 959s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.OtherSignalingIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectOtherSignalingIfaceSkeleton: 959s # * 959s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectOtherSignalingIfaceSkeletonClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 959s # */ 959s # 959s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 959s # { 959s # GValue *properties; 959s # GList *changed_properties; 959s # GSource *changed_properties_idle_source; 959s # GMainContext *context; 959s # GMutex lock; 959s # }; 959s # 959s # static void 959s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name, 959s # const gchar *method_name, 959s # GVariant *parameters, 959s # GDBusMethodInvocation *invocation, 959s # gpointer user_data) 959s # { 959s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 959s # _ExtendedGDBusMethodInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # guint num_extra; 959s # gsize n; 959s # guint signal_id; 959s # GValue return_value = G_VALUE_INIT; 959s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 959s # g_assert (info != NULL); 959s # num_params = g_variant_n_children (parameters); 959s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 959s # n = 0; 959s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 959s # g_value_set_object (¶mv[n++], skeleton); 959s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 959s # g_value_set_object (¶mv[n++], invocation); 959s # if (info->pass_fdlist) 959s # { 959s # #ifdef G_OS_UNIX 959s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 959s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 959s # #else 959s # g_assert_not_reached (); 959s # #endif 959s # } 959s # g_variant_iter_init (&iter, parameters); 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 959s # g_value_init (&return_value, G_TYPE_BOOLEAN); 959s # g_signal_emitv (paramv, signal_id, 0, &return_value); 959s # if (!g_value_get_boolean (&return_value)) 959s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 959s # g_value_unset (&return_value); 959s # for (n = 0; n < num_params + num_extra; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static GVariant * 959s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # GVariant *ret; 959s # ret = NULL; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # g_value_init (&value, pspec->value_type); 959s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 959s # g_value_unset (&value); 959s # } 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GVariant *variant, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # gboolean ret; 959s # ret = FALSE; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # if (info->use_gvariant) 959s # g_value_set_variant (&value, variant); 959s # else 959s # g_dbus_gvariant_to_gvalue (variant, &value); 959s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # g_value_unset (&value); 959s # ret = TRUE; 959s # } 959s # return ret; 959s # } 959s # 959s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 959s # { 959s # _org_project_other_signaling_iface_skeleton_handle_method_call, 959s # _org_project_other_signaling_iface_skeleton_handle_get_property, 959s # _org_project_other_signaling_iface_skeleton_handle_set_property, 959s # {NULL} 959s # }; 959s # 959s # static GDBusInterfaceInfo * 959s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return org_project_other_signaling_iface_interface_info (); 959s # } 959s # 959s # static GDBusInterfaceVTable * 959s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 959s # } 959s # 959s # static GVariant * 959s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 959s # { 959s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 959s # 959s # GVariantBuilder builder; 959s # guint n; 959s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 959s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 959s # goto out; 959s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 959s # { 959s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 959s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 959s # { 959s # GVariant *value; 959s # value = _org_project_other_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", info->name, NULL, skeleton); 959s # if (value != NULL) 959s # { 959s # g_variant_take_ref (value); 959s # g_variant_builder_add (&builder, "{sv}", info->name, value); 959s # g_variant_unref (value); 959s # } 959s # } 959s # } 959s # out: 959s # return g_variant_builder_end (&builder); 959s # } 959s # 959s # static void 959s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # _org_project_other_signaling_iface_on_signal_simple_signal ( 959s # OrgProjectOtherSignalingIface *object) 959s # { 959s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 959s # { 959s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 959s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 959s # if (skeleton->priv->changed_properties_idle_source != NULL) 959s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 959s # g_main_context_unref (skeleton->priv->context); 959s # g_mutex_clear (&skeleton->priv->lock); 959s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 959s # #else 959s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 959s # #endif 959s # 959s # g_mutex_init (&skeleton->priv->lock); 959s # skeleton->priv->context = g_main_context_ref_thread_default (); 959s # } 959s # 959s # static void 959s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusInterfaceSkeletonClass *skeleton_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 959s # 959s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 959s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 959s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 959s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 959s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 959s # { 959s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 959s # } 959s # 959s # /** 959s # * org_project_other_signaling_iface_skeleton_new: 959s # * 959s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 959s # * 959s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 959s # */ 959s # OrgProjectOtherSignalingIface * 959s # org_project_other_signaling_iface_skeleton_new (void) 959s # { 959s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 959s # } 960s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 960s # tmpdir: /tmp/tmpqzg2h3yi 960s # codegen: /usr/bin/gdbus-codegen 960s # /tmp/tmpqzg2h3yi/tmp4mo0wh99.xml: 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqzg2h3yi/tmp4mo0wh99.xml', '--output', '-', '--body'] 960s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 960s # Output: /* 960s # * This file is generated by gdbus-codegen, do not modify it. 960s # * 960s # * The license of this code is the same as for the D-Bus interface description 960s # * it was derived from. Note that it links to GLib, so must comply with the 960s # * LGPL linking clauses. 960s # */ 960s # 960s # #ifdef HAVE_CONFIG_H 960s # # include "config.h" 960s # #endif 960s # 960s # #include 960s # #ifdef G_OS_UNIX 960s # # include 960s # #endif 960s # 960s # #ifdef G_ENABLE_DEBUG 960s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 960s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 960s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 960s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 960s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 960s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 960s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 960s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 960s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 960s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 960s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 960s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 960s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 960s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 960s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 960s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 960s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 960s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 960s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 960s # #else /* !G_ENABLE_DEBUG */ 960s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 960s # * Do not access GValues directly in your code. Instead, use the 960s # * g_value_get_*() functions 960s # */ 960s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 960s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 960s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 960s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 960s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 960s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 960s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 960s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 960s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 960s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 960s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 960s # #endif /* !G_ENABLE_DEBUG */ 960s # 960s # typedef struct 960s # { 960s # GDBusArgInfo parent_struct; 960s # gboolean use_gvariant; 960s # } _ExtendedGDBusArgInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusMethodInfo parent_struct; 960s # const gchar *signal_name; 960s # gboolean pass_fdlist; 960s # } _ExtendedGDBusMethodInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusSignalInfo parent_struct; 960s # const gchar *signal_name; 960s # } _ExtendedGDBusSignalInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusPropertyInfo parent_struct; 960s # const gchar *hyphen_name; 960s # guint use_gvariant : 1; 960s # guint emits_changed_signal : 1; 960s # } _ExtendedGDBusPropertyInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusInterfaceInfo parent_struct; 960s # const gchar *hyphen_name; 960s # } _ExtendedGDBusInterfaceInfo; 960s # 960s # typedef struct 960s # { 960s # const _ExtendedGDBusPropertyInfo *info; 960s # guint prop_id; 960s # GValue orig_value; /* the value before the change */ 960s # } ChangedProperty; 960s # 960s # static void 960s # _changed_property_free (ChangedProperty *data) 960s # { 960s # g_value_unset (&data->orig_value); 960s # g_free (data); 960s # } 960s # 960s # static gboolean 960s # _g_strv_equal0 (gchar **a, gchar **b) 960s # { 960s # gboolean ret = FALSE; 960s # guint n; 960s # if (a == NULL && b == NULL) 960s # { 960s # ret = TRUE; 960s # goto out; 960s # } 960s # if (a == NULL || b == NULL) 960s # goto out; 960s # if (g_strv_length (a) != g_strv_length (b)) 960s # goto out; 960s # for (n = 0; a[n] != NULL; n++) 960s # if (g_strcmp0 (a[n], b[n]) != 0) 960s # goto out; 960s # ret = TRUE; 960s # out: 960s # return ret; 960s # } 960s # 960s # static gboolean 960s # _g_variant_equal0 (GVariant *a, GVariant *b) 960s # { 960s # gboolean ret = FALSE; 960s # if (a == NULL && b == NULL) 960s # { 960s # ret = TRUE; 960s # goto out; 960s # } 960s # if (a == NULL || b == NULL) 960s # goto out; 960s # ret = g_variant_equal (a, b); 960s # out: 960s # return ret; 960s # } 960s # 960s # G_GNUC_UNUSED static gboolean 960s # _g_value_equal (const GValue *a, const GValue *b) 960s # { 960s # gboolean ret = FALSE; 960s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 960s # switch (G_VALUE_TYPE (a)) 960s # { 960s # case G_TYPE_BOOLEAN: 960s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 960s # break; 960s # case G_TYPE_UCHAR: 960s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 960s # break; 960s # case G_TYPE_INT: 960s # ret = (g_value_get_int (a) == g_value_get_int (b)); 960s # break; 960s # case G_TYPE_UINT: 960s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 960s # break; 960s # case G_TYPE_INT64: 960s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 960s # break; 960s # case G_TYPE_UINT64: 960s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 960s # break; 960s # case G_TYPE_DOUBLE: 960s # { 960s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 960s # gdouble da = g_value_get_double (a); 960s # gdouble db = g_value_get_double (b); 960s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 960s # } 960s # break; 960s # case G_TYPE_STRING: 960s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 960s # break; 960s # case G_TYPE_VARIANT: 960s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 960s # break; 960s # default: 960s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 960s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 960s # else 960s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 960s # break; 960s # } 960s # return ret; 960s # } 960s # 960s # /* ------------------------------------------------------------------------ 960s # * Code for interface org.project.SignalingIface 960s # * ------------------------------------------------------------------------ 960s # */ 960s # 960s # /** 960s # * SECTION:OrgProjectSignalingIface 960s # * @title: OrgProjectSignalingIface 960s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 960s # * 960s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 960s # */ 960s # 960s # enum 960s # { 960s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 960s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 960s # }; 960s # 960s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 960s # 960s # /* ---- Introspection data for org.project.SignalingIface ---- */ 960s # 960s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 960s # { 960s # { 960s # -1, 960s # (gchar *) "SimpleSignal", 960s # NULL, 960s # NULL 960s # }, 960s # "simple-signal" 960s # }; 960s # 960s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 960s # { 960s # { 960s # -1, 960s # (gchar *) "arg_b", 960s # (gchar *) "b", 960s # NULL 960s # }, 960s # FALSE 960s # }; 960s # 960s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 960s # { 960s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 960s # NULL 960s # }; 960s # 960s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 960s # { 960s # { 960s # -1, 960s # (gchar *) "SingleArgSignalB", 960s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 960s # NULL 960s # }, 960s # "single-arg-signal-b" 960s # }; 960s # 960s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 960s # { 960s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 960s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 960s # NULL 960s # }; 960s # 960s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 960s # { 960s # { 960s # -1, 960s # (gchar *) "org.project.SignalingIface", 960s # NULL, 960s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 960s # NULL, 960s # NULL 960s # }, 960s # "org-project-signaling-iface", 960s # }; 960s # 960s # 960s # /** 960s # * org_project_signaling_iface_interface_info: 960s # * 960s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 960s # * 960s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 960s # */ 960s # GDBusInterfaceInfo * 960s # org_project_signaling_iface_interface_info (void) 960s # { 960s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_override_properties: 960s # * @klass: The class structure for a #GObject derived class. 960s # * @property_id_begin: The property id to assign to the first overridden property. 960s # * 960s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 960s # * The properties are overridden in the order they are defined. 960s # * 960s # * Returns: The last property id. 960s # */ 960s # guint 960s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 960s # { 960s # return property_id_begin - 1; 960s # } 960s # 960s # 960s # inline static void 960s # org_project_signaling_iface_signal_marshal_simple_signal ( 960s # GClosure *closure, 960s # GValue *return_value, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint, 960s # void *marshal_data) 960s # { 960s # g_cclosure_marshal_VOID__VOID (closure, 960s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 960s # } 960s # 960s # inline static void 960s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 960s # GClosure *closure, 960s # GValue *return_value, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint, 960s # void *marshal_data) 960s # { 960s # g_cclosure_marshal_VOID__BOOLEAN (closure, 960s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 960s # } 960s # 960s # 960s # /** 960s # * OrgProjectSignalingIface: 960s # * 960s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceIface: 960s # * @parent_iface: The parent interface. 960s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 960s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 960s # * 960s # * Virtual table for the D-Bus interface org.project.SignalingIface. 960s # */ 960s # 960s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 960s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 960s # 960s # static void 960s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 960s # { 960s # /* GObject signals for received D-Bus signals: */ 960s # /** 960s # * OrgProjectSignalingIface::simple-signal: 960s # * @object: A #OrgProjectSignalingIface. 960s # * 960s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 960s # * 960s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 960s # */ 960s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 960s # g_signal_new ("simple-signal", 960s # G_TYPE_FROM_INTERFACE (iface), 960s # G_SIGNAL_RUN_LAST, 960s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 960s # NULL, 960s # NULL, 960s # org_project_signaling_iface_signal_marshal_simple_signal, 960s # G_TYPE_NONE, 960s # 0); 960s # 960s # /** 960s # * OrgProjectSignalingIface::single-arg-signal-b: 960s # * @object: A #OrgProjectSignalingIface. 960s # * @arg_arg_b: Argument. 960s # * 960s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 960s # * 960s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 960s # */ 960s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 960s # g_signal_new ("single-arg-signal-b", 960s # G_TYPE_FROM_INTERFACE (iface), 960s # G_SIGNAL_RUN_LAST, 960s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 960s # NULL, 960s # NULL, 960s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 960s # G_TYPE_NONE, 960s # 1, G_TYPE_BOOLEAN); 960s # 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_emit_simple_signal: 960s # * @object: A #OrgProjectSignalingIface. 960s # * 960s # * Emits the "SimpleSignal" D-Bus signal. 960s # */ 960s # void 960s # org_project_signaling_iface_emit_simple_signal ( 960s # OrgProjectSignalingIface *object) 960s # { 960s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_emit_single_arg_signal_b: 960s # * @object: A #OrgProjectSignalingIface. 960s # * @arg_arg_b: Argument to pass with the signal. 960s # * 960s # * Emits the "SingleArgSignalB" D-Bus signal. 960s # */ 960s # void 960s # org_project_signaling_iface_emit_single_arg_signal_b ( 960s # OrgProjectSignalingIface *object, 960s # gboolean arg_arg_b) 960s # { 960s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 960s # } 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceProxy: 960s # * 960s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceProxyClass: 960s # * @parent_class: The parent class. 960s # * 960s # * Class structure for #OrgProjectSignalingIfaceProxy. 960s # */ 960s # 960s # struct _OrgProjectSignalingIfaceProxyPrivate 960s # { 960s # GData *qdata; 960s # }; 960s # 960s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 960s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 960s # 960s # #else 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 960s # 960s # #endif 960s # static void 960s # org_project_signaling_iface_proxy_finalize (GObject *object) 960s # { 960s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 960s # g_datalist_clear (&proxy->priv->qdata); 960s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 960s # guint prop_id G_GNUC_UNUSED, 960s # GValue *value G_GNUC_UNUSED, 960s # GParamSpec *pspec G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 960s # guint prop_id G_GNUC_UNUSED, 960s # const GValue *value G_GNUC_UNUSED, 960s # GParamSpec *pspec G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 960s # const gchar *sender_name G_GNUC_UNUSED, 960s # const gchar *signal_name, 960s # GVariant *parameters) 960s # { 960s # _ExtendedGDBusSignalInfo *info; 960s # GVariantIter iter; 960s # GVariant *child; 960s # GValue *paramv; 960s # gsize num_params; 960s # gsize n; 960s # guint signal_id; 960s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 960s # if (info == NULL) 960s # return; 960s # num_params = g_variant_n_children (parameters); 960s # paramv = g_new0 (GValue, num_params + 1); 960s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_set_object (¶mv[0], proxy); 960s # g_variant_iter_init (&iter, parameters); 960s # n = 1; 960s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 960s # { 960s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 960s # if (arg_info->use_gvariant) 960s # { 960s # g_value_init (¶mv[n], G_TYPE_VARIANT); 960s # g_value_set_variant (¶mv[n], child); 960s # n++; 960s # } 960s # else 960s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 960s # g_variant_unref (child); 960s # } 960s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_signal_emitv (paramv, signal_id, 0, NULL); 960s # for (n = 0; n < num_params + 1; n++) 960s # g_value_unset (¶mv[n]); 960s # g_free (paramv); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 960s # GVariant *changed_properties, 960s # const gchar *const *invalidated_properties) 960s # { 960s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 960s # guint n; 960s # const gchar *key; 960s # GVariantIter *iter; 960s # _ExtendedGDBusPropertyInfo *info; 960s # g_variant_get (changed_properties, "a{sv}", &iter); 960s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 960s # { 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 960s # g_datalist_remove_data (&proxy->priv->qdata, key); 960s # if (info != NULL) 960s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 960s # } 960s # g_variant_iter_free (iter); 960s # for (n = 0; invalidated_properties[n] != NULL; n++) 960s # { 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 960s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 960s # if (info != NULL) 960s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 960s # } 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 960s # { 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 960s # #else 960s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 960s # #endif 960s # 960s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 960s # { 960s # GObjectClass *gobject_class; 960s # GDBusProxyClass *proxy_class; 960s # 960s # gobject_class = G_OBJECT_CLASS (klass); 960s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 960s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 960s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 960s # 960s # proxy_class = G_DBUS_PROXY_CLASS (klass); 960s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 960s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 960s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 960s # #endif 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new: 960s # * @connection: A #GDBusConnection. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 960s # * 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 960s # * 960s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 960s # */ 960s # void 960s # org_project_signaling_iface_proxy_new ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_finish: 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 960s # * @error: Return location for error or %NULL 960s # * 960s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_finish ( 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GObject *ret; 960s # GObject *source_object; 960s # source_object = g_async_result_get_source_object (res); 960s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 960s # g_object_unref (source_object); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_sync: 960s # * @connection: A #GDBusConnection. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL 960s # * 960s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 960s # * 960s # * The calling thread is blocked until a reply is received. 960s # * 960s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_sync ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GInitable *ret; 960s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus: 960s # * @bus_type: A #GBusType. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: A bus name (well-known or unique). 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 960s # * 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 960s # * 960s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 960s # */ 960s # void 960s # org_project_signaling_iface_proxy_new_for_bus ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus_finish: 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 960s # * @error: Return location for error or %NULL 960s # * 960s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_for_bus_finish ( 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GObject *ret; 960s # GObject *source_object; 960s # source_object = g_async_result_get_source_object (res); 960s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 960s # g_object_unref (source_object); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus_sync: 960s # * @bus_type: A #GBusType. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: A bus name (well-known or unique). 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL 960s # * 960s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 960s # * 960s # * The calling thread is blocked until a reply is received. 960s # * 960s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_for_bus_sync ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GInitable *ret; 960s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceSkeleton: 960s # * 960s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceSkeletonClass: 960s # * @parent_class: The parent class. 960s # * 960s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 960s # */ 960s # 960s # struct _OrgProjectSignalingIfaceSkeletonPrivate 960s # { 960s # GValue *properties; 960s # GList *changed_properties; 960s # GSource *changed_properties_idle_source; 960s # GMainContext *context; 960s # GMutex lock; 960s # }; 960s # 960s # static void 960s # _org_project_signaling_iface_skeleton_handle_method_call ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name, 960s # const gchar *method_name, 960s # GVariant *parameters, 960s # GDBusMethodInvocation *invocation, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # _ExtendedGDBusMethodInfo *info; 960s # GVariantIter iter; 960s # GVariant *child; 960s # GValue *paramv; 960s # gsize num_params; 960s # guint num_extra; 960s # gsize n; 960s # guint signal_id; 960s # GValue return_value = G_VALUE_INIT; 960s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 960s # g_assert (info != NULL); 960s # num_params = g_variant_n_children (parameters); 960s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 960s # n = 0; 960s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_set_object (¶mv[n++], skeleton); 960s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 960s # g_value_set_object (¶mv[n++], invocation); 960s # if (info->pass_fdlist) 960s # { 960s # #ifdef G_OS_UNIX 960s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 960s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 960s # #else 960s # g_assert_not_reached (); 960s # #endif 960s # } 960s # g_variant_iter_init (&iter, parameters); 960s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 960s # { 960s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 960s # if (arg_info->use_gvariant) 960s # { 960s # g_value_init (¶mv[n], G_TYPE_VARIANT); 960s # g_value_set_variant (¶mv[n], child); 960s # n++; 960s # } 960s # else 960s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 960s # g_variant_unref (child); 960s # } 960s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_init (&return_value, G_TYPE_BOOLEAN); 960s # g_signal_emitv (paramv, signal_id, 0, &return_value); 960s # if (!g_value_get_boolean (&return_value)) 960s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 960s # g_value_unset (&return_value); 960s # for (n = 0; n < num_params + num_extra; n++) 960s # g_value_unset (¶mv[n]); 960s # g_free (paramv); 960s # } 960s # 960s # static GVariant * 960s # _org_project_signaling_iface_skeleton_handle_get_property ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name G_GNUC_UNUSED, 960s # const gchar *property_name, 960s # GError **error, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # GValue value = G_VALUE_INIT; 960s # GParamSpec *pspec; 960s # _ExtendedGDBusPropertyInfo *info; 960s # GVariant *ret; 960s # ret = NULL; 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 960s # g_assert (info != NULL); 960s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 960s # if (pspec == NULL) 960s # { 960s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 960s # } 960s # else 960s # { 960s # g_value_init (&value, pspec->value_type); 960s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 960s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 960s # g_value_unset (&value); 960s # } 960s # return ret; 960s # } 960s # 960s # static gboolean 960s # _org_project_signaling_iface_skeleton_handle_set_property ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name G_GNUC_UNUSED, 960s # const gchar *property_name, 960s # GVariant *variant, 960s # GError **error, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # GValue value = G_VALUE_INIT; 960s # GParamSpec *pspec; 960s # _ExtendedGDBusPropertyInfo *info; 960s # gboolean ret; 960s # ret = FALSE; 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 960s # g_assert (info != NULL); 960s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 960s # if (pspec == NULL) 960s # { 960s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 960s # } 960s # else 960s # { 960s # if (info->use_gvariant) 960s # g_value_set_variant (&value, variant); 960s # else 960s # g_dbus_gvariant_to_gvalue (variant, &value); 960s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 960s # g_value_unset (&value); 960s # ret = TRUE; 960s # } 960s # return ret; 960s # } 960s # 960s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 960s # { 960s # _org_project_signaling_iface_skeleton_handle_method_call, 960s # _org_project_signaling_iface_skeleton_handle_get_property, 960s # _org_project_signaling_iface_skeleton_handle_set_property, 960s # {NULL} 960s # }; 960s # 960s # static GDBusInterfaceInfo * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 960s # { 960s # return org_project_signaling_iface_interface_info (); 960s # } 960s # 960s # static GDBusInterfaceVTable * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 960s # { 960s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 960s # } 960s # 960s # static GVariant * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 960s # 960s # GVariantBuilder builder; 960s # guint n; 960s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 960s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 960s # goto out; 960s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 960s # { 960s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 960s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 960s # { 960s # GVariant *value; 960s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 960s # if (value != NULL) 960s # { 960s # g_variant_take_ref (value); 960s # g_variant_builder_add (&builder, "{sv}", info->name, value); 960s # g_variant_unref (value); 960s # } 960s # } 960s # } 960s # out: 960s # return g_variant_builder_end (&builder); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # _org_project_signaling_iface_on_signal_simple_signal ( 960s # OrgProjectSignalingIface *object) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # 960s # GList *connections, *l; 960s # GVariant *signal_variant; 960s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 960s # 960s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 960s # for (l = connections; l != NULL; l = l->next) 960s # { 960s # GDBusConnection *connection = l->data; 960s # g_dbus_connection_emit_signal (connection, 960s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 960s # signal_variant, NULL); 960s # } 960s # g_variant_unref (signal_variant); 960s # g_list_free_full (connections, g_object_unref); 960s # } 960s # 960s # static void 960s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 960s # OrgProjectSignalingIface *object, 960s # gboolean arg_arg_b) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # 960s # GList *connections, *l; 960s # GVariant *signal_variant; 960s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 960s # 960s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 960s # arg_arg_b)); 960s # for (l = connections; l != NULL; l = l->next) 960s # { 960s # GDBusConnection *connection = l->data; 960s # g_dbus_connection_emit_signal (connection, 960s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 960s # signal_variant, NULL); 960s # } 960s # g_variant_unref (signal_variant); 960s # g_list_free_full (connections, g_object_unref); 960s # } 960s # 960s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 960s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 960s # 960s # #else 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 960s # 960s # #endif 960s # static void 960s # org_project_signaling_iface_skeleton_finalize (GObject *object) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 960s # if (skeleton->priv->changed_properties_idle_source != NULL) 960s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 960s # g_main_context_unref (skeleton->priv->context); 960s # g_mutex_clear (&skeleton->priv->lock); 960s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 960s # { 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 960s # #else 960s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 960s # #endif 960s # 960s # g_mutex_init (&skeleton->priv->lock); 960s # skeleton->priv->context = g_main_context_ref_thread_default (); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 960s # { 960s # GObjectClass *gobject_class; 960s # GDBusInterfaceSkeletonClass *skeleton_class; 960s # 960s # gobject_class = G_OBJECT_CLASS (klass); 960s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 960s # 960s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 960s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 960s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 960s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 960s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 960s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 960s # #endif 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 960s # { 960s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 960s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_skeleton_new: 960s # * 960s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_skeleton_new (void) 960s # { 960s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 960s # } 960s # /tmp/tmpqzg2h3yi/tmpov_03613.xml: 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqzg2h3yi/tmpov_03613.xml', '--output', '-', '--body'] 960s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 960s # Output: /* 960s # * This file is generated by gdbus-codegen, do not modify it. 960s # * 960s # * The license of this code is the same as for the D-Bus interface description 960s # * it was derived from. Note that it links to GLib, so must comply with the 960s # * LGPL linking clauses. 960s # */ 960s # 960s # #ifdef HAVE_CONFIG_H 960s # # include "config.h" 960s # #endif 960s # 960s # #include 960s # #ifdef G_OS_UNIX 960s # # include 960s # #endif 960s # 960s # #ifdef G_ENABLE_DEBUG 960s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 960s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 960s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 960s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 960s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 960s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 960s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 960s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 960s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 960s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 960s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 960s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 960s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 960s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 960s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 960s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 960s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 960s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 960s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 960s # #else /* !G_ENABLE_DEBUG */ 960s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 960s # * Do not access GValues directly in your code. Instead, use the 960s # * g_value_get_*() functions 960s # */ 960s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 960s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 960s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 960s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 960s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 960s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 960s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 960s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 960s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 960s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 960s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 960s # #endif /* !G_ENABLE_DEBUG */ 960s # 960s # typedef struct 960s # { 960s # GDBusArgInfo parent_struct; 960s # gboolean use_gvariant; 960s # } _ExtendedGDBusArgInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusMethodInfo parent_struct; 960s # const gchar *signal_name; 960s # gboolean pass_fdlist; 960s # } _ExtendedGDBusMethodInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusSignalInfo parent_struct; 960s # const gchar *signal_name; 960s # } _ExtendedGDBusSignalInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusPropertyInfo parent_struct; 960s # const gchar *hyphen_name; 960s # guint use_gvariant : 1; 960s # guint emits_changed_signal : 1; 960s # } _ExtendedGDBusPropertyInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusInterfaceInfo parent_struct; 960s # const gchar *hyphen_name; 960s # } _ExtendedGDBusInterfaceInfo; 960s # 960s # typedef struct 960s # { 960s # const _ExtendedGDBusPropertyInfo *info; 960s # guint prop_id; 960s # GValue orig_value; /* the value before the change */ 960s # } ChangedProperty; 960s # 960s # static void 960s # _changed_property_free (ChangedProperty *data) 960s # { 960s # g_value_unset (&data->orig_value); 960s # g_free (data); 960s # } 960s # 960s # static gboolean 960s # _g_strv_equal0 (gchar **a, gchar **b) 960s # { 960s # gboolean ret = FALSE; 960s # guint n; 960s # if (a == NULL && b == NULL) 960s # { 960s # ret = TRUE; 960s # goto out; 960s # } 960s # if (a == NULL || b == NULL) 960s # goto out; 960s # if (g_strv_length (a) != g_strv_length (b)) 960s # goto out; 960s # for (n = 0; a[n] != NULL; n++) 960s # if (g_strcmp0 (a[n], b[n]) != 0) 960s # goto out; 960s # ret = TRUE; 960s # out: 960s # return ret; 960s # } 960s # 960s # static gboolean 960s # _g_variant_equal0 (GVariant *a, GVariant *b) 960s # { 960s # gboolean ret = FALSE; 960s # if (a == NULL && b == NULL) 960s # { 960s # ret = TRUE; 960s # goto out; 960s # } 960s # if (a == NULL || b == NULL) 960s # goto out; 960s # ret = g_variant_equal (a, b); 960s # out: 960s # return ret; 960s # } 960s # 960s # G_GNUC_UNUSED static gboolean 960s # _g_value_equal (const GValue *a, const GValue *b) 960s # { 960s # gboolean ret = FALSE; 960s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 960s # switch (G_VALUE_TYPE (a)) 960s # { 960s # case G_TYPE_BOOLEAN: 960s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 960s # break; 960s # case G_TYPE_UCHAR: 960s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 960s # break; 960s # case G_TYPE_INT: 960s # ret = (g_value_get_int (a) == g_value_get_int (b)); 960s # break; 960s # case G_TYPE_UINT: 960s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 960s # break; 960s # case G_TYPE_INT64: 960s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 960s # break; 960s # case G_TYPE_UINT64: 960s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 960s # break; 960s # case G_TYPE_DOUBLE: 960s # { 960s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 960s # gdouble da = g_value_get_double (a); 960s # gdouble db = g_value_get_double (b); 960s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 960s # } 960s # break; 960s # case G_TYPE_STRING: 960s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 960s # break; 960s # case G_TYPE_VARIANT: 960s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 960s # break; 960s # default: 960s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 960s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 960s # else 960s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 960s # break; 960s # } 960s # return ret; 960s # } 960s # 960s # /* ------------------------------------------------------------------------ 960s # * Code for interface org.project.SignalingIface 960s # * ------------------------------------------------------------------------ 960s # */ 960s # 960s # /** 960s # * SECTION:OrgProjectSignalingIface 960s # * @title: OrgProjectSignalingIface 960s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 960s # * 960s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 960s # */ 960s # 960s # enum 960s # { 960s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 960s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 960s # }; 960s # 960s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 960s # 960s # /* ---- Introspection data for org.project.SignalingIface ---- */ 960s # 960s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 960s # { 960s # { 960s # -1, 960s # (gchar *) "SimpleSignal", 960s # NULL, 960s # NULL 960s # }, 960s # "simple-signal" 960s # }; 960s # 960s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 960s # { 960s # { 960s # -1, 960s # (gchar *) "arg_y", 960s # (gchar *) "y", 960s # NULL 960s # }, 960s # FALSE 960s # }; 960s # 960s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 960s # { 960s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 960s # NULL 960s # }; 960s # 960s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 960s # { 960s # { 960s # -1, 960s # (gchar *) "SingleArgSignalY", 960s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 960s # NULL 960s # }, 960s # "single-arg-signal-y" 960s # }; 960s # 960s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 960s # { 960s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 960s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 960s # NULL 960s # }; 960s # 960s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 960s # { 960s # { 960s # -1, 960s # (gchar *) "org.project.SignalingIface", 960s # NULL, 960s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 960s # NULL, 960s # NULL 960s # }, 960s # "org-project-signaling-iface", 960s # }; 960s # 960s # 960s # /** 960s # * org_project_signaling_iface_interface_info: 960s # * 960s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 960s # * 960s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 960s # */ 960s # GDBusInterfaceInfo * 960s # org_project_signaling_iface_interface_info (void) 960s # { 960s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_override_properties: 960s # * @klass: The class structure for a #GObject derived class. 960s # * @property_id_begin: The property id to assign to the first overridden property. 960s # * 960s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 960s # * The properties are overridden in the order they are defined. 960s # * 960s # * Returns: The last property id. 960s # */ 960s # guint 960s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 960s # { 960s # return property_id_begin - 1; 960s # } 960s # 960s # 960s # inline static void 960s # org_project_signaling_iface_signal_marshal_simple_signal ( 960s # GClosure *closure, 960s # GValue *return_value, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint, 960s # void *marshal_data) 960s # { 960s # g_cclosure_marshal_VOID__VOID (closure, 960s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 960s # } 960s # 960s # inline static void 960s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 960s # GClosure *closure, 960s # GValue *return_value, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint, 960s # void *marshal_data) 960s # { 960s # g_cclosure_marshal_VOID__UCHAR (closure, 960s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 960s # } 960s # 960s # 960s # /** 960s # * OrgProjectSignalingIface: 960s # * 960s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceIface: 960s # * @parent_iface: The parent interface. 960s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 960s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 960s # * 960s # * Virtual table for the D-Bus interface org.project.SignalingIface. 960s # */ 960s # 960s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 960s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 960s # 960s # static void 960s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 960s # { 960s # /* GObject signals for received D-Bus signals: */ 960s # /** 960s # * OrgProjectSignalingIface::simple-signal: 960s # * @object: A #OrgProjectSignalingIface. 960s # * 960s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 960s # * 960s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 960s # */ 960s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 960s # g_signal_new ("simple-signal", 960s # G_TYPE_FROM_INTERFACE (iface), 960s # G_SIGNAL_RUN_LAST, 960s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 960s # NULL, 960s # NULL, 960s # org_project_signaling_iface_signal_marshal_simple_signal, 960s # G_TYPE_NONE, 960s # 0); 960s # 960s # /** 960s # * OrgProjectSignalingIface::single-arg-signal-y: 960s # * @object: A #OrgProjectSignalingIface. 960s # * @arg_arg_y: Argument. 960s # * 960s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 960s # * 960s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 960s # */ 960s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 960s # g_signal_new ("single-arg-signal-y", 960s # G_TYPE_FROM_INTERFACE (iface), 960s # G_SIGNAL_RUN_LAST, 960s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 960s # NULL, 960s # NULL, 960s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 960s # G_TYPE_NONE, 960s # 1, G_TYPE_UCHAR); 960s # 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_emit_simple_signal: 960s # * @object: A #OrgProjectSignalingIface. 960s # * 960s # * Emits the "SimpleSignal" D-Bus signal. 960s # */ 960s # void 960s # org_project_signaling_iface_emit_simple_signal ( 960s # OrgProjectSignalingIface *object) 960s # { 960s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_emit_single_arg_signal_y: 960s # * @object: A #OrgProjectSignalingIface. 960s # * @arg_arg_y: Argument to pass with the signal. 960s # * 960s # * Emits the "SingleArgSignalY" D-Bus signal. 960s # */ 960s # void 960s # org_project_signaling_iface_emit_single_arg_signal_y ( 960s # OrgProjectSignalingIface *object, 960s # guchar arg_arg_y) 960s # { 960s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 960s # } 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceProxy: 960s # * 960s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceProxyClass: 960s # * @parent_class: The parent class. 960s # * 960s # * Class structure for #OrgProjectSignalingIfaceProxy. 960s # */ 960s # 960s # struct _OrgProjectSignalingIfaceProxyPrivate 960s # { 960s # GData *qdata; 960s # }; 960s # 960s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 960s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 960s # 960s # #else 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 960s # 960s # #endif 960s # static void 960s # org_project_signaling_iface_proxy_finalize (GObject *object) 960s # { 960s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 960s # g_datalist_clear (&proxy->priv->qdata); 960s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 960s # guint prop_id G_GNUC_UNUSED, 960s # GValue *value G_GNUC_UNUSED, 960s # GParamSpec *pspec G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 960s # guint prop_id G_GNUC_UNUSED, 960s # const GValue *value G_GNUC_UNUSED, 960s # GParamSpec *pspec G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 960s # const gchar *sender_name G_GNUC_UNUSED, 960s # const gchar *signal_name, 960s # GVariant *parameters) 960s # { 960s # _ExtendedGDBusSignalInfo *info; 960s # GVariantIter iter; 960s # GVariant *child; 960s # GValue *paramv; 960s # gsize num_params; 960s # gsize n; 960s # guint signal_id; 960s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 960s # if (info == NULL) 960s # return; 960s # num_params = g_variant_n_children (parameters); 960s # paramv = g_new0 (GValue, num_params + 1); 960s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_set_object (¶mv[0], proxy); 960s # g_variant_iter_init (&iter, parameters); 960s # n = 1; 960s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 960s # { 960s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 960s # if (arg_info->use_gvariant) 960s # { 960s # g_value_init (¶mv[n], G_TYPE_VARIANT); 960s # g_value_set_variant (¶mv[n], child); 960s # n++; 960s # } 960s # else 960s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 960s # g_variant_unref (child); 960s # } 960s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_signal_emitv (paramv, signal_id, 0, NULL); 960s # for (n = 0; n < num_params + 1; n++) 960s # g_value_unset (¶mv[n]); 960s # g_free (paramv); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 960s # GVariant *changed_properties, 960s # const gchar *const *invalidated_properties) 960s # { 960s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 960s # guint n; 960s # const gchar *key; 960s # GVariantIter *iter; 960s # _ExtendedGDBusPropertyInfo *info; 960s # g_variant_get (changed_properties, "a{sv}", &iter); 960s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 960s # { 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 960s # g_datalist_remove_data (&proxy->priv->qdata, key); 960s # if (info != NULL) 960s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 960s # } 960s # g_variant_iter_free (iter); 960s # for (n = 0; invalidated_properties[n] != NULL; n++) 960s # { 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 960s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 960s # if (info != NULL) 960s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 960s # } 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 960s # { 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 960s # #else 960s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 960s # #endif 960s # 960s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 960s # { 960s # GObjectClass *gobject_class; 960s # GDBusProxyClass *proxy_class; 960s # 960s # gobject_class = G_OBJECT_CLASS (klass); 960s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 960s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 960s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 960s # 960s # proxy_class = G_DBUS_PROXY_CLASS (klass); 960s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 960s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 960s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 960s # #endif 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new: 960s # * @connection: A #GDBusConnection. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 960s # * 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 960s # * 960s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 960s # */ 960s # void 960s # org_project_signaling_iface_proxy_new ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_finish: 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 960s # * @error: Return location for error or %NULL 960s # * 960s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_finish ( 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GObject *ret; 960s # GObject *source_object; 960s # source_object = g_async_result_get_source_object (res); 960s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 960s # g_object_unref (source_object); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_sync: 960s # * @connection: A #GDBusConnection. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL 960s # * 960s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 960s # * 960s # * The calling thread is blocked until a reply is received. 960s # * 960s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_sync ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GInitable *ret; 960s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus: 960s # * @bus_type: A #GBusType. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: A bus name (well-known or unique). 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 960s # * 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 960s # * 960s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 960s # */ 960s # void 960s # org_project_signaling_iface_proxy_new_for_bus ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus_finish: 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 960s # * @error: Return location for error or %NULL 960s # * 960s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_for_bus_finish ( 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GObject *ret; 960s # GObject *source_object; 960s # source_object = g_async_result_get_source_object (res); 960s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 960s # g_object_unref (source_object); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus_sync: 960s # * @bus_type: A #GBusType. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: A bus name (well-known or unique). 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL 960s # * 960s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 960s # * 960s # * The calling thread is blocked until a reply is received. 960s # * 960s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_for_bus_sync ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GInitable *ret; 960s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceSkeleton: 960s # * 960s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceSkeletonClass: 960s # * @parent_class: The parent class. 960s # * 960s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 960s # */ 960s # 960s # struct _OrgProjectSignalingIfaceSkeletonPrivate 960s # { 960s # GValue *properties; 960s # GList *changed_properties; 960s # GSource *changed_properties_idle_source; 960s # GMainContext *context; 960s # GMutex lock; 960s # }; 960s # 960s # static void 960s # _org_project_signaling_iface_skeleton_handle_method_call ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name, 960s # const gchar *method_name, 960s # GVariant *parameters, 960s # GDBusMethodInvocation *invocation, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # _ExtendedGDBusMethodInfo *info; 960s # GVariantIter iter; 960s # GVariant *child; 960s # GValue *paramv; 960s # gsize num_params; 960s # guint num_extra; 960s # gsize n; 960s # guint signal_id; 960s # GValue return_value = G_VALUE_INIT; 960s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 960s # g_assert (info != NULL); 960s # num_params = g_variant_n_children (parameters); 960s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 960s # n = 0; 960s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_set_object (¶mv[n++], skeleton); 960s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 960s # g_value_set_object (¶mv[n++], invocation); 960s # if (info->pass_fdlist) 960s # { 960s # #ifdef G_OS_UNIX 960s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 960s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 960s # #else 960s # g_assert_not_reached (); 960s # #endif 960s # } 960s # g_variant_iter_init (&iter, parameters); 960s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 960s # { 960s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 960s # if (arg_info->use_gvariant) 960s # { 960s # g_value_init (¶mv[n], G_TYPE_VARIANT); 960s # g_value_set_variant (¶mv[n], child); 960s # n++; 960s # } 960s # else 960s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 960s # g_variant_unref (child); 960s # } 960s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_init (&return_value, G_TYPE_BOOLEAN); 960s # g_signal_emitv (paramv, signal_id, 0, &return_value); 960s # if (!g_value_get_boolean (&return_value)) 960s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 960s # g_value_unset (&return_value); 960s # for (n = 0; n < num_params + num_extra; n++) 960s # g_value_unset (¶mv[n]); 960s # g_free (paramv); 960s # } 960s # 960s # static GVariant * 960s # _org_project_signaling_iface_skeleton_handle_get_property ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name G_GNUC_UNUSED, 960s # const gchar *property_name, 960s # GError **error, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # GValue value = G_VALUE_INIT; 960s # GParamSpec *pspec; 960s # _ExtendedGDBusPropertyInfo *info; 960s # GVariant *ret; 960s # ret = NULL; 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 960s # g_assert (info != NULL); 960s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 960s # if (pspec == NULL) 960s # { 960s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 960s # } 960s # else 960s # { 960s # g_value_init (&value, pspec->value_type); 960s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 960s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 960s # g_value_unset (&value); 960s # } 960s # return ret; 960s # } 960s # 960s # static gboolean 960s # _org_project_signaling_iface_skeleton_handle_set_property ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name G_GNUC_UNUSED, 960s # const gchar *property_name, 960s # GVariant *variant, 960s # GError **error, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # GValue value = G_VALUE_INIT; 960s # GParamSpec *pspec; 960s # _ExtendedGDBusPropertyInfo *info; 960s # gboolean ret; 960s # ret = FALSE; 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 960s # g_assert (info != NULL); 960s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 960s # if (pspec == NULL) 960s # { 960s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 960s # } 960s # else 960s # { 960s # if (info->use_gvariant) 960s # g_value_set_variant (&value, variant); 960s # else 960s # g_dbus_gvariant_to_gvalue (variant, &value); 960s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 960s # g_value_unset (&value); 960s # ret = TRUE; 960s # } 960s # return ret; 960s # } 960s # 960s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 960s # { 960s # _org_project_signaling_iface_skeleton_handle_method_call, 960s # _org_project_signaling_iface_skeleton_handle_get_property, 960s # _org_project_signaling_iface_skeleton_handle_set_property, 960s # {NULL} 960s # }; 960s # 960s # static GDBusInterfaceInfo * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 960s # { 960s # return org_project_signaling_iface_interface_info (); 960s # } 960s # 960s # static GDBusInterfaceVTable * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 960s # { 960s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 960s # } 960s # 960s # static GVariant * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 960s # 960s # GVariantBuilder builder; 960s # guint n; 960s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 960s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 960s # goto out; 960s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 960s # { 960s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 960s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 960s # { 960s # GVariant *value; 960s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 960s # if (value != NULL) 960s # { 960s # g_variant_take_ref (value); 960s # g_variant_builder_add (&builder, "{sv}", info->name, value); 960s # g_variant_unref (value); 960s # } 960s # } 960s # } 960s # out: 960s # return g_variant_builder_end (&builder); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # _org_project_signaling_iface_on_signal_simple_signal ( 960s # OrgProjectSignalingIface *object) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # 960s # GList *connections, *l; 960s # GVariant *signal_variant; 960s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 960s # 960s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 960s # for (l = connections; l != NULL; l = l->next) 960s # { 960s # GDBusConnection *connection = l->data; 960s # g_dbus_connection_emit_signal (connection, 960s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 960s # signal_variant, NULL); 960s # } 960s # g_variant_unref (signal_variant); 960s # g_list_free_full (connections, g_object_unref); 960s # } 960s # 960s # static void 960s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 960s # OrgProjectSignalingIface *object, 960s # guchar arg_arg_y) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # 960s # GList *connections, *l; 960s # GVariant *signal_variant; 960s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 960s # 960s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 960s # arg_arg_y)); 960s # for (l = connections; l != NULL; l = l->next) 960s # { 960s # GDBusConnection *connection = l->data; 960s # g_dbus_connection_emit_signal (connection, 960s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 960s # signal_variant, NULL); 960s # } 960s # g_variant_unref (signal_variant); 960s # g_list_free_full (connections, g_object_unref); 960s # } 960s # 960s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 960s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 960s # 960s # #else 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 960s # 960s # #endif 960s # static void 960s # org_project_signaling_iface_skeleton_finalize (GObject *object) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 960s # if (skeleton->priv->changed_properties_idle_source != NULL) 960s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 960s # g_main_context_unref (skeleton->priv->context); 960s # g_mutex_clear (&skeleton->priv->lock); 960s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 960s # { 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 960s # #else 960s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 960s # #endif 960s # 960s # g_mutex_init (&skeleton->priv->lock); 960s # skeleton->priv->context = g_main_context_ref_thread_default (); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 960s # { 960s # GObjectClass *gobject_class; 960s # GDBusInterfaceSkeletonClass *skeleton_class; 960s # 960s # gobject_class = G_OBJECT_CLASS (klass); 960s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 960s # 960s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 960s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 960s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 960s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 960s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 960s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 960s # #endif 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 960s # { 960s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 960s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_skeleton_new: 960s # * 960s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_skeleton_new (void) 960s # { 960s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 960s # } 960s # /tmp/tmpqzg2h3yi/tmpjvlouo0x.xml: 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqzg2h3yi/tmpjvlouo0x.xml', '--output', '-', '--body'] 960s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 960s # Output: /* 960s # * This file is generated by gdbus-codegen, do not modify it. 960s # * 960s # * The license of this code is the same as for the D-Bus interface description 960s # * it was derived from. Note that it links to GLib, so must comply with the 960s # * LGPL linking clauses. 960s # */ 960s # 960s # #ifdef HAVE_CONFIG_H 960s # # include "config.h" 960s # #endif 960s # 960s # #include 960s # #ifdef G_OS_UNIX 960s # # include 960s # #endif 960s # 960s # #ifdef G_ENABLE_DEBUG 960s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 960s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 960s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 960s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 960s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 960s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 960s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 960s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 960s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 960s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 960s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 960s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 960s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 960s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 960s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 960s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 960s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 960s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 960s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 960s # #else /* !G_ENABLE_DEBUG */ 960s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 960s # * Do not access GValues directly in your code. Instead, use the 960s # * g_value_get_*() functions 960s # */ 960s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 960s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 960s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 960s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 960s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 960s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 960s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 960s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 960s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 960s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 960s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 960s # #endif /* !G_ENABLE_DEBUG */ 960s # 960s # typedef struct 960s # { 960s # GDBusArgInfo parent_struct; 960s # gboolean use_gvariant; 960s # } _ExtendedGDBusArgInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusMethodInfo parent_struct; 960s # const gchar *signal_name; 960s # gboolean pass_fdlist; 960s # } _ExtendedGDBusMethodInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusSignalInfo parent_struct; 960s # const gchar *signal_name; 960s # } _ExtendedGDBusSignalInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusPropertyInfo parent_struct; 960s # const gchar *hyphen_name; 960s # guint use_gvariant : 1; 960s # guint emits_changed_signal : 1; 960s # } _ExtendedGDBusPropertyInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusInterfaceInfo parent_struct; 960s # const gchar *hyphen_name; 960s # } _ExtendedGDBusInterfaceInfo; 960s # 960s # typedef struct 960s # { 960s # const _ExtendedGDBusPropertyInfo *info; 960s # guint prop_id; 960s # GValue orig_value; /* the value before the change */ 960s # } ChangedProperty; 960s # 960s # static void 960s # _changed_property_free (ChangedProperty *data) 960s # { 960s # g_value_unset (&data->orig_value); 960s # g_free (data); 960s # } 960s # 960s # static gboolean 960s # _g_strv_equal0 (gchar **a, gchar **b) 960s # { 960s # gboolean ret = FALSE; 960s # guint n; 960s # if (a == NULL && b == NULL) 960s # { 960s # ret = TRUE; 960s # goto out; 960s # } 960s # if (a == NULL || b == NULL) 960s # goto out; 960s # if (g_strv_length (a) != g_strv_length (b)) 960s # goto out; 960s # for (n = 0; a[n] != NULL; n++) 960s # if (g_strcmp0 (a[n], b[n]) != 0) 960s # goto out; 960s # ret = TRUE; 960s # out: 960s # return ret; 960s # } 960s # 960s # static gboolean 960s # _g_variant_equal0 (GVariant *a, GVariant *b) 960s # { 960s # gboolean ret = FALSE; 960s # if (a == NULL && b == NULL) 960s # { 960s # ret = TRUE; 960s # goto out; 960s # } 960s # if (a == NULL || b == NULL) 960s # goto out; 960s # ret = g_variant_equal (a, b); 960s # out: 960s # return ret; 960s # } 960s # 960s # G_GNUC_UNUSED static gboolean 960s # _g_value_equal (const GValue *a, const GValue *b) 960s # { 960s # gboolean ret = FALSE; 960s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 960s # switch (G_VALUE_TYPE (a)) 960s # { 960s # case G_TYPE_BOOLEAN: 960s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 960s # break; 960s # case G_TYPE_UCHAR: 960s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 960s # break; 960s # case G_TYPE_INT: 960s # ret = (g_value_get_int (a) == g_value_get_int (b)); 960s # break; 960s # case G_TYPE_UINT: 960s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 960s # break; 960s # case G_TYPE_INT64: 960s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 960s # break; 960s # case G_TYPE_UINT64: 960s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 960s # break; 960s # case G_TYPE_DOUBLE: 960s # { 960s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 960s # gdouble da = g_value_get_double (a); 960s # gdouble db = g_value_get_double (b); 960s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 960s # } 960s # break; 960s # case G_TYPE_STRING: 960s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 960s # break; 960s # case G_TYPE_VARIANT: 960s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 960s # break; 960s # default: 960s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 960s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 960s # else 960s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 960s # break; 960s # } 960s # return ret; 960s # } 960s # 960s # /* ------------------------------------------------------------------------ 960s # * Code for interface org.project.SignalingIface 960s # * ------------------------------------------------------------------------ 960s # */ 960s # 960s # /** 960s # * SECTION:OrgProjectSignalingIface 960s # * @title: OrgProjectSignalingIface 960s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 960s # * 960s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 960s # */ 960s # 960s # enum 960s # { 960s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 960s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 960s # }; 960s # 960s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 960s # 960s # /* ---- Introspection data for org.project.SignalingIface ---- */ 960s # 960s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 960s # { 960s # { 960s # -1, 960s # (gchar *) "SimpleSignal", 960s # NULL, 960s # NULL 960s # }, 960s # "simple-signal" 960s # }; 960s # 960s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 960s # { 960s # { 960s # -1, 960s # (gchar *) "arg_n", 960s # (gchar *) "n", 960s # NULL 960s # }, 960s # FALSE 960s # }; 960s # 960s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 960s # { 960s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 960s # NULL 960s # }; 960s # 960s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 960s # { 960s # { 960s # -1, 960s # (gchar *) "SingleArgSignalN", 960s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 960s # NULL 960s # }, 960s # "single-arg-signal-n" 960s # }; 960s # 960s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 960s # { 960s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 960s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 960s # NULL 960s # }; 960s # 960s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 960s # { 960s # { 960s # -1, 960s # (gchar *) "org.project.SignalingIface", 960s # NULL, 960s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 960s # NULL, 960s # NULL 960s # }, 960s # "org-project-signaling-iface", 960s # }; 960s # 960s # 960s # /** 960s # * org_project_signaling_iface_interface_info: 960s # * 960s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 960s # * 960s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 960s # */ 960s # GDBusInterfaceInfo * 960s # org_project_signaling_iface_interface_info (void) 960s # { 960s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_override_properties: 960s # * @klass: The class structure for a #GObject derived class. 960s # * @property_id_begin: The property id to assign to the first overridden property. 960s # * 960s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 960s # * The properties are overridden in the order they are defined. 960s # * 960s # * Returns: The last property id. 960s # */ 960s # guint 960s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 960s # { 960s # return property_id_begin - 1; 960s # } 960s # 960s # 960s # inline static void 960s # org_project_signaling_iface_signal_marshal_simple_signal ( 960s # GClosure *closure, 960s # GValue *return_value, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint, 960s # void *marshal_data) 960s # { 960s # g_cclosure_marshal_VOID__VOID (closure, 960s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 960s # } 960s # 960s # inline static void 960s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 960s # GClosure *closure, 960s # GValue *return_value, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint, 960s # void *marshal_data) 960s # { 960s # g_cclosure_marshal_VOID__INT (closure, 960s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 960s # } 960s # 960s # 960s # /** 960s # * OrgProjectSignalingIface: 960s # * 960s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceIface: 960s # * @parent_iface: The parent interface. 960s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 960s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 960s # * 960s # * Virtual table for the D-Bus interface org.project.SignalingIface. 960s # */ 960s # 960s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 960s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 960s # 960s # static void 960s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 960s # { 960s # /* GObject signals for received D-Bus signals: */ 960s # /** 960s # * OrgProjectSignalingIface::simple-signal: 960s # * @object: A #OrgProjectSignalingIface. 960s # * 960s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 960s # * 960s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 960s # */ 960s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 960s # g_signal_new ("simple-signal", 960s # G_TYPE_FROM_INTERFACE (iface), 960s # G_SIGNAL_RUN_LAST, 960s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 960s # NULL, 960s # NULL, 960s # org_project_signaling_iface_signal_marshal_simple_signal, 960s # G_TYPE_NONE, 960s # 0); 960s # 960s # /** 960s # * OrgProjectSignalingIface::single-arg-signal-n: 960s # * @object: A #OrgProjectSignalingIface. 960s # * @arg_arg_n: Argument. 960s # * 960s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 960s # * 960s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 960s # */ 960s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 960s # g_signal_new ("single-arg-signal-n", 960s # G_TYPE_FROM_INTERFACE (iface), 960s # G_SIGNAL_RUN_LAST, 960s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 960s # NULL, 960s # NULL, 960s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 960s # G_TYPE_NONE, 960s # 1, G_TYPE_INT); 960s # 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_emit_simple_signal: 960s # * @object: A #OrgProjectSignalingIface. 960s # * 960s # * Emits the "SimpleSignal" D-Bus signal. 960s # */ 960s # void 960s # org_project_signaling_iface_emit_simple_signal ( 960s # OrgProjectSignalingIface *object) 960s # { 960s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_emit_single_arg_signal_n: 960s # * @object: A #OrgProjectSignalingIface. 960s # * @arg_arg_n: Argument to pass with the signal. 960s # * 960s # * Emits the "SingleArgSignalN" D-Bus signal. 960s # */ 960s # void 960s # org_project_signaling_iface_emit_single_arg_signal_n ( 960s # OrgProjectSignalingIface *object, 960s # gint16 arg_arg_n) 960s # { 960s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 960s # } 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceProxy: 960s # * 960s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceProxyClass: 960s # * @parent_class: The parent class. 960s # * 960s # * Class structure for #OrgProjectSignalingIfaceProxy. 960s # */ 960s # 960s # struct _OrgProjectSignalingIfaceProxyPrivate 960s # { 960s # GData *qdata; 960s # }; 960s # 960s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 960s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 960s # 960s # #else 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 960s # 960s # #endif 960s # static void 960s # org_project_signaling_iface_proxy_finalize (GObject *object) 960s # { 960s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 960s # g_datalist_clear (&proxy->priv->qdata); 960s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 960s # guint prop_id G_GNUC_UNUSED, 960s # GValue *value G_GNUC_UNUSED, 960s # GParamSpec *pspec G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 960s # guint prop_id G_GNUC_UNUSED, 960s # const GValue *value G_GNUC_UNUSED, 960s # GParamSpec *pspec G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 960s # const gchar *sender_name G_GNUC_UNUSED, 960s # const gchar *signal_name, 960s # GVariant *parameters) 960s # { 960s # _ExtendedGDBusSignalInfo *info; 960s # GVariantIter iter; 960s # GVariant *child; 960s # GValue *paramv; 960s # gsize num_params; 960s # gsize n; 960s # guint signal_id; 960s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 960s # if (info == NULL) 960s # return; 960s # num_params = g_variant_n_children (parameters); 960s # paramv = g_new0 (GValue, num_params + 1); 960s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_set_object (¶mv[0], proxy); 960s # g_variant_iter_init (&iter, parameters); 960s # n = 1; 960s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 960s # { 960s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 960s # if (arg_info->use_gvariant) 960s # { 960s # g_value_init (¶mv[n], G_TYPE_VARIANT); 960s # g_value_set_variant (¶mv[n], child); 960s # n++; 960s # } 960s # else 960s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 960s # g_variant_unref (child); 960s # } 960s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_signal_emitv (paramv, signal_id, 0, NULL); 960s # for (n = 0; n < num_params + 1; n++) 960s # g_value_unset (¶mv[n]); 960s # g_free (paramv); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 960s # GVariant *changed_properties, 960s # const gchar *const *invalidated_properties) 960s # { 960s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 960s # guint n; 960s # const gchar *key; 960s # GVariantIter *iter; 960s # _ExtendedGDBusPropertyInfo *info; 960s # g_variant_get (changed_properties, "a{sv}", &iter); 960s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 960s # { 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 960s # g_datalist_remove_data (&proxy->priv->qdata, key); 960s # if (info != NULL) 960s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 960s # } 960s # g_variant_iter_free (iter); 960s # for (n = 0; invalidated_properties[n] != NULL; n++) 960s # { 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 960s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 960s # if (info != NULL) 960s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 960s # } 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 960s # { 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 960s # #else 960s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 960s # #endif 960s # 960s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 960s # { 960s # GObjectClass *gobject_class; 960s # GDBusProxyClass *proxy_class; 960s # 960s # gobject_class = G_OBJECT_CLASS (klass); 960s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 960s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 960s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 960s # 960s # proxy_class = G_DBUS_PROXY_CLASS (klass); 960s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 960s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 960s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 960s # #endif 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new: 960s # * @connection: A #GDBusConnection. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 960s # * 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 960s # * 960s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 960s # */ 960s # void 960s # org_project_signaling_iface_proxy_new ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_finish: 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 960s # * @error: Return location for error or %NULL 960s # * 960s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_finish ( 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GObject *ret; 960s # GObject *source_object; 960s # source_object = g_async_result_get_source_object (res); 960s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 960s # g_object_unref (source_object); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_sync: 960s # * @connection: A #GDBusConnection. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL 960s # * 960s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 960s # * 960s # * The calling thread is blocked until a reply is received. 960s # * 960s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_sync ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GInitable *ret; 960s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus: 960s # * @bus_type: A #GBusType. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: A bus name (well-known or unique). 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 960s # * 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 960s # * 960s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 960s # */ 960s # void 960s # org_project_signaling_iface_proxy_new_for_bus ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus_finish: 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 960s # * @error: Return location for error or %NULL 960s # * 960s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_for_bus_finish ( 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GObject *ret; 960s # GObject *source_object; 960s # source_object = g_async_result_get_source_object (res); 960s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 960s # g_object_unref (source_object); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus_sync: 960s # * @bus_type: A #GBusType. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: A bus name (well-known or unique). 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL 960s # * 960s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 960s # * 960s # * The calling thread is blocked until a reply is received. 960s # * 960s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_for_bus_sync ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GInitable *ret; 960s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceSkeleton: 960s # * 960s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceSkeletonClass: 960s # * @parent_class: The parent class. 960s # * 960s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 960s # */ 960s # 960s # struct _OrgProjectSignalingIfaceSkeletonPrivate 960s # { 960s # GValue *properties; 960s # GList *changed_properties; 960s # GSource *changed_properties_idle_source; 960s # GMainContext *context; 960s # GMutex lock; 960s # }; 960s # 960s # static void 960s # _org_project_signaling_iface_skeleton_handle_method_call ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name, 960s # const gchar *method_name, 960s # GVariant *parameters, 960s # GDBusMethodInvocation *invocation, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # _ExtendedGDBusMethodInfo *info; 960s # GVariantIter iter; 960s # GVariant *child; 960s # GValue *paramv; 960s # gsize num_params; 960s # guint num_extra; 960s # gsize n; 960s # guint signal_id; 960s # GValue return_value = G_VALUE_INIT; 960s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 960s # g_assert (info != NULL); 960s # num_params = g_variant_n_children (parameters); 960s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 960s # n = 0; 960s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_set_object (¶mv[n++], skeleton); 960s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 960s # g_value_set_object (¶mv[n++], invocation); 960s # if (info->pass_fdlist) 960s # { 960s # #ifdef G_OS_UNIX 960s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 960s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 960s # #else 960s # g_assert_not_reached (); 960s # #endif 960s # } 960s # g_variant_iter_init (&iter, parameters); 960s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 960s # { 960s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 960s # if (arg_info->use_gvariant) 960s # { 960s # g_value_init (¶mv[n], G_TYPE_VARIANT); 960s # g_value_set_variant (¶mv[n], child); 960s # n++; 960s # } 960s # else 960s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 960s # g_variant_unref (child); 960s # } 960s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_init (&return_value, G_TYPE_BOOLEAN); 960s # g_signal_emitv (paramv, signal_id, 0, &return_value); 960s # if (!g_value_get_boolean (&return_value)) 960s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 960s # g_value_unset (&return_value); 960s # for (n = 0; n < num_params + num_extra; n++) 960s # g_value_unset (¶mv[n]); 960s # g_free (paramv); 960s # } 960s # 960s # static GVariant * 960s # _org_project_signaling_iface_skeleton_handle_get_property ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name G_GNUC_UNUSED, 960s # const gchar *property_name, 960s # GError **error, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # GValue value = G_VALUE_INIT; 960s # GParamSpec *pspec; 960s # _ExtendedGDBusPropertyInfo *info; 960s # GVariant *ret; 960s # ret = NULL; 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 960s # g_assert (info != NULL); 960s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 960s # if (pspec == NULL) 960s # { 960s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 960s # } 960s # else 960s # { 960s # g_value_init (&value, pspec->value_type); 960s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 960s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 960s # g_value_unset (&value); 960s # } 960s # return ret; 960s # } 960s # 960s # static gboolean 960s # _org_project_signaling_iface_skeleton_handle_set_property ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name G_GNUC_UNUSED, 960s # const gchar *property_name, 960s # GVariant *variant, 960s # GError **error, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # GValue value = G_VALUE_INIT; 960s # GParamSpec *pspec; 960s # _ExtendedGDBusPropertyInfo *info; 960s # gboolean ret; 960s # ret = FALSE; 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 960s # g_assert (info != NULL); 960s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 960s # if (pspec == NULL) 960s # { 960s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 960s # } 960s # else 960s # { 960s # if (info->use_gvariant) 960s # g_value_set_variant (&value, variant); 960s # else 960s # g_dbus_gvariant_to_gvalue (variant, &value); 960s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 960s # g_value_unset (&value); 960s # ret = TRUE; 960s # } 960s # return ret; 960s # } 960s # 960s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 960s # { 960s # _org_project_signaling_iface_skeleton_handle_method_call, 960s # _org_project_signaling_iface_skeleton_handle_get_property, 960s # _org_project_signaling_iface_skeleton_handle_set_property, 960s # {NULL} 960s # }; 960s # 960s # static GDBusInterfaceInfo * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 960s # { 960s # return org_project_signaling_iface_interface_info (); 960s # } 960s # 960s # static GDBusInterfaceVTable * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 960s # { 960s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 960s # } 960s # 960s # static GVariant * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 960s # 960s # GVariantBuilder builder; 960s # guint n; 960s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 960s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 960s # goto out; 960s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 960s # { 960s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 960s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 960s # { 960s # GVariant *value; 960s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 960s # if (value != NULL) 960s # { 960s # g_variant_take_ref (value); 960s # g_variant_builder_add (&builder, "{sv}", info->name, value); 960s # g_variant_unref (value); 960s # } 960s # } 960s # } 960s # out: 960s # return g_variant_builder_end (&builder); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # _org_project_signaling_iface_on_signal_simple_signal ( 960s # OrgProjectSignalingIface *object) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # 960s # GList *connections, *l; 960s # GVariant *signal_variant; 960s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 960s # 960s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 960s # for (l = connections; l != NULL; l = l->next) 960s # { 960s # GDBusConnection *connection = l->data; 960s # g_dbus_connection_emit_signal (connection, 960s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 960s # signal_variant, NULL); 960s # } 960s # g_variant_unref (signal_variant); 960s # g_list_free_full (connections, g_object_unref); 960s # } 960s # 960s # static void 960s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 960s # OrgProjectSignalingIface *object, 960s # gint16 arg_arg_n) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # 960s # GList *connections, *l; 960s # GVariant *signal_variant; 960s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 960s # 960s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 960s # arg_arg_n)); 960s # for (l = connections; l != NULL; l = l->next) 960s # { 960s # GDBusConnection *connection = l->data; 960s # g_dbus_connection_emit_signal (connection, 960s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 960s # signal_variant, NULL); 960s # } 960s # g_variant_unref (signal_variant); 960s # g_list_free_full (connections, g_object_unref); 960s # } 960s # 960s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 960s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 960s # 960s # #else 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 960s # 960s # #endif 960s # static void 960s # org_project_signaling_iface_skeleton_finalize (GObject *object) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 960s # if (skeleton->priv->changed_properties_idle_source != NULL) 960s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 960s # g_main_context_unref (skeleton->priv->context); 960s # g_mutex_clear (&skeleton->priv->lock); 960s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 960s # { 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 960s # #else 960s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 960s # #endif 960s # 960s # g_mutex_init (&skeleton->priv->lock); 960s # skeleton->priv->context = g_main_context_ref_thread_default (); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 960s # { 960s # GObjectClass *gobject_class; 960s # GDBusInterfaceSkeletonClass *skeleton_class; 960s # 960s # gobject_class = G_OBJECT_CLASS (klass); 960s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 960s # 960s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 960s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 960s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 960s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 960s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 960s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 960s # #endif 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 960s # { 960s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 960s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_skeleton_new: 960s # * 960s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_skeleton_new (void) 960s # { 960s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 960s # } 960s # /tmp/tmpqzg2h3yi/tmp7tihs84b.xml: 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqzg2h3yi/tmp7tihs84b.xml', '--output', '-', '--body'] 960s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 960s # Output: /* 960s # * This file is generated by gdbus-codegen, do not modify it. 960s # * 960s # * The license of this code is the same as for the D-Bus interface description 960s # * it was derived from. Note that it links to GLib, so must comply with the 960s # * LGPL linking clauses. 960s # */ 960s # 960s # #ifdef HAVE_CONFIG_H 960s # # include "config.h" 960s # #endif 960s # 960s # #include 960s # #ifdef G_OS_UNIX 960s # # include 960s # #endif 960s # 960s # #ifdef G_ENABLE_DEBUG 960s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 960s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 960s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 960s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 960s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 960s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 960s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 960s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 960s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 960s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 960s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 960s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 960s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 960s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 960s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 960s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 960s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 960s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 960s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 960s # #else /* !G_ENABLE_DEBUG */ 960s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 960s # * Do not access GValues directly in your code. Instead, use the 960s # * g_value_get_*() functions 960s # */ 960s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 960s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 960s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 960s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 960s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 960s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 960s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 960s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 960s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 960s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 960s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 960s # #endif /* !G_ENABLE_DEBUG */ 960s # 960s # typedef struct 960s # { 960s # GDBusArgInfo parent_struct; 960s # gboolean use_gvariant; 960s # } _ExtendedGDBusArgInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusMethodInfo parent_struct; 960s # const gchar *signal_name; 960s # gboolean pass_fdlist; 960s # } _ExtendedGDBusMethodInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusSignalInfo parent_struct; 960s # const gchar *signal_name; 960s # } _ExtendedGDBusSignalInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusPropertyInfo parent_struct; 960s # const gchar *hyphen_name; 960s # guint use_gvariant : 1; 960s # guint emits_changed_signal : 1; 960s # } _ExtendedGDBusPropertyInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusInterfaceInfo parent_struct; 960s # const gchar *hyphen_name; 960s # } _ExtendedGDBusInterfaceInfo; 960s # 960s # typedef struct 960s # { 960s # const _ExtendedGDBusPropertyInfo *info; 960s # guint prop_id; 960s # GValue orig_value; /* the value before the change */ 960s # } ChangedProperty; 960s # 960s # static void 960s # _changed_property_free (ChangedProperty *data) 960s # { 960s # g_value_unset (&data->orig_value); 960s # g_free (data); 960s # } 960s # 960s # static gboolean 960s # _g_strv_equal0 (gchar **a, gchar **b) 960s # { 960s # gboolean ret = FALSE; 960s # guint n; 960s # if (a == NULL && b == NULL) 960s # { 960s # ret = TRUE; 960s # goto out; 960s # } 960s # if (a == NULL || b == NULL) 960s # goto out; 960s # if (g_strv_length (a) != g_strv_length (b)) 960s # goto out; 960s # for (n = 0; a[n] != NULL; n++) 960s # if (g_strcmp0 (a[n], b[n]) != 0) 960s # goto out; 960s # ret = TRUE; 960s # out: 960s # return ret; 960s # } 960s # 960s # static gboolean 960s # _g_variant_equal0 (GVariant *a, GVariant *b) 960s # { 960s # gboolean ret = FALSE; 960s # if (a == NULL && b == NULL) 960s # { 960s # ret = TRUE; 960s # goto out; 960s # } 960s # if (a == NULL || b == NULL) 960s # goto out; 960s # ret = g_variant_equal (a, b); 960s # out: 960s # return ret; 960s # } 960s # 960s # G_GNUC_UNUSED static gboolean 960s # _g_value_equal (const GValue *a, const GValue *b) 960s # { 960s # gboolean ret = FALSE; 960s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 960s # switch (G_VALUE_TYPE (a)) 960s # { 960s # case G_TYPE_BOOLEAN: 960s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 960s # break; 960s # case G_TYPE_UCHAR: 960s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 960s # break; 960s # case G_TYPE_INT: 960s # ret = (g_value_get_int (a) == g_value_get_int (b)); 960s # break; 960s # case G_TYPE_UINT: 960s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 960s # break; 960s # case G_TYPE_INT64: 960s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 960s # break; 960s # case G_TYPE_UINT64: 960s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 960s # break; 960s # case G_TYPE_DOUBLE: 960s # { 960s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 960s # gdouble da = g_value_get_double (a); 960s # gdouble db = g_value_get_double (b); 960s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 960s # } 960s # break; 960s # case G_TYPE_STRING: 960s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 960s # break; 960s # case G_TYPE_VARIANT: 960s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 960s # break; 960s # default: 960s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 960s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 960s # else 960s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 960s # break; 960s # } 960s # return ret; 960s # } 960s # 960s # /* ------------------------------------------------------------------------ 960s # * Code for interface org.project.SignalingIface 960s # * ------------------------------------------------------------------------ 960s # */ 960s # 960s # /** 960s # * SECTION:OrgProjectSignalingIface 960s # * @title: OrgProjectSignalingIface 960s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 960s # * 960s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 960s # */ 960s # 960s # enum 960s # { 960s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 960s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 960s # }; 960s # 960s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 960s # 960s # /* ---- Introspection data for org.project.SignalingIface ---- */ 960s # 960s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 960s # { 960s # { 960s # -1, 960s # (gchar *) "SimpleSignal", 960s # NULL, 960s # NULL 960s # }, 960s # "simple-signal" 960s # }; 960s # 960s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 960s # { 960s # { 960s # -1, 960s # (gchar *) "arg_q", 960s # (gchar *) "q", 960s # NULL 960s # }, 960s # FALSE 960s # }; 960s # 960s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 960s # { 960s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 960s # NULL 960s # }; 960s # 960s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 960s # { 960s # { 960s # -1, 960s # (gchar *) "SingleArgSignalQ", 960s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 960s # NULL 960s # }, 960s # "single-arg-signal-q" 960s # }; 960s # 960s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 960s # { 960s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 960s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 960s # NULL 960s # }; 960s # 960s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 960s # { 960s # { 960s # -1, 960s # (gchar *) "org.project.SignalingIface", 960s # NULL, 960s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 960s # NULL, 960s # NULL 960s # }, 960s # "org-project-signaling-iface", 960s # }; 960s # 960s # 960s # /** 960s # * org_project_signaling_iface_interface_info: 960s # * 960s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 960s # * 960s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 960s # */ 960s # GDBusInterfaceInfo * 960s # org_project_signaling_iface_interface_info (void) 960s # { 960s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_override_properties: 960s # * @klass: The class structure for a #GObject derived class. 960s # * @property_id_begin: The property id to assign to the first overridden property. 960s # * 960s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 960s # * The properties are overridden in the order they are defined. 960s # * 960s # * Returns: The last property id. 960s # */ 960s # guint 960s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 960s # { 960s # return property_id_begin - 1; 960s # } 960s # 960s # 960s # inline static void 960s # org_project_signaling_iface_signal_marshal_simple_signal ( 960s # GClosure *closure, 960s # GValue *return_value, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint, 960s # void *marshal_data) 960s # { 960s # g_cclosure_marshal_VOID__VOID (closure, 960s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 960s # } 960s # 960s # inline static void 960s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 960s # GClosure *closure, 960s # GValue *return_value, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint, 960s # void *marshal_data) 960s # { 960s # g_cclosure_marshal_VOID__UINT (closure, 960s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 960s # } 960s # 960s # 960s # /** 960s # * OrgProjectSignalingIface: 960s # * 960s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceIface: 960s # * @parent_iface: The parent interface. 960s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 960s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 960s # * 960s # * Virtual table for the D-Bus interface org.project.SignalingIface. 960s # */ 960s # 960s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 960s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 960s # 960s # static void 960s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 960s # { 960s # /* GObject signals for received D-Bus signals: */ 960s # /** 960s # * OrgProjectSignalingIface::simple-signal: 960s # * @object: A #OrgProjectSignalingIface. 960s # * 960s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 960s # * 960s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 960s # */ 960s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 960s # g_signal_new ("simple-signal", 960s # G_TYPE_FROM_INTERFACE (iface), 960s # G_SIGNAL_RUN_LAST, 960s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 960s # NULL, 960s # NULL, 960s # org_project_signaling_iface_signal_marshal_simple_signal, 960s # G_TYPE_NONE, 960s # 0); 960s # 960s # /** 960s # * OrgProjectSignalingIface::single-arg-signal-q: 960s # * @object: A #OrgProjectSignalingIface. 960s # * @arg_arg_q: Argument. 960s # * 960s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 960s # * 960s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 960s # */ 960s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 960s # g_signal_new ("single-arg-signal-q", 960s # G_TYPE_FROM_INTERFACE (iface), 960s # G_SIGNAL_RUN_LAST, 960s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 960s # NULL, 960s # NULL, 960s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 960s # G_TYPE_NONE, 960s # 1, G_TYPE_UINT); 960s # 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_emit_simple_signal: 960s # * @object: A #OrgProjectSignalingIface. 960s # * 960s # * Emits the "SimpleSignal" D-Bus signal. 960s # */ 960s # void 960s # org_project_signaling_iface_emit_simple_signal ( 960s # OrgProjectSignalingIface *object) 960s # { 960s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_emit_single_arg_signal_q: 960s # * @object: A #OrgProjectSignalingIface. 960s # * @arg_arg_q: Argument to pass with the signal. 960s # * 960s # * Emits the "SingleArgSignalQ" D-Bus signal. 960s # */ 960s # void 960s # org_project_signaling_iface_emit_single_arg_signal_q ( 960s # OrgProjectSignalingIface *object, 960s # guint16 arg_arg_q) 960s # { 960s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 960s # } 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceProxy: 960s # * 960s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceProxyClass: 960s # * @parent_class: The parent class. 960s # * 960s # * Class structure for #OrgProjectSignalingIfaceProxy. 960s # */ 960s # 960s # struct _OrgProjectSignalingIfaceProxyPrivate 960s # { 960s # GData *qdata; 960s # }; 960s # 960s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 960s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 960s # 960s # #else 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 960s # 960s # #endif 960s # static void 960s # org_project_signaling_iface_proxy_finalize (GObject *object) 960s # { 960s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 960s # g_datalist_clear (&proxy->priv->qdata); 960s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 960s # guint prop_id G_GNUC_UNUSED, 960s # GValue *value G_GNUC_UNUSED, 960s # GParamSpec *pspec G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 960s # guint prop_id G_GNUC_UNUSED, 960s # const GValue *value G_GNUC_UNUSED, 960s # GParamSpec *pspec G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 960s # const gchar *sender_name G_GNUC_UNUSED, 960s # const gchar *signal_name, 960s # GVariant *parameters) 960s # { 960s # _ExtendedGDBusSignalInfo *info; 960s # GVariantIter iter; 960s # GVariant *child; 960s # GValue *paramv; 960s # gsize num_params; 960s # gsize n; 960s # guint signal_id; 960s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 960s # if (info == NULL) 960s # return; 960s # num_params = g_variant_n_children (parameters); 960s # paramv = g_new0 (GValue, num_params + 1); 960s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_set_object (¶mv[0], proxy); 960s # g_variant_iter_init (&iter, parameters); 960s # n = 1; 960s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 960s # { 960s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 960s # if (arg_info->use_gvariant) 960s # { 960s # g_value_init (¶mv[n], G_TYPE_VARIANT); 960s # g_value_set_variant (¶mv[n], child); 960s # n++; 960s # } 960s # else 960s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 960s # g_variant_unref (child); 960s # } 960s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_signal_emitv (paramv, signal_id, 0, NULL); 960s # for (n = 0; n < num_params + 1; n++) 960s # g_value_unset (¶mv[n]); 960s # g_free (paramv); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 960s # GVariant *changed_properties, 960s # const gchar *const *invalidated_properties) 960s # { 960s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 960s # guint n; 960s # const gchar *key; 960s # GVariantIter *iter; 960s # _ExtendedGDBusPropertyInfo *info; 960s # g_variant_get (changed_properties, "a{sv}", &iter); 960s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 960s # { 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 960s # g_datalist_remove_data (&proxy->priv->qdata, key); 960s # if (info != NULL) 960s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 960s # } 960s # g_variant_iter_free (iter); 960s # for (n = 0; invalidated_properties[n] != NULL; n++) 960s # { 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 960s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 960s # if (info != NULL) 960s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 960s # } 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 960s # { 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 960s # #else 960s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 960s # #endif 960s # 960s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 960s # { 960s # GObjectClass *gobject_class; 960s # GDBusProxyClass *proxy_class; 960s # 960s # gobject_class = G_OBJECT_CLASS (klass); 960s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 960s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 960s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 960s # 960s # proxy_class = G_DBUS_PROXY_CLASS (klass); 960s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 960s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 960s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 960s # #endif 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new: 960s # * @connection: A #GDBusConnection. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 960s # * 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 960s # * 960s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 960s # */ 960s # void 960s # org_project_signaling_iface_proxy_new ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_finish: 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 960s # * @error: Return location for error or %NULL 960s # * 960s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_finish ( 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GObject *ret; 960s # GObject *source_object; 960s # source_object = g_async_result_get_source_object (res); 960s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 960s # g_object_unref (source_object); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_sync: 960s # * @connection: A #GDBusConnection. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL 960s # * 960s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 960s # * 960s # * The calling thread is blocked until a reply is received. 960s # * 960s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_sync ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GInitable *ret; 960s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus: 960s # * @bus_type: A #GBusType. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: A bus name (well-known or unique). 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 960s # * 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 960s # * 960s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 960s # */ 960s # void 960s # org_project_signaling_iface_proxy_new_for_bus ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus_finish: 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 960s # * @error: Return location for error or %NULL 960s # * 960s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_for_bus_finish ( 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GObject *ret; 960s # GObject *source_object; 960s # source_object = g_async_result_get_source_object (res); 960s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 960s # g_object_unref (source_object); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus_sync: 960s # * @bus_type: A #GBusType. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: A bus name (well-known or unique). 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL 960s # * 960s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 960s # * 960s # * The calling thread is blocked until a reply is received. 960s # * 960s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_for_bus_sync ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GInitable *ret; 960s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceSkeleton: 960s # * 960s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceSkeletonClass: 960s # * @parent_class: The parent class. 960s # * 960s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 960s # */ 960s # 960s # struct _OrgProjectSignalingIfaceSkeletonPrivate 960s # { 960s # GValue *properties; 960s # GList *changed_properties; 960s # GSource *changed_properties_idle_source; 960s # GMainContext *context; 960s # GMutex lock; 960s # }; 960s # 960s # static void 960s # _org_project_signaling_iface_skeleton_handle_method_call ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name, 960s # const gchar *method_name, 960s # GVariant *parameters, 960s # GDBusMethodInvocation *invocation, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # _ExtendedGDBusMethodInfo *info; 960s # GVariantIter iter; 960s # GVariant *child; 960s # GValue *paramv; 960s # gsize num_params; 960s # guint num_extra; 960s # gsize n; 960s # guint signal_id; 960s # GValue return_value = G_VALUE_INIT; 960s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 960s # g_assert (info != NULL); 960s # num_params = g_variant_n_children (parameters); 960s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 960s # n = 0; 960s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_set_object (¶mv[n++], skeleton); 960s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 960s # g_value_set_object (¶mv[n++], invocation); 960s # if (info->pass_fdlist) 960s # { 960s # #ifdef G_OS_UNIX 960s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 960s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 960s # #else 960s # g_assert_not_reached (); 960s # #endif 960s # } 960s # g_variant_iter_init (&iter, parameters); 960s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 960s # { 960s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 960s # if (arg_info->use_gvariant) 960s # { 960s # g_value_init (¶mv[n], G_TYPE_VARIANT); 960s # g_value_set_variant (¶mv[n], child); 960s # n++; 960s # } 960s # else 960s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 960s # g_variant_unref (child); 960s # } 960s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_init (&return_value, G_TYPE_BOOLEAN); 960s # g_signal_emitv (paramv, signal_id, 0, &return_value); 960s # if (!g_value_get_boolean (&return_value)) 960s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 960s # g_value_unset (&return_value); 960s # for (n = 0; n < num_params + num_extra; n++) 960s # g_value_unset (¶mv[n]); 960s # g_free (paramv); 960s # } 960s # 960s # static GVariant * 960s # _org_project_signaling_iface_skeleton_handle_get_property ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name G_GNUC_UNUSED, 960s # const gchar *property_name, 960s # GError **error, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # GValue value = G_VALUE_INIT; 960s # GParamSpec *pspec; 960s # _ExtendedGDBusPropertyInfo *info; 960s # GVariant *ret; 960s # ret = NULL; 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 960s # g_assert (info != NULL); 960s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 960s # if (pspec == NULL) 960s # { 960s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 960s # } 960s # else 960s # { 960s # g_value_init (&value, pspec->value_type); 960s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 960s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 960s # g_value_unset (&value); 960s # } 960s # return ret; 960s # } 960s # 960s # static gboolean 960s # _org_project_signaling_iface_skeleton_handle_set_property ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name G_GNUC_UNUSED, 960s # const gchar *property_name, 960s # GVariant *variant, 960s # GError **error, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # GValue value = G_VALUE_INIT; 960s # GParamSpec *pspec; 960s # _ExtendedGDBusPropertyInfo *info; 960s # gboolean ret; 960s # ret = FALSE; 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 960s # g_assert (info != NULL); 960s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 960s # if (pspec == NULL) 960s # { 960s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 960s # } 960s # else 960s # { 960s # if (info->use_gvariant) 960s # g_value_set_variant (&value, variant); 960s # else 960s # g_dbus_gvariant_to_gvalue (variant, &value); 960s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 960s # g_value_unset (&value); 960s # ret = TRUE; 960s # } 960s # return ret; 960s # } 960s # 960s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 960s # { 960s # _org_project_signaling_iface_skeleton_handle_method_call, 960s # _org_project_signaling_iface_skeleton_handle_get_property, 960s # _org_project_signaling_iface_skeleton_handle_set_property, 960s # {NULL} 960s # }; 960s # 960s # static GDBusInterfaceInfo * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 960s # { 960s # return org_project_signaling_iface_interface_info (); 960s # } 960s # 960s # static GDBusInterfaceVTable * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 960s # { 960s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 960s # } 960s # 960s # static GVariant * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 960s # 960s # GVariantBuilder builder; 960s # guint n; 960s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 960s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 960s # goto out; 960s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 960s # { 960s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 960s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 960s # { 960s # GVariant *value; 960s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 960s # if (value != NULL) 960s # { 960s # g_variant_take_ref (value); 960s # g_variant_builder_add (&builder, "{sv}", info->name, value); 960s # g_variant_unref (value); 960s # } 960s # } 960s # } 960s # out: 960s # return g_variant_builder_end (&builder); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # _org_project_signaling_iface_on_signal_simple_signal ( 960s # OrgProjectSignalingIface *object) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # 960s # GList *connections, *l; 960s # GVariant *signal_variant; 960s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 960s # 960s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 960s # for (l = connections; l != NULL; l = l->next) 960s # { 960s # GDBusConnection *connection = l->data; 960s # g_dbus_connection_emit_signal (connection, 960s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 960s # signal_variant, NULL); 960s # } 960s # g_variant_unref (signal_variant); 960s # g_list_free_full (connections, g_object_unref); 960s # } 960s # 960s # static void 960s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 960s # OrgProjectSignalingIface *object, 960s # guint16 arg_arg_q) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # 960s # GList *connections, *l; 960s # GVariant *signal_variant; 960s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 960s # 960s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 960s # arg_arg_q)); 960s # for (l = connections; l != NULL; l = l->next) 960s # { 960s # GDBusConnection *connection = l->data; 960s # g_dbus_connection_emit_signal (connection, 960s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 960s # signal_variant, NULL); 960s # } 960s # g_variant_unref (signal_variant); 960s # g_list_free_full (connections, g_object_unref); 960s # } 960s # 960s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 960s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 960s # 960s # #else 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 960s # 960s # #endif 960s # static void 960s # org_project_signaling_iface_skeleton_finalize (GObject *object) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 960s # if (skeleton->priv->changed_properties_idle_source != NULL) 960s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 960s # g_main_context_unref (skeleton->priv->context); 960s # g_mutex_clear (&skeleton->priv->lock); 960s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 960s # { 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 960s # #else 960s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 960s # #endif 960s # 960s # g_mutex_init (&skeleton->priv->lock); 960s # skeleton->priv->context = g_main_context_ref_thread_default (); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 960s # { 960s # GObjectClass *gobject_class; 960s # GDBusInterfaceSkeletonClass *skeleton_class; 960s # 960s # gobject_class = G_OBJECT_CLASS (klass); 960s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 960s # 960s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 960s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 960s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 960s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 960s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 960s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 960s # #endif 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 960s # { 960s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 960s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_skeleton_new: 960s # * 960s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_skeleton_new (void) 960s # { 960s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 960s # } 960s # /tmp/tmpqzg2h3yi/tmpzcheav4p.xml: 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqzg2h3yi/tmpzcheav4p.xml', '--output', '-', '--body'] 960s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 960s # Output: /* 960s # * This file is generated by gdbus-codegen, do not modify it. 960s # * 960s # * The license of this code is the same as for the D-Bus interface description 960s # * it was derived from. Note that it links to GLib, so must comply with the 960s # * LGPL linking clauses. 960s # */ 960s # 960s # #ifdef HAVE_CONFIG_H 960s # # include "config.h" 960s # #endif 960s # 960s # #include 960s # #ifdef G_OS_UNIX 960s # # include 960s # #endif 960s # 960s # #ifdef G_ENABLE_DEBUG 960s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 960s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 960s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 960s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 960s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 960s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 960s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 960s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 960s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 960s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 960s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 960s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 960s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 960s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 960s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 960s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 960s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 960s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 960s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 960s # #else /* !G_ENABLE_DEBUG */ 960s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 960s # * Do not access GValues directly in your code. Instead, use the 960s # * g_value_get_*() functions 960s # */ 960s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 960s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 960s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 960s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 960s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 960s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 960s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 960s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 960s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 960s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 960s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 960s # #endif /* !G_ENABLE_DEBUG */ 960s # 960s # typedef struct 960s # { 960s # GDBusArgInfo parent_struct; 960s # gboolean use_gvariant; 960s # } _ExtendedGDBusArgInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusMethodInfo parent_struct; 960s # const gchar *signal_name; 960s # gboolean pass_fdlist; 960s # } _ExtendedGDBusMethodInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusSignalInfo parent_struct; 960s # const gchar *signal_name; 960s # } _ExtendedGDBusSignalInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusPropertyInfo parent_struct; 960s # const gchar *hyphen_name; 960s # guint use_gvariant : 1; 960s # guint emits_changed_signal : 1; 960s # } _ExtendedGDBusPropertyInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusInterfaceInfo parent_struct; 960s # const gchar *hyphen_name; 960s # } _ExtendedGDBusInterfaceInfo; 960s # 960s # typedef struct 960s # { 960s # const _ExtendedGDBusPropertyInfo *info; 960s # guint prop_id; 960s # GValue orig_value; /* the value before the change */ 960s # } ChangedProperty; 960s # 960s # static void 960s # _changed_property_free (ChangedProperty *data) 960s # { 960s # g_value_unset (&data->orig_value); 960s # g_free (data); 960s # } 960s # 960s # static gboolean 960s # _g_strv_equal0 (gchar **a, gchar **b) 960s # { 960s # gboolean ret = FALSE; 960s # guint n; 960s # if (a == NULL && b == NULL) 960s # { 960s # ret = TRUE; 960s # goto out; 960s # } 960s # if (a == NULL || b == NULL) 960s # goto out; 960s # if (g_strv_length (a) != g_strv_length (b)) 960s # goto out; 960s # for (n = 0; a[n] != NULL; n++) 960s # if (g_strcmp0 (a[n], b[n]) != 0) 960s # goto out; 960s # ret = TRUE; 960s # out: 960s # return ret; 960s # } 960s # 960s # static gboolean 960s # _g_variant_equal0 (GVariant *a, GVariant *b) 960s # { 960s # gboolean ret = FALSE; 960s # if (a == NULL && b == NULL) 960s # { 960s # ret = TRUE; 960s # goto out; 960s # } 960s # if (a == NULL || b == NULL) 960s # goto out; 960s # ret = g_variant_equal (a, b); 960s # out: 960s # return ret; 960s # } 960s # 960s # G_GNUC_UNUSED static gboolean 960s # _g_value_equal (const GValue *a, const GValue *b) 960s # { 960s # gboolean ret = FALSE; 960s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 960s # switch (G_VALUE_TYPE (a)) 960s # { 960s # case G_TYPE_BOOLEAN: 960s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 960s # break; 960s # case G_TYPE_UCHAR: 960s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 960s # break; 960s # case G_TYPE_INT: 960s # ret = (g_value_get_int (a) == g_value_get_int (b)); 960s # break; 960s # case G_TYPE_UINT: 960s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 960s # break; 960s # case G_TYPE_INT64: 960s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 960s # break; 960s # case G_TYPE_UINT64: 960s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 960s # break; 960s # case G_TYPE_DOUBLE: 960s # { 960s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 960s # gdouble da = g_value_get_double (a); 960s # gdouble db = g_value_get_double (b); 960s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 960s # } 960s # break; 960s # case G_TYPE_STRING: 960s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 960s # break; 960s # case G_TYPE_VARIANT: 960s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 960s # break; 960s # default: 960s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 960s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 960s # else 960s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 960s # break; 960s # } 960s # return ret; 960s # } 960s # 960s # /* ------------------------------------------------------------------------ 960s # * Code for interface org.project.SignalingIface 960s # * ------------------------------------------------------------------------ 960s # */ 960s # 960s # /** 960s # * SECTION:OrgProjectSignalingIface 960s # * @title: OrgProjectSignalingIface 960s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 960s # * 960s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 960s # */ 960s # 960s # enum 960s # { 960s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 960s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 960s # }; 960s # 960s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 960s # 960s # /* ---- Introspection data for org.project.SignalingIface ---- */ 960s # 960s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 960s # { 960s # { 960s # -1, 960s # (gchar *) "SimpleSignal", 960s # NULL, 960s # NULL 960s # }, 960s # "simple-signal" 960s # }; 960s # 960s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 960s # { 960s # { 960s # -1, 960s # (gchar *) "arg_i", 960s # (gchar *) "i", 960s # NULL 960s # }, 960s # FALSE 960s # }; 960s # 960s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 960s # { 960s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 960s # NULL 960s # }; 960s # 960s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 960s # { 960s # { 960s # -1, 960s # (gchar *) "SingleArgSignalI", 960s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 960s # NULL 960s # }, 960s # "single-arg-signal-i" 960s # }; 960s # 960s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 960s # { 960s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 960s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 960s # NULL 960s # }; 960s # 960s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 960s # { 960s # { 960s # -1, 960s # (gchar *) "org.project.SignalingIface", 960s # NULL, 960s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 960s # NULL, 960s # NULL 960s # }, 960s # "org-project-signaling-iface", 960s # }; 960s # 960s # 960s # /** 960s # * org_project_signaling_iface_interface_info: 960s # * 960s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 960s # * 960s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 960s # */ 960s # GDBusInterfaceInfo * 960s # org_project_signaling_iface_interface_info (void) 960s # { 960s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_override_properties: 960s # * @klass: The class structure for a #GObject derived class. 960s # * @property_id_begin: The property id to assign to the first overridden property. 960s # * 960s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 960s # * The properties are overridden in the order they are defined. 960s # * 960s # * Returns: The last property id. 960s # */ 960s # guint 960s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 960s # { 960s # return property_id_begin - 1; 960s # } 960s # 960s # 960s # inline static void 960s # org_project_signaling_iface_signal_marshal_simple_signal ( 960s # GClosure *closure, 960s # GValue *return_value, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint, 960s # void *marshal_data) 960s # { 960s # g_cclosure_marshal_VOID__VOID (closure, 960s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 960s # } 960s # 960s # inline static void 960s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 960s # GClosure *closure, 960s # GValue *return_value, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint, 960s # void *marshal_data) 960s # { 960s # g_cclosure_marshal_VOID__INT (closure, 960s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 960s # } 960s # 960s # 960s # /** 960s # * OrgProjectSignalingIface: 960s # * 960s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceIface: 960s # * @parent_iface: The parent interface. 960s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 960s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 960s # * 960s # * Virtual table for the D-Bus interface org.project.SignalingIface. 960s # */ 960s # 960s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 960s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 960s # 960s # static void 960s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 960s # { 960s # /* GObject signals for received D-Bus signals: */ 960s # /** 960s # * OrgProjectSignalingIface::simple-signal: 960s # * @object: A #OrgProjectSignalingIface. 960s # * 960s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 960s # * 960s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 960s # */ 960s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 960s # g_signal_new ("simple-signal", 960s # G_TYPE_FROM_INTERFACE (iface), 960s # G_SIGNAL_RUN_LAST, 960s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 960s # NULL, 960s # NULL, 960s # org_project_signaling_iface_signal_marshal_simple_signal, 960s # G_TYPE_NONE, 960s # 0); 960s # 960s # /** 960s # * OrgProjectSignalingIface::single-arg-signal-i: 960s # * @object: A #OrgProjectSignalingIface. 960s # * @arg_arg_i: Argument. 960s # * 960s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 960s # * 960s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 960s # */ 960s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 960s # g_signal_new ("single-arg-signal-i", 960s # G_TYPE_FROM_INTERFACE (iface), 960s # G_SIGNAL_RUN_LAST, 960s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 960s # NULL, 960s # NULL, 960s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 960s # G_TYPE_NONE, 960s # 1, G_TYPE_INT); 960s # 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_emit_simple_signal: 960s # * @object: A #OrgProjectSignalingIface. 960s # * 960s # * Emits the "SimpleSignal" D-Bus signal. 960s # */ 960s # void 960s # org_project_signaling_iface_emit_simple_signal ( 960s # OrgProjectSignalingIface *object) 960s # { 960s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_emit_single_arg_signal_i: 960s # * @object: A #OrgProjectSignalingIface. 960s # * @arg_arg_i: Argument to pass with the signal. 960s # * 960s # * Emits the "SingleArgSignalI" D-Bus signal. 960s # */ 960s # void 960s # org_project_signaling_iface_emit_single_arg_signal_i ( 960s # OrgProjectSignalingIface *object, 960s # gint arg_arg_i) 960s # { 960s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 960s # } 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceProxy: 960s # * 960s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceProxyClass: 960s # * @parent_class: The parent class. 960s # * 960s # * Class structure for #OrgProjectSignalingIfaceProxy. 960s # */ 960s # 960s # struct _OrgProjectSignalingIfaceProxyPrivate 960s # { 960s # GData *qdata; 960s # }; 960s # 960s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 960s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 960s # 960s # #else 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 960s # 960s # #endif 960s # static void 960s # org_project_signaling_iface_proxy_finalize (GObject *object) 960s # { 960s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 960s # g_datalist_clear (&proxy->priv->qdata); 960s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 960s # guint prop_id G_GNUC_UNUSED, 960s # GValue *value G_GNUC_UNUSED, 960s # GParamSpec *pspec G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 960s # guint prop_id G_GNUC_UNUSED, 960s # const GValue *value G_GNUC_UNUSED, 960s # GParamSpec *pspec G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 960s # const gchar *sender_name G_GNUC_UNUSED, 960s # const gchar *signal_name, 960s # GVariant *parameters) 960s # { 960s # _ExtendedGDBusSignalInfo *info; 960s # GVariantIter iter; 960s # GVariant *child; 960s # GValue *paramv; 960s # gsize num_params; 960s # gsize n; 960s # guint signal_id; 960s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 960s # if (info == NULL) 960s # return; 960s # num_params = g_variant_n_children (parameters); 960s # paramv = g_new0 (GValue, num_params + 1); 960s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_set_object (¶mv[0], proxy); 960s # g_variant_iter_init (&iter, parameters); 960s # n = 1; 960s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 960s # { 960s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 960s # if (arg_info->use_gvariant) 960s # { 960s # g_value_init (¶mv[n], G_TYPE_VARIANT); 960s # g_value_set_variant (¶mv[n], child); 960s # n++; 960s # } 960s # else 960s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 960s # g_variant_unref (child); 960s # } 960s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_signal_emitv (paramv, signal_id, 0, NULL); 960s # for (n = 0; n < num_params + 1; n++) 960s # g_value_unset (¶mv[n]); 960s # g_free (paramv); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 960s # GVariant *changed_properties, 960s # const gchar *const *invalidated_properties) 960s # { 960s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 960s # guint n; 960s # const gchar *key; 960s # GVariantIter *iter; 960s # _ExtendedGDBusPropertyInfo *info; 960s # g_variant_get (changed_properties, "a{sv}", &iter); 960s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 960s # { 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 960s # g_datalist_remove_data (&proxy->priv->qdata, key); 960s # if (info != NULL) 960s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 960s # } 960s # g_variant_iter_free (iter); 960s # for (n = 0; invalidated_properties[n] != NULL; n++) 960s # { 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 960s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 960s # if (info != NULL) 960s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 960s # } 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 960s # { 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 960s # #else 960s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 960s # #endif 960s # 960s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 960s # { 960s # GObjectClass *gobject_class; 960s # GDBusProxyClass *proxy_class; 960s # 960s # gobject_class = G_OBJECT_CLASS (klass); 960s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 960s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 960s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 960s # 960s # proxy_class = G_DBUS_PROXY_CLASS (klass); 960s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 960s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 960s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 960s # #endif 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new: 960s # * @connection: A #GDBusConnection. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 960s # * 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 960s # * 960s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 960s # */ 960s # void 960s # org_project_signaling_iface_proxy_new ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_finish: 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 960s # * @error: Return location for error or %NULL 960s # * 960s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_finish ( 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GObject *ret; 960s # GObject *source_object; 960s # source_object = g_async_result_get_source_object (res); 960s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 960s # g_object_unref (source_object); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_sync: 960s # * @connection: A #GDBusConnection. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL 960s # * 960s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 960s # * 960s # * The calling thread is blocked until a reply is received. 960s # * 960s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_sync ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GInitable *ret; 960s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus: 960s # * @bus_type: A #GBusType. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: A bus name (well-known or unique). 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 960s # * 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 960s # * 960s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 960s # */ 960s # void 960s # org_project_signaling_iface_proxy_new_for_bus ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus_finish: 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 960s # * @error: Return location for error or %NULL 960s # * 960s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_for_bus_finish ( 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GObject *ret; 960s # GObject *source_object; 960s # source_object = g_async_result_get_source_object (res); 960s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 960s # g_object_unref (source_object); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus_sync: 960s # * @bus_type: A #GBusType. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: A bus name (well-known or unique). 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL 960s # * 960s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 960s # * 960s # * The calling thread is blocked until a reply is received. 960s # * 960s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_for_bus_sync ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GInitable *ret; 960s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceSkeleton: 960s # * 960s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceSkeletonClass: 960s # * @parent_class: The parent class. 960s # * 960s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 960s # */ 960s # 960s # struct _OrgProjectSignalingIfaceSkeletonPrivate 960s # { 960s # GValue *properties; 960s # GList *changed_properties; 960s # GSource *changed_properties_idle_source; 960s # GMainContext *context; 960s # GMutex lock; 960s # }; 960s # 960s # static void 960s # _org_project_signaling_iface_skeleton_handle_method_call ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name, 960s # const gchar *method_name, 960s # GVariant *parameters, 960s # GDBusMethodInvocation *invocation, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # _ExtendedGDBusMethodInfo *info; 960s # GVariantIter iter; 960s # GVariant *child; 960s # GValue *paramv; 960s # gsize num_params; 960s # guint num_extra; 960s # gsize n; 960s # guint signal_id; 960s # GValue return_value = G_VALUE_INIT; 960s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 960s # g_assert (info != NULL); 960s # num_params = g_variant_n_children (parameters); 960s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 960s # n = 0; 960s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_set_object (¶mv[n++], skeleton); 960s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 960s # g_value_set_object (¶mv[n++], invocation); 960s # if (info->pass_fdlist) 960s # { 960s # #ifdef G_OS_UNIX 960s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 960s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 960s # #else 960s # g_assert_not_reached (); 960s # #endif 960s # } 960s # g_variant_iter_init (&iter, parameters); 960s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 960s # { 960s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 960s # if (arg_info->use_gvariant) 960s # { 960s # g_value_init (¶mv[n], G_TYPE_VARIANT); 960s # g_value_set_variant (¶mv[n], child); 960s # n++; 960s # } 960s # else 960s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 960s # g_variant_unref (child); 960s # } 960s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_init (&return_value, G_TYPE_BOOLEAN); 960s # g_signal_emitv (paramv, signal_id, 0, &return_value); 960s # if (!g_value_get_boolean (&return_value)) 960s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 960s # g_value_unset (&return_value); 960s # for (n = 0; n < num_params + num_extra; n++) 960s # g_value_unset (¶mv[n]); 960s # g_free (paramv); 960s # } 960s # 960s # static GVariant * 960s # _org_project_signaling_iface_skeleton_handle_get_property ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name G_GNUC_UNUSED, 960s # const gchar *property_name, 960s # GError **error, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # GValue value = G_VALUE_INIT; 960s # GParamSpec *pspec; 960s # _ExtendedGDBusPropertyInfo *info; 960s # GVariant *ret; 960s # ret = NULL; 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 960s # g_assert (info != NULL); 960s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 960s # if (pspec == NULL) 960s # { 960s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 960s # } 960s # else 960s # { 960s # g_value_init (&value, pspec->value_type); 960s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 960s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 960s # g_value_unset (&value); 960s # } 960s # return ret; 960s # } 960s # 960s # static gboolean 960s # _org_project_signaling_iface_skeleton_handle_set_property ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name G_GNUC_UNUSED, 960s # const gchar *property_name, 960s # GVariant *variant, 960s # GError **error, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # GValue value = G_VALUE_INIT; 960s # GParamSpec *pspec; 960s # _ExtendedGDBusPropertyInfo *info; 960s # gboolean ret; 960s # ret = FALSE; 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 960s # g_assert (info != NULL); 960s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 960s # if (pspec == NULL) 960s # { 960s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 960s # } 960s # else 960s # { 960s # if (info->use_gvariant) 960s # g_value_set_variant (&value, variant); 960s # else 960s # g_dbus_gvariant_to_gvalue (variant, &value); 960s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 960s # g_value_unset (&value); 960s # ret = TRUE; 960s # } 960s # return ret; 960s # } 960s # 960s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 960s # { 960s # _org_project_signaling_iface_skeleton_handle_method_call, 960s # _org_project_signaling_iface_skeleton_handle_get_property, 960s # _org_project_signaling_iface_skeleton_handle_set_property, 960s # {NULL} 960s # }; 960s # 960s # static GDBusInterfaceInfo * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 960s # { 960s # return org_project_signaling_iface_interface_info (); 960s # } 960s # 960s # static GDBusInterfaceVTable * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 960s # { 960s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 960s # } 960s # 960s # static GVariant * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 960s # 960s # GVariantBuilder builder; 960s # guint n; 960s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 960s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 960s # goto out; 960s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 960s # { 960s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 960s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 960s # { 960s # GVariant *value; 960s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 960s # if (value != NULL) 960s # { 960s # g_variant_take_ref (value); 960s # g_variant_builder_add (&builder, "{sv}", info->name, value); 960s # g_variant_unref (value); 960s # } 960s # } 960s # } 960s # out: 960s # return g_variant_builder_end (&builder); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # _org_project_signaling_iface_on_signal_simple_signal ( 960s # OrgProjectSignalingIface *object) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # 960s # GList *connections, *l; 960s # GVariant *signal_variant; 960s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 960s # 960s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 960s # for (l = connections; l != NULL; l = l->next) 960s # { 960s # GDBusConnection *connection = l->data; 960s # g_dbus_connection_emit_signal (connection, 960s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 960s # signal_variant, NULL); 960s # } 960s # g_variant_unref (signal_variant); 960s # g_list_free_full (connections, g_object_unref); 960s # } 960s # 960s # static void 960s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 960s # OrgProjectSignalingIface *object, 960s # gint arg_arg_i) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # 960s # GList *connections, *l; 960s # GVariant *signal_variant; 960s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 960s # 960s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 960s # arg_arg_i)); 960s # for (l = connections; l != NULL; l = l->next) 960s # { 960s # GDBusConnection *connection = l->data; 960s # g_dbus_connection_emit_signal (connection, 960s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 960s # signal_variant, NULL); 960s # } 960s # g_variant_unref (signal_variant); 960s # g_list_free_full (connections, g_object_unref); 960s # } 960s # 960s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 960s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 960s # 960s # #else 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 960s # 960s # #endif 960s # static void 960s # org_project_signaling_iface_skeleton_finalize (GObject *object) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 960s # if (skeleton->priv->changed_properties_idle_source != NULL) 960s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 960s # g_main_context_unref (skeleton->priv->context); 960s # g_mutex_clear (&skeleton->priv->lock); 960s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 960s # { 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 960s # #else 960s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 960s # #endif 960s # 960s # g_mutex_init (&skeleton->priv->lock); 960s # skeleton->priv->context = g_main_context_ref_thread_default (); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 960s # { 960s # GObjectClass *gobject_class; 960s # GDBusInterfaceSkeletonClass *skeleton_class; 960s # 960s # gobject_class = G_OBJECT_CLASS (klass); 960s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 960s # 960s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 960s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 960s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 960s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 960s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 960s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 960s # #endif 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 960s # { 960s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 960s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_skeleton_new: 960s # * 960s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_skeleton_new (void) 960s # { 960s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 960s # } 960s # /tmp/tmpqzg2h3yi/tmpendaaf5b.xml: 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqzg2h3yi/tmpendaaf5b.xml', '--output', '-', '--body'] 960s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 960s # Output: /* 960s # * This file is generated by gdbus-codegen, do not modify it. 960s # * 960s # * The license of this code is the same as for the D-Bus interface description 960s # * it was derived from. Note that it links to GLib, so must comply with the 960s # * LGPL linking clauses. 960s # */ 960s # 960s # #ifdef HAVE_CONFIG_H 960s # # include "config.h" 960s # #endif 960s # 960s # #include 960s # #ifdef G_OS_UNIX 960s # # include 960s # #endif 960s # 960s # #ifdef G_ENABLE_DEBUG 960s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 960s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 960s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 960s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 960s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 960s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 960s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 960s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 960s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 960s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 960s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 960s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 960s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 960s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 960s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 960s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 960s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 960s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 960s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 960s # #else /* !G_ENABLE_DEBUG */ 960s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 960s # * Do not access GValues directly in your code. Instead, use the 960s # * g_value_get_*() functions 960s # */ 960s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 960s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 960s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 960s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 960s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 960s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 960s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 960s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 960s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 960s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 960s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 960s # #endif /* !G_ENABLE_DEBUG */ 960s # 960s # typedef struct 960s # { 960s # GDBusArgInfo parent_struct; 960s # gboolean use_gvariant; 960s # } _ExtendedGDBusArgInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusMethodInfo parent_struct; 960s # const gchar *signal_name; 960s # gboolean pass_fdlist; 960s # } _ExtendedGDBusMethodInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusSignalInfo parent_struct; 960s # const gchar *signal_name; 960s # } _ExtendedGDBusSignalInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusPropertyInfo parent_struct; 960s # const gchar *hyphen_name; 960s # guint use_gvariant : 1; 960s # guint emits_changed_signal : 1; 960s # } _ExtendedGDBusPropertyInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusInterfaceInfo parent_struct; 960s # const gchar *hyphen_name; 960s # } _ExtendedGDBusInterfaceInfo; 960s # 960s # typedef struct 960s # { 960s # const _ExtendedGDBusPropertyInfo *info; 960s # guint prop_id; 960s # GValue orig_value; /* the value before the change */ 960s # } ChangedProperty; 960s # 960s # static void 960s # _changed_property_free (ChangedProperty *data) 960s # { 960s # g_value_unset (&data->orig_value); 960s # g_free (data); 960s # } 960s # 960s # static gboolean 960s # _g_strv_equal0 (gchar **a, gchar **b) 960s # { 960s # gboolean ret = FALSE; 960s # guint n; 960s # if (a == NULL && b == NULL) 960s # { 960s # ret = TRUE; 960s # goto out; 960s # } 960s # if (a == NULL || b == NULL) 960s # goto out; 960s # if (g_strv_length (a) != g_strv_length (b)) 960s # goto out; 960s # for (n = 0; a[n] != NULL; n++) 960s # if (g_strcmp0 (a[n], b[n]) != 0) 960s # goto out; 960s # ret = TRUE; 960s # out: 960s # return ret; 960s # } 960s # 960s # static gboolean 960s # _g_variant_equal0 (GVariant *a, GVariant *b) 960s # { 960s # gboolean ret = FALSE; 960s # if (a == NULL && b == NULL) 960s # { 960s # ret = TRUE; 960s # goto out; 960s # } 960s # if (a == NULL || b == NULL) 960s # goto out; 960s # ret = g_variant_equal (a, b); 960s # out: 960s # return ret; 960s # } 960s # 960s # G_GNUC_UNUSED static gboolean 960s # _g_value_equal (const GValue *a, const GValue *b) 960s # { 960s # gboolean ret = FALSE; 960s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 960s # switch (G_VALUE_TYPE (a)) 960s # { 960s # case G_TYPE_BOOLEAN: 960s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 960s # break; 960s # case G_TYPE_UCHAR: 960s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 960s # break; 960s # case G_TYPE_INT: 960s # ret = (g_value_get_int (a) == g_value_get_int (b)); 960s # break; 960s # case G_TYPE_UINT: 960s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 960s # break; 960s # case G_TYPE_INT64: 960s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 960s # break; 960s # case G_TYPE_UINT64: 960s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 960s # break; 960s # case G_TYPE_DOUBLE: 960s # { 960s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 960s # gdouble da = g_value_get_double (a); 960s # gdouble db = g_value_get_double (b); 960s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 960s # } 960s # break; 960s # case G_TYPE_STRING: 960s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 960s # break; 960s # case G_TYPE_VARIANT: 960s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 960s # break; 960s # default: 960s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 960s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 960s # else 960s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 960s # break; 960s # } 960s # return ret; 960s # } 960s # 960s # /* ------------------------------------------------------------------------ 960s # * Code for interface org.project.SignalingIface 960s # * ------------------------------------------------------------------------ 960s # */ 960s # 960s # /** 960s # * SECTION:OrgProjectSignalingIface 960s # * @title: OrgProjectSignalingIface 960s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 960s # * 960s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 960s # */ 960s # 960s # enum 960s # { 960s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 960s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 960s # }; 960s # 960s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 960s # 960s # /* ---- Introspection data for org.project.SignalingIface ---- */ 960s # 960s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 960s # { 960s # { 960s # -1, 960s # (gchar *) "SimpleSignal", 960s # NULL, 960s # NULL 960s # }, 960s # "simple-signal" 960s # }; 960s # 960s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 960s # { 960s # { 960s # -1, 960s # (gchar *) "arg_u", 960s # (gchar *) "u", 960s # NULL 960s # }, 960s # FALSE 960s # }; 960s # 960s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 960s # { 960s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 960s # NULL 960s # }; 960s # 960s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 960s # { 960s # { 960s # -1, 960s # (gchar *) "SingleArgSignalU", 960s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 960s # NULL 960s # }, 960s # "single-arg-signal-u" 960s # }; 960s # 960s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 960s # { 960s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 960s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 960s # NULL 960s # }; 960s # 960s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 960s # { 960s # { 960s # -1, 960s # (gchar *) "org.project.SignalingIface", 960s # NULL, 960s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 960s # NULL, 960s # NULL 960s # }, 960s # "org-project-signaling-iface", 960s # }; 960s # 960s # 960s # /** 960s # * org_project_signaling_iface_interface_info: 960s # * 960s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 960s # * 960s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 960s # */ 960s # GDBusInterfaceInfo * 960s # org_project_signaling_iface_interface_info (void) 960s # { 960s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_override_properties: 960s # * @klass: The class structure for a #GObject derived class. 960s # * @property_id_begin: The property id to assign to the first overridden property. 960s # * 960s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 960s # * The properties are overridden in the order they are defined. 960s # * 960s # * Returns: The last property id. 960s # */ 960s # guint 960s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 960s # { 960s # return property_id_begin - 1; 960s # } 960s # 960s # 960s # inline static void 960s # org_project_signaling_iface_signal_marshal_simple_signal ( 960s # GClosure *closure, 960s # GValue *return_value, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint, 960s # void *marshal_data) 960s # { 960s # g_cclosure_marshal_VOID__VOID (closure, 960s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 960s # } 960s # 960s # inline static void 960s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 960s # GClosure *closure, 960s # GValue *return_value, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint, 960s # void *marshal_data) 960s # { 960s # g_cclosure_marshal_VOID__UINT (closure, 960s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 960s # } 960s # 960s # 960s # /** 960s # * OrgProjectSignalingIface: 960s # * 960s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceIface: 960s # * @parent_iface: The parent interface. 960s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 960s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 960s # * 960s # * Virtual table for the D-Bus interface org.project.SignalingIface. 960s # */ 960s # 960s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 960s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 960s # 960s # static void 960s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 960s # { 960s # /* GObject signals for received D-Bus signals: */ 960s # /** 960s # * OrgProjectSignalingIface::simple-signal: 960s # * @object: A #OrgProjectSignalingIface. 960s # * 960s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 960s # * 960s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 960s # */ 960s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 960s # g_signal_new ("simple-signal", 960s # G_TYPE_FROM_INTERFACE (iface), 960s # G_SIGNAL_RUN_LAST, 960s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 960s # NULL, 960s # NULL, 960s # org_project_signaling_iface_signal_marshal_simple_signal, 960s # G_TYPE_NONE, 960s # 0); 960s # 960s # /** 960s # * OrgProjectSignalingIface::single-arg-signal-u: 960s # * @object: A #OrgProjectSignalingIface. 960s # * @arg_arg_u: Argument. 960s # * 960s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 960s # * 960s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 960s # */ 960s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 960s # g_signal_new ("single-arg-signal-u", 960s # G_TYPE_FROM_INTERFACE (iface), 960s # G_SIGNAL_RUN_LAST, 960s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 960s # NULL, 960s # NULL, 960s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 960s # G_TYPE_NONE, 960s # 1, G_TYPE_UINT); 960s # 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_emit_simple_signal: 960s # * @object: A #OrgProjectSignalingIface. 960s # * 960s # * Emits the "SimpleSignal" D-Bus signal. 960s # */ 960s # void 960s # org_project_signaling_iface_emit_simple_signal ( 960s # OrgProjectSignalingIface *object) 960s # { 960s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_emit_single_arg_signal_u: 960s # * @object: A #OrgProjectSignalingIface. 960s # * @arg_arg_u: Argument to pass with the signal. 960s # * 960s # * Emits the "SingleArgSignalU" D-Bus signal. 960s # */ 960s # void 960s # org_project_signaling_iface_emit_single_arg_signal_u ( 960s # OrgProjectSignalingIface *object, 960s # guint arg_arg_u) 960s # { 960s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 960s # } 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceProxy: 960s # * 960s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceProxyClass: 960s # * @parent_class: The parent class. 960s # * 960s # * Class structure for #OrgProjectSignalingIfaceProxy. 960s # */ 960s # 960s # struct _OrgProjectSignalingIfaceProxyPrivate 960s # { 960s # GData *qdata; 960s # }; 960s # 960s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 960s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 960s # 960s # #else 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 960s # 960s # #endif 960s # static void 960s # org_project_signaling_iface_proxy_finalize (GObject *object) 960s # { 960s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 960s # g_datalist_clear (&proxy->priv->qdata); 960s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 960s # guint prop_id G_GNUC_UNUSED, 960s # GValue *value G_GNUC_UNUSED, 960s # GParamSpec *pspec G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 960s # guint prop_id G_GNUC_UNUSED, 960s # const GValue *value G_GNUC_UNUSED, 960s # GParamSpec *pspec G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 960s # const gchar *sender_name G_GNUC_UNUSED, 960s # const gchar *signal_name, 960s # GVariant *parameters) 960s # { 960s # _ExtendedGDBusSignalInfo *info; 960s # GVariantIter iter; 960s # GVariant *child; 960s # GValue *paramv; 960s # gsize num_params; 960s # gsize n; 960s # guint signal_id; 960s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 960s # if (info == NULL) 960s # return; 960s # num_params = g_variant_n_children (parameters); 960s # paramv = g_new0 (GValue, num_params + 1); 960s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_set_object (¶mv[0], proxy); 960s # g_variant_iter_init (&iter, parameters); 960s # n = 1; 960s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 960s # { 960s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 960s # if (arg_info->use_gvariant) 960s # { 960s # g_value_init (¶mv[n], G_TYPE_VARIANT); 960s # g_value_set_variant (¶mv[n], child); 960s # n++; 960s # } 960s # else 960s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 960s # g_variant_unref (child); 960s # } 960s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_signal_emitv (paramv, signal_id, 0, NULL); 960s # for (n = 0; n < num_params + 1; n++) 960s # g_value_unset (¶mv[n]); 960s # g_free (paramv); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 960s # GVariant *changed_properties, 960s # const gchar *const *invalidated_properties) 960s # { 960s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 960s # guint n; 960s # const gchar *key; 960s # GVariantIter *iter; 960s # _ExtendedGDBusPropertyInfo *info; 960s # g_variant_get (changed_properties, "a{sv}", &iter); 960s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 960s # { 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 960s # g_datalist_remove_data (&proxy->priv->qdata, key); 960s # if (info != NULL) 960s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 960s # } 960s # g_variant_iter_free (iter); 960s # for (n = 0; invalidated_properties[n] != NULL; n++) 960s # { 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 960s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 960s # if (info != NULL) 960s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 960s # } 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 960s # { 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 960s # #else 960s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 960s # #endif 960s # 960s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 960s # { 960s # GObjectClass *gobject_class; 960s # GDBusProxyClass *proxy_class; 960s # 960s # gobject_class = G_OBJECT_CLASS (klass); 960s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 960s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 960s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 960s # 960s # proxy_class = G_DBUS_PROXY_CLASS (klass); 960s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 960s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 960s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 960s # #endif 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new: 960s # * @connection: A #GDBusConnection. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 960s # * 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 960s # * 960s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 960s # */ 960s # void 960s # org_project_signaling_iface_proxy_new ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_finish: 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 960s # * @error: Return location for error or %NULL 960s # * 960s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_finish ( 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GObject *ret; 960s # GObject *source_object; 960s # source_object = g_async_result_get_source_object (res); 960s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 960s # g_object_unref (source_object); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_sync: 960s # * @connection: A #GDBusConnection. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL 960s # * 960s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 960s # * 960s # * The calling thread is blocked until a reply is received. 960s # * 960s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_sync ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GInitable *ret; 960s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus: 960s # * @bus_type: A #GBusType. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: A bus name (well-known or unique). 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 960s # * 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 960s # * 960s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 960s # */ 960s # void 960s # org_project_signaling_iface_proxy_new_for_bus ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus_finish: 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 960s # * @error: Return location for error or %NULL 960s # * 960s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_for_bus_finish ( 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GObject *ret; 960s # GObject *source_object; 960s # source_object = g_async_result_get_source_object (res); 960s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 960s # g_object_unref (source_object); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus_sync: 960s # * @bus_type: A #GBusType. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: A bus name (well-known or unique). 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL 960s # * 960s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 960s # * 960s # * The calling thread is blocked until a reply is received. 960s # * 960s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_for_bus_sync ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GInitable *ret; 960s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceSkeleton: 960s # * 960s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceSkeletonClass: 960s # * @parent_class: The parent class. 960s # * 960s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 960s # */ 960s # 960s # struct _OrgProjectSignalingIfaceSkeletonPrivate 960s # { 960s # GValue *properties; 960s # GList *changed_properties; 960s # GSource *changed_properties_idle_source; 960s # GMainContext *context; 960s # GMutex lock; 960s # }; 960s # 960s # static void 960s # _org_project_signaling_iface_skeleton_handle_method_call ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name, 960s # const gchar *method_name, 960s # GVariant *parameters, 960s # GDBusMethodInvocation *invocation, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # _ExtendedGDBusMethodInfo *info; 960s # GVariantIter iter; 960s # GVariant *child; 960s # GValue *paramv; 960s # gsize num_params; 960s # guint num_extra; 960s # gsize n; 960s # guint signal_id; 960s # GValue return_value = G_VALUE_INIT; 960s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 960s # g_assert (info != NULL); 960s # num_params = g_variant_n_children (parameters); 960s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 960s # n = 0; 960s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_set_object (¶mv[n++], skeleton); 960s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 960s # g_value_set_object (¶mv[n++], invocation); 960s # if (info->pass_fdlist) 960s # { 960s # #ifdef G_OS_UNIX 960s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 960s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 960s # #else 960s # g_assert_not_reached (); 960s # #endif 960s # } 960s # g_variant_iter_init (&iter, parameters); 960s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 960s # { 960s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 960s # if (arg_info->use_gvariant) 960s # { 960s # g_value_init (¶mv[n], G_TYPE_VARIANT); 960s # g_value_set_variant (¶mv[n], child); 960s # n++; 960s # } 960s # else 960s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 960s # g_variant_unref (child); 960s # } 960s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_init (&return_value, G_TYPE_BOOLEAN); 960s # g_signal_emitv (paramv, signal_id, 0, &return_value); 960s # if (!g_value_get_boolean (&return_value)) 960s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 960s # g_value_unset (&return_value); 960s # for (n = 0; n < num_params + num_extra; n++) 960s # g_value_unset (¶mv[n]); 960s # g_free (paramv); 960s # } 960s # 960s # static GVariant * 960s # _org_project_signaling_iface_skeleton_handle_get_property ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name G_GNUC_UNUSED, 960s # const gchar *property_name, 960s # GError **error, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # GValue value = G_VALUE_INIT; 960s # GParamSpec *pspec; 960s # _ExtendedGDBusPropertyInfo *info; 960s # GVariant *ret; 960s # ret = NULL; 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 960s # g_assert (info != NULL); 960s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 960s # if (pspec == NULL) 960s # { 960s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 960s # } 960s # else 960s # { 960s # g_value_init (&value, pspec->value_type); 960s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 960s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 960s # g_value_unset (&value); 960s # } 960s # return ret; 960s # } 960s # 960s # static gboolean 960s # _org_project_signaling_iface_skeleton_handle_set_property ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name G_GNUC_UNUSED, 960s # const gchar *property_name, 960s # GVariant *variant, 960s # GError **error, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # GValue value = G_VALUE_INIT; 960s # GParamSpec *pspec; 960s # _ExtendedGDBusPropertyInfo *info; 960s # gboolean ret; 960s # ret = FALSE; 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 960s # g_assert (info != NULL); 960s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 960s # if (pspec == NULL) 960s # { 960s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 960s # } 960s # else 960s # { 960s # if (info->use_gvariant) 960s # g_value_set_variant (&value, variant); 960s # else 960s # g_dbus_gvariant_to_gvalue (variant, &value); 960s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 960s # g_value_unset (&value); 960s # ret = TRUE; 960s # } 960s # return ret; 960s # } 960s # 960s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 960s # { 960s # _org_project_signaling_iface_skeleton_handle_method_call, 960s # _org_project_signaling_iface_skeleton_handle_get_property, 960s # _org_project_signaling_iface_skeleton_handle_set_property, 960s # {NULL} 960s # }; 960s # 960s # static GDBusInterfaceInfo * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 960s # { 960s # return org_project_signaling_iface_interface_info (); 960s # } 960s # 960s # static GDBusInterfaceVTable * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 960s # { 960s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 960s # } 960s # 960s # static GVariant * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 960s # 960s # GVariantBuilder builder; 960s # guint n; 960s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 960s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 960s # goto out; 960s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 960s # { 960s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 960s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 960s # { 960s # GVariant *value; 960s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 960s # if (value != NULL) 960s # { 960s # g_variant_take_ref (value); 960s # g_variant_builder_add (&builder, "{sv}", info->name, value); 960s # g_variant_unref (value); 960s # } 960s # } 960s # } 960s # out: 960s # return g_variant_builder_end (&builder); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # _org_project_signaling_iface_on_signal_simple_signal ( 960s # OrgProjectSignalingIface *object) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # 960s # GList *connections, *l; 960s # GVariant *signal_variant; 960s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 960s # 960s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 960s # for (l = connections; l != NULL; l = l->next) 960s # { 960s # GDBusConnection *connection = l->data; 960s # g_dbus_connection_emit_signal (connection, 960s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 960s # signal_variant, NULL); 960s # } 960s # g_variant_unref (signal_variant); 960s # g_list_free_full (connections, g_object_unref); 960s # } 960s # 960s # static void 960s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 960s # OrgProjectSignalingIface *object, 960s # guint arg_arg_u) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # 960s # GList *connections, *l; 960s # GVariant *signal_variant; 960s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 960s # 960s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 960s # arg_arg_u)); 960s # for (l = connections; l != NULL; l = l->next) 960s # { 960s # GDBusConnection *connection = l->data; 960s # g_dbus_connection_emit_signal (connection, 960s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 960s # signal_variant, NULL); 960s # } 960s # g_variant_unref (signal_variant); 960s # g_list_free_full (connections, g_object_unref); 960s # } 960s # 960s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 960s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 960s # 960s # #else 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 960s # 960s # #endif 960s # static void 960s # org_project_signaling_iface_skeleton_finalize (GObject *object) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 960s # if (skeleton->priv->changed_properties_idle_source != NULL) 960s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 960s # g_main_context_unref (skeleton->priv->context); 960s # g_mutex_clear (&skeleton->priv->lock); 960s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 960s # { 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 960s # #else 960s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 960s # #endif 960s # 960s # g_mutex_init (&skeleton->priv->lock); 960s # skeleton->priv->context = g_main_context_ref_thread_default (); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 960s # { 960s # GObjectClass *gobject_class; 960s # GDBusInterfaceSkeletonClass *skeleton_class; 960s # 960s # gobject_class = G_OBJECT_CLASS (klass); 960s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 960s # 960s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 960s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 960s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 960s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 960s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 960s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 960s # #endif 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 960s # { 960s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 960s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_skeleton_new: 960s # * 960s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_skeleton_new (void) 960s # { 960s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 960s # } 960s # /tmp/tmpqzg2h3yi/tmptfbk1zrr.xml: 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqzg2h3yi/tmptfbk1zrr.xml', '--output', '-', '--body'] 960s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 960s # Output: /* 960s # * This file is generated by gdbus-codegen, do not modify it. 960s # * 960s # * The license of this code is the same as for the D-Bus interface description 960s # * it was derived from. Note that it links to GLib, so must comply with the 960s # * LGPL linking clauses. 960s # */ 960s # 960s # #ifdef HAVE_CONFIG_H 960s # # include "config.h" 960s # #endif 960s # 960s # #include 960s # #ifdef G_OS_UNIX 960s # # include 960s # #endif 960s # 960s # #ifdef G_ENABLE_DEBUG 960s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 960s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 960s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 960s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 960s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 960s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 960s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 960s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 960s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 960s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 960s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 960s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 960s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 960s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 960s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 960s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 960s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 960s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 960s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 960s # #else /* !G_ENABLE_DEBUG */ 960s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 960s # * Do not access GValues directly in your code. Instead, use the 960s # * g_value_get_*() functions 960s # */ 960s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 960s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 960s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 960s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 960s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 960s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 960s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 960s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 960s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 960s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 960s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 960s # #endif /* !G_ENABLE_DEBUG */ 960s # 960s # typedef struct 960s # { 960s # GDBusArgInfo parent_struct; 960s # gboolean use_gvariant; 960s # } _ExtendedGDBusArgInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusMethodInfo parent_struct; 960s # const gchar *signal_name; 960s # gboolean pass_fdlist; 960s # } _ExtendedGDBusMethodInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusSignalInfo parent_struct; 960s # const gchar *signal_name; 960s # } _ExtendedGDBusSignalInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusPropertyInfo parent_struct; 960s # const gchar *hyphen_name; 960s # guint use_gvariant : 1; 960s # guint emits_changed_signal : 1; 960s # } _ExtendedGDBusPropertyInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusInterfaceInfo parent_struct; 960s # const gchar *hyphen_name; 960s # } _ExtendedGDBusInterfaceInfo; 960s # 960s # typedef struct 960s # { 960s # const _ExtendedGDBusPropertyInfo *info; 960s # guint prop_id; 960s # GValue orig_value; /* the value before the change */ 960s # } ChangedProperty; 960s # 960s # static void 960s # _changed_property_free (ChangedProperty *data) 960s # { 960s # g_value_unset (&data->orig_value); 960s # g_free (data); 960s # } 960s # 960s # static gboolean 960s # _g_strv_equal0 (gchar **a, gchar **b) 960s # { 960s # gboolean ret = FALSE; 960s # guint n; 960s # if (a == NULL && b == NULL) 960s # { 960s # ret = TRUE; 960s # goto out; 960s # } 960s # if (a == NULL || b == NULL) 960s # goto out; 960s # if (g_strv_length (a) != g_strv_length (b)) 960s # goto out; 960s # for (n = 0; a[n] != NULL; n++) 960s # if (g_strcmp0 (a[n], b[n]) != 0) 960s # goto out; 960s # ret = TRUE; 960s # out: 960s # return ret; 960s # } 960s # 960s # static gboolean 960s # _g_variant_equal0 (GVariant *a, GVariant *b) 960s # { 960s # gboolean ret = FALSE; 960s # if (a == NULL && b == NULL) 960s # { 960s # ret = TRUE; 960s # goto out; 960s # } 960s # if (a == NULL || b == NULL) 960s # goto out; 960s # ret = g_variant_equal (a, b); 960s # out: 960s # return ret; 960s # } 960s # 960s # G_GNUC_UNUSED static gboolean 960s # _g_value_equal (const GValue *a, const GValue *b) 960s # { 960s # gboolean ret = FALSE; 960s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 960s # switch (G_VALUE_TYPE (a)) 960s # { 960s # case G_TYPE_BOOLEAN: 960s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 960s # break; 960s # case G_TYPE_UCHAR: 960s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 960s # break; 960s # case G_TYPE_INT: 960s # ret = (g_value_get_int (a) == g_value_get_int (b)); 960s # break; 960s # case G_TYPE_UINT: 960s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 960s # break; 960s # case G_TYPE_INT64: 960s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 960s # break; 960s # case G_TYPE_UINT64: 960s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 960s # break; 960s # case G_TYPE_DOUBLE: 960s # { 960s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 960s # gdouble da = g_value_get_double (a); 960s # gdouble db = g_value_get_double (b); 960s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 960s # } 960s # break; 960s # case G_TYPE_STRING: 960s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 960s # break; 960s # case G_TYPE_VARIANT: 960s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 960s # break; 960s # default: 960s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 960s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 960s # else 960s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 960s # break; 960s # } 960s # return ret; 960s # } 960s # 960s # static void 960s # _g_dbus_codegen_marshal_VOID__INT64 ( 960s # GClosure *closure, 960s # GValue *return_value G_GNUC_UNUSED, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint G_GNUC_UNUSED, 960s # void *marshal_data) 960s # { 960s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 960s # (void *data1, 960s # gint64 arg_arg_x, 960s # void *data2); 960s # _GDbusCodegenMarshalVoid_Int64Func callback; 960s # GCClosure *cc = (GCClosure*) closure; 960s # void *data1, *data2; 960s # 960s # g_return_if_fail (n_param_values == 2); 960s # 960s # if (G_CCLOSURE_SWAP_DATA (closure)) 960s # { 960s # data1 = closure->data; 960s # data2 = g_value_peek_pointer (param_values + 0); 960s # } 960s # else 960s # { 960s # data1 = g_value_peek_pointer (param_values + 0); 960s # data2 = closure->data; 960s # } 960s # 960s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 960s # (marshal_data ? marshal_data : cc->callback); 960s # 960s # callback (data1, 960s # g_marshal_value_peek_int64 (param_values + 1), 960s # data2); 960s # } 960s # 960s # /* ------------------------------------------------------------------------ 960s # * Code for interface org.project.SignalingIface 960s # * ------------------------------------------------------------------------ 960s # */ 960s # 960s # /** 960s # * SECTION:OrgProjectSignalingIface 960s # * @title: OrgProjectSignalingIface 960s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 960s # * 960s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 960s # */ 960s # 960s # enum 960s # { 960s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 960s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 960s # }; 960s # 960s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 960s # 960s # /* ---- Introspection data for org.project.SignalingIface ---- */ 960s # 960s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 960s # { 960s # { 960s # -1, 960s # (gchar *) "SimpleSignal", 960s # NULL, 960s # NULL 960s # }, 960s # "simple-signal" 960s # }; 960s # 960s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 960s # { 960s # { 960s # -1, 960s # (gchar *) "arg_x", 960s # (gchar *) "x", 960s # NULL 960s # }, 960s # FALSE 960s # }; 960s # 960s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 960s # { 960s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 960s # NULL 960s # }; 960s # 960s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 960s # { 960s # { 960s # -1, 960s # (gchar *) "SingleArgSignalX", 960s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 960s # NULL 960s # }, 960s # "single-arg-signal-x" 960s # }; 960s # 960s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 960s # { 960s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 960s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 960s # NULL 960s # }; 960s # 960s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 960s # { 960s # { 960s # -1, 960s # (gchar *) "org.project.SignalingIface", 960s # NULL, 960s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 960s # NULL, 960s # NULL 960s # }, 960s # "org-project-signaling-iface", 960s # }; 960s # 960s # 960s # /** 960s # * org_project_signaling_iface_interface_info: 960s # * 960s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 960s # * 960s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 960s # */ 960s # GDBusInterfaceInfo * 960s # org_project_signaling_iface_interface_info (void) 960s # { 960s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_override_properties: 960s # * @klass: The class structure for a #GObject derived class. 960s # * @property_id_begin: The property id to assign to the first overridden property. 960s # * 960s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 960s # * The properties are overridden in the order they are defined. 960s # * 960s # * Returns: The last property id. 960s # */ 960s # guint 960s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 960s # { 960s # return property_id_begin - 1; 960s # } 960s # 960s # 960s # inline static void 960s # org_project_signaling_iface_signal_marshal_simple_signal ( 960s # GClosure *closure, 960s # GValue *return_value, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint, 960s # void *marshal_data) 960s # { 960s # g_cclosure_marshal_VOID__VOID (closure, 960s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 960s # } 960s # 960s # inline static void 960s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 960s # GClosure *closure, 960s # GValue *return_value, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint, 960s # void *marshal_data) 960s # { 960s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 960s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 960s # } 960s # 960s # 960s # /** 960s # * OrgProjectSignalingIface: 960s # * 960s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceIface: 960s # * @parent_iface: The parent interface. 960s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 960s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 960s # * 960s # * Virtual table for the D-Bus interface org.project.SignalingIface. 960s # */ 960s # 960s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 960s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 960s # 960s # static void 960s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 960s # { 960s # /* GObject signals for received D-Bus signals: */ 960s # /** 960s # * OrgProjectSignalingIface::simple-signal: 960s # * @object: A #OrgProjectSignalingIface. 960s # * 960s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 960s # * 960s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 960s # */ 960s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 960s # g_signal_new ("simple-signal", 960s # G_TYPE_FROM_INTERFACE (iface), 960s # G_SIGNAL_RUN_LAST, 960s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 960s # NULL, 960s # NULL, 960s # org_project_signaling_iface_signal_marshal_simple_signal, 960s # G_TYPE_NONE, 960s # 0); 960s # 960s # /** 960s # * OrgProjectSignalingIface::single-arg-signal-x: 960s # * @object: A #OrgProjectSignalingIface. 960s # * @arg_arg_x: Argument. 960s # * 960s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 960s # * 960s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 960s # */ 960s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 960s # g_signal_new ("single-arg-signal-x", 960s # G_TYPE_FROM_INTERFACE (iface), 960s # G_SIGNAL_RUN_LAST, 960s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 960s # NULL, 960s # NULL, 960s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 960s # G_TYPE_NONE, 960s # 1, G_TYPE_INT64); 960s # 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_emit_simple_signal: 960s # * @object: A #OrgProjectSignalingIface. 960s # * 960s # * Emits the "SimpleSignal" D-Bus signal. 960s # */ 960s # void 960s # org_project_signaling_iface_emit_simple_signal ( 960s # OrgProjectSignalingIface *object) 960s # { 960s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_emit_single_arg_signal_x: 960s # * @object: A #OrgProjectSignalingIface. 960s # * @arg_arg_x: Argument to pass with the signal. 960s # * 960s # * Emits the "SingleArgSignalX" D-Bus signal. 960s # */ 960s # void 960s # org_project_signaling_iface_emit_single_arg_signal_x ( 960s # OrgProjectSignalingIface *object, 960s # gint64 arg_arg_x) 960s # { 960s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 960s # } 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceProxy: 960s # * 960s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceProxyClass: 960s # * @parent_class: The parent class. 960s # * 960s # * Class structure for #OrgProjectSignalingIfaceProxy. 960s # */ 960s # 960s # struct _OrgProjectSignalingIfaceProxyPrivate 960s # { 960s # GData *qdata; 960s # }; 960s # 960s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 960s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 960s # 960s # #else 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 960s # 960s # #endif 960s # static void 960s # org_project_signaling_iface_proxy_finalize (GObject *object) 960s # { 960s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 960s # g_datalist_clear (&proxy->priv->qdata); 960s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 960s # guint prop_id G_GNUC_UNUSED, 960s # GValue *value G_GNUC_UNUSED, 960s # GParamSpec *pspec G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 960s # guint prop_id G_GNUC_UNUSED, 960s # const GValue *value G_GNUC_UNUSED, 960s # GParamSpec *pspec G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 960s # const gchar *sender_name G_GNUC_UNUSED, 960s # const gchar *signal_name, 960s # GVariant *parameters) 960s # { 960s # _ExtendedGDBusSignalInfo *info; 960s # GVariantIter iter; 960s # GVariant *child; 960s # GValue *paramv; 960s # gsize num_params; 960s # gsize n; 960s # guint signal_id; 960s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 960s # if (info == NULL) 960s # return; 960s # num_params = g_variant_n_children (parameters); 960s # paramv = g_new0 (GValue, num_params + 1); 960s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_set_object (¶mv[0], proxy); 960s # g_variant_iter_init (&iter, parameters); 960s # n = 1; 960s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 960s # { 960s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 960s # if (arg_info->use_gvariant) 960s # { 960s # g_value_init (¶mv[n], G_TYPE_VARIANT); 960s # g_value_set_variant (¶mv[n], child); 960s # n++; 960s # } 960s # else 960s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 960s # g_variant_unref (child); 960s # } 960s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_signal_emitv (paramv, signal_id, 0, NULL); 960s # for (n = 0; n < num_params + 1; n++) 960s # g_value_unset (¶mv[n]); 960s # g_free (paramv); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 960s # GVariant *changed_properties, 960s # const gchar *const *invalidated_properties) 960s # { 960s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 960s # guint n; 960s # const gchar *key; 960s # GVariantIter *iter; 960s # _ExtendedGDBusPropertyInfo *info; 960s # g_variant_get (changed_properties, "a{sv}", &iter); 960s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 960s # { 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 960s # g_datalist_remove_data (&proxy->priv->qdata, key); 960s # if (info != NULL) 960s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 960s # } 960s # g_variant_iter_free (iter); 960s # for (n = 0; invalidated_properties[n] != NULL; n++) 960s # { 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 960s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 960s # if (info != NULL) 960s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 960s # } 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 960s # { 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 960s # #else 960s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 960s # #endif 960s # 960s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 960s # { 960s # GObjectClass *gobject_class; 960s # GDBusProxyClass *proxy_class; 960s # 960s # gobject_class = G_OBJECT_CLASS (klass); 960s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 960s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 960s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 960s # 960s # proxy_class = G_DBUS_PROXY_CLASS (klass); 960s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 960s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 960s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 960s # #endif 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new: 960s # * @connection: A #GDBusConnection. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 960s # * 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 960s # * 960s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 960s # */ 960s # void 960s # org_project_signaling_iface_proxy_new ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_finish: 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 960s # * @error: Return location for error or %NULL 960s # * 960s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_finish ( 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GObject *ret; 960s # GObject *source_object; 960s # source_object = g_async_result_get_source_object (res); 960s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 960s # g_object_unref (source_object); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_sync: 960s # * @connection: A #GDBusConnection. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL 960s # * 960s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 960s # * 960s # * The calling thread is blocked until a reply is received. 960s # * 960s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_sync ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GInitable *ret; 960s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus: 960s # * @bus_type: A #GBusType. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: A bus name (well-known or unique). 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 960s # * 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 960s # * 960s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 960s # */ 960s # void 960s # org_project_signaling_iface_proxy_new_for_bus ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus_finish: 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 960s # * @error: Return location for error or %NULL 960s # * 960s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_for_bus_finish ( 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GObject *ret; 960s # GObject *source_object; 960s # source_object = g_async_result_get_source_object (res); 960s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 960s # g_object_unref (source_object); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus_sync: 960s # * @bus_type: A #GBusType. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: A bus name (well-known or unique). 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL 960s # * 960s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 960s # * 960s # * The calling thread is blocked until a reply is received. 960s # * 960s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_for_bus_sync ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GInitable *ret; 960s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceSkeleton: 960s # * 960s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceSkeletonClass: 960s # * @parent_class: The parent class. 960s # * 960s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 960s # */ 960s # 960s # struct _OrgProjectSignalingIfaceSkeletonPrivate 960s # { 960s # GValue *properties; 960s # GList *changed_properties; 960s # GSource *changed_properties_idle_source; 960s # GMainContext *context; 960s # GMutex lock; 960s # }; 960s # 960s # static void 960s # _org_project_signaling_iface_skeleton_handle_method_call ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name, 960s # const gchar *method_name, 960s # GVariant *parameters, 960s # GDBusMethodInvocation *invocation, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # _ExtendedGDBusMethodInfo *info; 960s # GVariantIter iter; 960s # GVariant *child; 960s # GValue *paramv; 960s # gsize num_params; 960s # guint num_extra; 960s # gsize n; 960s # guint signal_id; 960s # GValue return_value = G_VALUE_INIT; 960s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 960s # g_assert (info != NULL); 960s # num_params = g_variant_n_children (parameters); 960s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 960s # n = 0; 960s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_set_object (¶mv[n++], skeleton); 960s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 960s # g_value_set_object (¶mv[n++], invocation); 960s # if (info->pass_fdlist) 960s # { 960s # #ifdef G_OS_UNIX 960s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 960s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 960s # #else 960s # g_assert_not_reached (); 960s # #endif 960s # } 960s # g_variant_iter_init (&iter, parameters); 960s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 960s # { 960s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 960s # if (arg_info->use_gvariant) 960s # { 960s # g_value_init (¶mv[n], G_TYPE_VARIANT); 960s # g_value_set_variant (¶mv[n], child); 960s # n++; 960s # } 960s # else 960s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 960s # g_variant_unref (child); 960s # } 960s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_init (&return_value, G_TYPE_BOOLEAN); 960s # g_signal_emitv (paramv, signal_id, 0, &return_value); 960s # if (!g_value_get_boolean (&return_value)) 960s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 960s # g_value_unset (&return_value); 960s # for (n = 0; n < num_params + num_extra; n++) 960s # g_value_unset (¶mv[n]); 960s # g_free (paramv); 960s # } 960s # 960s # static GVariant * 960s # _org_project_signaling_iface_skeleton_handle_get_property ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name G_GNUC_UNUSED, 960s # const gchar *property_name, 960s # GError **error, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # GValue value = G_VALUE_INIT; 960s # GParamSpec *pspec; 960s # _ExtendedGDBusPropertyInfo *info; 960s # GVariant *ret; 960s # ret = NULL; 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 960s # g_assert (info != NULL); 960s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 960s # if (pspec == NULL) 960s # { 960s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 960s # } 960s # else 960s # { 960s # g_value_init (&value, pspec->value_type); 960s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 960s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 960s # g_value_unset (&value); 960s # } 960s # return ret; 960s # } 960s # 960s # static gboolean 960s # _org_project_signaling_iface_skeleton_handle_set_property ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name G_GNUC_UNUSED, 960s # const gchar *property_name, 960s # GVariant *variant, 960s # GError **error, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # GValue value = G_VALUE_INIT; 960s # GParamSpec *pspec; 960s # _ExtendedGDBusPropertyInfo *info; 960s # gboolean ret; 960s # ret = FALSE; 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 960s # g_assert (info != NULL); 960s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 960s # if (pspec == NULL) 960s # { 960s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 960s # } 960s # else 960s # { 960s # if (info->use_gvariant) 960s # g_value_set_variant (&value, variant); 960s # else 960s # g_dbus_gvariant_to_gvalue (variant, &value); 960s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 960s # g_value_unset (&value); 960s # ret = TRUE; 960s # } 960s # return ret; 960s # } 960s # 960s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 960s # { 960s # _org_project_signaling_iface_skeleton_handle_method_call, 960s # _org_project_signaling_iface_skeleton_handle_get_property, 960s # _org_project_signaling_iface_skeleton_handle_set_property, 960s # {NULL} 960s # }; 960s # 960s # static GDBusInterfaceInfo * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 960s # { 960s # return org_project_signaling_iface_interface_info (); 960s # } 960s # 960s # static GDBusInterfaceVTable * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 960s # { 960s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 960s # } 960s # 960s # static GVariant * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 960s # 960s # GVariantBuilder builder; 960s # guint n; 960s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 960s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 960s # goto out; 960s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 960s # { 960s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 960s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 960s # { 960s # GVariant *value; 960s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 960s # if (value != NULL) 960s # { 960s # g_variant_take_ref (value); 960s # g_variant_builder_add (&builder, "{sv}", info->name, value); 960s # g_variant_unref (value); 960s # } 960s # } 960s # } 960s # out: 960s # return g_variant_builder_end (&builder); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # _org_project_signaling_iface_on_signal_simple_signal ( 960s # OrgProjectSignalingIface *object) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # 960s # GList *connections, *l; 960s # GVariant *signal_variant; 960s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 960s # 960s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 960s # for (l = connections; l != NULL; l = l->next) 960s # { 960s # GDBusConnection *connection = l->data; 960s # g_dbus_connection_emit_signal (connection, 960s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 960s # signal_variant, NULL); 960s # } 960s # g_variant_unref (signal_variant); 960s # g_list_free_full (connections, g_object_unref); 960s # } 960s # 960s # static void 960s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 960s # OrgProjectSignalingIface *object, 960s # gint64 arg_arg_x) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # 960s # GList *connections, *l; 960s # GVariant *signal_variant; 960s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 960s # 960s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 960s # arg_arg_x)); 960s # for (l = connections; l != NULL; l = l->next) 960s # { 960s # GDBusConnection *connection = l->data; 960s # g_dbus_connection_emit_signal (connection, 960s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 960s # signal_variant, NULL); 960s # } 960s # g_variant_unref (signal_variant); 960s # g_list_free_full (connections, g_object_unref); 960s # } 960s # 960s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 960s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 960s # 960s # #else 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 960s # 960s # #endif 960s # static void 960s # org_project_signaling_iface_skeleton_finalize (GObject *object) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 960s # if (skeleton->priv->changed_properties_idle_source != NULL) 960s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 960s # g_main_context_unref (skeleton->priv->context); 960s # g_mutex_clear (&skeleton->priv->lock); 960s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 960s # { 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 960s # #else 960s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 960s # #endif 960s # 960s # g_mutex_init (&skeleton->priv->lock); 960s # skeleton->priv->context = g_main_context_ref_thread_default (); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 960s # { 960s # GObjectClass *gobject_class; 960s # GDBusInterfaceSkeletonClass *skeleton_class; 960s # 960s # gobject_class = G_OBJECT_CLASS (klass); 960s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 960s # 960s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 960s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 960s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 960s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 960s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 960s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 960s # #endif 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 960s # { 960s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 960s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_skeleton_new: 960s # * 960s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_skeleton_new (void) 960s # { 960s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 960s # } 960s # /tmp/tmpqzg2h3yi/tmprbbbl_06.xml: 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqzg2h3yi/tmprbbbl_06.xml', '--output', '-', '--body'] 960s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 960s # Output: /* 960s # * This file is generated by gdbus-codegen, do not modify it. 960s # * 960s # * The license of this code is the same as for the D-Bus interface description 960s # * it was derived from. Note that it links to GLib, so must comply with the 960s # * LGPL linking clauses. 960s # */ 960s # 960s # #ifdef HAVE_CONFIG_H 960s # # include "config.h" 960s # #endif 960s # 960s # #include 960s # #ifdef G_OS_UNIX 960s # # include 960s # #endif 960s # 960s # #ifdef G_ENABLE_DEBUG 960s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 960s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 960s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 960s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 960s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 960s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 960s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 960s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 960s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 960s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 960s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 960s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 960s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 960s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 960s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 960s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 960s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 960s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 960s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 960s # #else /* !G_ENABLE_DEBUG */ 960s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 960s # * Do not access GValues directly in your code. Instead, use the 960s # * g_value_get_*() functions 960s # */ 960s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 960s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 960s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 960s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 960s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 960s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 960s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 960s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 960s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 960s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 960s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 960s # #endif /* !G_ENABLE_DEBUG */ 960s # 960s # typedef struct 960s # { 960s # GDBusArgInfo parent_struct; 960s # gboolean use_gvariant; 960s # } _ExtendedGDBusArgInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusMethodInfo parent_struct; 960s # const gchar *signal_name; 960s # gboolean pass_fdlist; 960s # } _ExtendedGDBusMethodInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusSignalInfo parent_struct; 960s # const gchar *signal_name; 960s # } _ExtendedGDBusSignalInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusPropertyInfo parent_struct; 960s # const gchar *hyphen_name; 960s # guint use_gvariant : 1; 960s # guint emits_changed_signal : 1; 960s # } _ExtendedGDBusPropertyInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusInterfaceInfo parent_struct; 960s # const gchar *hyphen_name; 960s # } _ExtendedGDBusInterfaceInfo; 960s # 960s # typedef struct 960s # { 960s # const _ExtendedGDBusPropertyInfo *info; 960s # guint prop_id; 960s # GValue orig_value; /* the value before the change */ 960s # } ChangedProperty; 960s # 960s # static void 960s # _changed_property_free (ChangedProperty *data) 960s # { 960s # g_value_unset (&data->orig_value); 960s # g_free (data); 960s # } 960s # 960s # static gboolean 960s # _g_strv_equal0 (gchar **a, gchar **b) 960s # { 960s # gboolean ret = FALSE; 960s # guint n; 960s # if (a == NULL && b == NULL) 960s # { 960s # ret = TRUE; 960s # goto out; 960s # } 960s # if (a == NULL || b == NULL) 960s # goto out; 960s # if (g_strv_length (a) != g_strv_length (b)) 960s # goto out; 960s # for (n = 0; a[n] != NULL; n++) 960s # if (g_strcmp0 (a[n], b[n]) != 0) 960s # goto out; 960s # ret = TRUE; 960s # out: 960s # return ret; 960s # } 960s # 960s # static gboolean 960s # _g_variant_equal0 (GVariant *a, GVariant *b) 960s # { 960s # gboolean ret = FALSE; 960s # if (a == NULL && b == NULL) 960s # { 960s # ret = TRUE; 960s # goto out; 960s # } 960s # if (a == NULL || b == NULL) 960s # goto out; 960s # ret = g_variant_equal (a, b); 960s # out: 960s # return ret; 960s # } 960s # 960s # G_GNUC_UNUSED static gboolean 960s # _g_value_equal (const GValue *a, const GValue *b) 960s # { 960s # gboolean ret = FALSE; 960s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 960s # switch (G_VALUE_TYPE (a)) 960s # { 960s # case G_TYPE_BOOLEAN: 960s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 960s # break; 960s # case G_TYPE_UCHAR: 960s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 960s # break; 960s # case G_TYPE_INT: 960s # ret = (g_value_get_int (a) == g_value_get_int (b)); 960s # break; 960s # case G_TYPE_UINT: 960s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 960s # break; 960s # case G_TYPE_INT64: 960s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 960s # break; 960s # case G_TYPE_UINT64: 960s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 960s # break; 960s # case G_TYPE_DOUBLE: 960s # { 960s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 960s # gdouble da = g_value_get_double (a); 960s # gdouble db = g_value_get_double (b); 960s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 960s # } 960s # break; 960s # case G_TYPE_STRING: 960s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 960s # break; 960s # case G_TYPE_VARIANT: 960s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 960s # break; 960s # default: 960s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 960s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 960s # else 960s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 960s # break; 960s # } 960s # return ret; 960s # } 960s # 960s # static void 960s # _g_dbus_codegen_marshal_VOID__UINT64 ( 960s # GClosure *closure, 960s # GValue *return_value G_GNUC_UNUSED, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint G_GNUC_UNUSED, 960s # void *marshal_data) 960s # { 960s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 960s # (void *data1, 960s # guint64 arg_arg_t, 960s # void *data2); 960s # _GDbusCodegenMarshalVoid_Uint64Func callback; 960s # GCClosure *cc = (GCClosure*) closure; 960s # void *data1, *data2; 960s # 960s # g_return_if_fail (n_param_values == 2); 960s # 960s # if (G_CCLOSURE_SWAP_DATA (closure)) 960s # { 960s # data1 = closure->data; 960s # data2 = g_value_peek_pointer (param_values + 0); 960s # } 960s # else 960s # { 960s # data1 = g_value_peek_pointer (param_values + 0); 960s # data2 = closure->data; 960s # } 960s # 960s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 960s # (marshal_data ? marshal_data : cc->callback); 960s # 960s # callback (data1, 960s # g_marshal_value_peek_uint64 (param_values + 1), 960s # data2); 960s # } 960s # 960s # /* ------------------------------------------------------------------------ 960s # * Code for interface org.project.SignalingIface 960s # * ------------------------------------------------------------------------ 960s # */ 960s # 960s # /** 960s # * SECTION:OrgProjectSignalingIface 960s # * @title: OrgProjectSignalingIface 960s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 960s # * 960s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 960s # */ 960s # 960s # enum 960s # { 960s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 960s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 960s # }; 960s # 960s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 960s # 960s # /* ---- Introspection data for org.project.SignalingIface ---- */ 960s # 960s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 960s # { 960s # { 960s # -1, 960s # (gchar *) "SimpleSignal", 960s # NULL, 960s # NULL 960s # }, 960s # "simple-signal" 960s # }; 960s # 960s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 960s # { 960s # { 960s # -1, 960s # (gchar *) "arg_t", 960s # (gchar *) "t", 960s # NULL 960s # }, 960s # FALSE 960s # }; 960s # 960s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 960s # { 960s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 960s # NULL 960s # }; 960s # 960s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 960s # { 960s # { 960s # -1, 960s # (gchar *) "SingleArgSignalT", 960s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 960s # NULL 960s # }, 960s # "single-arg-signal-t" 960s # }; 960s # 960s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 960s # { 960s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 960s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 960s # NULL 960s # }; 960s # 960s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 960s # { 960s # { 960s # -1, 960s # (gchar *) "org.project.SignalingIface", 960s # NULL, 960s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 960s # NULL, 960s # NULL 960s # }, 960s # "org-project-signaling-iface", 960s # }; 960s # 960s # 960s # /** 960s # * org_project_signaling_iface_interface_info: 960s # * 960s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 960s # * 960s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 960s # */ 960s # GDBusInterfaceInfo * 960s # org_project_signaling_iface_interface_info (void) 960s # { 960s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_override_properties: 960s # * @klass: The class structure for a #GObject derived class. 960s # * @property_id_begin: The property id to assign to the first overridden property. 960s # * 960s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 960s # * The properties are overridden in the order they are defined. 960s # * 960s # * Returns: The last property id. 960s # */ 960s # guint 960s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 960s # { 960s # return property_id_begin - 1; 960s # } 960s # 960s # 960s # inline static void 960s # org_project_signaling_iface_signal_marshal_simple_signal ( 960s # GClosure *closure, 960s # GValue *return_value, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint, 960s # void *marshal_data) 960s # { 960s # g_cclosure_marshal_VOID__VOID (closure, 960s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 960s # } 960s # 960s # inline static void 960s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 960s # GClosure *closure, 960s # GValue *return_value, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint, 960s # void *marshal_data) 960s # { 960s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 960s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 960s # } 960s # 960s # 960s # /** 960s # * OrgProjectSignalingIface: 960s # * 960s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceIface: 960s # * @parent_iface: The parent interface. 960s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 960s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 960s # * 960s # * Virtual table for the D-Bus interface org.project.SignalingIface. 960s # */ 960s # 960s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 960s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 960s # 960s # static void 960s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 960s # { 960s # /* GObject signals for received D-Bus signals: */ 960s # /** 960s # * OrgProjectSignalingIface::simple-signal: 960s # * @object: A #OrgProjectSignalingIface. 960s # * 960s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 960s # * 960s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 960s # */ 960s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 960s # g_signal_new ("simple-signal", 960s # G_TYPE_FROM_INTERFACE (iface), 960s # G_SIGNAL_RUN_LAST, 960s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 960s # NULL, 960s # NULL, 960s # org_project_signaling_iface_signal_marshal_simple_signal, 960s # G_TYPE_NONE, 960s # 0); 960s # 960s # /** 960s # * OrgProjectSignalingIface::single-arg-signal-t: 960s # * @object: A #OrgProjectSignalingIface. 960s # * @arg_arg_t: Argument. 960s # * 960s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 960s # * 960s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 960s # */ 960s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 960s # g_signal_new ("single-arg-signal-t", 960s # G_TYPE_FROM_INTERFACE (iface), 960s # G_SIGNAL_RUN_LAST, 960s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 960s # NULL, 960s # NULL, 960s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 960s # G_TYPE_NONE, 960s # 1, G_TYPE_UINT64); 960s # 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_emit_simple_signal: 960s # * @object: A #OrgProjectSignalingIface. 960s # * 960s # * Emits the "SimpleSignal" D-Bus signal. 960s # */ 960s # void 960s # org_project_signaling_iface_emit_simple_signal ( 960s # OrgProjectSignalingIface *object) 960s # { 960s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_emit_single_arg_signal_t: 960s # * @object: A #OrgProjectSignalingIface. 960s # * @arg_arg_t: Argument to pass with the signal. 960s # * 960s # * Emits the "SingleArgSignalT" D-Bus signal. 960s # */ 960s # void 960s # org_project_signaling_iface_emit_single_arg_signal_t ( 960s # OrgProjectSignalingIface *object, 960s # guint64 arg_arg_t) 960s # { 960s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 960s # } 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceProxy: 960s # * 960s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceProxyClass: 960s # * @parent_class: The parent class. 960s # * 960s # * Class structure for #OrgProjectSignalingIfaceProxy. 960s # */ 960s # 960s # struct _OrgProjectSignalingIfaceProxyPrivate 960s # { 960s # GData *qdata; 960s # }; 960s # 960s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 960s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 960s # 960s # #else 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 960s # 960s # #endif 960s # static void 960s # org_project_signaling_iface_proxy_finalize (GObject *object) 960s # { 960s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 960s # g_datalist_clear (&proxy->priv->qdata); 960s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 960s # guint prop_id G_GNUC_UNUSED, 960s # GValue *value G_GNUC_UNUSED, 960s # GParamSpec *pspec G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 960s # guint prop_id G_GNUC_UNUSED, 960s # const GValue *value G_GNUC_UNUSED, 960s # GParamSpec *pspec G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 960s # const gchar *sender_name G_GNUC_UNUSED, 960s # const gchar *signal_name, 960s # GVariant *parameters) 960s # { 960s # _ExtendedGDBusSignalInfo *info; 960s # GVariantIter iter; 960s # GVariant *child; 960s # GValue *paramv; 960s # gsize num_params; 960s # gsize n; 960s # guint signal_id; 960s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 960s # if (info == NULL) 960s # return; 960s # num_params = g_variant_n_children (parameters); 960s # paramv = g_new0 (GValue, num_params + 1); 960s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_set_object (¶mv[0], proxy); 960s # g_variant_iter_init (&iter, parameters); 960s # n = 1; 960s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 960s # { 960s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 960s # if (arg_info->use_gvariant) 960s # { 960s # g_value_init (¶mv[n], G_TYPE_VARIANT); 960s # g_value_set_variant (¶mv[n], child); 960s # n++; 960s # } 960s # else 960s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 960s # g_variant_unref (child); 960s # } 960s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_signal_emitv (paramv, signal_id, 0, NULL); 960s # for (n = 0; n < num_params + 1; n++) 960s # g_value_unset (¶mv[n]); 960s # g_free (paramv); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 960s # GVariant *changed_properties, 960s # const gchar *const *invalidated_properties) 960s # { 960s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 960s # guint n; 960s # const gchar *key; 960s # GVariantIter *iter; 960s # _ExtendedGDBusPropertyInfo *info; 960s # g_variant_get (changed_properties, "a{sv}", &iter); 960s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 960s # { 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 960s # g_datalist_remove_data (&proxy->priv->qdata, key); 960s # if (info != NULL) 960s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 960s # } 960s # g_variant_iter_free (iter); 960s # for (n = 0; invalidated_properties[n] != NULL; n++) 960s # { 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 960s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 960s # if (info != NULL) 960s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 960s # } 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 960s # { 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 960s # #else 960s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 960s # #endif 960s # 960s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 960s # { 960s # GObjectClass *gobject_class; 960s # GDBusProxyClass *proxy_class; 960s # 960s # gobject_class = G_OBJECT_CLASS (klass); 960s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 960s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 960s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 960s # 960s # proxy_class = G_DBUS_PROXY_CLASS (klass); 960s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 960s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 960s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 960s # #endif 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new: 960s # * @connection: A #GDBusConnection. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 960s # * 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 960s # * 960s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 960s # */ 960s # void 960s # org_project_signaling_iface_proxy_new ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_finish: 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 960s # * @error: Return location for error or %NULL 960s # * 960s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_finish ( 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GObject *ret; 960s # GObject *source_object; 960s # source_object = g_async_result_get_source_object (res); 960s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 960s # g_object_unref (source_object); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_sync: 960s # * @connection: A #GDBusConnection. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL 960s # * 960s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 960s # * 960s # * The calling thread is blocked until a reply is received. 960s # * 960s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_sync ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GInitable *ret; 960s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus: 960s # * @bus_type: A #GBusType. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: A bus name (well-known or unique). 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 960s # * 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 960s # * 960s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 960s # */ 960s # void 960s # org_project_signaling_iface_proxy_new_for_bus ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus_finish: 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 960s # * @error: Return location for error or %NULL 960s # * 960s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_for_bus_finish ( 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GObject *ret; 960s # GObject *source_object; 960s # source_object = g_async_result_get_source_object (res); 960s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 960s # g_object_unref (source_object); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus_sync: 960s # * @bus_type: A #GBusType. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: A bus name (well-known or unique). 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL 960s # * 960s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 960s # * 960s # * The calling thread is blocked until a reply is received. 960s # * 960s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_for_bus_sync ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GInitable *ret; 960s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceSkeleton: 960s # * 960s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceSkeletonClass: 960s # * @parent_class: The parent class. 960s # * 960s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 960s # */ 960s # 960s # struct _OrgProjectSignalingIfaceSkeletonPrivate 960s # { 960s # GValue *properties; 960s # GList *changed_properties; 960s # GSource *changed_properties_idle_source; 960s # GMainContext *context; 960s # GMutex lock; 960s # }; 960s # 960s # static void 960s # _org_project_signaling_iface_skeleton_handle_method_call ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name, 960s # const gchar *method_name, 960s # GVariant *parameters, 960s # GDBusMethodInvocation *invocation, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # _ExtendedGDBusMethodInfo *info; 960s # GVariantIter iter; 960s # GVariant *child; 960s # GValue *paramv; 960s # gsize num_params; 960s # guint num_extra; 960s # gsize n; 960s # guint signal_id; 960s # GValue return_value = G_VALUE_INIT; 960s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 960s # g_assert (info != NULL); 960s # num_params = g_variant_n_children (parameters); 960s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 960s # n = 0; 960s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_set_object (¶mv[n++], skeleton); 960s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 960s # g_value_set_object (¶mv[n++], invocation); 960s # if (info->pass_fdlist) 960s # { 960s # #ifdef G_OS_UNIX 960s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 960s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 960s # #else 960s # g_assert_not_reached (); 960s # #endif 960s # } 960s # g_variant_iter_init (&iter, parameters); 960s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 960s # { 960s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 960s # if (arg_info->use_gvariant) 960s # { 960s # g_value_init (¶mv[n], G_TYPE_VARIANT); 960s # g_value_set_variant (¶mv[n], child); 960s # n++; 960s # } 960s # else 960s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 960s # g_variant_unref (child); 960s # } 960s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_init (&return_value, G_TYPE_BOOLEAN); 960s # g_signal_emitv (paramv, signal_id, 0, &return_value); 960s # if (!g_value_get_boolean (&return_value)) 960s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 960s # g_value_unset (&return_value); 960s # for (n = 0; n < num_params + num_extra; n++) 960s # g_value_unset (¶mv[n]); 960s # g_free (paramv); 960s # } 960s # 960s # static GVariant * 960s # _org_project_signaling_iface_skeleton_handle_get_property ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name G_GNUC_UNUSED, 960s # const gchar *property_name, 960s # GError **error, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # GValue value = G_VALUE_INIT; 960s # GParamSpec *pspec; 960s # _ExtendedGDBusPropertyInfo *info; 960s # GVariant *ret; 960s # ret = NULL; 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 960s # g_assert (info != NULL); 960s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 960s # if (pspec == NULL) 960s # { 960s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 960s # } 960s # else 960s # { 960s # g_value_init (&value, pspec->value_type); 960s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 960s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 960s # g_value_unset (&value); 960s # } 960s # return ret; 960s # } 960s # 960s # static gboolean 960s # _org_project_signaling_iface_skeleton_handle_set_property ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name G_GNUC_UNUSED, 960s # const gchar *property_name, 960s # GVariant *variant, 960s # GError **error, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # GValue value = G_VALUE_INIT; 960s # GParamSpec *pspec; 960s # _ExtendedGDBusPropertyInfo *info; 960s # gboolean ret; 960s # ret = FALSE; 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 960s # g_assert (info != NULL); 960s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 960s # if (pspec == NULL) 960s # { 960s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 960s # } 960s # else 960s # { 960s # if (info->use_gvariant) 960s # g_value_set_variant (&value, variant); 960s # else 960s # g_dbus_gvariant_to_gvalue (variant, &value); 960s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 960s # g_value_unset (&value); 960s # ret = TRUE; 960s # } 960s # return ret; 960s # } 960s # 960s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 960s # { 960s # _org_project_signaling_iface_skeleton_handle_method_call, 960s # _org_project_signaling_iface_skeleton_handle_get_property, 960s # _org_project_signaling_iface_skeleton_handle_set_property, 960s # {NULL} 960s # }; 960s # 960s # static GDBusInterfaceInfo * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 960s # { 960s # return org_project_signaling_iface_interface_info (); 960s # } 960s # 960s # static GDBusInterfaceVTable * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 960s # { 960s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 960s # } 960s # 960s # static GVariant * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 960s # 960s # GVariantBuilder builder; 960s # guint n; 960s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 960s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 960s # goto out; 960s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 960s # { 960s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 960s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 960s # { 960s # GVariant *value; 960s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 960s # if (value != NULL) 960s # { 960s # g_variant_take_ref (value); 960s # g_variant_builder_add (&builder, "{sv}", info->name, value); 960s # g_variant_unref (value); 960s # } 960s # } 960s # } 960s # out: 960s # return g_variant_builder_end (&builder); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # _org_project_signaling_iface_on_signal_simple_signal ( 960s # OrgProjectSignalingIface *object) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # 960s # GList *connections, *l; 960s # GVariant *signal_variant; 960s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 960s # 960s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 960s # for (l = connections; l != NULL; l = l->next) 960s # { 960s # GDBusConnection *connection = l->data; 960s # g_dbus_connection_emit_signal (connection, 960s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 960s # signal_variant, NULL); 960s # } 960s # g_variant_unref (signal_variant); 960s # g_list_free_full (connections, g_object_unref); 960s # } 960s # 960s # static void 960s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 960s # OrgProjectSignalingIface *object, 960s # guint64 arg_arg_t) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # 960s # GList *connections, *l; 960s # GVariant *signal_variant; 960s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 960s # 960s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 960s # arg_arg_t)); 960s # for (l = connections; l != NULL; l = l->next) 960s # { 960s # GDBusConnection *connection = l->data; 960s # g_dbus_connection_emit_signal (connection, 960s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 960s # signal_variant, NULL); 960s # } 960s # g_variant_unref (signal_variant); 960s # g_list_free_full (connections, g_object_unref); 960s # } 960s # 960s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 960s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 960s # 960s # #else 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 960s # 960s # #endif 960s # static void 960s # org_project_signaling_iface_skeleton_finalize (GObject *object) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 960s # if (skeleton->priv->changed_properties_idle_source != NULL) 960s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 960s # g_main_context_unref (skeleton->priv->context); 960s # g_mutex_clear (&skeleton->priv->lock); 960s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 960s # { 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 960s # #else 960s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 960s # #endif 960s # 960s # g_mutex_init (&skeleton->priv->lock); 960s # skeleton->priv->context = g_main_context_ref_thread_default (); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 960s # { 960s # GObjectClass *gobject_class; 960s # GDBusInterfaceSkeletonClass *skeleton_class; 960s # 960s # gobject_class = G_OBJECT_CLASS (klass); 960s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 960s # 960s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 960s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 960s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 960s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 960s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 960s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 960s # #endif 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 960s # { 960s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 960s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_skeleton_new: 960s # * 960s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_skeleton_new (void) 960s # { 960s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 960s # } 960s # /tmp/tmpqzg2h3yi/tmp4y25zaaf.xml: 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqzg2h3yi/tmp4y25zaaf.xml', '--output', '-', '--body'] 960s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 960s # Output: /* 960s # * This file is generated by gdbus-codegen, do not modify it. 960s # * 960s # * The license of this code is the same as for the D-Bus interface description 960s # * it was derived from. Note that it links to GLib, so must comply with the 960s # * LGPL linking clauses. 960s # */ 960s # 960s # #ifdef HAVE_CONFIG_H 960s # # include "config.h" 960s # #endif 960s # 960s # #include 960s # #ifdef G_OS_UNIX 960s # # include 960s # #endif 960s # 960s # #ifdef G_ENABLE_DEBUG 960s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 960s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 960s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 960s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 960s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 960s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 960s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 960s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 960s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 960s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 960s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 960s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 960s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 960s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 960s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 960s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 960s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 960s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 960s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 960s # #else /* !G_ENABLE_DEBUG */ 960s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 960s # * Do not access GValues directly in your code. Instead, use the 960s # * g_value_get_*() functions 960s # */ 960s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 960s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 960s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 960s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 960s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 960s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 960s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 960s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 960s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 960s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 960s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 960s # #endif /* !G_ENABLE_DEBUG */ 960s # 960s # typedef struct 960s # { 960s # GDBusArgInfo parent_struct; 960s # gboolean use_gvariant; 960s # } _ExtendedGDBusArgInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusMethodInfo parent_struct; 960s # const gchar *signal_name; 960s # gboolean pass_fdlist; 960s # } _ExtendedGDBusMethodInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusSignalInfo parent_struct; 960s # const gchar *signal_name; 960s # } _ExtendedGDBusSignalInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusPropertyInfo parent_struct; 960s # const gchar *hyphen_name; 960s # guint use_gvariant : 1; 960s # guint emits_changed_signal : 1; 960s # } _ExtendedGDBusPropertyInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusInterfaceInfo parent_struct; 960s # const gchar *hyphen_name; 960s # } _ExtendedGDBusInterfaceInfo; 960s # 960s # typedef struct 960s # { 960s # const _ExtendedGDBusPropertyInfo *info; 960s # guint prop_id; 960s # GValue orig_value; /* the value before the change */ 960s # } ChangedProperty; 960s # 960s # static void 960s # _changed_property_free (ChangedProperty *data) 960s # { 960s # g_value_unset (&data->orig_value); 960s # g_free (data); 960s # } 960s # 960s # static gboolean 960s # _g_strv_equal0 (gchar **a, gchar **b) 960s # { 960s # gboolean ret = FALSE; 960s # guint n; 960s # if (a == NULL && b == NULL) 960s # { 960s # ret = TRUE; 960s # goto out; 960s # } 960s # if (a == NULL || b == NULL) 960s # goto out; 960s # if (g_strv_length (a) != g_strv_length (b)) 960s # goto out; 960s # for (n = 0; a[n] != NULL; n++) 960s # if (g_strcmp0 (a[n], b[n]) != 0) 960s # goto out; 960s # ret = TRUE; 960s # out: 960s # return ret; 960s # } 960s # 960s # static gboolean 960s # _g_variant_equal0 (GVariant *a, GVariant *b) 960s # { 960s # gboolean ret = FALSE; 960s # if (a == NULL && b == NULL) 960s # { 960s # ret = TRUE; 960s # goto out; 960s # } 960s # if (a == NULL || b == NULL) 960s # goto out; 960s # ret = g_variant_equal (a, b); 960s # out: 960s # return ret; 960s # } 960s # 960s # G_GNUC_UNUSED static gboolean 960s # _g_value_equal (const GValue *a, const GValue *b) 960s # { 960s # gboolean ret = FALSE; 960s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 960s # switch (G_VALUE_TYPE (a)) 960s # { 960s # case G_TYPE_BOOLEAN: 960s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 960s # break; 960s # case G_TYPE_UCHAR: 960s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 960s # break; 960s # case G_TYPE_INT: 960s # ret = (g_value_get_int (a) == g_value_get_int (b)); 960s # break; 960s # case G_TYPE_UINT: 960s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 960s # break; 960s # case G_TYPE_INT64: 960s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 960s # break; 960s # case G_TYPE_UINT64: 960s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 960s # break; 960s # case G_TYPE_DOUBLE: 960s # { 960s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 960s # gdouble da = g_value_get_double (a); 960s # gdouble db = g_value_get_double (b); 960s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 960s # } 960s # break; 960s # case G_TYPE_STRING: 960s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 960s # break; 960s # case G_TYPE_VARIANT: 960s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 960s # break; 960s # default: 960s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 960s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 960s # else 960s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 960s # break; 960s # } 960s # return ret; 960s # } 960s # 960s # /* ------------------------------------------------------------------------ 960s # * Code for interface org.project.SignalingIface 960s # * ------------------------------------------------------------------------ 960s # */ 960s # 960s # /** 960s # * SECTION:OrgProjectSignalingIface 960s # * @title: OrgProjectSignalingIface 960s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 960s # * 960s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 960s # */ 960s # 960s # enum 960s # { 960s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 960s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 960s # }; 960s # 960s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 960s # 960s # /* ---- Introspection data for org.project.SignalingIface ---- */ 960s # 960s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 960s # { 960s # { 960s # -1, 960s # (gchar *) "SimpleSignal", 960s # NULL, 960s # NULL 960s # }, 960s # "simple-signal" 960s # }; 960s # 960s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 960s # { 960s # { 960s # -1, 960s # (gchar *) "arg_d", 960s # (gchar *) "d", 960s # NULL 960s # }, 960s # FALSE 960s # }; 960s # 960s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 960s # { 960s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 960s # NULL 960s # }; 960s # 960s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 960s # { 960s # { 960s # -1, 960s # (gchar *) "SingleArgSignalD", 960s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 960s # NULL 960s # }, 960s # "single-arg-signal-d" 960s # }; 960s # 960s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 960s # { 960s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 960s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 960s # NULL 960s # }; 960s # 960s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 960s # { 960s # { 960s # -1, 960s # (gchar *) "org.project.SignalingIface", 960s # NULL, 960s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 960s # NULL, 960s # NULL 960s # }, 960s # "org-project-signaling-iface", 960s # }; 960s # 960s # 960s # /** 960s # * org_project_signaling_iface_interface_info: 960s # * 960s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 960s # * 960s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 960s # */ 960s # GDBusInterfaceInfo * 960s # org_project_signaling_iface_interface_info (void) 960s # { 960s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_override_properties: 960s # * @klass: The class structure for a #GObject derived class. 960s # * @property_id_begin: The property id to assign to the first overridden property. 960s # * 960s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 960s # * The properties are overridden in the order they are defined. 960s # * 960s # * Returns: The last property id. 960s # */ 960s # guint 960s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 960s # { 960s # return property_id_begin - 1; 960s # } 960s # 960s # 960s # inline static void 960s # org_project_signaling_iface_signal_marshal_simple_signal ( 960s # GClosure *closure, 960s # GValue *return_value, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint, 960s # void *marshal_data) 960s # { 960s # g_cclosure_marshal_VOID__VOID (closure, 960s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 960s # } 960s # 960s # inline static void 960s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 960s # GClosure *closure, 960s # GValue *return_value, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint, 960s # void *marshal_data) 960s # { 960s # g_cclosure_marshal_VOID__DOUBLE (closure, 960s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 960s # } 960s # 960s # 960s # /** 960s # * OrgProjectSignalingIface: 960s # * 960s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceIface: 960s # * @parent_iface: The parent interface. 960s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 960s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 960s # * 960s # * Virtual table for the D-Bus interface org.project.SignalingIface. 960s # */ 960s # 960s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 960s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 960s # 960s # static void 960s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 960s # { 960s # /* GObject signals for received D-Bus signals: */ 960s # /** 960s # * OrgProjectSignalingIface::simple-signal: 960s # * @object: A #OrgProjectSignalingIface. 960s # * 960s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 960s # * 960s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 960s # */ 960s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 960s # g_signal_new ("simple-signal", 960s # G_TYPE_FROM_INTERFACE (iface), 960s # G_SIGNAL_RUN_LAST, 960s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 960s # NULL, 960s # NULL, 960s # org_project_signaling_iface_signal_marshal_simple_signal, 960s # G_TYPE_NONE, 960s # 0); 960s # 960s # /** 960s # * OrgProjectSignalingIface::single-arg-signal-d: 960s # * @object: A #OrgProjectSignalingIface. 960s # * @arg_arg_d: Argument. 960s # * 960s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 960s # * 960s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 960s # */ 960s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 960s # g_signal_new ("single-arg-signal-d", 960s # G_TYPE_FROM_INTERFACE (iface), 960s # G_SIGNAL_RUN_LAST, 960s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 960s # NULL, 960s # NULL, 960s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 960s # G_TYPE_NONE, 960s # 1, G_TYPE_DOUBLE); 960s # 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_emit_simple_signal: 960s # * @object: A #OrgProjectSignalingIface. 960s # * 960s # * Emits the "SimpleSignal" D-Bus signal. 960s # */ 960s # void 960s # org_project_signaling_iface_emit_simple_signal ( 960s # OrgProjectSignalingIface *object) 960s # { 960s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_emit_single_arg_signal_d: 960s # * @object: A #OrgProjectSignalingIface. 960s # * @arg_arg_d: Argument to pass with the signal. 960s # * 960s # * Emits the "SingleArgSignalD" D-Bus signal. 960s # */ 960s # void 960s # org_project_signaling_iface_emit_single_arg_signal_d ( 960s # OrgProjectSignalingIface *object, 960s # gdouble arg_arg_d) 960s # { 960s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 960s # } 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceProxy: 960s # * 960s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceProxyClass: 960s # * @parent_class: The parent class. 960s # * 960s # * Class structure for #OrgProjectSignalingIfaceProxy. 960s # */ 960s # 960s # struct _OrgProjectSignalingIfaceProxyPrivate 960s # { 960s # GData *qdata; 960s # }; 960s # 960s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 960s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 960s # 960s # #else 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 960s # 960s # #endif 960s # static void 960s # org_project_signaling_iface_proxy_finalize (GObject *object) 960s # { 960s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 960s # g_datalist_clear (&proxy->priv->qdata); 960s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 960s # guint prop_id G_GNUC_UNUSED, 960s # GValue *value G_GNUC_UNUSED, 960s # GParamSpec *pspec G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 960s # guint prop_id G_GNUC_UNUSED, 960s # const GValue *value G_GNUC_UNUSED, 960s # GParamSpec *pspec G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 960s # const gchar *sender_name G_GNUC_UNUSED, 960s # const gchar *signal_name, 960s # GVariant *parameters) 960s # { 960s # _ExtendedGDBusSignalInfo *info; 960s # GVariantIter iter; 960s # GVariant *child; 960s # GValue *paramv; 960s # gsize num_params; 960s # gsize n; 960s # guint signal_id; 960s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 960s # if (info == NULL) 960s # return; 960s # num_params = g_variant_n_children (parameters); 960s # paramv = g_new0 (GValue, num_params + 1); 960s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_set_object (¶mv[0], proxy); 960s # g_variant_iter_init (&iter, parameters); 960s # n = 1; 960s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 960s # { 960s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 960s # if (arg_info->use_gvariant) 960s # { 960s # g_value_init (¶mv[n], G_TYPE_VARIANT); 960s # g_value_set_variant (¶mv[n], child); 960s # n++; 960s # } 960s # else 960s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 960s # g_variant_unref (child); 960s # } 960s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_signal_emitv (paramv, signal_id, 0, NULL); 960s # for (n = 0; n < num_params + 1; n++) 960s # g_value_unset (¶mv[n]); 960s # g_free (paramv); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 960s # GVariant *changed_properties, 960s # const gchar *const *invalidated_properties) 960s # { 960s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 960s # guint n; 960s # const gchar *key; 960s # GVariantIter *iter; 960s # _ExtendedGDBusPropertyInfo *info; 960s # g_variant_get (changed_properties, "a{sv}", &iter); 960s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 960s # { 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 960s # g_datalist_remove_data (&proxy->priv->qdata, key); 960s # if (info != NULL) 960s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 960s # } 960s # g_variant_iter_free (iter); 960s # for (n = 0; invalidated_properties[n] != NULL; n++) 960s # { 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 960s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 960s # if (info != NULL) 960s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 960s # } 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 960s # { 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 960s # #else 960s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 960s # #endif 960s # 960s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 960s # { 960s # GObjectClass *gobject_class; 960s # GDBusProxyClass *proxy_class; 960s # 960s # gobject_class = G_OBJECT_CLASS (klass); 960s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 960s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 960s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 960s # 960s # proxy_class = G_DBUS_PROXY_CLASS (klass); 960s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 960s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 960s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 960s # #endif 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new: 960s # * @connection: A #GDBusConnection. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 960s # * 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 960s # * 960s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 960s # */ 960s # void 960s # org_project_signaling_iface_proxy_new ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_finish: 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 960s # * @error: Return location for error or %NULL 960s # * 960s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_finish ( 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GObject *ret; 960s # GObject *source_object; 960s # source_object = g_async_result_get_source_object (res); 960s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 960s # g_object_unref (source_object); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_sync: 960s # * @connection: A #GDBusConnection. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL 960s # * 960s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 960s # * 960s # * The calling thread is blocked until a reply is received. 960s # * 960s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_sync ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GInitable *ret; 960s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus: 960s # * @bus_type: A #GBusType. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: A bus name (well-known or unique). 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 960s # * 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 960s # * 960s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 960s # */ 960s # void 960s # org_project_signaling_iface_proxy_new_for_bus ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus_finish: 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 960s # * @error: Return location for error or %NULL 960s # * 960s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_for_bus_finish ( 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GObject *ret; 960s # GObject *source_object; 960s # source_object = g_async_result_get_source_object (res); 960s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 960s # g_object_unref (source_object); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus_sync: 960s # * @bus_type: A #GBusType. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: A bus name (well-known or unique). 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL 960s # * 960s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 960s # * 960s # * The calling thread is blocked until a reply is received. 960s # * 960s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_for_bus_sync ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GInitable *ret; 960s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceSkeleton: 960s # * 960s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceSkeletonClass: 960s # * @parent_class: The parent class. 960s # * 960s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 960s # */ 960s # 960s # struct _OrgProjectSignalingIfaceSkeletonPrivate 960s # { 960s # GValue *properties; 960s # GList *changed_properties; 960s # GSource *changed_properties_idle_source; 960s # GMainContext *context; 960s # GMutex lock; 960s # }; 960s # 960s # static void 960s # _org_project_signaling_iface_skeleton_handle_method_call ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name, 960s # const gchar *method_name, 960s # GVariant *parameters, 960s # GDBusMethodInvocation *invocation, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # _ExtendedGDBusMethodInfo *info; 960s # GVariantIter iter; 960s # GVariant *child; 960s # GValue *paramv; 960s # gsize num_params; 960s # guint num_extra; 960s # gsize n; 960s # guint signal_id; 960s # GValue return_value = G_VALUE_INIT; 960s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 960s # g_assert (info != NULL); 960s # num_params = g_variant_n_children (parameters); 960s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 960s # n = 0; 960s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_set_object (¶mv[n++], skeleton); 960s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 960s # g_value_set_object (¶mv[n++], invocation); 960s # if (info->pass_fdlist) 960s # { 960s # #ifdef G_OS_UNIX 960s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 960s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 960s # #else 960s # g_assert_not_reached (); 960s # #endif 960s # } 960s # g_variant_iter_init (&iter, parameters); 960s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 960s # { 960s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 960s # if (arg_info->use_gvariant) 960s # { 960s # g_value_init (¶mv[n], G_TYPE_VARIANT); 960s # g_value_set_variant (¶mv[n], child); 960s # n++; 960s # } 960s # else 960s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 960s # g_variant_unref (child); 960s # } 960s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_init (&return_value, G_TYPE_BOOLEAN); 960s # g_signal_emitv (paramv, signal_id, 0, &return_value); 960s # if (!g_value_get_boolean (&return_value)) 960s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 960s # g_value_unset (&return_value); 960s # for (n = 0; n < num_params + num_extra; n++) 960s # g_value_unset (¶mv[n]); 960s # g_free (paramv); 960s # } 960s # 960s # static GVariant * 960s # _org_project_signaling_iface_skeleton_handle_get_property ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name G_GNUC_UNUSED, 960s # const gchar *property_name, 960s # GError **error, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # GValue value = G_VALUE_INIT; 960s # GParamSpec *pspec; 960s # _ExtendedGDBusPropertyInfo *info; 960s # GVariant *ret; 960s # ret = NULL; 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 960s # g_assert (info != NULL); 960s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 960s # if (pspec == NULL) 960s # { 960s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 960s # } 960s # else 960s # { 960s # g_value_init (&value, pspec->value_type); 960s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 960s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 960s # g_value_unset (&value); 960s # } 960s # return ret; 960s # } 960s # 960s # static gboolean 960s # _org_project_signaling_iface_skeleton_handle_set_property ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name G_GNUC_UNUSED, 960s # const gchar *property_name, 960s # GVariant *variant, 960s # GError **error, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # GValue value = G_VALUE_INIT; 960s # GParamSpec *pspec; 960s # _ExtendedGDBusPropertyInfo *info; 960s # gboolean ret; 960s # ret = FALSE; 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 960s # g_assert (info != NULL); 960s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 960s # if (pspec == NULL) 960s # { 960s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 960s # } 960s # else 960s # { 960s # if (info->use_gvariant) 960s # g_value_set_variant (&value, variant); 960s # else 960s # g_dbus_gvariant_to_gvalue (variant, &value); 960s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 960s # g_value_unset (&value); 960s # ret = TRUE; 960s # } 960s # return ret; 960s # } 960s # 960s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 960s # { 960s # _org_project_signaling_iface_skeleton_handle_method_call, 960s # _org_project_signaling_iface_skeleton_handle_get_property, 960s # _org_project_signaling_iface_skeleton_handle_set_property, 960s # {NULL} 960s # }; 960s # 960s # static GDBusInterfaceInfo * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 960s # { 960s # return org_project_signaling_iface_interface_info (); 960s # } 960s # 960s # static GDBusInterfaceVTable * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 960s # { 960s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 960s # } 960s # 960s # static GVariant * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 960s # 960s # GVariantBuilder builder; 960s # guint n; 960s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 960s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 960s # goto out; 960s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 960s # { 960s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 960s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 960s # { 960s # GVariant *value; 960s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 960s # if (value != NULL) 960s # { 960s # g_variant_take_ref (value); 960s # g_variant_builder_add (&builder, "{sv}", info->name, value); 960s # g_variant_unref (value); 960s # } 960s # } 960s # } 960s # out: 960s # return g_variant_builder_end (&builder); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # _org_project_signaling_iface_on_signal_simple_signal ( 960s # OrgProjectSignalingIface *object) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # 960s # GList *connections, *l; 960s # GVariant *signal_variant; 960s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 960s # 960s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 960s # for (l = connections; l != NULL; l = l->next) 960s # { 960s # GDBusConnection *connection = l->data; 960s # g_dbus_connection_emit_signal (connection, 960s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 960s # signal_variant, NULL); 960s # } 960s # g_variant_unref (signal_variant); 960s # g_list_free_full (connections, g_object_unref); 960s # } 960s # 960s # static void 960s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 960s # OrgProjectSignalingIface *object, 960s # gdouble arg_arg_d) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # 960s # GList *connections, *l; 960s # GVariant *signal_variant; 960s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 960s # 960s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 960s # arg_arg_d)); 960s # for (l = connections; l != NULL; l = l->next) 960s # { 960s # GDBusConnection *connection = l->data; 960s # g_dbus_connection_emit_signal (connection, 960s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 960s # signal_variant, NULL); 960s # } 960s # g_variant_unref (signal_variant); 960s # g_list_free_full (connections, g_object_unref); 960s # } 960s # 960s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 960s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 960s # 960s # #else 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 960s # 960s # #endif 960s # static void 960s # org_project_signaling_iface_skeleton_finalize (GObject *object) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 960s # if (skeleton->priv->changed_properties_idle_source != NULL) 960s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 960s # g_main_context_unref (skeleton->priv->context); 960s # g_mutex_clear (&skeleton->priv->lock); 960s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 960s # { 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 960s # #else 960s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 960s # #endif 960s # 960s # g_mutex_init (&skeleton->priv->lock); 960s # skeleton->priv->context = g_main_context_ref_thread_default (); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 960s # { 960s # GObjectClass *gobject_class; 960s # GDBusInterfaceSkeletonClass *skeleton_class; 960s # 960s # gobject_class = G_OBJECT_CLASS (klass); 960s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 960s # 960s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 960s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 960s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 960s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 960s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 960s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 960s # #endif 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 960s # { 960s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 960s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_skeleton_new: 960s # * 960s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_skeleton_new (void) 960s # { 960s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 960s # } 960s # /tmp/tmpqzg2h3yi/tmpq8buhiqy.xml: 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqzg2h3yi/tmpq8buhiqy.xml', '--output', '-', '--body'] 960s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 960s # Output: /* 960s # * This file is generated by gdbus-codegen, do not modify it. 960s # * 960s # * The license of this code is the same as for the D-Bus interface description 960s # * it was derived from. Note that it links to GLib, so must comply with the 960s # * LGPL linking clauses. 960s # */ 960s # 960s # #ifdef HAVE_CONFIG_H 960s # # include "config.h" 960s # #endif 960s # 960s # #include 960s # #ifdef G_OS_UNIX 960s # # include 960s # #endif 960s # 960s # #ifdef G_ENABLE_DEBUG 960s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 960s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 960s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 960s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 960s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 960s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 960s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 960s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 960s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 960s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 960s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 960s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 960s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 960s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 960s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 960s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 960s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 960s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 960s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 960s # #else /* !G_ENABLE_DEBUG */ 960s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 960s # * Do not access GValues directly in your code. Instead, use the 960s # * g_value_get_*() functions 960s # */ 960s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 960s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 960s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 960s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 960s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 960s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 960s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 960s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 960s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 960s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 960s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 960s # #endif /* !G_ENABLE_DEBUG */ 960s # 960s # typedef struct 960s # { 960s # GDBusArgInfo parent_struct; 960s # gboolean use_gvariant; 960s # } _ExtendedGDBusArgInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusMethodInfo parent_struct; 960s # const gchar *signal_name; 960s # gboolean pass_fdlist; 960s # } _ExtendedGDBusMethodInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusSignalInfo parent_struct; 960s # const gchar *signal_name; 960s # } _ExtendedGDBusSignalInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusPropertyInfo parent_struct; 960s # const gchar *hyphen_name; 960s # guint use_gvariant : 1; 960s # guint emits_changed_signal : 1; 960s # } _ExtendedGDBusPropertyInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusInterfaceInfo parent_struct; 960s # const gchar *hyphen_name; 960s # } _ExtendedGDBusInterfaceInfo; 960s # 960s # typedef struct 960s # { 960s # const _ExtendedGDBusPropertyInfo *info; 960s # guint prop_id; 960s # GValue orig_value; /* the value before the change */ 960s # } ChangedProperty; 960s # 960s # static void 960s # _changed_property_free (ChangedProperty *data) 960s # { 960s # g_value_unset (&data->orig_value); 960s # g_free (data); 960s # } 960s # 960s # static gboolean 960s # _g_strv_equal0 (gchar **a, gchar **b) 960s # { 960s # gboolean ret = FALSE; 960s # guint n; 960s # if (a == NULL && b == NULL) 960s # { 960s # ret = TRUE; 960s # goto out; 960s # } 960s # if (a == NULL || b == NULL) 960s # goto out; 960s # if (g_strv_length (a) != g_strv_length (b)) 960s # goto out; 960s # for (n = 0; a[n] != NULL; n++) 960s # if (g_strcmp0 (a[n], b[n]) != 0) 960s # goto out; 960s # ret = TRUE; 960s # out: 960s # return ret; 960s # } 960s # 960s # static gboolean 960s # _g_variant_equal0 (GVariant *a, GVariant *b) 960s # { 960s # gboolean ret = FALSE; 960s # if (a == NULL && b == NULL) 960s # { 960s # ret = TRUE; 960s # goto out; 960s # } 960s # if (a == NULL || b == NULL) 960s # goto out; 960s # ret = g_variant_equal (a, b); 960s # out: 960s # return ret; 960s # } 960s # 960s # G_GNUC_UNUSED static gboolean 960s # _g_value_equal (const GValue *a, const GValue *b) 960s # { 960s # gboolean ret = FALSE; 960s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 960s # switch (G_VALUE_TYPE (a)) 960s # { 960s # case G_TYPE_BOOLEAN: 960s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 960s # break; 960s # case G_TYPE_UCHAR: 960s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 960s # break; 960s # case G_TYPE_INT: 960s # ret = (g_value_get_int (a) == g_value_get_int (b)); 960s # break; 960s # case G_TYPE_UINT: 960s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 960s # break; 960s # case G_TYPE_INT64: 960s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 960s # break; 960s # case G_TYPE_UINT64: 960s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 960s # break; 960s # case G_TYPE_DOUBLE: 960s # { 960s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 960s # gdouble da = g_value_get_double (a); 960s # gdouble db = g_value_get_double (b); 960s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 960s # } 960s # break; 960s # case G_TYPE_STRING: 960s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 960s # break; 960s # case G_TYPE_VARIANT: 960s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 960s # break; 960s # default: 960s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 960s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 960s # else 960s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 960s # break; 960s # } 960s # return ret; 960s # } 960s # 960s # /* ------------------------------------------------------------------------ 960s # * Code for interface org.project.SignalingIface 960s # * ------------------------------------------------------------------------ 960s # */ 960s # 960s # /** 960s # * SECTION:OrgProjectSignalingIface 960s # * @title: OrgProjectSignalingIface 960s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 960s # * 960s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 960s # */ 960s # 960s # enum 960s # { 960s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 960s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 960s # }; 960s # 960s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 960s # 960s # /* ---- Introspection data for org.project.SignalingIface ---- */ 960s # 960s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 960s # { 960s # { 960s # -1, 960s # (gchar *) "SimpleSignal", 960s # NULL, 960s # NULL 960s # }, 960s # "simple-signal" 960s # }; 960s # 960s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 960s # { 960s # { 960s # -1, 960s # (gchar *) "arg_s", 960s # (gchar *) "s", 960s # NULL 960s # }, 960s # FALSE 960s # }; 960s # 960s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 960s # { 960s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 960s # NULL 960s # }; 960s # 960s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 960s # { 960s # { 960s # -1, 960s # (gchar *) "SingleArgSignalS", 960s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 960s # NULL 960s # }, 960s # "single-arg-signal-s" 960s # }; 960s # 960s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 960s # { 960s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 960s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 960s # NULL 960s # }; 960s # 960s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 960s # { 960s # { 960s # -1, 960s # (gchar *) "org.project.SignalingIface", 960s # NULL, 960s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 960s # NULL, 960s # NULL 960s # }, 960s # "org-project-signaling-iface", 960s # }; 960s # 960s # 960s # /** 960s # * org_project_signaling_iface_interface_info: 960s # * 960s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 960s # * 960s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 960s # */ 960s # GDBusInterfaceInfo * 960s # org_project_signaling_iface_interface_info (void) 960s # { 960s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_override_properties: 960s # * @klass: The class structure for a #GObject derived class. 960s # * @property_id_begin: The property id to assign to the first overridden property. 960s # * 960s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 960s # * The properties are overridden in the order they are defined. 960s # * 960s # * Returns: The last property id. 960s # */ 960s # guint 960s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 960s # { 960s # return property_id_begin - 1; 960s # } 960s # 960s # 960s # inline static void 960s # org_project_signaling_iface_signal_marshal_simple_signal ( 960s # GClosure *closure, 960s # GValue *return_value, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint, 960s # void *marshal_data) 960s # { 960s # g_cclosure_marshal_VOID__VOID (closure, 960s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 960s # } 960s # 960s # inline static void 960s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 960s # GClosure *closure, 960s # GValue *return_value, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint, 960s # void *marshal_data) 960s # { 960s # g_cclosure_marshal_VOID__STRING (closure, 960s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 960s # } 960s # 960s # 960s # /** 960s # * OrgProjectSignalingIface: 960s # * 960s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceIface: 960s # * @parent_iface: The parent interface. 960s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 960s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 960s # * 960s # * Virtual table for the D-Bus interface org.project.SignalingIface. 960s # */ 960s # 960s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 960s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 960s # 960s # static void 960s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 960s # { 960s # /* GObject signals for received D-Bus signals: */ 960s # /** 960s # * OrgProjectSignalingIface::simple-signal: 960s # * @object: A #OrgProjectSignalingIface. 960s # * 960s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 960s # * 960s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 960s # */ 960s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 960s # g_signal_new ("simple-signal", 960s # G_TYPE_FROM_INTERFACE (iface), 960s # G_SIGNAL_RUN_LAST, 960s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 960s # NULL, 960s # NULL, 960s # org_project_signaling_iface_signal_marshal_simple_signal, 960s # G_TYPE_NONE, 960s # 0); 960s # 960s # /** 960s # * OrgProjectSignalingIface::single-arg-signal-s: 960s # * @object: A #OrgProjectSignalingIface. 960s # * @arg_arg_s: Argument. 960s # * 960s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 960s # * 960s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 960s # */ 960s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 960s # g_signal_new ("single-arg-signal-s", 960s # G_TYPE_FROM_INTERFACE (iface), 960s # G_SIGNAL_RUN_LAST, 960s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 960s # NULL, 960s # NULL, 960s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 960s # G_TYPE_NONE, 960s # 1, G_TYPE_STRING); 960s # 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_emit_simple_signal: 960s # * @object: A #OrgProjectSignalingIface. 960s # * 960s # * Emits the "SimpleSignal" D-Bus signal. 960s # */ 960s # void 960s # org_project_signaling_iface_emit_simple_signal ( 960s # OrgProjectSignalingIface *object) 960s # { 960s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_emit_single_arg_signal_s: 960s # * @object: A #OrgProjectSignalingIface. 960s # * @arg_arg_s: Argument to pass with the signal. 960s # * 960s # * Emits the "SingleArgSignalS" D-Bus signal. 960s # */ 960s # void 960s # org_project_signaling_iface_emit_single_arg_signal_s ( 960s # OrgProjectSignalingIface *object, 960s # const gchar *arg_arg_s) 960s # { 960s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 960s # } 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceProxy: 960s # * 960s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceProxyClass: 960s # * @parent_class: The parent class. 960s # * 960s # * Class structure for #OrgProjectSignalingIfaceProxy. 960s # */ 960s # 960s # struct _OrgProjectSignalingIfaceProxyPrivate 960s # { 960s # GData *qdata; 960s # }; 960s # 960s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 960s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 960s # 960s # #else 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 960s # 960s # #endif 960s # static void 960s # org_project_signaling_iface_proxy_finalize (GObject *object) 960s # { 960s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 960s # g_datalist_clear (&proxy->priv->qdata); 960s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 960s # guint prop_id G_GNUC_UNUSED, 960s # GValue *value G_GNUC_UNUSED, 960s # GParamSpec *pspec G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 960s # guint prop_id G_GNUC_UNUSED, 960s # const GValue *value G_GNUC_UNUSED, 960s # GParamSpec *pspec G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 960s # const gchar *sender_name G_GNUC_UNUSED, 960s # const gchar *signal_name, 960s # GVariant *parameters) 960s # { 960s # _ExtendedGDBusSignalInfo *info; 960s # GVariantIter iter; 960s # GVariant *child; 960s # GValue *paramv; 960s # gsize num_params; 960s # gsize n; 960s # guint signal_id; 960s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 960s # if (info == NULL) 960s # return; 960s # num_params = g_variant_n_children (parameters); 960s # paramv = g_new0 (GValue, num_params + 1); 960s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_set_object (¶mv[0], proxy); 960s # g_variant_iter_init (&iter, parameters); 960s # n = 1; 960s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 960s # { 960s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 960s # if (arg_info->use_gvariant) 960s # { 960s # g_value_init (¶mv[n], G_TYPE_VARIANT); 960s # g_value_set_variant (¶mv[n], child); 960s # n++; 960s # } 960s # else 960s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 960s # g_variant_unref (child); 960s # } 960s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_signal_emitv (paramv, signal_id, 0, NULL); 960s # for (n = 0; n < num_params + 1; n++) 960s # g_value_unset (¶mv[n]); 960s # g_free (paramv); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 960s # GVariant *changed_properties, 960s # const gchar *const *invalidated_properties) 960s # { 960s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 960s # guint n; 960s # const gchar *key; 960s # GVariantIter *iter; 960s # _ExtendedGDBusPropertyInfo *info; 960s # g_variant_get (changed_properties, "a{sv}", &iter); 960s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 960s # { 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 960s # g_datalist_remove_data (&proxy->priv->qdata, key); 960s # if (info != NULL) 960s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 960s # } 960s # g_variant_iter_free (iter); 960s # for (n = 0; invalidated_properties[n] != NULL; n++) 960s # { 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 960s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 960s # if (info != NULL) 960s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 960s # } 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 960s # { 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 960s # #else 960s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 960s # #endif 960s # 960s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 960s # { 960s # GObjectClass *gobject_class; 960s # GDBusProxyClass *proxy_class; 960s # 960s # gobject_class = G_OBJECT_CLASS (klass); 960s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 960s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 960s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 960s # 960s # proxy_class = G_DBUS_PROXY_CLASS (klass); 960s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 960s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 960s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 960s # #endif 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new: 960s # * @connection: A #GDBusConnection. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 960s # * 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 960s # * 960s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 960s # */ 960s # void 960s # org_project_signaling_iface_proxy_new ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_finish: 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 960s # * @error: Return location for error or %NULL 960s # * 960s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_finish ( 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GObject *ret; 960s # GObject *source_object; 960s # source_object = g_async_result_get_source_object (res); 960s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 960s # g_object_unref (source_object); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_sync: 960s # * @connection: A #GDBusConnection. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL 960s # * 960s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 960s # * 960s # * The calling thread is blocked until a reply is received. 960s # * 960s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_sync ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GInitable *ret; 960s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus: 960s # * @bus_type: A #GBusType. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: A bus name (well-known or unique). 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 960s # * 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 960s # * 960s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 960s # */ 960s # void 960s # org_project_signaling_iface_proxy_new_for_bus ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus_finish: 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 960s # * @error: Return location for error or %NULL 960s # * 960s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_for_bus_finish ( 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GObject *ret; 960s # GObject *source_object; 960s # source_object = g_async_result_get_source_object (res); 960s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 960s # g_object_unref (source_object); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus_sync: 960s # * @bus_type: A #GBusType. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: A bus name (well-known or unique). 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL 960s # * 960s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 960s # * 960s # * The calling thread is blocked until a reply is received. 960s # * 960s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_for_bus_sync ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GInitable *ret; 960s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceSkeleton: 960s # * 960s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceSkeletonClass: 960s # * @parent_class: The parent class. 960s # * 960s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 960s # */ 960s # 960s # struct _OrgProjectSignalingIfaceSkeletonPrivate 960s # { 960s # GValue *properties; 960s # GList *changed_properties; 960s # GSource *changed_properties_idle_source; 960s # GMainContext *context; 960s # GMutex lock; 960s # }; 960s # 960s # static void 960s # _org_project_signaling_iface_skeleton_handle_method_call ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name, 960s # const gchar *method_name, 960s # GVariant *parameters, 960s # GDBusMethodInvocation *invocation, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # _ExtendedGDBusMethodInfo *info; 960s # GVariantIter iter; 960s # GVariant *child; 960s # GValue *paramv; 960s # gsize num_params; 960s # guint num_extra; 960s # gsize n; 960s # guint signal_id; 960s # GValue return_value = G_VALUE_INIT; 960s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 960s # g_assert (info != NULL); 960s # num_params = g_variant_n_children (parameters); 960s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 960s # n = 0; 960s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_set_object (¶mv[n++], skeleton); 960s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 960s # g_value_set_object (¶mv[n++], invocation); 960s # if (info->pass_fdlist) 960s # { 960s # #ifdef G_OS_UNIX 960s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 960s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 960s # #else 960s # g_assert_not_reached (); 960s # #endif 960s # } 960s # g_variant_iter_init (&iter, parameters); 960s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 960s # { 960s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 960s # if (arg_info->use_gvariant) 960s # { 960s # g_value_init (¶mv[n], G_TYPE_VARIANT); 960s # g_value_set_variant (¶mv[n], child); 960s # n++; 960s # } 960s # else 960s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 960s # g_variant_unref (child); 960s # } 960s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_init (&return_value, G_TYPE_BOOLEAN); 960s # g_signal_emitv (paramv, signal_id, 0, &return_value); 960s # if (!g_value_get_boolean (&return_value)) 960s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 960s # g_value_unset (&return_value); 960s # for (n = 0; n < num_params + num_extra; n++) 960s # g_value_unset (¶mv[n]); 960s # g_free (paramv); 960s # } 960s # 960s # static GVariant * 960s # _org_project_signaling_iface_skeleton_handle_get_property ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name G_GNUC_UNUSED, 960s # const gchar *property_name, 960s # GError **error, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # GValue value = G_VALUE_INIT; 960s # GParamSpec *pspec; 960s # _ExtendedGDBusPropertyInfo *info; 960s # GVariant *ret; 960s # ret = NULL; 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 960s # g_assert (info != NULL); 960s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 960s # if (pspec == NULL) 960s # { 960s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 960s # } 960s # else 960s # { 960s # g_value_init (&value, pspec->value_type); 960s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 960s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 960s # g_value_unset (&value); 960s # } 960s # return ret; 960s # } 960s # 960s # static gboolean 960s # _org_project_signaling_iface_skeleton_handle_set_property ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name G_GNUC_UNUSED, 960s # const gchar *property_name, 960s # GVariant *variant, 960s # GError **error, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # GValue value = G_VALUE_INIT; 960s # GParamSpec *pspec; 960s # _ExtendedGDBusPropertyInfo *info; 960s # gboolean ret; 960s # ret = FALSE; 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 960s # g_assert (info != NULL); 960s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 960s # if (pspec == NULL) 960s # { 960s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 960s # } 960s # else 960s # { 960s # if (info->use_gvariant) 960s # g_value_set_variant (&value, variant); 960s # else 960s # g_dbus_gvariant_to_gvalue (variant, &value); 960s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 960s # g_value_unset (&value); 960s # ret = TRUE; 960s # } 960s # return ret; 960s # } 960s # 960s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 960s # { 960s # _org_project_signaling_iface_skeleton_handle_method_call, 960s # _org_project_signaling_iface_skeleton_handle_get_property, 960s # _org_project_signaling_iface_skeleton_handle_set_property, 960s # {NULL} 960s # }; 960s # 960s # static GDBusInterfaceInfo * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 960s # { 960s # return org_project_signaling_iface_interface_info (); 960s # } 960s # 960s # static GDBusInterfaceVTable * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 960s # { 960s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 960s # } 960s # 960s # static GVariant * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 960s # 960s # GVariantBuilder builder; 960s # guint n; 960s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 960s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 960s # goto out; 960s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 960s # { 960s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 960s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 960s # { 960s # GVariant *value; 960s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 960s # if (value != NULL) 960s # { 960s # g_variant_take_ref (value); 960s # g_variant_builder_add (&builder, "{sv}", info->name, value); 960s # g_variant_unref (value); 960s # } 960s # } 960s # } 960s # out: 960s # return g_variant_builder_end (&builder); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # _org_project_signaling_iface_on_signal_simple_signal ( 960s # OrgProjectSignalingIface *object) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # 960s # GList *connections, *l; 960s # GVariant *signal_variant; 960s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 960s # 960s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 960s # for (l = connections; l != NULL; l = l->next) 960s # { 960s # GDBusConnection *connection = l->data; 960s # g_dbus_connection_emit_signal (connection, 960s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 960s # signal_variant, NULL); 960s # } 960s # g_variant_unref (signal_variant); 960s # g_list_free_full (connections, g_object_unref); 960s # } 960s # 960s # static void 960s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 960s # OrgProjectSignalingIface *object, 960s # const gchar *arg_arg_s) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # 960s # GList *connections, *l; 960s # GVariant *signal_variant; 960s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 960s # 960s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 960s # arg_arg_s)); 960s # for (l = connections; l != NULL; l = l->next) 960s # { 960s # GDBusConnection *connection = l->data; 960s # g_dbus_connection_emit_signal (connection, 960s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 960s # signal_variant, NULL); 960s # } 960s # g_variant_unref (signal_variant); 960s # g_list_free_full (connections, g_object_unref); 960s # } 960s # 960s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 960s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 960s # 960s # #else 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 960s # 960s # #endif 960s # static void 960s # org_project_signaling_iface_skeleton_finalize (GObject *object) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 960s # if (skeleton->priv->changed_properties_idle_source != NULL) 960s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 960s # g_main_context_unref (skeleton->priv->context); 960s # g_mutex_clear (&skeleton->priv->lock); 960s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 960s # { 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 960s # #else 960s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 960s # #endif 960s # 960s # g_mutex_init (&skeleton->priv->lock); 960s # skeleton->priv->context = g_main_context_ref_thread_default (); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 960s # { 960s # GObjectClass *gobject_class; 960s # GDBusInterfaceSkeletonClass *skeleton_class; 960s # 960s # gobject_class = G_OBJECT_CLASS (klass); 960s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 960s # 960s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 960s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 960s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 960s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 960s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 960s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 960s # #endif 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 960s # { 960s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 960s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_skeleton_new: 960s # * 960s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_skeleton_new (void) 960s # { 960s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 960s # } 960s # /tmp/tmpqzg2h3yi/tmpnzf_8960.xml: 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqzg2h3yi/tmpnzf_8960.xml', '--output', '-', '--body'] 960s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 960s # Output: /* 960s # * This file is generated by gdbus-codegen, do not modify it. 960s # * 960s # * The license of this code is the same as for the D-Bus interface description 960s # * it was derived from. Note that it links to GLib, so must comply with the 960s # * LGPL linking clauses. 960s # */ 960s # 960s # #ifdef HAVE_CONFIG_H 960s # # include "config.h" 960s # #endif 960s # 960s # #include 960s # #ifdef G_OS_UNIX 960s # # include 960s # #endif 960s # 960s # #ifdef G_ENABLE_DEBUG 960s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 960s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 960s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 960s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 960s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 960s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 960s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 960s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 960s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 960s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 960s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 960s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 960s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 960s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 960s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 960s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 960s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 960s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 960s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 960s # #else /* !G_ENABLE_DEBUG */ 960s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 960s # * Do not access GValues directly in your code. Instead, use the 960s # * g_value_get_*() functions 960s # */ 960s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 960s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 960s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 960s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 960s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 960s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 960s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 960s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 960s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 960s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 960s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 960s # #endif /* !G_ENABLE_DEBUG */ 960s # 960s # typedef struct 960s # { 960s # GDBusArgInfo parent_struct; 960s # gboolean use_gvariant; 960s # } _ExtendedGDBusArgInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusMethodInfo parent_struct; 960s # const gchar *signal_name; 960s # gboolean pass_fdlist; 960s # } _ExtendedGDBusMethodInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusSignalInfo parent_struct; 960s # const gchar *signal_name; 960s # } _ExtendedGDBusSignalInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusPropertyInfo parent_struct; 960s # const gchar *hyphen_name; 960s # guint use_gvariant : 1; 960s # guint emits_changed_signal : 1; 960s # } _ExtendedGDBusPropertyInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusInterfaceInfo parent_struct; 960s # const gchar *hyphen_name; 960s # } _ExtendedGDBusInterfaceInfo; 960s # 960s # typedef struct 960s # { 960s # const _ExtendedGDBusPropertyInfo *info; 960s # guint prop_id; 960s # GValue orig_value; /* the value before the change */ 960s # } ChangedProperty; 960s # 960s # static void 960s # _changed_property_free (ChangedProperty *data) 960s # { 960s # g_value_unset (&data->orig_value); 960s # g_free (data); 960s # } 960s # 960s # static gboolean 960s # _g_strv_equal0 (gchar **a, gchar **b) 960s # { 960s # gboolean ret = FALSE; 960s # guint n; 960s # if (a == NULL && b == NULL) 960s # { 960s # ret = TRUE; 960s # goto out; 960s # } 960s # if (a == NULL || b == NULL) 960s # goto out; 960s # if (g_strv_length (a) != g_strv_length (b)) 960s # goto out; 960s # for (n = 0; a[n] != NULL; n++) 960s # if (g_strcmp0 (a[n], b[n]) != 0) 960s # goto out; 960s # ret = TRUE; 960s # out: 960s # return ret; 960s # } 960s # 960s # static gboolean 960s # _g_variant_equal0 (GVariant *a, GVariant *b) 960s # { 960s # gboolean ret = FALSE; 960s # if (a == NULL && b == NULL) 960s # { 960s # ret = TRUE; 960s # goto out; 960s # } 960s # if (a == NULL || b == NULL) 960s # goto out; 960s # ret = g_variant_equal (a, b); 960s # out: 960s # return ret; 960s # } 960s # 960s # G_GNUC_UNUSED static gboolean 960s # _g_value_equal (const GValue *a, const GValue *b) 960s # { 960s # gboolean ret = FALSE; 960s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 960s # switch (G_VALUE_TYPE (a)) 960s # { 960s # case G_TYPE_BOOLEAN: 960s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 960s # break; 960s # case G_TYPE_UCHAR: 960s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 960s # break; 960s # case G_TYPE_INT: 960s # ret = (g_value_get_int (a) == g_value_get_int (b)); 960s # break; 960s # case G_TYPE_UINT: 960s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 960s # break; 960s # case G_TYPE_INT64: 960s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 960s # break; 960s # case G_TYPE_UINT64: 960s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 960s # break; 960s # case G_TYPE_DOUBLE: 960s # { 960s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 960s # gdouble da = g_value_get_double (a); 960s # gdouble db = g_value_get_double (b); 960s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 960s # } 960s # break; 960s # case G_TYPE_STRING: 960s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 960s # break; 960s # case G_TYPE_VARIANT: 960s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 960s # break; 960s # default: 960s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 960s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 960s # else 960s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 960s # break; 960s # } 960s # return ret; 960s # } 960s # 960s # /* ------------------------------------------------------------------------ 960s # * Code for interface org.project.SignalingIface 960s # * ------------------------------------------------------------------------ 960s # */ 960s # 960s # /** 960s # * SECTION:OrgProjectSignalingIface 960s # * @title: OrgProjectSignalingIface 960s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 960s # * 960s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 960s # */ 960s # 960s # enum 960s # { 960s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 960s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 960s # }; 960s # 960s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 960s # 960s # /* ---- Introspection data for org.project.SignalingIface ---- */ 960s # 960s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 960s # { 960s # { 960s # -1, 960s # (gchar *) "SimpleSignal", 960s # NULL, 960s # NULL 960s # }, 960s # "simple-signal" 960s # }; 960s # 960s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 960s # { 960s # { 960s # -1, 960s # (gchar *) "arg_o", 960s # (gchar *) "o", 960s # NULL 960s # }, 960s # FALSE 960s # }; 960s # 960s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 960s # { 960s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 960s # NULL 960s # }; 960s # 960s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 960s # { 960s # { 960s # -1, 960s # (gchar *) "SingleArgSignalO", 960s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 960s # NULL 960s # }, 960s # "single-arg-signal-o" 960s # }; 960s # 960s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 960s # { 960s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 960s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 960s # NULL 960s # }; 960s # 960s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 960s # { 960s # { 960s # -1, 960s # (gchar *) "org.project.SignalingIface", 960s # NULL, 960s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 960s # NULL, 960s # NULL 960s # }, 960s # "org-project-signaling-iface", 960s # }; 960s # 960s # 960s # /** 960s # * org_project_signaling_iface_interface_info: 960s # * 960s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 960s # * 960s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 960s # */ 960s # GDBusInterfaceInfo * 960s # org_project_signaling_iface_interface_info (void) 960s # { 960s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_override_properties: 960s # * @klass: The class structure for a #GObject derived class. 960s # * @property_id_begin: The property id to assign to the first overridden property. 960s # * 960s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 960s # * The properties are overridden in the order they are defined. 960s # * 960s # * Returns: The last property id. 960s # */ 960s # guint 960s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 960s # { 960s # return property_id_begin - 1; 960s # } 960s # 960s # 960s # inline static void 960s # org_project_signaling_iface_signal_marshal_simple_signal ( 960s # GClosure *closure, 960s # GValue *return_value, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint, 960s # void *marshal_data) 960s # { 960s # g_cclosure_marshal_VOID__VOID (closure, 960s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 960s # } 960s # 960s # inline static void 960s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 960s # GClosure *closure, 960s # GValue *return_value, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint, 960s # void *marshal_data) 960s # { 960s # g_cclosure_marshal_VOID__STRING (closure, 960s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 960s # } 960s # 960s # 960s # /** 960s # * OrgProjectSignalingIface: 960s # * 960s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceIface: 960s # * @parent_iface: The parent interface. 960s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 960s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 960s # * 960s # * Virtual table for the D-Bus interface org.project.SignalingIface. 960s # */ 960s # 960s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 960s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 960s # 960s # static void 960s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 960s # { 960s # /* GObject signals for received D-Bus signals: */ 960s # /** 960s # * OrgProjectSignalingIface::simple-signal: 960s # * @object: A #OrgProjectSignalingIface. 960s # * 960s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 960s # * 960s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 960s # */ 960s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 960s # g_signal_new ("simple-signal", 960s # G_TYPE_FROM_INTERFACE (iface), 960s # G_SIGNAL_RUN_LAST, 960s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 960s # NULL, 960s # NULL, 960s # org_project_signaling_iface_signal_marshal_simple_signal, 960s # G_TYPE_NONE, 960s # 0); 960s # 960s # /** 960s # * OrgProjectSignalingIface::single-arg-signal-o: 960s # * @object: A #OrgProjectSignalingIface. 960s # * @arg_arg_o: Argument. 960s # * 960s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 960s # * 960s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 960s # */ 960s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 960s # g_signal_new ("single-arg-signal-o", 960s # G_TYPE_FROM_INTERFACE (iface), 960s # G_SIGNAL_RUN_LAST, 960s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 960s # NULL, 960s # NULL, 960s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 960s # G_TYPE_NONE, 960s # 1, G_TYPE_STRING); 960s # 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_emit_simple_signal: 960s # * @object: A #OrgProjectSignalingIface. 960s # * 960s # * Emits the "SimpleSignal" D-Bus signal. 960s # */ 960s # void 960s # org_project_signaling_iface_emit_simple_signal ( 960s # OrgProjectSignalingIface *object) 960s # { 960s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_emit_single_arg_signal_o: 960s # * @object: A #OrgProjectSignalingIface. 960s # * @arg_arg_o: Argument to pass with the signal. 960s # * 960s # * Emits the "SingleArgSignalO" D-Bus signal. 960s # */ 960s # void 960s # org_project_signaling_iface_emit_single_arg_signal_o ( 960s # OrgProjectSignalingIface *object, 960s # const gchar *arg_arg_o) 960s # { 960s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 960s # } 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceProxy: 960s # * 960s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceProxyClass: 960s # * @parent_class: The parent class. 960s # * 960s # * Class structure for #OrgProjectSignalingIfaceProxy. 960s # */ 960s # 960s # struct _OrgProjectSignalingIfaceProxyPrivate 960s # { 960s # GData *qdata; 960s # }; 960s # 960s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 960s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 960s # 960s # #else 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 960s # 960s # #endif 960s # static void 960s # org_project_signaling_iface_proxy_finalize (GObject *object) 960s # { 960s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 960s # g_datalist_clear (&proxy->priv->qdata); 960s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 960s # guint prop_id G_GNUC_UNUSED, 960s # GValue *value G_GNUC_UNUSED, 960s # GParamSpec *pspec G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 960s # guint prop_id G_GNUC_UNUSED, 960s # const GValue *value G_GNUC_UNUSED, 960s # GParamSpec *pspec G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 960s # const gchar *sender_name G_GNUC_UNUSED, 960s # const gchar *signal_name, 960s # GVariant *parameters) 960s # { 960s # _ExtendedGDBusSignalInfo *info; 960s # GVariantIter iter; 960s # GVariant *child; 960s # GValue *paramv; 960s # gsize num_params; 960s # gsize n; 960s # guint signal_id; 960s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 960s # if (info == NULL) 960s # return; 960s # num_params = g_variant_n_children (parameters); 960s # paramv = g_new0 (GValue, num_params + 1); 960s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_set_object (¶mv[0], proxy); 960s # g_variant_iter_init (&iter, parameters); 960s # n = 1; 960s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 960s # { 960s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 960s # if (arg_info->use_gvariant) 960s # { 960s # g_value_init (¶mv[n], G_TYPE_VARIANT); 960s # g_value_set_variant (¶mv[n], child); 960s # n++; 960s # } 960s # else 960s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 960s # g_variant_unref (child); 960s # } 960s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_signal_emitv (paramv, signal_id, 0, NULL); 960s # for (n = 0; n < num_params + 1; n++) 960s # g_value_unset (¶mv[n]); 960s # g_free (paramv); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 960s # GVariant *changed_properties, 960s # const gchar *const *invalidated_properties) 960s # { 960s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 960s # guint n; 960s # const gchar *key; 960s # GVariantIter *iter; 960s # _ExtendedGDBusPropertyInfo *info; 960s # g_variant_get (changed_properties, "a{sv}", &iter); 960s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 960s # { 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 960s # g_datalist_remove_data (&proxy->priv->qdata, key); 960s # if (info != NULL) 960s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 960s # } 960s # g_variant_iter_free (iter); 960s # for (n = 0; invalidated_properties[n] != NULL; n++) 960s # { 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 960s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 960s # if (info != NULL) 960s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 960s # } 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 960s # { 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 960s # #else 960s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 960s # #endif 960s # 960s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 960s # { 960s # GObjectClass *gobject_class; 960s # GDBusProxyClass *proxy_class; 960s # 960s # gobject_class = G_OBJECT_CLASS (klass); 960s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 960s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 960s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 960s # 960s # proxy_class = G_DBUS_PROXY_CLASS (klass); 960s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 960s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 960s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 960s # #endif 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new: 960s # * @connection: A #GDBusConnection. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 960s # * 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 960s # * 960s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 960s # */ 960s # void 960s # org_project_signaling_iface_proxy_new ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_finish: 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 960s # * @error: Return location for error or %NULL 960s # * 960s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_finish ( 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GObject *ret; 960s # GObject *source_object; 960s # source_object = g_async_result_get_source_object (res); 960s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 960s # g_object_unref (source_object); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_sync: 960s # * @connection: A #GDBusConnection. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL 960s # * 960s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 960s # * 960s # * The calling thread is blocked until a reply is received. 960s # * 960s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_sync ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GInitable *ret; 960s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus: 960s # * @bus_type: A #GBusType. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: A bus name (well-known or unique). 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 960s # * 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 960s # * 960s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 960s # */ 960s # void 960s # org_project_signaling_iface_proxy_new_for_bus ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus_finish: 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 960s # * @error: Return location for error or %NULL 960s # * 960s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_for_bus_finish ( 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GObject *ret; 960s # GObject *source_object; 960s # source_object = g_async_result_get_source_object (res); 960s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 960s # g_object_unref (source_object); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus_sync: 960s # * @bus_type: A #GBusType. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: A bus name (well-known or unique). 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL 960s # * 960s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 960s # * 960s # * The calling thread is blocked until a reply is received. 960s # * 960s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_for_bus_sync ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GInitable *ret; 960s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceSkeleton: 960s # * 960s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceSkeletonClass: 960s # * @parent_class: The parent class. 960s # * 960s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 960s # */ 960s # 960s # struct _OrgProjectSignalingIfaceSkeletonPrivate 960s # { 960s # GValue *properties; 960s # GList *changed_properties; 960s # GSource *changed_properties_idle_source; 960s # GMainContext *context; 960s # GMutex lock; 960s # }; 960s # 960s # static void 960s # _org_project_signaling_iface_skeleton_handle_method_call ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name, 960s # const gchar *method_name, 960s # GVariant *parameters, 960s # GDBusMethodInvocation *invocation, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # _ExtendedGDBusMethodInfo *info; 960s # GVariantIter iter; 960s # GVariant *child; 960s # GValue *paramv; 960s # gsize num_params; 960s # guint num_extra; 960s # gsize n; 960s # guint signal_id; 960s # GValue return_value = G_VALUE_INIT; 960s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 960s # g_assert (info != NULL); 960s # num_params = g_variant_n_children (parameters); 960s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 960s # n = 0; 960s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_set_object (¶mv[n++], skeleton); 960s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 960s # g_value_set_object (¶mv[n++], invocation); 960s # if (info->pass_fdlist) 960s # { 960s # #ifdef G_OS_UNIX 960s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 960s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 960s # #else 960s # g_assert_not_reached (); 960s # #endif 960s # } 960s # g_variant_iter_init (&iter, parameters); 960s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 960s # { 960s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 960s # if (arg_info->use_gvariant) 960s # { 960s # g_value_init (¶mv[n], G_TYPE_VARIANT); 960s # g_value_set_variant (¶mv[n], child); 960s # n++; 960s # } 960s # else 960s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 960s # g_variant_unref (child); 960s # } 960s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_init (&return_value, G_TYPE_BOOLEAN); 960s # g_signal_emitv (paramv, signal_id, 0, &return_value); 960s # if (!g_value_get_boolean (&return_value)) 960s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 960s # g_value_unset (&return_value); 960s # for (n = 0; n < num_params + num_extra; n++) 960s # g_value_unset (¶mv[n]); 960s # g_free (paramv); 960s # } 960s # 960s # static GVariant * 960s # _org_project_signaling_iface_skeleton_handle_get_property ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name G_GNUC_UNUSED, 960s # const gchar *property_name, 960s # GError **error, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # GValue value = G_VALUE_INIT; 960s # GParamSpec *pspec; 960s # _ExtendedGDBusPropertyInfo *info; 960s # GVariant *ret; 960s # ret = NULL; 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 960s # g_assert (info != NULL); 960s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 960s # if (pspec == NULL) 960s # { 960s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 960s # } 960s # else 960s # { 960s # g_value_init (&value, pspec->value_type); 960s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 960s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 960s # g_value_unset (&value); 960s # } 960s # return ret; 960s # } 960s # 960s # static gboolean 960s # _org_project_signaling_iface_skeleton_handle_set_property ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name G_GNUC_UNUSED, 960s # const gchar *property_name, 960s # GVariant *variant, 960s # GError **error, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # GValue value = G_VALUE_INIT; 960s # GParamSpec *pspec; 960s # _ExtendedGDBusPropertyInfo *info; 960s # gboolean ret; 960s # ret = FALSE; 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 960s # g_assert (info != NULL); 960s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 960s # if (pspec == NULL) 960s # { 960s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 960s # } 960s # else 960s # { 960s # if (info->use_gvariant) 960s # g_value_set_variant (&value, variant); 960s # else 960s # g_dbus_gvariant_to_gvalue (variant, &value); 960s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 960s # g_value_unset (&value); 960s # ret = TRUE; 960s # } 960s # return ret; 960s # } 960s # 960s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 960s # { 960s # _org_project_signaling_iface_skeleton_handle_method_call, 960s # _org_project_signaling_iface_skeleton_handle_get_property, 960s # _org_project_signaling_iface_skeleton_handle_set_property, 960s # {NULL} 960s # }; 960s # 960s # static GDBusInterfaceInfo * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 960s # { 960s # return org_project_signaling_iface_interface_info (); 960s # } 960s # 960s # static GDBusInterfaceVTable * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 960s # { 960s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 960s # } 960s # 960s # static GVariant * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 960s # 960s # GVariantBuilder builder; 960s # guint n; 960s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 960s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 960s # goto out; 960s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 960s # { 960s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 960s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 960s # { 960s # GVariant *value; 960s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 960s # if (value != NULL) 960s # { 960s # g_variant_take_ref (value); 960s # g_variant_builder_add (&builder, "{sv}", info->name, value); 960s # g_variant_unref (value); 960s # } 960s # } 960s # } 960s # out: 960s # return g_variant_builder_end (&builder); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # _org_project_signaling_iface_on_signal_simple_signal ( 960s # OrgProjectSignalingIface *object) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # 960s # GList *connections, *l; 960s # GVariant *signal_variant; 960s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 960s # 960s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 960s # for (l = connections; l != NULL; l = l->next) 960s # { 960s # GDBusConnection *connection = l->data; 960s # g_dbus_connection_emit_signal (connection, 960s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 960s # signal_variant, NULL); 960s # } 960s # g_variant_unref (signal_variant); 960s # g_list_free_full (connections, g_object_unref); 960s # } 960s # 960s # static void 960s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 960s # OrgProjectSignalingIface *object, 960s # const gchar *arg_arg_o) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # 960s # GList *connections, *l; 960s # GVariant *signal_variant; 960s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 960s # 960s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 960s # arg_arg_o)); 960s # for (l = connections; l != NULL; l = l->next) 960s # { 960s # GDBusConnection *connection = l->data; 960s # g_dbus_connection_emit_signal (connection, 960s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 960s # signal_variant, NULL); 960s # } 960s # g_variant_unref (signal_variant); 960s # g_list_free_full (connections, g_object_unref); 960s # } 960s # 960s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 960s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 960s # 960s # #else 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 960s # 960s # #endif 960s # static void 960s # org_project_signaling_iface_skeleton_finalize (GObject *object) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 960s # if (skeleton->priv->changed_properties_idle_source != NULL) 960s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 960s # g_main_context_unref (skeleton->priv->context); 960s # g_mutex_clear (&skeleton->priv->lock); 960s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 960s # { 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 960s # #else 960s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 960s # #endif 960s # 960s # g_mutex_init (&skeleton->priv->lock); 960s # skeleton->priv->context = g_main_context_ref_thread_default (); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 960s # { 960s # GObjectClass *gobject_class; 960s # GDBusInterfaceSkeletonClass *skeleton_class; 960s # 960s # gobject_class = G_OBJECT_CLASS (klass); 960s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 960s # 960s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 960s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 960s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 960s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 960s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 960s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 960s # #endif 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 960s # { 960s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 960s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_skeleton_new: 960s # * 960s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_skeleton_new (void) 960s # { 960s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 960s # } 960s # /tmp/tmpqzg2h3yi/tmpe_4qe2tf.xml: 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqzg2h3yi/tmpe_4qe2tf.xml', '--output', '-', '--body'] 960s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 960s # Output: /* 960s # * This file is generated by gdbus-codegen, do not modify it. 960s # * 960s # * The license of this code is the same as for the D-Bus interface description 960s # * it was derived from. Note that it links to GLib, so must comply with the 960s # * LGPL linking clauses. 960s # */ 960s # 960s # #ifdef HAVE_CONFIG_H 960s # # include "config.h" 960s # #endif 960s # 960s # #include 960s # #ifdef G_OS_UNIX 960s # # include 960s # #endif 960s # 960s # #ifdef G_ENABLE_DEBUG 960s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 960s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 960s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 960s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 960s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 960s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 960s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 960s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 960s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 960s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 960s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 960s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 960s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 960s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 960s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 960s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 960s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 960s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 960s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 960s # #else /* !G_ENABLE_DEBUG */ 960s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 960s # * Do not access GValues directly in your code. Instead, use the 960s # * g_value_get_*() functions 960s # */ 960s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 960s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 960s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 960s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 960s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 960s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 960s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 960s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 960s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 960s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 960s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 960s # #endif /* !G_ENABLE_DEBUG */ 960s # 960s # typedef struct 960s # { 960s # GDBusArgInfo parent_struct; 960s # gboolean use_gvariant; 960s # } _ExtendedGDBusArgInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusMethodInfo parent_struct; 960s # const gchar *signal_name; 960s # gboolean pass_fdlist; 960s # } _ExtendedGDBusMethodInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusSignalInfo parent_struct; 960s # const gchar *signal_name; 960s # } _ExtendedGDBusSignalInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusPropertyInfo parent_struct; 960s # const gchar *hyphen_name; 960s # guint use_gvariant : 1; 960s # guint emits_changed_signal : 1; 960s # } _ExtendedGDBusPropertyInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusInterfaceInfo parent_struct; 960s # const gchar *hyphen_name; 960s # } _ExtendedGDBusInterfaceInfo; 960s # 960s # typedef struct 960s # { 960s # const _ExtendedGDBusPropertyInfo *info; 960s # guint prop_id; 960s # GValue orig_value; /* the value before the change */ 960s # } ChangedProperty; 960s # 960s # static void 960s # _changed_property_free (ChangedProperty *data) 960s # { 960s # g_value_unset (&data->orig_value); 960s # g_free (data); 960s # } 960s # 960s # static gboolean 960s # _g_strv_equal0 (gchar **a, gchar **b) 960s # { 960s # gboolean ret = FALSE; 960s # guint n; 960s # if (a == NULL && b == NULL) 960s # { 960s # ret = TRUE; 960s # goto out; 960s # } 960s # if (a == NULL || b == NULL) 960s # goto out; 960s # if (g_strv_length (a) != g_strv_length (b)) 960s # goto out; 960s # for (n = 0; a[n] != NULL; n++) 960s # if (g_strcmp0 (a[n], b[n]) != 0) 960s # goto out; 960s # ret = TRUE; 960s # out: 960s # return ret; 960s # } 960s # 960s # static gboolean 960s # _g_variant_equal0 (GVariant *a, GVariant *b) 960s # { 960s # gboolean ret = FALSE; 960s # if (a == NULL && b == NULL) 960s # { 960s # ret = TRUE; 960s # goto out; 960s # } 960s # if (a == NULL || b == NULL) 960s # goto out; 960s # ret = g_variant_equal (a, b); 960s # out: 960s # return ret; 960s # } 960s # 960s # G_GNUC_UNUSED static gboolean 960s # _g_value_equal (const GValue *a, const GValue *b) 960s # { 960s # gboolean ret = FALSE; 960s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 960s # switch (G_VALUE_TYPE (a)) 960s # { 960s # case G_TYPE_BOOLEAN: 960s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 960s # break; 960s # case G_TYPE_UCHAR: 960s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 960s # break; 960s # case G_TYPE_INT: 960s # ret = (g_value_get_int (a) == g_value_get_int (b)); 960s # break; 960s # case G_TYPE_UINT: 960s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 960s # break; 960s # case G_TYPE_INT64: 960s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 960s # break; 960s # case G_TYPE_UINT64: 960s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 960s # break; 960s # case G_TYPE_DOUBLE: 960s # { 960s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 960s # gdouble da = g_value_get_double (a); 960s # gdouble db = g_value_get_double (b); 960s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 960s # } 960s # break; 960s # case G_TYPE_STRING: 960s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 960s # break; 960s # case G_TYPE_VARIANT: 960s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 960s # break; 960s # default: 960s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 960s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 960s # else 960s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 960s # break; 960s # } 960s # return ret; 960s # } 960s # 960s # /* ------------------------------------------------------------------------ 960s # * Code for interface org.project.SignalingIface 960s # * ------------------------------------------------------------------------ 960s # */ 960s # 960s # /** 960s # * SECTION:OrgProjectSignalingIface 960s # * @title: OrgProjectSignalingIface 960s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 960s # * 960s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 960s # */ 960s # 960s # enum 960s # { 960s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 960s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 960s # }; 960s # 960s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 960s # 960s # /* ---- Introspection data for org.project.SignalingIface ---- */ 960s # 960s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 960s # { 960s # { 960s # -1, 960s # (gchar *) "SimpleSignal", 960s # NULL, 960s # NULL 960s # }, 960s # "simple-signal" 960s # }; 960s # 960s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 960s # { 960s # { 960s # -1, 960s # (gchar *) "arg_g", 960s # (gchar *) "g", 960s # NULL 960s # }, 960s # FALSE 960s # }; 960s # 960s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 960s # { 960s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 960s # NULL 960s # }; 960s # 960s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 960s # { 960s # { 960s # -1, 960s # (gchar *) "SingleArgSignalG", 960s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 960s # NULL 960s # }, 960s # "single-arg-signal-g" 960s # }; 960s # 960s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 960s # { 960s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 960s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 960s # NULL 960s # }; 960s # 960s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 960s # { 960s # { 960s # -1, 960s # (gchar *) "org.project.SignalingIface", 960s # NULL, 960s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 960s # NULL, 960s # NULL 960s # }, 960s # "org-project-signaling-iface", 960s # }; 960s # 960s # 960s # /** 960s # * org_project_signaling_iface_interface_info: 960s # * 960s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 960s # * 960s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 960s # */ 960s # GDBusInterfaceInfo * 960s # org_project_signaling_iface_interface_info (void) 960s # { 960s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_override_properties: 960s # * @klass: The class structure for a #GObject derived class. 960s # * @property_id_begin: The property id to assign to the first overridden property. 960s # * 960s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 960s # * The properties are overridden in the order they are defined. 960s # * 960s # * Returns: The last property id. 960s # */ 960s # guint 960s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 960s # { 960s # return property_id_begin - 1; 960s # } 960s # 960s # 960s # inline static void 960s # org_project_signaling_iface_signal_marshal_simple_signal ( 960s # GClosure *closure, 960s # GValue *return_value, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint, 960s # void *marshal_data) 960s # { 960s # g_cclosure_marshal_VOID__VOID (closure, 960s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 960s # } 960s # 960s # inline static void 960s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 960s # GClosure *closure, 960s # GValue *return_value, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint, 960s # void *marshal_data) 960s # { 960s # g_cclosure_marshal_VOID__STRING (closure, 960s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 960s # } 960s # 960s # 960s # /** 960s # * OrgProjectSignalingIface: 960s # * 960s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceIface: 960s # * @parent_iface: The parent interface. 960s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 960s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 960s # * 960s # * Virtual table for the D-Bus interface org.project.SignalingIface. 960s # */ 960s # 960s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 960s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 960s # 960s # static void 960s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 960s # { 960s # /* GObject signals for received D-Bus signals: */ 960s # /** 960s # * OrgProjectSignalingIface::simple-signal: 960s # * @object: A #OrgProjectSignalingIface. 960s # * 960s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 960s # * 960s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 960s # */ 960s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 960s # g_signal_new ("simple-signal", 960s # G_TYPE_FROM_INTERFACE (iface), 960s # G_SIGNAL_RUN_LAST, 960s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 960s # NULL, 960s # NULL, 960s # org_project_signaling_iface_signal_marshal_simple_signal, 960s # G_TYPE_NONE, 960s # 0); 960s # 960s # /** 960s # * OrgProjectSignalingIface::single-arg-signal-g: 960s # * @object: A #OrgProjectSignalingIface. 960s # * @arg_arg_g: Argument. 960s # * 960s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 960s # * 960s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 960s # */ 960s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 960s # g_signal_new ("single-arg-signal-g", 960s # G_TYPE_FROM_INTERFACE (iface), 960s # G_SIGNAL_RUN_LAST, 960s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 960s # NULL, 960s # NULL, 960s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 960s # G_TYPE_NONE, 960s # 1, G_TYPE_STRING); 960s # 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_emit_simple_signal: 960s # * @object: A #OrgProjectSignalingIface. 960s # * 960s # * Emits the "SimpleSignal" D-Bus signal. 960s # */ 960s # void 960s # org_project_signaling_iface_emit_simple_signal ( 960s # OrgProjectSignalingIface *object) 960s # { 960s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_emit_single_arg_signal_g: 960s # * @object: A #OrgProjectSignalingIface. 960s # * @arg_arg_g: Argument to pass with the signal. 960s # * 960s # * Emits the "SingleArgSignalG" D-Bus signal. 960s # */ 960s # void 960s # org_project_signaling_iface_emit_single_arg_signal_g ( 960s # OrgProjectSignalingIface *object, 960s # const gchar *arg_arg_g) 960s # { 960s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 960s # } 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceProxy: 960s # * 960s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceProxyClass: 960s # * @parent_class: The parent class. 960s # * 960s # * Class structure for #OrgProjectSignalingIfaceProxy. 960s # */ 960s # 960s # struct _OrgProjectSignalingIfaceProxyPrivate 960s # { 960s # GData *qdata; 960s # }; 960s # 960s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 960s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 960s # 960s # #else 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 960s # 960s # #endif 960s # static void 960s # org_project_signaling_iface_proxy_finalize (GObject *object) 960s # { 960s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 960s # g_datalist_clear (&proxy->priv->qdata); 960s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 960s # guint prop_id G_GNUC_UNUSED, 960s # GValue *value G_GNUC_UNUSED, 960s # GParamSpec *pspec G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 960s # guint prop_id G_GNUC_UNUSED, 960s # const GValue *value G_GNUC_UNUSED, 960s # GParamSpec *pspec G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 960s # const gchar *sender_name G_GNUC_UNUSED, 960s # const gchar *signal_name, 960s # GVariant *parameters) 960s # { 960s # _ExtendedGDBusSignalInfo *info; 960s # GVariantIter iter; 960s # GVariant *child; 960s # GValue *paramv; 960s # gsize num_params; 960s # gsize n; 960s # guint signal_id; 960s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 960s # if (info == NULL) 960s # return; 960s # num_params = g_variant_n_children (parameters); 960s # paramv = g_new0 (GValue, num_params + 1); 960s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_set_object (¶mv[0], proxy); 960s # g_variant_iter_init (&iter, parameters); 960s # n = 1; 960s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 960s # { 960s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 960s # if (arg_info->use_gvariant) 960s # { 960s # g_value_init (¶mv[n], G_TYPE_VARIANT); 960s # g_value_set_variant (¶mv[n], child); 960s # n++; 960s # } 960s # else 960s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 960s # g_variant_unref (child); 960s # } 960s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_signal_emitv (paramv, signal_id, 0, NULL); 960s # for (n = 0; n < num_params + 1; n++) 960s # g_value_unset (¶mv[n]); 960s # g_free (paramv); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 960s # GVariant *changed_properties, 960s # const gchar *const *invalidated_properties) 960s # { 960s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 960s # guint n; 960s # const gchar *key; 960s # GVariantIter *iter; 960s # _ExtendedGDBusPropertyInfo *info; 960s # g_variant_get (changed_properties, "a{sv}", &iter); 960s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 960s # { 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 960s # g_datalist_remove_data (&proxy->priv->qdata, key); 960s # if (info != NULL) 960s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 960s # } 960s # g_variant_iter_free (iter); 960s # for (n = 0; invalidated_properties[n] != NULL; n++) 960s # { 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 960s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 960s # if (info != NULL) 960s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 960s # } 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 960s # { 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 960s # #else 960s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 960s # #endif 960s # 960s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 960s # { 960s # GObjectClass *gobject_class; 960s # GDBusProxyClass *proxy_class; 960s # 960s # gobject_class = G_OBJECT_CLASS (klass); 960s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 960s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 960s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 960s # 960s # proxy_class = G_DBUS_PROXY_CLASS (klass); 960s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 960s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 960s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 960s # #endif 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new: 960s # * @connection: A #GDBusConnection. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 960s # * 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 960s # * 960s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 960s # */ 960s # void 960s # org_project_signaling_iface_proxy_new ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_finish: 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 960s # * @error: Return location for error or %NULL 960s # * 960s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_finish ( 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GObject *ret; 960s # GObject *source_object; 960s # source_object = g_async_result_get_source_object (res); 960s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 960s # g_object_unref (source_object); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_sync: 960s # * @connection: A #GDBusConnection. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL 960s # * 960s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 960s # * 960s # * The calling thread is blocked until a reply is received. 960s # * 960s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_sync ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GInitable *ret; 960s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus: 960s # * @bus_type: A #GBusType. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: A bus name (well-known or unique). 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 960s # * 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 960s # * 960s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 960s # */ 960s # void 960s # org_project_signaling_iface_proxy_new_for_bus ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus_finish: 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 960s # * @error: Return location for error or %NULL 960s # * 960s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_for_bus_finish ( 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GObject *ret; 960s # GObject *source_object; 960s # source_object = g_async_result_get_source_object (res); 960s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 960s # g_object_unref (source_object); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus_sync: 960s # * @bus_type: A #GBusType. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: A bus name (well-known or unique). 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL 960s # * 960s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 960s # * 960s # * The calling thread is blocked until a reply is received. 960s # * 960s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_for_bus_sync ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GInitable *ret; 960s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceSkeleton: 960s # * 960s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceSkeletonClass: 960s # * @parent_class: The parent class. 960s # * 960s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 960s # */ 960s # 960s # struct _OrgProjectSignalingIfaceSkeletonPrivate 960s # { 960s # GValue *properties; 960s # GList *changed_properties; 960s # GSource *changed_properties_idle_source; 960s # GMainContext *context; 960s # GMutex lock; 960s # }; 960s # 960s # static void 960s # _org_project_signaling_iface_skeleton_handle_method_call ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name, 960s # const gchar *method_name, 960s # GVariant *parameters, 960s # GDBusMethodInvocation *invocation, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # _ExtendedGDBusMethodInfo *info; 960s # GVariantIter iter; 960s # GVariant *child; 960s # GValue *paramv; 960s # gsize num_params; 960s # guint num_extra; 960s # gsize n; 960s # guint signal_id; 960s # GValue return_value = G_VALUE_INIT; 960s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 960s # g_assert (info != NULL); 960s # num_params = g_variant_n_children (parameters); 960s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 960s # n = 0; 960s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_set_object (¶mv[n++], skeleton); 960s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 960s # g_value_set_object (¶mv[n++], invocation); 960s # if (info->pass_fdlist) 960s # { 960s # #ifdef G_OS_UNIX 960s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 960s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 960s # #else 960s # g_assert_not_reached (); 960s # #endif 960s # } 960s # g_variant_iter_init (&iter, parameters); 960s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 960s # { 960s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 960s # if (arg_info->use_gvariant) 960s # { 960s # g_value_init (¶mv[n], G_TYPE_VARIANT); 960s # g_value_set_variant (¶mv[n], child); 960s # n++; 960s # } 960s # else 960s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 960s # g_variant_unref (child); 960s # } 960s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_init (&return_value, G_TYPE_BOOLEAN); 960s # g_signal_emitv (paramv, signal_id, 0, &return_value); 960s # if (!g_value_get_boolean (&return_value)) 960s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 960s # g_value_unset (&return_value); 960s # for (n = 0; n < num_params + num_extra; n++) 960s # g_value_unset (¶mv[n]); 960s # g_free (paramv); 960s # } 960s # 960s # static GVariant * 960s # _org_project_signaling_iface_skeleton_handle_get_property ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name G_GNUC_UNUSED, 960s # const gchar *property_name, 960s # GError **error, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # GValue value = G_VALUE_INIT; 960s # GParamSpec *pspec; 960s # _ExtendedGDBusPropertyInfo *info; 960s # GVariant *ret; 960s # ret = NULL; 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 960s # g_assert (info != NULL); 960s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 960s # if (pspec == NULL) 960s # { 960s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 960s # } 960s # else 960s # { 960s # g_value_init (&value, pspec->value_type); 960s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 960s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 960s # g_value_unset (&value); 960s # } 960s # return ret; 960s # } 960s # 960s # static gboolean 960s # _org_project_signaling_iface_skeleton_handle_set_property ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name G_GNUC_UNUSED, 960s # const gchar *property_name, 960s # GVariant *variant, 960s # GError **error, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # GValue value = G_VALUE_INIT; 960s # GParamSpec *pspec; 960s # _ExtendedGDBusPropertyInfo *info; 960s # gboolean ret; 960s # ret = FALSE; 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 960s # g_assert (info != NULL); 960s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 960s # if (pspec == NULL) 960s # { 960s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 960s # } 960s # else 960s # { 960s # if (info->use_gvariant) 960s # g_value_set_variant (&value, variant); 960s # else 960s # g_dbus_gvariant_to_gvalue (variant, &value); 960s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 960s # g_value_unset (&value); 960s # ret = TRUE; 960s # } 960s # return ret; 960s # } 960s # 960s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 960s # { 960s # _org_project_signaling_iface_skeleton_handle_method_call, 960s # _org_project_signaling_iface_skeleton_handle_get_property, 960s # _org_project_signaling_iface_skeleton_handle_set_property, 960s # {NULL} 960s # }; 960s # 960s # static GDBusInterfaceInfo * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 960s # { 960s # return org_project_signaling_iface_interface_info (); 960s # } 960s # 960s # static GDBusInterfaceVTable * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 960s # { 960s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 960s # } 960s # 960s # static GVariant * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 960s # 960s # GVariantBuilder builder; 960s # guint n; 960s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 960s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 960s # goto out; 960s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 960s # { 960s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 960s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 960s # { 960s # GVariant *value; 960s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 960s # if (value != NULL) 960s # { 960s # g_variant_take_ref (value); 960s # g_variant_builder_add (&builder, "{sv}", info->name, value); 960s # g_variant_unref (value); 960s # } 960s # } 960s # } 960s # out: 960s # return g_variant_builder_end (&builder); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # _org_project_signaling_iface_on_signal_simple_signal ( 960s # OrgProjectSignalingIface *object) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # 960s # GList *connections, *l; 960s # GVariant *signal_variant; 960s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 960s # 960s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 960s # for (l = connections; l != NULL; l = l->next) 960s # { 960s # GDBusConnection *connection = l->data; 960s # g_dbus_connection_emit_signal (connection, 960s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 960s # signal_variant, NULL); 960s # } 960s # g_variant_unref (signal_variant); 960s # g_list_free_full (connections, g_object_unref); 960s # } 960s # 960s # static void 960s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 960s # OrgProjectSignalingIface *object, 960s # const gchar *arg_arg_g) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # 960s # GList *connections, *l; 960s # GVariant *signal_variant; 960s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 960s # 960s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 960s # arg_arg_g)); 960s # for (l = connections; l != NULL; l = l->next) 960s # { 960s # GDBusConnection *connection = l->data; 960s # g_dbus_connection_emit_signal (connection, 960s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 960s # signal_variant, NULL); 960s # } 960s # g_variant_unref (signal_variant); 960s # g_list_free_full (connections, g_object_unref); 960s # } 960s # 960s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 960s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 960s # 960s # #else 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 960s # 960s # #endif 960s # static void 960s # org_project_signaling_iface_skeleton_finalize (GObject *object) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 960s # if (skeleton->priv->changed_properties_idle_source != NULL) 960s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 960s # g_main_context_unref (skeleton->priv->context); 960s # g_mutex_clear (&skeleton->priv->lock); 960s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 960s # { 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 960s # #else 960s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 960s # #endif 960s # 960s # g_mutex_init (&skeleton->priv->lock); 960s # skeleton->priv->context = g_main_context_ref_thread_default (); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 960s # { 960s # GObjectClass *gobject_class; 960s # GDBusInterfaceSkeletonClass *skeleton_class; 960s # 960s # gobject_class = G_OBJECT_CLASS (klass); 960s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 960s # 960s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 960s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 960s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 960s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 960s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 960s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 960s # #endif 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 960s # { 960s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 960s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_skeleton_new: 960s # * 960s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_skeleton_new (void) 960s # { 960s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 960s # } 960s # /tmp/tmpqzg2h3yi/tmpk0jvajkz.xml: 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqzg2h3yi/tmpk0jvajkz.xml', '--output', '-', '--body'] 960s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 960s # Output: /* 960s # * This file is generated by gdbus-codegen, do not modify it. 960s # * 960s # * The license of this code is the same as for the D-Bus interface description 960s # * it was derived from. Note that it links to GLib, so must comply with the 960s # * LGPL linking clauses. 960s # */ 960s # 960s # #ifdef HAVE_CONFIG_H 960s # # include "config.h" 960s # #endif 960s # 960s # #include 960s # #ifdef G_OS_UNIX 960s # # include 960s # #endif 960s # 960s # #ifdef G_ENABLE_DEBUG 960s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 960s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 960s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 960s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 960s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 960s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 960s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 960s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 960s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 960s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 960s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 960s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 960s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 960s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 960s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 960s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 960s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 960s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 960s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 960s # #else /* !G_ENABLE_DEBUG */ 960s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 960s # * Do not access GValues directly in your code. Instead, use the 960s # * g_value_get_*() functions 960s # */ 960s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 960s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 960s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 960s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 960s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 960s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 960s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 960s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 960s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 960s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 960s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 960s # #endif /* !G_ENABLE_DEBUG */ 960s # 960s # typedef struct 960s # { 960s # GDBusArgInfo parent_struct; 960s # gboolean use_gvariant; 960s # } _ExtendedGDBusArgInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusMethodInfo parent_struct; 960s # const gchar *signal_name; 960s # gboolean pass_fdlist; 960s # } _ExtendedGDBusMethodInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusSignalInfo parent_struct; 960s # const gchar *signal_name; 960s # } _ExtendedGDBusSignalInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusPropertyInfo parent_struct; 960s # const gchar *hyphen_name; 960s # guint use_gvariant : 1; 960s # guint emits_changed_signal : 1; 960s # } _ExtendedGDBusPropertyInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusInterfaceInfo parent_struct; 960s # const gchar *hyphen_name; 960s # } _ExtendedGDBusInterfaceInfo; 960s # 960s # typedef struct 960s # { 960s # const _ExtendedGDBusPropertyInfo *info; 960s # guint prop_id; 960s # GValue orig_value; /* the value before the change */ 960s # } ChangedProperty; 960s # 960s # static void 960s # _changed_property_free (ChangedProperty *data) 960s # { 960s # g_value_unset (&data->orig_value); 960s # g_free (data); 960s # } 960s # 960s # static gboolean 960s # _g_strv_equal0 (gchar **a, gchar **b) 960s # { 960s # gboolean ret = FALSE; 960s # guint n; 960s # if (a == NULL && b == NULL) 960s # { 960s # ret = TRUE; 960s # goto out; 960s # } 960s # if (a == NULL || b == NULL) 960s # goto out; 960s # if (g_strv_length (a) != g_strv_length (b)) 960s # goto out; 960s # for (n = 0; a[n] != NULL; n++) 960s # if (g_strcmp0 (a[n], b[n]) != 0) 960s # goto out; 960s # ret = TRUE; 960s # out: 960s # return ret; 960s # } 960s # 960s # static gboolean 960s # _g_variant_equal0 (GVariant *a, GVariant *b) 960s # { 960s # gboolean ret = FALSE; 960s # if (a == NULL && b == NULL) 960s # { 960s # ret = TRUE; 960s # goto out; 960s # } 960s # if (a == NULL || b == NULL) 960s # goto out; 960s # ret = g_variant_equal (a, b); 960s # out: 960s # return ret; 960s # } 960s # 960s # G_GNUC_UNUSED static gboolean 960s # _g_value_equal (const GValue *a, const GValue *b) 960s # { 960s # gboolean ret = FALSE; 960s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 960s # switch (G_VALUE_TYPE (a)) 960s # { 960s # case G_TYPE_BOOLEAN: 960s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 960s # break; 960s # case G_TYPE_UCHAR: 960s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 960s # break; 960s # case G_TYPE_INT: 960s # ret = (g_value_get_int (a) == g_value_get_int (b)); 960s # break; 960s # case G_TYPE_UINT: 960s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 960s # break; 960s # case G_TYPE_INT64: 960s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 960s # break; 960s # case G_TYPE_UINT64: 960s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 960s # break; 960s # case G_TYPE_DOUBLE: 960s # { 960s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 960s # gdouble da = g_value_get_double (a); 960s # gdouble db = g_value_get_double (b); 960s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 960s # } 960s # break; 960s # case G_TYPE_STRING: 960s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 960s # break; 960s # case G_TYPE_VARIANT: 960s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 960s # break; 960s # default: 960s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 960s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 960s # else 960s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 960s # break; 960s # } 960s # return ret; 960s # } 960s # 960s # /* ------------------------------------------------------------------------ 960s # * Code for interface org.project.SignalingIface 960s # * ------------------------------------------------------------------------ 960s # */ 960s # 960s # /** 960s # * SECTION:OrgProjectSignalingIface 960s # * @title: OrgProjectSignalingIface 960s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 960s # * 960s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 960s # */ 960s # 960s # enum 960s # { 960s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 960s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 960s # }; 960s # 960s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 960s # 960s # /* ---- Introspection data for org.project.SignalingIface ---- */ 960s # 960s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 960s # { 960s # { 960s # -1, 960s # (gchar *) "SimpleSignal", 960s # NULL, 960s # NULL 960s # }, 960s # "simple-signal" 960s # }; 960s # 960s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 960s # { 960s # { 960s # -1, 960s # (gchar *) "arg_h", 960s # (gchar *) "h", 960s # NULL 960s # }, 960s # FALSE 960s # }; 960s # 960s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 960s # { 960s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 960s # NULL 960s # }; 960s # 960s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 960s # { 960s # { 960s # -1, 960s # (gchar *) "SingleArgSignalH", 960s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 960s # NULL 960s # }, 960s # "single-arg-signal-h" 960s # }; 960s # 960s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 960s # { 960s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 960s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 960s # NULL 960s # }; 960s # 960s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 960s # { 960s # { 960s # -1, 960s # (gchar *) "org.project.SignalingIface", 960s # NULL, 960s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 960s # NULL, 960s # NULL 960s # }, 960s # "org-project-signaling-iface", 960s # }; 960s # 960s # 960s # /** 960s # * org_project_signaling_iface_interface_info: 960s # * 960s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 960s # * 960s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 960s # */ 960s # GDBusInterfaceInfo * 960s # org_project_signaling_iface_interface_info (void) 960s # { 960s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_override_properties: 960s # * @klass: The class structure for a #GObject derived class. 960s # * @property_id_begin: The property id to assign to the first overridden property. 960s # * 960s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 960s # * The properties are overridden in the order they are defined. 960s # * 960s # * Returns: The last property id. 960s # */ 960s # guint 960s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 960s # { 960s # return property_id_begin - 1; 960s # } 960s # 960s # 960s # inline static void 960s # org_project_signaling_iface_signal_marshal_simple_signal ( 960s # GClosure *closure, 960s # GValue *return_value, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint, 960s # void *marshal_data) 960s # { 960s # g_cclosure_marshal_VOID__VOID (closure, 960s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 960s # } 960s # 960s # inline static void 960s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 960s # GClosure *closure, 960s # GValue *return_value, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint, 960s # void *marshal_data) 960s # { 960s # g_cclosure_marshal_VOID__VARIANT (closure, 960s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 960s # } 960s # 960s # 960s # /** 960s # * OrgProjectSignalingIface: 960s # * 960s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceIface: 960s # * @parent_iface: The parent interface. 960s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 960s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 960s # * 960s # * Virtual table for the D-Bus interface org.project.SignalingIface. 960s # */ 960s # 960s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 960s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 960s # 960s # static void 960s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 960s # { 960s # /* GObject signals for received D-Bus signals: */ 960s # /** 960s # * OrgProjectSignalingIface::simple-signal: 960s # * @object: A #OrgProjectSignalingIface. 960s # * 960s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 960s # * 960s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 960s # */ 960s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 960s # g_signal_new ("simple-signal", 960s # G_TYPE_FROM_INTERFACE (iface), 960s # G_SIGNAL_RUN_LAST, 960s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 960s # NULL, 960s # NULL, 960s # org_project_signaling_iface_signal_marshal_simple_signal, 960s # G_TYPE_NONE, 960s # 0); 960s # 960s # /** 960s # * OrgProjectSignalingIface::single-arg-signal-h: 960s # * @object: A #OrgProjectSignalingIface. 960s # * @arg_arg_h: Argument. 960s # * 960s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 960s # * 960s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 960s # */ 960s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 960s # g_signal_new ("single-arg-signal-h", 960s # G_TYPE_FROM_INTERFACE (iface), 960s # G_SIGNAL_RUN_LAST, 960s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 960s # NULL, 960s # NULL, 960s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 960s # G_TYPE_NONE, 960s # 1, G_TYPE_VARIANT); 960s # 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_emit_simple_signal: 960s # * @object: A #OrgProjectSignalingIface. 960s # * 960s # * Emits the "SimpleSignal" D-Bus signal. 960s # */ 960s # void 960s # org_project_signaling_iface_emit_simple_signal ( 960s # OrgProjectSignalingIface *object) 960s # { 960s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_emit_single_arg_signal_h: 960s # * @object: A #OrgProjectSignalingIface. 960s # * @arg_arg_h: Argument to pass with the signal. 960s # * 960s # * Emits the "SingleArgSignalH" D-Bus signal. 960s # */ 960s # void 960s # org_project_signaling_iface_emit_single_arg_signal_h ( 960s # OrgProjectSignalingIface *object, 960s # GVariant *arg_arg_h) 960s # { 960s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 960s # } 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceProxy: 960s # * 960s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceProxyClass: 960s # * @parent_class: The parent class. 960s # * 960s # * Class structure for #OrgProjectSignalingIfaceProxy. 960s # */ 960s # 960s # struct _OrgProjectSignalingIfaceProxyPrivate 960s # { 960s # GData *qdata; 960s # }; 960s # 960s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 960s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 960s # 960s # #else 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 960s # 960s # #endif 960s # static void 960s # org_project_signaling_iface_proxy_finalize (GObject *object) 960s # { 960s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 960s # g_datalist_clear (&proxy->priv->qdata); 960s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 960s # guint prop_id G_GNUC_UNUSED, 960s # GValue *value G_GNUC_UNUSED, 960s # GParamSpec *pspec G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 960s # guint prop_id G_GNUC_UNUSED, 960s # const GValue *value G_GNUC_UNUSED, 960s # GParamSpec *pspec G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 960s # const gchar *sender_name G_GNUC_UNUSED, 960s # const gchar *signal_name, 960s # GVariant *parameters) 960s # { 960s # _ExtendedGDBusSignalInfo *info; 960s # GVariantIter iter; 960s # GVariant *child; 960s # GValue *paramv; 960s # gsize num_params; 960s # gsize n; 960s # guint signal_id; 960s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 960s # if (info == NULL) 960s # return; 960s # num_params = g_variant_n_children (parameters); 960s # paramv = g_new0 (GValue, num_params + 1); 960s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_set_object (¶mv[0], proxy); 960s # g_variant_iter_init (&iter, parameters); 960s # n = 1; 960s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 960s # { 960s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 960s # if (arg_info->use_gvariant) 960s # { 960s # g_value_init (¶mv[n], G_TYPE_VARIANT); 960s # g_value_set_variant (¶mv[n], child); 960s # n++; 960s # } 960s # else 960s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 960s # g_variant_unref (child); 960s # } 960s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_signal_emitv (paramv, signal_id, 0, NULL); 960s # for (n = 0; n < num_params + 1; n++) 960s # g_value_unset (¶mv[n]); 960s # g_free (paramv); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 960s # GVariant *changed_properties, 960s # const gchar *const *invalidated_properties) 960s # { 960s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 960s # guint n; 960s # const gchar *key; 960s # GVariantIter *iter; 960s # _ExtendedGDBusPropertyInfo *info; 960s # g_variant_get (changed_properties, "a{sv}", &iter); 960s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 960s # { 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 960s # g_datalist_remove_data (&proxy->priv->qdata, key); 960s # if (info != NULL) 960s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 960s # } 960s # g_variant_iter_free (iter); 960s # for (n = 0; invalidated_properties[n] != NULL; n++) 960s # { 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 960s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 960s # if (info != NULL) 960s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 960s # } 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 960s # { 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 960s # #else 960s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 960s # #endif 960s # 960s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 960s # { 960s # GObjectClass *gobject_class; 960s # GDBusProxyClass *proxy_class; 960s # 960s # gobject_class = G_OBJECT_CLASS (klass); 960s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 960s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 960s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 960s # 960s # proxy_class = G_DBUS_PROXY_CLASS (klass); 960s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 960s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 960s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 960s # #endif 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new: 960s # * @connection: A #GDBusConnection. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 960s # * 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 960s # * 960s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 960s # */ 960s # void 960s # org_project_signaling_iface_proxy_new ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_finish: 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 960s # * @error: Return location for error or %NULL 960s # * 960s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_finish ( 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GObject *ret; 960s # GObject *source_object; 960s # source_object = g_async_result_get_source_object (res); 960s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 960s # g_object_unref (source_object); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_sync: 960s # * @connection: A #GDBusConnection. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL 960s # * 960s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 960s # * 960s # * The calling thread is blocked until a reply is received. 960s # * 960s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_sync ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GInitable *ret; 960s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus: 960s # * @bus_type: A #GBusType. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: A bus name (well-known or unique). 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 960s # * 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 960s # * 960s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 960s # */ 960s # void 960s # org_project_signaling_iface_proxy_new_for_bus ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus_finish: 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 960s # * @error: Return location for error or %NULL 960s # * 960s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_for_bus_finish ( 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GObject *ret; 960s # GObject *source_object; 960s # source_object = g_async_result_get_source_object (res); 960s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 960s # g_object_unref (source_object); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus_sync: 960s # * @bus_type: A #GBusType. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: A bus name (well-known or unique). 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL 960s # * 960s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 960s # * 960s # * The calling thread is blocked until a reply is received. 960s # * 960s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_for_bus_sync ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GInitable *ret; 960s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceSkeleton: 960s # * 960s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceSkeletonClass: 960s # * @parent_class: The parent class. 960s # * 960s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 960s # */ 960s # 960s # struct _OrgProjectSignalingIfaceSkeletonPrivate 960s # { 960s # GValue *properties; 960s # GList *changed_properties; 960s # GSource *changed_properties_idle_source; 960s # GMainContext *context; 960s # GMutex lock; 960s # }; 960s # 960s # static void 960s # _org_project_signaling_iface_skeleton_handle_method_call ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name, 960s # const gchar *method_name, 960s # GVariant *parameters, 960s # GDBusMethodInvocation *invocation, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # _ExtendedGDBusMethodInfo *info; 960s # GVariantIter iter; 960s # GVariant *child; 960s # GValue *paramv; 960s # gsize num_params; 960s # guint num_extra; 960s # gsize n; 960s # guint signal_id; 960s # GValue return_value = G_VALUE_INIT; 960s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 960s # g_assert (info != NULL); 960s # num_params = g_variant_n_children (parameters); 960s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 960s # n = 0; 960s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_set_object (¶mv[n++], skeleton); 960s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 960s # g_value_set_object (¶mv[n++], invocation); 960s # if (info->pass_fdlist) 960s # { 960s # #ifdef G_OS_UNIX 960s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 960s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 960s # #else 960s # g_assert_not_reached (); 960s # #endif 960s # } 960s # g_variant_iter_init (&iter, parameters); 960s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 960s # { 960s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 960s # if (arg_info->use_gvariant) 960s # { 960s # g_value_init (¶mv[n], G_TYPE_VARIANT); 960s # g_value_set_variant (¶mv[n], child); 960s # n++; 960s # } 960s # else 960s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 960s # g_variant_unref (child); 960s # } 960s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_init (&return_value, G_TYPE_BOOLEAN); 960s # g_signal_emitv (paramv, signal_id, 0, &return_value); 960s # if (!g_value_get_boolean (&return_value)) 960s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 960s # g_value_unset (&return_value); 960s # for (n = 0; n < num_params + num_extra; n++) 960s # g_value_unset (¶mv[n]); 960s # g_free (paramv); 960s # } 960s # 960s # static GVariant * 960s # _org_project_signaling_iface_skeleton_handle_get_property ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name G_GNUC_UNUSED, 960s # const gchar *property_name, 960s # GError **error, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # GValue value = G_VALUE_INIT; 960s # GParamSpec *pspec; 960s # _ExtendedGDBusPropertyInfo *info; 960s # GVariant *ret; 960s # ret = NULL; 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 960s # g_assert (info != NULL); 960s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 960s # if (pspec == NULL) 960s # { 960s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 960s # } 960s # else 960s # { 960s # g_value_init (&value, pspec->value_type); 960s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 960s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 960s # g_value_unset (&value); 960s # } 960s # return ret; 960s # } 960s # 960s # static gboolean 960s # _org_project_signaling_iface_skeleton_handle_set_property ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name G_GNUC_UNUSED, 960s # const gchar *property_name, 960s # GVariant *variant, 960s # GError **error, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # GValue value = G_VALUE_INIT; 960s # GParamSpec *pspec; 960s # _ExtendedGDBusPropertyInfo *info; 960s # gboolean ret; 960s # ret = FALSE; 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 960s # g_assert (info != NULL); 960s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 960s # if (pspec == NULL) 960s # { 960s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 960s # } 960s # else 960s # { 960s # if (info->use_gvariant) 960s # g_value_set_variant (&value, variant); 960s # else 960s # g_dbus_gvariant_to_gvalue (variant, &value); 960s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 960s # g_value_unset (&value); 960s # ret = TRUE; 960s # } 960s # return ret; 960s # } 960s # 960s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 960s # { 960s # _org_project_signaling_iface_skeleton_handle_method_call, 960s # _org_project_signaling_iface_skeleton_handle_get_property, 960s # _org_project_signaling_iface_skeleton_handle_set_property, 960s # {NULL} 960s # }; 960s # 960s # static GDBusInterfaceInfo * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 960s # { 960s # return org_project_signaling_iface_interface_info (); 960s # } 960s # 960s # static GDBusInterfaceVTable * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 960s # { 960s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 960s # } 960s # 960s # static GVariant * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 960s # 960s # GVariantBuilder builder; 960s # guint n; 960s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 960s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 960s # goto out; 960s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 960s # { 960s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 960s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 960s # { 960s # GVariant *value; 960s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 960s # if (value != NULL) 960s # { 960s # g_variant_take_ref (value); 960s # g_variant_builder_add (&builder, "{sv}", info->name, value); 960s # g_variant_unref (value); 960s # } 960s # } 960s # } 960s # out: 960s # return g_variant_builder_end (&builder); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # _org_project_signaling_iface_on_signal_simple_signal ( 960s # OrgProjectSignalingIface *object) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # 960s # GList *connections, *l; 960s # GVariant *signal_variant; 960s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 960s # 960s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 960s # for (l = connections; l != NULL; l = l->next) 960s # { 960s # GDBusConnection *connection = l->data; 960s # g_dbus_connection_emit_signal (connection, 960s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 960s # signal_variant, NULL); 960s # } 960s # g_variant_unref (signal_variant); 960s # g_list_free_full (connections, g_object_unref); 960s # } 960s # 960s # static void 960s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 960s # OrgProjectSignalingIface *object, 960s # GVariant *arg_arg_h) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # 960s # GList *connections, *l; 960s # GVariant *signal_variant; 960s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 960s # 960s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 960s # arg_arg_h)); 960s # for (l = connections; l != NULL; l = l->next) 960s # { 960s # GDBusConnection *connection = l->data; 960s # g_dbus_connection_emit_signal (connection, 960s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 960s # signal_variant, NULL); 960s # } 960s # g_variant_unref (signal_variant); 960s # g_list_free_full (connections, g_object_unref); 960s # } 960s # 960s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 960s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 960s # 960s # #else 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 960s # 960s # #endif 960s # static void 960s # org_project_signaling_iface_skeleton_finalize (GObject *object) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 960s # if (skeleton->priv->changed_properties_idle_source != NULL) 960s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 960s # g_main_context_unref (skeleton->priv->context); 960s # g_mutex_clear (&skeleton->priv->lock); 960s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 960s # { 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 960s # #else 960s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 960s # #endif 960s # 960s # g_mutex_init (&skeleton->priv->lock); 960s # skeleton->priv->context = g_main_context_ref_thread_default (); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 960s # { 960s # GObjectClass *gobject_class; 960s # GDBusInterfaceSkeletonClass *skeleton_class; 960s # 960s # gobject_class = G_OBJECT_CLASS (klass); 960s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 960s # 960s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 960s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 960s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 960s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 960s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 960s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 960s # #endif 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 960s # { 960s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 960s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_skeleton_new: 960s # * 960s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_skeleton_new (void) 960s # { 960s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 960s # } 960s # /tmp/tmpqzg2h3yi/tmphy5og7jp.xml: 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqzg2h3yi/tmphy5og7jp.xml', '--output', '-', '--body'] 960s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 960s # Output: /* 960s # * This file is generated by gdbus-codegen, do not modify it. 960s # * 960s # * The license of this code is the same as for the D-Bus interface description 960s # * it was derived from. Note that it links to GLib, so must comply with the 960s # * LGPL linking clauses. 960s # */ 960s # 960s # #ifdef HAVE_CONFIG_H 960s # # include "config.h" 960s # #endif 960s # 960s # #include 960s # #ifdef G_OS_UNIX 960s # # include 960s # #endif 960s # 960s # #ifdef G_ENABLE_DEBUG 960s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 960s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 960s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 960s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 960s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 960s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 960s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 960s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 960s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 960s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 960s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 960s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 960s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 960s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 960s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 960s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 960s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 960s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 960s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 960s # #else /* !G_ENABLE_DEBUG */ 960s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 960s # * Do not access GValues directly in your code. Instead, use the 960s # * g_value_get_*() functions 960s # */ 960s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 960s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 960s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 960s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 960s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 960s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 960s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 960s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 960s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 960s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 960s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 960s # #endif /* !G_ENABLE_DEBUG */ 960s # 960s # typedef struct 960s # { 960s # GDBusArgInfo parent_struct; 960s # gboolean use_gvariant; 960s # } _ExtendedGDBusArgInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusMethodInfo parent_struct; 960s # const gchar *signal_name; 960s # gboolean pass_fdlist; 960s # } _ExtendedGDBusMethodInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusSignalInfo parent_struct; 960s # const gchar *signal_name; 960s # } _ExtendedGDBusSignalInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusPropertyInfo parent_struct; 960s # const gchar *hyphen_name; 960s # guint use_gvariant : 1; 960s # guint emits_changed_signal : 1; 960s # } _ExtendedGDBusPropertyInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusInterfaceInfo parent_struct; 960s # const gchar *hyphen_name; 960s # } _ExtendedGDBusInterfaceInfo; 960s # 960s # typedef struct 960s # { 960s # const _ExtendedGDBusPropertyInfo *info; 960s # guint prop_id; 960s # GValue orig_value; /* the value before the change */ 960s # } ChangedProperty; 960s # 960s # static void 960s # _changed_property_free (ChangedProperty *data) 960s # { 960s # g_value_unset (&data->orig_value); 960s # g_free (data); 960s # } 960s # 960s # static gboolean 960s # _g_strv_equal0 (gchar **a, gchar **b) 960s # { 960s # gboolean ret = FALSE; 960s # guint n; 960s # if (a == NULL && b == NULL) 960s # { 960s # ret = TRUE; 960s # goto out; 960s # } 960s # if (a == NULL || b == NULL) 960s # goto out; 960s # if (g_strv_length (a) != g_strv_length (b)) 960s # goto out; 960s # for (n = 0; a[n] != NULL; n++) 960s # if (g_strcmp0 (a[n], b[n]) != 0) 960s # goto out; 960s # ret = TRUE; 960s # out: 960s # return ret; 960s # } 960s # 960s # static gboolean 960s # _g_variant_equal0 (GVariant *a, GVariant *b) 960s # { 960s # gboolean ret = FALSE; 960s # if (a == NULL && b == NULL) 960s # { 960s # ret = TRUE; 960s # goto out; 960s # } 960s # if (a == NULL || b == NULL) 960s # goto out; 960s # ret = g_variant_equal (a, b); 960s # out: 960s # return ret; 960s # } 960s # 960s # G_GNUC_UNUSED static gboolean 960s # _g_value_equal (const GValue *a, const GValue *b) 960s # { 960s # gboolean ret = FALSE; 960s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 960s # switch (G_VALUE_TYPE (a)) 960s # { 960s # case G_TYPE_BOOLEAN: 960s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 960s # break; 960s # case G_TYPE_UCHAR: 960s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 960s # break; 960s # case G_TYPE_INT: 960s # ret = (g_value_get_int (a) == g_value_get_int (b)); 960s # break; 960s # case G_TYPE_UINT: 960s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 960s # break; 960s # case G_TYPE_INT64: 960s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 960s # break; 960s # case G_TYPE_UINT64: 960s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 960s # break; 960s # case G_TYPE_DOUBLE: 960s # { 960s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 960s # gdouble da = g_value_get_double (a); 960s # gdouble db = g_value_get_double (b); 960s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 960s # } 960s # break; 960s # case G_TYPE_STRING: 960s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 960s # break; 960s # case G_TYPE_VARIANT: 960s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 960s # break; 960s # default: 960s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 960s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 960s # else 960s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 960s # break; 960s # } 960s # return ret; 960s # } 960s # 960s # /* ------------------------------------------------------------------------ 960s # * Code for interface org.project.SignalingIface 960s # * ------------------------------------------------------------------------ 960s # */ 960s # 960s # /** 960s # * SECTION:OrgProjectSignalingIface 960s # * @title: OrgProjectSignalingIface 960s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 960s # * 960s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 960s # */ 960s # 960s # enum 960s # { 960s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 960s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 960s # }; 960s # 960s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 960s # 960s # /* ---- Introspection data for org.project.SignalingIface ---- */ 960s # 960s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 960s # { 960s # { 960s # -1, 960s # (gchar *) "SimpleSignal", 960s # NULL, 960s # NULL 960s # }, 960s # "simple-signal" 960s # }; 960s # 960s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 960s # { 960s # { 960s # -1, 960s # (gchar *) "arg_ay", 960s # (gchar *) "ay", 960s # NULL 960s # }, 960s # FALSE 960s # }; 960s # 960s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 960s # { 960s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 960s # NULL 960s # }; 960s # 960s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 960s # { 960s # { 960s # -1, 960s # (gchar *) "SingleArgSignalAy", 960s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 960s # NULL 960s # }, 960s # "single-arg-signal-ay" 960s # }; 960s # 960s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 960s # { 960s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 960s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 960s # NULL 960s # }; 960s # 960s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 960s # { 960s # { 960s # -1, 960s # (gchar *) "org.project.SignalingIface", 960s # NULL, 960s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 960s # NULL, 960s # NULL 960s # }, 960s # "org-project-signaling-iface", 960s # }; 960s # 960s # 960s # /** 960s # * org_project_signaling_iface_interface_info: 960s # * 960s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 960s # * 960s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 960s # */ 960s # GDBusInterfaceInfo * 960s # org_project_signaling_iface_interface_info (void) 960s # { 960s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_override_properties: 960s # * @klass: The class structure for a #GObject derived class. 960s # * @property_id_begin: The property id to assign to the first overridden property. 960s # * 960s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 960s # * The properties are overridden in the order they are defined. 960s # * 960s # * Returns: The last property id. 960s # */ 960s # guint 960s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 960s # { 960s # return property_id_begin - 1; 960s # } 960s # 960s # 960s # inline static void 960s # org_project_signaling_iface_signal_marshal_simple_signal ( 960s # GClosure *closure, 960s # GValue *return_value, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint, 960s # void *marshal_data) 960s # { 960s # g_cclosure_marshal_VOID__VOID (closure, 960s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 960s # } 960s # 960s # inline static void 960s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 960s # GClosure *closure, 960s # GValue *return_value, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint, 960s # void *marshal_data) 960s # { 960s # g_cclosure_marshal_VOID__STRING (closure, 960s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 960s # } 960s # 960s # 960s # /** 960s # * OrgProjectSignalingIface: 960s # * 960s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceIface: 960s # * @parent_iface: The parent interface. 960s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 960s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 960s # * 960s # * Virtual table for the D-Bus interface org.project.SignalingIface. 960s # */ 960s # 960s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 960s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 960s # 960s # static void 960s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 960s # { 960s # /* GObject signals for received D-Bus signals: */ 960s # /** 960s # * OrgProjectSignalingIface::simple-signal: 960s # * @object: A #OrgProjectSignalingIface. 960s # * 960s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 960s # * 960s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 960s # */ 960s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 960s # g_signal_new ("simple-signal", 960s # G_TYPE_FROM_INTERFACE (iface), 960s # G_SIGNAL_RUN_LAST, 960s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 960s # NULL, 960s # NULL, 960s # org_project_signaling_iface_signal_marshal_simple_signal, 960s # G_TYPE_NONE, 960s # 0); 960s # 960s # /** 960s # * OrgProjectSignalingIface::single-arg-signal-ay: 960s # * @object: A #OrgProjectSignalingIface. 960s # * @arg_arg_ay: Argument. 960s # * 960s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 960s # * 960s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 960s # */ 960s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 960s # g_signal_new ("single-arg-signal-ay", 960s # G_TYPE_FROM_INTERFACE (iface), 960s # G_SIGNAL_RUN_LAST, 960s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 960s # NULL, 960s # NULL, 960s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 960s # G_TYPE_NONE, 960s # 1, G_TYPE_STRING); 960s # 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_emit_simple_signal: 960s # * @object: A #OrgProjectSignalingIface. 960s # * 960s # * Emits the "SimpleSignal" D-Bus signal. 960s # */ 960s # void 960s # org_project_signaling_iface_emit_simple_signal ( 960s # OrgProjectSignalingIface *object) 960s # { 960s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_emit_single_arg_signal_ay: 960s # * @object: A #OrgProjectSignalingIface. 960s # * @arg_arg_ay: Argument to pass with the signal. 960s # * 960s # * Emits the "SingleArgSignalAy" D-Bus signal. 960s # */ 960s # void 960s # org_project_signaling_iface_emit_single_arg_signal_ay ( 960s # OrgProjectSignalingIface *object, 960s # const gchar *arg_arg_ay) 960s # { 960s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 960s # } 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceProxy: 960s # * 960s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceProxyClass: 960s # * @parent_class: The parent class. 960s # * 960s # * Class structure for #OrgProjectSignalingIfaceProxy. 960s # */ 960s # 960s # struct _OrgProjectSignalingIfaceProxyPrivate 960s # { 960s # GData *qdata; 960s # }; 960s # 960s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 960s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 960s # 960s # #else 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 960s # 960s # #endif 960s # static void 960s # org_project_signaling_iface_proxy_finalize (GObject *object) 960s # { 960s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 960s # g_datalist_clear (&proxy->priv->qdata); 960s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 960s # guint prop_id G_GNUC_UNUSED, 960s # GValue *value G_GNUC_UNUSED, 960s # GParamSpec *pspec G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 960s # guint prop_id G_GNUC_UNUSED, 960s # const GValue *value G_GNUC_UNUSED, 960s # GParamSpec *pspec G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 960s # const gchar *sender_name G_GNUC_UNUSED, 960s # const gchar *signal_name, 960s # GVariant *parameters) 960s # { 960s # _ExtendedGDBusSignalInfo *info; 960s # GVariantIter iter; 960s # GVariant *child; 960s # GValue *paramv; 960s # gsize num_params; 960s # gsize n; 960s # guint signal_id; 960s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 960s # if (info == NULL) 960s # return; 960s # num_params = g_variant_n_children (parameters); 960s # paramv = g_new0 (GValue, num_params + 1); 960s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_set_object (¶mv[0], proxy); 960s # g_variant_iter_init (&iter, parameters); 960s # n = 1; 960s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 960s # { 960s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 960s # if (arg_info->use_gvariant) 960s # { 960s # g_value_init (¶mv[n], G_TYPE_VARIANT); 960s # g_value_set_variant (¶mv[n], child); 960s # n++; 960s # } 960s # else 960s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 960s # g_variant_unref (child); 960s # } 960s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_signal_emitv (paramv, signal_id, 0, NULL); 960s # for (n = 0; n < num_params + 1; n++) 960s # g_value_unset (¶mv[n]); 960s # g_free (paramv); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 960s # GVariant *changed_properties, 960s # const gchar *const *invalidated_properties) 960s # { 960s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 960s # guint n; 960s # const gchar *key; 960s # GVariantIter *iter; 960s # _ExtendedGDBusPropertyInfo *info; 960s # g_variant_get (changed_properties, "a{sv}", &iter); 960s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 960s # { 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 960s # g_datalist_remove_data (&proxy->priv->qdata, key); 960s # if (info != NULL) 960s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 960s # } 960s # g_variant_iter_free (iter); 960s # for (n = 0; invalidated_properties[n] != NULL; n++) 960s # { 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 960s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 960s # if (info != NULL) 960s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 960s # } 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 960s # { 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 960s # #else 960s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 960s # #endif 960s # 960s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 960s # { 960s # GObjectClass *gobject_class; 960s # GDBusProxyClass *proxy_class; 960s # 960s # gobject_class = G_OBJECT_CLASS (klass); 960s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 960s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 960s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 960s # 960s # proxy_class = G_DBUS_PROXY_CLASS (klass); 960s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 960s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 960s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 960s # #endif 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new: 960s # * @connection: A #GDBusConnection. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 960s # * 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 960s # * 960s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 960s # */ 960s # void 960s # org_project_signaling_iface_proxy_new ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_finish: 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 960s # * @error: Return location for error or %NULL 960s # * 960s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_finish ( 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GObject *ret; 960s # GObject *source_object; 960s # source_object = g_async_result_get_source_object (res); 960s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 960s # g_object_unref (source_object); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_sync: 960s # * @connection: A #GDBusConnection. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL 960s # * 960s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 960s # * 960s # * The calling thread is blocked until a reply is received. 960s # * 960s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_sync ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GInitable *ret; 960s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus: 960s # * @bus_type: A #GBusType. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: A bus name (well-known or unique). 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 960s # * 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 960s # * 960s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 960s # */ 960s # void 960s # org_project_signaling_iface_proxy_new_for_bus ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus_finish: 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 960s # * @error: Return location for error or %NULL 960s # * 960s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_for_bus_finish ( 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GObject *ret; 960s # GObject *source_object; 960s # source_object = g_async_result_get_source_object (res); 960s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 960s # g_object_unref (source_object); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus_sync: 960s # * @bus_type: A #GBusType. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: A bus name (well-known or unique). 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL 960s # * 960s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 960s # * 960s # * The calling thread is blocked until a reply is received. 960s # * 960s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_for_bus_sync ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GInitable *ret; 960s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceSkeleton: 960s # * 960s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceSkeletonClass: 960s # * @parent_class: The parent class. 960s # * 960s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 960s # */ 960s # 960s # struct _OrgProjectSignalingIfaceSkeletonPrivate 960s # { 960s # GValue *properties; 960s # GList *changed_properties; 960s # GSource *changed_properties_idle_source; 960s # GMainContext *context; 960s # GMutex lock; 960s # }; 960s # 960s # static void 960s # _org_project_signaling_iface_skeleton_handle_method_call ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name, 960s # const gchar *method_name, 960s # GVariant *parameters, 960s # GDBusMethodInvocation *invocation, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # _ExtendedGDBusMethodInfo *info; 960s # GVariantIter iter; 960s # GVariant *child; 960s # GValue *paramv; 960s # gsize num_params; 960s # guint num_extra; 960s # gsize n; 960s # guint signal_id; 960s # GValue return_value = G_VALUE_INIT; 960s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 960s # g_assert (info != NULL); 960s # num_params = g_variant_n_children (parameters); 960s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 960s # n = 0; 960s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_set_object (¶mv[n++], skeleton); 960s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 960s # g_value_set_object (¶mv[n++], invocation); 960s # if (info->pass_fdlist) 960s # { 960s # #ifdef G_OS_UNIX 960s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 960s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 960s # #else 960s # g_assert_not_reached (); 960s # #endif 960s # } 960s # g_variant_iter_init (&iter, parameters); 960s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 960s # { 960s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 960s # if (arg_info->use_gvariant) 960s # { 960s # g_value_init (¶mv[n], G_TYPE_VARIANT); 960s # g_value_set_variant (¶mv[n], child); 960s # n++; 960s # } 960s # else 960s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 960s # g_variant_unref (child); 960s # } 960s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_init (&return_value, G_TYPE_BOOLEAN); 960s # g_signal_emitv (paramv, signal_id, 0, &return_value); 960s # if (!g_value_get_boolean (&return_value)) 960s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 960s # g_value_unset (&return_value); 960s # for (n = 0; n < num_params + num_extra; n++) 960s # g_value_unset (¶mv[n]); 960s # g_free (paramv); 960s # } 960s # 960s # static GVariant * 960s # _org_project_signaling_iface_skeleton_handle_get_property ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name G_GNUC_UNUSED, 960s # const gchar *property_name, 960s # GError **error, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # GValue value = G_VALUE_INIT; 960s # GParamSpec *pspec; 960s # _ExtendedGDBusPropertyInfo *info; 960s # GVariant *ret; 960s # ret = NULL; 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 960s # g_assert (info != NULL); 960s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 960s # if (pspec == NULL) 960s # { 960s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 960s # } 960s # else 960s # { 960s # g_value_init (&value, pspec->value_type); 960s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 960s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 960s # g_value_unset (&value); 960s # } 960s # return ret; 960s # } 960s # 960s # static gboolean 960s # _org_project_signaling_iface_skeleton_handle_set_property ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name G_GNUC_UNUSED, 960s # const gchar *property_name, 960s # GVariant *variant, 960s # GError **error, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # GValue value = G_VALUE_INIT; 960s # GParamSpec *pspec; 960s # _ExtendedGDBusPropertyInfo *info; 960s # gboolean ret; 960s # ret = FALSE; 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 960s # g_assert (info != NULL); 960s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 960s # if (pspec == NULL) 960s # { 960s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 960s # } 960s # else 960s # { 960s # if (info->use_gvariant) 960s # g_value_set_variant (&value, variant); 960s # else 960s # g_dbus_gvariant_to_gvalue (variant, &value); 960s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 960s # g_value_unset (&value); 960s # ret = TRUE; 960s # } 960s # return ret; 960s # } 960s # 960s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 960s # { 960s # _org_project_signaling_iface_skeleton_handle_method_call, 960s # _org_project_signaling_iface_skeleton_handle_get_property, 960s # _org_project_signaling_iface_skeleton_handle_set_property, 960s # {NULL} 960s # }; 960s # 960s # static GDBusInterfaceInfo * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 960s # { 960s # return org_project_signaling_iface_interface_info (); 960s # } 960s # 960s # static GDBusInterfaceVTable * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 960s # { 960s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 960s # } 960s # 960s # static GVariant * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 960s # 960s # GVariantBuilder builder; 960s # guint n; 960s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 960s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 960s # goto out; 960s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 960s # { 960s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 960s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 960s # { 960s # GVariant *value; 960s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 960s # if (value != NULL) 960s # { 960s # g_variant_take_ref (value); 960s # g_variant_builder_add (&builder, "{sv}", info->name, value); 960s # g_variant_unref (value); 960s # } 960s # } 960s # } 960s # out: 960s # return g_variant_builder_end (&builder); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # _org_project_signaling_iface_on_signal_simple_signal ( 960s # OrgProjectSignalingIface *object) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # 960s # GList *connections, *l; 960s # GVariant *signal_variant; 960s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 960s # 960s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 960s # for (l = connections; l != NULL; l = l->next) 960s # { 960s # GDBusConnection *connection = l->data; 960s # g_dbus_connection_emit_signal (connection, 960s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 960s # signal_variant, NULL); 960s # } 960s # g_variant_unref (signal_variant); 960s # g_list_free_full (connections, g_object_unref); 960s # } 960s # 960s # static void 960s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 960s # OrgProjectSignalingIface *object, 960s # const gchar *arg_arg_ay) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # 960s # GList *connections, *l; 960s # GVariant *signal_variant; 960s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 960s # 960s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 960s # arg_arg_ay)); 960s # for (l = connections; l != NULL; l = l->next) 960s # { 960s # GDBusConnection *connection = l->data; 960s # g_dbus_connection_emit_signal (connection, 960s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 960s # signal_variant, NULL); 960s # } 960s # g_variant_unref (signal_variant); 960s # g_list_free_full (connections, g_object_unref); 960s # } 960s # 960s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 960s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 960s # 960s # #else 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 960s # 960s # #endif 960s # static void 960s # org_project_signaling_iface_skeleton_finalize (GObject *object) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 960s # if (skeleton->priv->changed_properties_idle_source != NULL) 960s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 960s # g_main_context_unref (skeleton->priv->context); 960s # g_mutex_clear (&skeleton->priv->lock); 960s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 960s # { 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 960s # #else 960s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 960s # #endif 960s # 960s # g_mutex_init (&skeleton->priv->lock); 960s # skeleton->priv->context = g_main_context_ref_thread_default (); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 960s # { 960s # GObjectClass *gobject_class; 960s # GDBusInterfaceSkeletonClass *skeleton_class; 960s # 960s # gobject_class = G_OBJECT_CLASS (klass); 960s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 960s # 960s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 960s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 960s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 960s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 960s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 960s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 960s # #endif 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 960s # { 960s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 960s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_skeleton_new: 960s # * 960s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_skeleton_new (void) 960s # { 960s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 960s # } 960s # /tmp/tmpqzg2h3yi/tmp1sg7hwio.xml: 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqzg2h3yi/tmp1sg7hwio.xml', '--output', '-', '--body'] 960s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 960s # Output: /* 960s # * This file is generated by gdbus-codegen, do not modify it. 960s # * 960s # * The license of this code is the same as for the D-Bus interface description 960s # * it was derived from. Note that it links to GLib, so must comply with the 960s # * LGPL linking clauses. 960s # */ 960s # 960s # #ifdef HAVE_CONFIG_H 960s # # include "config.h" 960s # #endif 960s # 960s # #include 960s # #ifdef G_OS_UNIX 960s # # include 960s # #endif 960s # 960s # #ifdef G_ENABLE_DEBUG 960s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 960s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 960s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 960s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 960s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 960s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 960s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 960s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 960s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 960s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 960s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 960s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 960s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 960s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 960s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 960s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 960s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 960s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 960s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 960s # #else /* !G_ENABLE_DEBUG */ 960s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 960s # * Do not access GValues directly in your code. Instead, use the 960s # * g_value_get_*() functions 960s # */ 960s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 960s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 960s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 960s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 960s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 960s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 960s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 960s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 960s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 960s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 960s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 960s # #endif /* !G_ENABLE_DEBUG */ 960s # 960s # typedef struct 960s # { 960s # GDBusArgInfo parent_struct; 960s # gboolean use_gvariant; 960s # } _ExtendedGDBusArgInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusMethodInfo parent_struct; 960s # const gchar *signal_name; 960s # gboolean pass_fdlist; 960s # } _ExtendedGDBusMethodInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusSignalInfo parent_struct; 960s # const gchar *signal_name; 960s # } _ExtendedGDBusSignalInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusPropertyInfo parent_struct; 960s # const gchar *hyphen_name; 960s # guint use_gvariant : 1; 960s # guint emits_changed_signal : 1; 960s # } _ExtendedGDBusPropertyInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusInterfaceInfo parent_struct; 960s # const gchar *hyphen_name; 960s # } _ExtendedGDBusInterfaceInfo; 960s # 960s # typedef struct 960s # { 960s # const _ExtendedGDBusPropertyInfo *info; 960s # guint prop_id; 960s # GValue orig_value; /* the value before the change */ 960s # } ChangedProperty; 960s # 960s # static void 960s # _changed_property_free (ChangedProperty *data) 960s # { 960s # g_value_unset (&data->orig_value); 960s # g_free (data); 960s # } 960s # 960s # static gboolean 960s # _g_strv_equal0 (gchar **a, gchar **b) 960s # { 960s # gboolean ret = FALSE; 960s # guint n; 960s # if (a == NULL && b == NULL) 960s # { 960s # ret = TRUE; 960s # goto out; 960s # } 960s # if (a == NULL || b == NULL) 960s # goto out; 960s # if (g_strv_length (a) != g_strv_length (b)) 960s # goto out; 960s # for (n = 0; a[n] != NULL; n++) 960s # if (g_strcmp0 (a[n], b[n]) != 0) 960s # goto out; 960s # ret = TRUE; 960s # out: 960s # return ret; 960s # } 960s # 960s # static gboolean 960s # _g_variant_equal0 (GVariant *a, GVariant *b) 960s # { 960s # gboolean ret = FALSE; 960s # if (a == NULL && b == NULL) 960s # { 960s # ret = TRUE; 960s # goto out; 960s # } 960s # if (a == NULL || b == NULL) 960s # goto out; 960s # ret = g_variant_equal (a, b); 960s # out: 960s # return ret; 960s # } 960s # 960s # G_GNUC_UNUSED static gboolean 960s # _g_value_equal (const GValue *a, const GValue *b) 960s # { 960s # gboolean ret = FALSE; 960s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 960s # switch (G_VALUE_TYPE (a)) 960s # { 960s # case G_TYPE_BOOLEAN: 960s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 960s # break; 960s # case G_TYPE_UCHAR: 960s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 960s # break; 960s # case G_TYPE_INT: 960s # ret = (g_value_get_int (a) == g_value_get_int (b)); 960s # break; 960s # case G_TYPE_UINT: 960s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 960s # break; 960s # case G_TYPE_INT64: 960s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 960s # break; 960s # case G_TYPE_UINT64: 960s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 960s # break; 960s # case G_TYPE_DOUBLE: 960s # { 960s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 960s # gdouble da = g_value_get_double (a); 960s # gdouble db = g_value_get_double (b); 960s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 960s # } 960s # break; 960s # case G_TYPE_STRING: 960s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 960s # break; 960s # case G_TYPE_VARIANT: 960s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 960s # break; 960s # default: 960s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 960s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 960s # else 960s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 960s # break; 960s # } 960s # return ret; 960s # } 960s # 960s # /* ------------------------------------------------------------------------ 960s # * Code for interface org.project.SignalingIface 960s # * ------------------------------------------------------------------------ 960s # */ 960s # 960s # /** 960s # * SECTION:OrgProjectSignalingIface 960s # * @title: OrgProjectSignalingIface 960s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 960s # * 960s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 960s # */ 960s # 960s # enum 960s # { 960s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 960s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 960s # }; 960s # 960s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 960s # 960s # /* ---- Introspection data for org.project.SignalingIface ---- */ 960s # 960s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 960s # { 960s # { 960s # -1, 960s # (gchar *) "SimpleSignal", 960s # NULL, 960s # NULL 960s # }, 960s # "simple-signal" 960s # }; 960s # 960s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 960s # { 960s # { 960s # -1, 960s # (gchar *) "arg_as", 960s # (gchar *) "as", 960s # NULL 960s # }, 960s # FALSE 960s # }; 960s # 960s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 960s # { 960s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 960s # NULL 960s # }; 960s # 960s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 960s # { 960s # { 960s # -1, 960s # (gchar *) "SingleArgSignalAs", 960s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 960s # NULL 960s # }, 960s # "single-arg-signal-as" 960s # }; 960s # 960s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 960s # { 960s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 960s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 960s # NULL 960s # }; 960s # 960s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 960s # { 960s # { 960s # -1, 960s # (gchar *) "org.project.SignalingIface", 960s # NULL, 960s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 960s # NULL, 960s # NULL 960s # }, 960s # "org-project-signaling-iface", 960s # }; 960s # 960s # 960s # /** 960s # * org_project_signaling_iface_interface_info: 960s # * 960s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 960s # * 960s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 960s # */ 960s # GDBusInterfaceInfo * 960s # org_project_signaling_iface_interface_info (void) 960s # { 960s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_override_properties: 960s # * @klass: The class structure for a #GObject derived class. 960s # * @property_id_begin: The property id to assign to the first overridden property. 960s # * 960s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 960s # * The properties are overridden in the order they are defined. 960s # * 960s # * Returns: The last property id. 960s # */ 960s # guint 960s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 960s # { 960s # return property_id_begin - 1; 960s # } 960s # 960s # 960s # inline static void 960s # org_project_signaling_iface_signal_marshal_simple_signal ( 960s # GClosure *closure, 960s # GValue *return_value, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint, 960s # void *marshal_data) 960s # { 960s # g_cclosure_marshal_VOID__VOID (closure, 960s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 960s # } 960s # 960s # inline static void 960s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 960s # GClosure *closure, 960s # GValue *return_value, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint, 960s # void *marshal_data) 960s # { 960s # g_cclosure_marshal_VOID__BOXED (closure, 960s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 960s # } 960s # 960s # 960s # /** 960s # * OrgProjectSignalingIface: 960s # * 960s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceIface: 960s # * @parent_iface: The parent interface. 960s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 960s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 960s # * 960s # * Virtual table for the D-Bus interface org.project.SignalingIface. 960s # */ 960s # 960s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 960s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 960s # 960s # static void 960s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 960s # { 960s # /* GObject signals for received D-Bus signals: */ 960s # /** 960s # * OrgProjectSignalingIface::simple-signal: 960s # * @object: A #OrgProjectSignalingIface. 960s # * 960s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 960s # * 960s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 960s # */ 960s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 960s # g_signal_new ("simple-signal", 960s # G_TYPE_FROM_INTERFACE (iface), 960s # G_SIGNAL_RUN_LAST, 960s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 960s # NULL, 960s # NULL, 960s # org_project_signaling_iface_signal_marshal_simple_signal, 960s # G_TYPE_NONE, 960s # 0); 960s # 960s # /** 960s # * OrgProjectSignalingIface::single-arg-signal-as: 960s # * @object: A #OrgProjectSignalingIface. 960s # * @arg_arg_as: Argument. 960s # * 960s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 960s # * 960s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 960s # */ 960s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 960s # g_signal_new ("single-arg-signal-as", 960s # G_TYPE_FROM_INTERFACE (iface), 960s # G_SIGNAL_RUN_LAST, 960s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 960s # NULL, 960s # NULL, 960s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 960s # G_TYPE_NONE, 960s # 1, G_TYPE_STRV); 960s # 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_emit_simple_signal: 960s # * @object: A #OrgProjectSignalingIface. 960s # * 960s # * Emits the "SimpleSignal" D-Bus signal. 960s # */ 960s # void 960s # org_project_signaling_iface_emit_simple_signal ( 960s # OrgProjectSignalingIface *object) 960s # { 960s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_emit_single_arg_signal_as: 960s # * @object: A #OrgProjectSignalingIface. 960s # * @arg_arg_as: Argument to pass with the signal. 960s # * 960s # * Emits the "SingleArgSignalAs" D-Bus signal. 960s # */ 960s # void 960s # org_project_signaling_iface_emit_single_arg_signal_as ( 960s # OrgProjectSignalingIface *object, 960s # const gchar *const *arg_arg_as) 960s # { 960s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 960s # } 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceProxy: 960s # * 960s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceProxyClass: 960s # * @parent_class: The parent class. 960s # * 960s # * Class structure for #OrgProjectSignalingIfaceProxy. 960s # */ 960s # 960s # struct _OrgProjectSignalingIfaceProxyPrivate 960s # { 960s # GData *qdata; 960s # }; 960s # 960s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 960s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 960s # 960s # #else 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 960s # 960s # #endif 960s # static void 960s # org_project_signaling_iface_proxy_finalize (GObject *object) 960s # { 960s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 960s # g_datalist_clear (&proxy->priv->qdata); 960s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 960s # guint prop_id G_GNUC_UNUSED, 960s # GValue *value G_GNUC_UNUSED, 960s # GParamSpec *pspec G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 960s # guint prop_id G_GNUC_UNUSED, 960s # const GValue *value G_GNUC_UNUSED, 960s # GParamSpec *pspec G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 960s # const gchar *sender_name G_GNUC_UNUSED, 960s # const gchar *signal_name, 960s # GVariant *parameters) 960s # { 960s # _ExtendedGDBusSignalInfo *info; 960s # GVariantIter iter; 960s # GVariant *child; 960s # GValue *paramv; 960s # gsize num_params; 960s # gsize n; 960s # guint signal_id; 960s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 960s # if (info == NULL) 960s # return; 960s # num_params = g_variant_n_children (parameters); 960s # paramv = g_new0 (GValue, num_params + 1); 960s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_set_object (¶mv[0], proxy); 960s # g_variant_iter_init (&iter, parameters); 960s # n = 1; 960s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 960s # { 960s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 960s # if (arg_info->use_gvariant) 960s # { 960s # g_value_init (¶mv[n], G_TYPE_VARIANT); 960s # g_value_set_variant (¶mv[n], child); 960s # n++; 960s # } 960s # else 960s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 960s # g_variant_unref (child); 960s # } 960s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_signal_emitv (paramv, signal_id, 0, NULL); 960s # for (n = 0; n < num_params + 1; n++) 960s # g_value_unset (¶mv[n]); 960s # g_free (paramv); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 960s # GVariant *changed_properties, 960s # const gchar *const *invalidated_properties) 960s # { 960s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 960s # guint n; 960s # const gchar *key; 960s # GVariantIter *iter; 960s # _ExtendedGDBusPropertyInfo *info; 960s # g_variant_get (changed_properties, "a{sv}", &iter); 960s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 960s # { 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 960s # g_datalist_remove_data (&proxy->priv->qdata, key); 960s # if (info != NULL) 960s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 960s # } 960s # g_variant_iter_free (iter); 960s # for (n = 0; invalidated_properties[n] != NULL; n++) 960s # { 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 960s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 960s # if (info != NULL) 960s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 960s # } 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 960s # { 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 960s # #else 960s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 960s # #endif 960s # 960s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 960s # { 960s # GObjectClass *gobject_class; 960s # GDBusProxyClass *proxy_class; 960s # 960s # gobject_class = G_OBJECT_CLASS (klass); 960s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 960s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 960s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 960s # 960s # proxy_class = G_DBUS_PROXY_CLASS (klass); 960s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 960s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 960s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 960s # #endif 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new: 960s # * @connection: A #GDBusConnection. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 960s # * 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 960s # * 960s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 960s # */ 960s # void 960s # org_project_signaling_iface_proxy_new ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_finish: 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 960s # * @error: Return location for error or %NULL 960s # * 960s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_finish ( 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GObject *ret; 960s # GObject *source_object; 960s # source_object = g_async_result_get_source_object (res); 960s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 960s # g_object_unref (source_object); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_sync: 960s # * @connection: A #GDBusConnection. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL 960s # * 960s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 960s # * 960s # * The calling thread is blocked until a reply is received. 960s # * 960s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_sync ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GInitable *ret; 960s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus: 960s # * @bus_type: A #GBusType. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: A bus name (well-known or unique). 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 960s # * 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 960s # * 960s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 960s # */ 960s # void 960s # org_project_signaling_iface_proxy_new_for_bus ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus_finish: 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 960s # * @error: Return location for error or %NULL 960s # * 960s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_for_bus_finish ( 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GObject *ret; 960s # GObject *source_object; 960s # source_object = g_async_result_get_source_object (res); 960s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 960s # g_object_unref (source_object); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus_sync: 960s # * @bus_type: A #GBusType. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: A bus name (well-known or unique). 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL 960s # * 960s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 960s # * 960s # * The calling thread is blocked until a reply is received. 960s # * 960s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_for_bus_sync ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GInitable *ret; 960s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceSkeleton: 960s # * 960s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceSkeletonClass: 960s # * @parent_class: The parent class. 960s # * 960s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 960s # */ 960s # 960s # struct _OrgProjectSignalingIfaceSkeletonPrivate 960s # { 960s # GValue *properties; 960s # GList *changed_properties; 960s # GSource *changed_properties_idle_source; 960s # GMainContext *context; 960s # GMutex lock; 960s # }; 960s # 960s # static void 960s # _org_project_signaling_iface_skeleton_handle_method_call ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name, 960s # const gchar *method_name, 960s # GVariant *parameters, 960s # GDBusMethodInvocation *invocation, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # _ExtendedGDBusMethodInfo *info; 960s # GVariantIter iter; 960s # GVariant *child; 960s # GValue *paramv; 960s # gsize num_params; 960s # guint num_extra; 960s # gsize n; 960s # guint signal_id; 960s # GValue return_value = G_VALUE_INIT; 960s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 960s # g_assert (info != NULL); 960s # num_params = g_variant_n_children (parameters); 960s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 960s # n = 0; 960s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_set_object (¶mv[n++], skeleton); 960s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 960s # g_value_set_object (¶mv[n++], invocation); 960s # if (info->pass_fdlist) 960s # { 960s # #ifdef G_OS_UNIX 960s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 960s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 960s # #else 960s # g_assert_not_reached (); 960s # #endif 960s # } 960s # g_variant_iter_init (&iter, parameters); 960s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 960s # { 960s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 960s # if (arg_info->use_gvariant) 960s # { 960s # g_value_init (¶mv[n], G_TYPE_VARIANT); 960s # g_value_set_variant (¶mv[n], child); 960s # n++; 960s # } 960s # else 960s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 960s # g_variant_unref (child); 960s # } 960s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_init (&return_value, G_TYPE_BOOLEAN); 960s # g_signal_emitv (paramv, signal_id, 0, &return_value); 960s # if (!g_value_get_boolean (&return_value)) 960s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 960s # g_value_unset (&return_value); 960s # for (n = 0; n < num_params + num_extra; n++) 960s # g_value_unset (¶mv[n]); 960s # g_free (paramv); 960s # } 960s # 960s # static GVariant * 960s # _org_project_signaling_iface_skeleton_handle_get_property ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name G_GNUC_UNUSED, 960s # const gchar *property_name, 960s # GError **error, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # GValue value = G_VALUE_INIT; 960s # GParamSpec *pspec; 960s # _ExtendedGDBusPropertyInfo *info; 960s # GVariant *ret; 960s # ret = NULL; 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 960s # g_assert (info != NULL); 960s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 960s # if (pspec == NULL) 960s # { 960s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 960s # } 960s # else 960s # { 960s # g_value_init (&value, pspec->value_type); 960s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 960s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 960s # g_value_unset (&value); 960s # } 960s # return ret; 960s # } 960s # 960s # static gboolean 960s # _org_project_signaling_iface_skeleton_handle_set_property ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name G_GNUC_UNUSED, 960s # const gchar *property_name, 960s # GVariant *variant, 960s # GError **error, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # GValue value = G_VALUE_INIT; 960s # GParamSpec *pspec; 960s # _ExtendedGDBusPropertyInfo *info; 960s # gboolean ret; 960s # ret = FALSE; 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 960s # g_assert (info != NULL); 960s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 960s # if (pspec == NULL) 960s # { 960s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 960s # } 960s # else 960s # { 960s # if (info->use_gvariant) 960s # g_value_set_variant (&value, variant); 960s # else 960s # g_dbus_gvariant_to_gvalue (variant, &value); 960s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 960s # g_value_unset (&value); 960s # ret = TRUE; 960s # } 960s # return ret; 960s # } 960s # 960s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 960s # { 960s # _org_project_signaling_iface_skeleton_handle_method_call, 960s # _org_project_signaling_iface_skeleton_handle_get_property, 960s # _org_project_signaling_iface_skeleton_handle_set_property, 960s # {NULL} 960s # }; 960s # 960s # static GDBusInterfaceInfo * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 960s # { 960s # return org_project_signaling_iface_interface_info (); 960s # } 960s # 960s # static GDBusInterfaceVTable * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 960s # { 960s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 960s # } 960s # 960s # static GVariant * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 960s # 960s # GVariantBuilder builder; 960s # guint n; 960s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 960s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 960s # goto out; 960s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 960s # { 960s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 960s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 960s # { 960s # GVariant *value; 960s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 960s # if (value != NULL) 960s # { 960s # g_variant_take_ref (value); 960s # g_variant_builder_add (&builder, "{sv}", info->name, value); 960s # g_variant_unref (value); 960s # } 960s # } 960s # } 960s # out: 960s # return g_variant_builder_end (&builder); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # _org_project_signaling_iface_on_signal_simple_signal ( 960s # OrgProjectSignalingIface *object) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # 960s # GList *connections, *l; 960s # GVariant *signal_variant; 960s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 960s # 960s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 960s # for (l = connections; l != NULL; l = l->next) 960s # { 960s # GDBusConnection *connection = l->data; 960s # g_dbus_connection_emit_signal (connection, 960s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 960s # signal_variant, NULL); 960s # } 960s # g_variant_unref (signal_variant); 960s # g_list_free_full (connections, g_object_unref); 960s # } 960s # 960s # static void 960s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 960s # OrgProjectSignalingIface *object, 960s # const gchar *const *arg_arg_as) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # 960s # GList *connections, *l; 960s # GVariant *signal_variant; 960s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 960s # 960s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 960s # arg_arg_as)); 960s # for (l = connections; l != NULL; l = l->next) 960s # { 960s # GDBusConnection *connection = l->data; 960s # g_dbus_connection_emit_signal (connection, 960s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 960s # signal_variant, NULL); 960s # } 960s # g_variant_unref (signal_variant); 960s # g_list_free_full (connections, g_object_unref); 960s # } 960s # 960s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 960s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 960s # 960s # #else 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 960s # 960s # #endif 960s # static void 960s # org_project_signaling_iface_skeleton_finalize (GObject *object) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 960s # if (skeleton->priv->changed_properties_idle_source != NULL) 960s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 960s # g_main_context_unref (skeleton->priv->context); 960s # g_mutex_clear (&skeleton->priv->lock); 960s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 960s # { 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 960s # #else 960s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 960s # #endif 960s # 960s # g_mutex_init (&skeleton->priv->lock); 960s # skeleton->priv->context = g_main_context_ref_thread_default (); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 960s # { 960s # GObjectClass *gobject_class; 960s # GDBusInterfaceSkeletonClass *skeleton_class; 960s # 960s # gobject_class = G_OBJECT_CLASS (klass); 960s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 960s # 960s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 960s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 960s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 960s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 960s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 960s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 960s # #endif 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 960s # { 960s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 960s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_skeleton_new: 960s # * 960s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_skeleton_new (void) 960s # { 960s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 960s # } 960s # /tmp/tmpqzg2h3yi/tmpul89jh8m.xml: 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqzg2h3yi/tmpul89jh8m.xml', '--output', '-', '--body'] 960s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 960s # Output: /* 960s # * This file is generated by gdbus-codegen, do not modify it. 960s # * 960s # * The license of this code is the same as for the D-Bus interface description 960s # * it was derived from. Note that it links to GLib, so must comply with the 960s # * LGPL linking clauses. 960s # */ 960s # 960s # #ifdef HAVE_CONFIG_H 960s # # include "config.h" 960s # #endif 960s # 960s # #include 960s # #ifdef G_OS_UNIX 960s # # include 960s # #endif 960s # 960s # #ifdef G_ENABLE_DEBUG 960s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 960s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 960s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 960s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 960s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 960s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 960s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 960s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 960s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 960s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 960s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 960s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 960s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 960s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 960s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 960s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 960s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 960s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 960s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 960s # #else /* !G_ENABLE_DEBUG */ 960s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 960s # * Do not access GValues directly in your code. Instead, use the 960s # * g_value_get_*() functions 960s # */ 960s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 960s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 960s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 960s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 960s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 960s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 960s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 960s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 960s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 960s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 960s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 960s # #endif /* !G_ENABLE_DEBUG */ 960s # 960s # typedef struct 960s # { 960s # GDBusArgInfo parent_struct; 960s # gboolean use_gvariant; 960s # } _ExtendedGDBusArgInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusMethodInfo parent_struct; 960s # const gchar *signal_name; 960s # gboolean pass_fdlist; 960s # } _ExtendedGDBusMethodInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusSignalInfo parent_struct; 960s # const gchar *signal_name; 960s # } _ExtendedGDBusSignalInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusPropertyInfo parent_struct; 960s # const gchar *hyphen_name; 960s # guint use_gvariant : 1; 960s # guint emits_changed_signal : 1; 960s # } _ExtendedGDBusPropertyInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusInterfaceInfo parent_struct; 960s # const gchar *hyphen_name; 960s # } _ExtendedGDBusInterfaceInfo; 960s # 960s # typedef struct 960s # { 960s # const _ExtendedGDBusPropertyInfo *info; 960s # guint prop_id; 960s # GValue orig_value; /* the value before the change */ 960s # } ChangedProperty; 960s # 960s # static void 960s # _changed_property_free (ChangedProperty *data) 960s # { 960s # g_value_unset (&data->orig_value); 960s # g_free (data); 960s # } 960s # 960s # static gboolean 960s # _g_strv_equal0 (gchar **a, gchar **b) 960s # { 960s # gboolean ret = FALSE; 960s # guint n; 960s # if (a == NULL && b == NULL) 960s # { 960s # ret = TRUE; 960s # goto out; 960s # } 960s # if (a == NULL || b == NULL) 960s # goto out; 960s # if (g_strv_length (a) != g_strv_length (b)) 960s # goto out; 960s # for (n = 0; a[n] != NULL; n++) 960s # if (g_strcmp0 (a[n], b[n]) != 0) 960s # goto out; 960s # ret = TRUE; 960s # out: 960s # return ret; 960s # } 960s # 960s # static gboolean 960s # _g_variant_equal0 (GVariant *a, GVariant *b) 960s # { 960s # gboolean ret = FALSE; 960s # if (a == NULL && b == NULL) 960s # { 960s # ret = TRUE; 960s # goto out; 960s # } 960s # if (a == NULL || b == NULL) 960s # goto out; 960s # ret = g_variant_equal (a, b); 960s # out: 960s # return ret; 960s # } 960s # 960s # G_GNUC_UNUSED static gboolean 960s # _g_value_equal (const GValue *a, const GValue *b) 960s # { 960s # gboolean ret = FALSE; 960s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 960s # switch (G_VALUE_TYPE (a)) 960s # { 960s # case G_TYPE_BOOLEAN: 960s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 960s # break; 960s # case G_TYPE_UCHAR: 960s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 960s # break; 960s # case G_TYPE_INT: 960s # ret = (g_value_get_int (a) == g_value_get_int (b)); 960s # break; 960s # case G_TYPE_UINT: 960s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 960s # break; 960s # case G_TYPE_INT64: 960s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 960s # break; 960s # case G_TYPE_UINT64: 960s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 960s # break; 960s # case G_TYPE_DOUBLE: 960s # { 960s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 960s # gdouble da = g_value_get_double (a); 960s # gdouble db = g_value_get_double (b); 960s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 960s # } 960s # break; 960s # case G_TYPE_STRING: 960s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 960s # break; 960s # case G_TYPE_VARIANT: 960s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 960s # break; 960s # default: 960s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 960s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 960s # else 960s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 960s # break; 960s # } 960s # return ret; 960s # } 960s # 960s # /* ------------------------------------------------------------------------ 960s # * Code for interface org.project.SignalingIface 960s # * ------------------------------------------------------------------------ 960s # */ 960s # 960s # /** 960s # * SECTION:OrgProjectSignalingIface 960s # * @title: OrgProjectSignalingIface 960s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 960s # * 960s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 960s # */ 960s # 960s # enum 960s # { 960s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 960s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 960s # }; 960s # 960s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 960s # 960s # /* ---- Introspection data for org.project.SignalingIface ---- */ 960s # 960s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 960s # { 960s # { 960s # -1, 960s # (gchar *) "SimpleSignal", 960s # NULL, 960s # NULL 960s # }, 960s # "simple-signal" 960s # }; 960s # 960s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 960s # { 960s # { 960s # -1, 960s # (gchar *) "arg_ao", 960s # (gchar *) "ao", 960s # NULL 960s # }, 960s # FALSE 960s # }; 960s # 960s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 960s # { 960s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 960s # NULL 960s # }; 960s # 960s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 960s # { 960s # { 960s # -1, 960s # (gchar *) "SingleArgSignalAo", 960s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 960s # NULL 960s # }, 960s # "single-arg-signal-ao" 960s # }; 960s # 960s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 960s # { 960s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 960s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 960s # NULL 960s # }; 960s # 960s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 960s # { 960s # { 960s # -1, 960s # (gchar *) "org.project.SignalingIface", 960s # NULL, 960s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 960s # NULL, 960s # NULL 960s # }, 960s # "org-project-signaling-iface", 960s # }; 960s # 960s # 960s # /** 960s # * org_project_signaling_iface_interface_info: 960s # * 960s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 960s # * 960s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 960s # */ 960s # GDBusInterfaceInfo * 960s # org_project_signaling_iface_interface_info (void) 960s # { 960s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_override_properties: 960s # * @klass: The class structure for a #GObject derived class. 960s # * @property_id_begin: The property id to assign to the first overridden property. 960s # * 960s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 960s # * The properties are overridden in the order they are defined. 960s # * 960s # * Returns: The last property id. 960s # */ 960s # guint 960s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 960s # { 960s # return property_id_begin - 1; 960s # } 960s # 960s # 960s # inline static void 960s # org_project_signaling_iface_signal_marshal_simple_signal ( 960s # GClosure *closure, 960s # GValue *return_value, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint, 960s # void *marshal_data) 960s # { 960s # g_cclosure_marshal_VOID__VOID (closure, 960s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 960s # } 960s # 960s # inline static void 960s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 960s # GClosure *closure, 960s # GValue *return_value, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint, 960s # void *marshal_data) 960s # { 960s # g_cclosure_marshal_VOID__BOXED (closure, 960s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 960s # } 960s # 960s # 960s # /** 960s # * OrgProjectSignalingIface: 960s # * 960s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceIface: 960s # * @parent_iface: The parent interface. 960s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 960s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 960s # * 960s # * Virtual table for the D-Bus interface org.project.SignalingIface. 960s # */ 960s # 960s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 960s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 960s # 960s # static void 960s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 960s # { 960s # /* GObject signals for received D-Bus signals: */ 960s # /** 960s # * OrgProjectSignalingIface::simple-signal: 960s # * @object: A #OrgProjectSignalingIface. 960s # * 960s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 960s # * 960s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 960s # */ 960s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 960s # g_signal_new ("simple-signal", 960s # G_TYPE_FROM_INTERFACE (iface), 960s # G_SIGNAL_RUN_LAST, 960s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 960s # NULL, 960s # NULL, 960s # org_project_signaling_iface_signal_marshal_simple_signal, 960s # G_TYPE_NONE, 960s # 0); 960s # 960s # /** 960s # * OrgProjectSignalingIface::single-arg-signal-ao: 960s # * @object: A #OrgProjectSignalingIface. 960s # * @arg_arg_ao: Argument. 960s # * 960s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 960s # * 960s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 960s # */ 960s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 960s # g_signal_new ("single-arg-signal-ao", 960s # G_TYPE_FROM_INTERFACE (iface), 960s # G_SIGNAL_RUN_LAST, 960s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 960s # NULL, 960s # NULL, 960s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 960s # G_TYPE_NONE, 960s # 1, G_TYPE_STRV); 960s # 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_emit_simple_signal: 960s # * @object: A #OrgProjectSignalingIface. 960s # * 960s # * Emits the "SimpleSignal" D-Bus signal. 960s # */ 960s # void 960s # org_project_signaling_iface_emit_simple_signal ( 960s # OrgProjectSignalingIface *object) 960s # { 960s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_emit_single_arg_signal_ao: 960s # * @object: A #OrgProjectSignalingIface. 960s # * @arg_arg_ao: Argument to pass with the signal. 960s # * 960s # * Emits the "SingleArgSignalAo" D-Bus signal. 960s # */ 960s # void 960s # org_project_signaling_iface_emit_single_arg_signal_ao ( 960s # OrgProjectSignalingIface *object, 960s # const gchar *const *arg_arg_ao) 960s # { 960s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 960s # } 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceProxy: 960s # * 960s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceProxyClass: 960s # * @parent_class: The parent class. 960s # * 960s # * Class structure for #OrgProjectSignalingIfaceProxy. 960s # */ 960s # 960s # struct _OrgProjectSignalingIfaceProxyPrivate 960s # { 960s # GData *qdata; 960s # }; 960s # 960s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 960s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 960s # 960s # #else 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 960s # 960s # #endif 960s # static void 960s # org_project_signaling_iface_proxy_finalize (GObject *object) 960s # { 960s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 960s # g_datalist_clear (&proxy->priv->qdata); 960s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 960s # guint prop_id G_GNUC_UNUSED, 960s # GValue *value G_GNUC_UNUSED, 960s # GParamSpec *pspec G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 960s # guint prop_id G_GNUC_UNUSED, 960s # const GValue *value G_GNUC_UNUSED, 960s # GParamSpec *pspec G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 960s # const gchar *sender_name G_GNUC_UNUSED, 960s # const gchar *signal_name, 960s # GVariant *parameters) 960s # { 960s # _ExtendedGDBusSignalInfo *info; 960s # GVariantIter iter; 960s # GVariant *child; 960s # GValue *paramv; 960s # gsize num_params; 960s # gsize n; 960s # guint signal_id; 960s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 960s # if (info == NULL) 960s # return; 960s # num_params = g_variant_n_children (parameters); 960s # paramv = g_new0 (GValue, num_params + 1); 960s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_set_object (¶mv[0], proxy); 960s # g_variant_iter_init (&iter, parameters); 960s # n = 1; 960s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 960s # { 960s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 960s # if (arg_info->use_gvariant) 960s # { 960s # g_value_init (¶mv[n], G_TYPE_VARIANT); 960s # g_value_set_variant (¶mv[n], child); 960s # n++; 960s # } 960s # else 960s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 960s # g_variant_unref (child); 960s # } 960s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_signal_emitv (paramv, signal_id, 0, NULL); 960s # for (n = 0; n < num_params + 1; n++) 960s # g_value_unset (¶mv[n]); 960s # g_free (paramv); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 960s # GVariant *changed_properties, 960s # const gchar *const *invalidated_properties) 960s # { 960s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 960s # guint n; 960s # const gchar *key; 960s # GVariantIter *iter; 960s # _ExtendedGDBusPropertyInfo *info; 960s # g_variant_get (changed_properties, "a{sv}", &iter); 960s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 960s # { 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 960s # g_datalist_remove_data (&proxy->priv->qdata, key); 960s # if (info != NULL) 960s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 960s # } 960s # g_variant_iter_free (iter); 960s # for (n = 0; invalidated_properties[n] != NULL; n++) 960s # { 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 960s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 960s # if (info != NULL) 960s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 960s # } 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 960s # { 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 960s # #else 960s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 960s # #endif 960s # 960s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 960s # { 960s # GObjectClass *gobject_class; 960s # GDBusProxyClass *proxy_class; 960s # 960s # gobject_class = G_OBJECT_CLASS (klass); 960s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 960s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 960s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 960s # 960s # proxy_class = G_DBUS_PROXY_CLASS (klass); 960s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 960s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 960s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 960s # #endif 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new: 960s # * @connection: A #GDBusConnection. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 960s # * 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 960s # * 960s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 960s # */ 960s # void 960s # org_project_signaling_iface_proxy_new ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_finish: 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 960s # * @error: Return location for error or %NULL 960s # * 960s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_finish ( 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GObject *ret; 960s # GObject *source_object; 960s # source_object = g_async_result_get_source_object (res); 960s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 960s # g_object_unref (source_object); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_sync: 960s # * @connection: A #GDBusConnection. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL 960s # * 960s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 960s # * 960s # * The calling thread is blocked until a reply is received. 960s # * 960s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_sync ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GInitable *ret; 960s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus: 960s # * @bus_type: A #GBusType. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: A bus name (well-known or unique). 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 960s # * 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 960s # * 960s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 960s # */ 960s # void 960s # org_project_signaling_iface_proxy_new_for_bus ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus_finish: 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 960s # * @error: Return location for error or %NULL 960s # * 960s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_for_bus_finish ( 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GObject *ret; 960s # GObject *source_object; 960s # source_object = g_async_result_get_source_object (res); 960s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 960s # g_object_unref (source_object); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus_sync: 960s # * @bus_type: A #GBusType. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: A bus name (well-known or unique). 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL 960s # * 960s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 960s # * 960s # * The calling thread is blocked until a reply is received. 960s # * 960s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_for_bus_sync ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GInitable *ret; 960s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceSkeleton: 960s # * 960s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceSkeletonClass: 960s # * @parent_class: The parent class. 960s # * 960s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 960s # */ 960s # 960s # struct _OrgProjectSignalingIfaceSkeletonPrivate 960s # { 960s # GValue *properties; 960s # GList *changed_properties; 960s # GSource *changed_properties_idle_source; 960s # GMainContext *context; 960s # GMutex lock; 960s # }; 960s # 960s # static void 960s # _org_project_signaling_iface_skeleton_handle_method_call ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name, 960s # const gchar *method_name, 960s # GVariant *parameters, 960s # GDBusMethodInvocation *invocation, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # _ExtendedGDBusMethodInfo *info; 960s # GVariantIter iter; 960s # GVariant *child; 960s # GValue *paramv; 960s # gsize num_params; 960s # guint num_extra; 960s # gsize n; 960s # guint signal_id; 960s # GValue return_value = G_VALUE_INIT; 960s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 960s # g_assert (info != NULL); 960s # num_params = g_variant_n_children (parameters); 960s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 960s # n = 0; 960s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_set_object (¶mv[n++], skeleton); 960s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 960s # g_value_set_object (¶mv[n++], invocation); 960s # if (info->pass_fdlist) 960s # { 960s # #ifdef G_OS_UNIX 960s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 960s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 960s # #else 960s # g_assert_not_reached (); 960s # #endif 960s # } 960s # g_variant_iter_init (&iter, parameters); 960s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 960s # { 960s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 960s # if (arg_info->use_gvariant) 960s # { 960s # g_value_init (¶mv[n], G_TYPE_VARIANT); 960s # g_value_set_variant (¶mv[n], child); 960s # n++; 960s # } 960s # else 960s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 960s # g_variant_unref (child); 960s # } 960s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_init (&return_value, G_TYPE_BOOLEAN); 960s # g_signal_emitv (paramv, signal_id, 0, &return_value); 960s # if (!g_value_get_boolean (&return_value)) 960s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 960s # g_value_unset (&return_value); 960s # for (n = 0; n < num_params + num_extra; n++) 960s # g_value_unset (¶mv[n]); 960s # g_free (paramv); 960s # } 960s # 960s # static GVariant * 960s # _org_project_signaling_iface_skeleton_handle_get_property ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name G_GNUC_UNUSED, 960s # const gchar *property_name, 960s # GError **error, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # GValue value = G_VALUE_INIT; 960s # GParamSpec *pspec; 960s # _ExtendedGDBusPropertyInfo *info; 960s # GVariant *ret; 960s # ret = NULL; 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 960s # g_assert (info != NULL); 960s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 960s # if (pspec == NULL) 960s # { 960s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 960s # } 960s # else 960s # { 960s # g_value_init (&value, pspec->value_type); 960s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 960s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 960s # g_value_unset (&value); 960s # } 960s # return ret; 960s # } 960s # 960s # static gboolean 960s # _org_project_signaling_iface_skeleton_handle_set_property ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name G_GNUC_UNUSED, 960s # const gchar *property_name, 960s # GVariant *variant, 960s # GError **error, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # GValue value = G_VALUE_INIT; 960s # GParamSpec *pspec; 960s # _ExtendedGDBusPropertyInfo *info; 960s # gboolean ret; 960s # ret = FALSE; 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 960s # g_assert (info != NULL); 960s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 960s # if (pspec == NULL) 960s # { 960s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 960s # } 960s # else 960s # { 960s # if (info->use_gvariant) 960s # g_value_set_variant (&value, variant); 960s # else 960s # g_dbus_gvariant_to_gvalue (variant, &value); 960s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 960s # g_value_unset (&value); 960s # ret = TRUE; 960s # } 960s # return ret; 960s # } 960s # 960s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 960s # { 960s # _org_project_signaling_iface_skeleton_handle_method_call, 960s # _org_project_signaling_iface_skeleton_handle_get_property, 960s # _org_project_signaling_iface_skeleton_handle_set_property, 960s # {NULL} 960s # }; 960s # 960s # static GDBusInterfaceInfo * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 960s # { 960s # return org_project_signaling_iface_interface_info (); 960s # } 960s # 960s # static GDBusInterfaceVTable * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 960s # { 960s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 960s # } 960s # 960s # static GVariant * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 960s # 960s # GVariantBuilder builder; 960s # guint n; 960s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 960s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 960s # goto out; 960s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 960s # { 960s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 960s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 960s # { 960s # GVariant *value; 960s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 960s # if (value != NULL) 960s # { 960s # g_variant_take_ref (value); 960s # g_variant_builder_add (&builder, "{sv}", info->name, value); 960s # g_variant_unref (value); 960s # } 960s # } 960s # } 960s # out: 960s # return g_variant_builder_end (&builder); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # _org_project_signaling_iface_on_signal_simple_signal ( 960s # OrgProjectSignalingIface *object) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # 960s # GList *connections, *l; 960s # GVariant *signal_variant; 960s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 960s # 960s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 960s # for (l = connections; l != NULL; l = l->next) 960s # { 960s # GDBusConnection *connection = l->data; 960s # g_dbus_connection_emit_signal (connection, 960s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 960s # signal_variant, NULL); 960s # } 960s # g_variant_unref (signal_variant); 960s # g_list_free_full (connections, g_object_unref); 960s # } 960s # 960s # static void 960s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 960s # OrgProjectSignalingIface *object, 960s # const gchar *const *arg_arg_ao) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # 960s # GList *connections, *l; 960s # GVariant *signal_variant; 960s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 960s # 960s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 960s # arg_arg_ao)); 960s # for (l = connections; l != NULL; l = l->next) 960s # { 960s # GDBusConnection *connection = l->data; 960s # g_dbus_connection_emit_signal (connection, 960s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 960s # signal_variant, NULL); 960s # } 960s # g_variant_unref (signal_variant); 960s # g_list_free_full (connections, g_object_unref); 960s # } 960s # 960s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 960s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 960s # 960s # #else 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 960s # 960s # #endif 960s # static void 960s # org_project_signaling_iface_skeleton_finalize (GObject *object) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 960s # if (skeleton->priv->changed_properties_idle_source != NULL) 960s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 960s # g_main_context_unref (skeleton->priv->context); 960s # g_mutex_clear (&skeleton->priv->lock); 960s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 960s # { 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 960s # #else 960s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 960s # #endif 960s # 960s # g_mutex_init (&skeleton->priv->lock); 960s # skeleton->priv->context = g_main_context_ref_thread_default (); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 960s # { 960s # GObjectClass *gobject_class; 960s # GDBusInterfaceSkeletonClass *skeleton_class; 960s # 960s # gobject_class = G_OBJECT_CLASS (klass); 960s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 960s # 960s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 960s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 960s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 960s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 960s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 960s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 960s # #endif 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 960s # { 960s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 960s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_skeleton_new: 960s # * 960s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_skeleton_new (void) 960s # { 960s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 960s # } 960s # /tmp/tmpqzg2h3yi/tmpafralgp_.xml: 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqzg2h3yi/tmpafralgp_.xml', '--output', '-', '--body'] 960s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 960s # Output: /* 960s # * This file is generated by gdbus-codegen, do not modify it. 960s # * 960s # * The license of this code is the same as for the D-Bus interface description 960s # * it was derived from. Note that it links to GLib, so must comply with the 960s # * LGPL linking clauses. 960s # */ 960s # 960s # #ifdef HAVE_CONFIG_H 960s # # include "config.h" 960s # #endif 960s # 960s # #include 960s # #ifdef G_OS_UNIX 960s # # include 960s # #endif 960s # 960s # #ifdef G_ENABLE_DEBUG 960s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 960s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 960s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 960s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 960s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 960s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 960s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 960s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 960s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 960s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 960s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 960s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 960s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 960s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 960s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 960s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 960s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 960s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 960s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 960s # #else /* !G_ENABLE_DEBUG */ 960s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 960s # * Do not access GValues directly in your code. Instead, use the 960s # * g_value_get_*() functions 960s # */ 960s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 960s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 960s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 960s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 960s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 960s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 960s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 960s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 960s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 960s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 960s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 960s # #endif /* !G_ENABLE_DEBUG */ 960s # 960s # typedef struct 960s # { 960s # GDBusArgInfo parent_struct; 960s # gboolean use_gvariant; 960s # } _ExtendedGDBusArgInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusMethodInfo parent_struct; 960s # const gchar *signal_name; 960s # gboolean pass_fdlist; 960s # } _ExtendedGDBusMethodInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusSignalInfo parent_struct; 960s # const gchar *signal_name; 960s # } _ExtendedGDBusSignalInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusPropertyInfo parent_struct; 960s # const gchar *hyphen_name; 960s # guint use_gvariant : 1; 960s # guint emits_changed_signal : 1; 960s # } _ExtendedGDBusPropertyInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusInterfaceInfo parent_struct; 960s # const gchar *hyphen_name; 960s # } _ExtendedGDBusInterfaceInfo; 960s # 960s # typedef struct 960s # { 960s # const _ExtendedGDBusPropertyInfo *info; 960s # guint prop_id; 960s # GValue orig_value; /* the value before the change */ 960s # } ChangedProperty; 960s # 960s # static void 960s # _changed_property_free (ChangedProperty *data) 960s # { 960s # g_value_unset (&data->orig_value); 960s # g_free (data); 960s # } 960s # 960s # static gboolean 960s # _g_strv_equal0 (gchar **a, gchar **b) 960s # { 960s # gboolean ret = FALSE; 960s # guint n; 960s # if (a == NULL && b == NULL) 960s # { 960s # ret = TRUE; 960s # goto out; 960s # } 960s # if (a == NULL || b == NULL) 960s # goto out; 960s # if (g_strv_length (a) != g_strv_length (b)) 960s # goto out; 960s # for (n = 0; a[n] != NULL; n++) 960s # if (g_strcmp0 (a[n], b[n]) != 0) 960s # goto out; 960s # ret = TRUE; 960s # out: 960s # return ret; 960s # } 960s # 960s # static gboolean 960s # _g_variant_equal0 (GVariant *a, GVariant *b) 960s # { 960s # gboolean ret = FALSE; 960s # if (a == NULL && b == NULL) 960s # { 960s # ret = TRUE; 960s # goto out; 960s # } 960s # if (a == NULL || b == NULL) 960s # goto out; 960s # ret = g_variant_equal (a, b); 960s # out: 960s # return ret; 960s # } 960s # 960s # G_GNUC_UNUSED static gboolean 960s # _g_value_equal (const GValue *a, const GValue *b) 960s # { 960s # gboolean ret = FALSE; 960s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 960s # switch (G_VALUE_TYPE (a)) 960s # { 960s # case G_TYPE_BOOLEAN: 960s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 960s # break; 960s # case G_TYPE_UCHAR: 960s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 960s # break; 960s # case G_TYPE_INT: 960s # ret = (g_value_get_int (a) == g_value_get_int (b)); 960s # break; 960s # case G_TYPE_UINT: 960s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 960s # break; 960s # case G_TYPE_INT64: 960s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 960s # break; 960s # case G_TYPE_UINT64: 960s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 960s # break; 960s # case G_TYPE_DOUBLE: 960s # { 960s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 960s # gdouble da = g_value_get_double (a); 960s # gdouble db = g_value_get_double (b); 960s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 960s # } 960s # break; 960s # case G_TYPE_STRING: 960s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 960s # break; 960s # case G_TYPE_VARIANT: 960s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 960s # break; 960s # default: 960s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 960s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 960s # else 960s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 960s # break; 960s # } 960s # return ret; 960s # } 960s # 960s # /* ------------------------------------------------------------------------ 960s # * Code for interface org.project.SignalingIface 960s # * ------------------------------------------------------------------------ 960s # */ 960s # 960s # /** 960s # * SECTION:OrgProjectSignalingIface 960s # * @title: OrgProjectSignalingIface 960s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 960s # * 960s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 960s # */ 960s # 960s # enum 960s # { 960s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 960s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 960s # }; 960s # 960s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 960s # 960s # /* ---- Introspection data for org.project.SignalingIface ---- */ 960s # 960s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 960s # { 960s # { 960s # -1, 960s # (gchar *) "SimpleSignal", 960s # NULL, 960s # NULL 960s # }, 960s # "simple-signal" 960s # }; 960s # 960s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 960s # { 960s # { 960s # -1, 960s # (gchar *) "arg_aay", 960s # (gchar *) "aay", 960s # NULL 960s # }, 960s # FALSE 960s # }; 960s # 960s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 960s # { 960s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 960s # NULL 960s # }; 960s # 960s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 960s # { 960s # { 960s # -1, 960s # (gchar *) "SingleArgSignalAay", 960s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 960s # NULL 960s # }, 960s # "single-arg-signal-aay" 960s # }; 960s # 960s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 960s # { 960s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 960s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 960s # NULL 960s # }; 960s # 960s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 960s # { 960s # { 960s # -1, 960s # (gchar *) "org.project.SignalingIface", 960s # NULL, 960s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 960s # NULL, 960s # NULL 960s # }, 960s # "org-project-signaling-iface", 960s # }; 960s # 960s # 960s # /** 960s # * org_project_signaling_iface_interface_info: 960s # * 960s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 960s # * 960s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 960s # */ 960s # GDBusInterfaceInfo * 960s # org_project_signaling_iface_interface_info (void) 960s # { 960s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_override_properties: 960s # * @klass: The class structure for a #GObject derived class. 960s # * @property_id_begin: The property id to assign to the first overridden property. 960s # * 960s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 960s # * The properties are overridden in the order they are defined. 960s # * 960s # * Returns: The last property id. 960s # */ 960s # guint 960s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 960s # { 960s # return property_id_begin - 1; 960s # } 960s # 960s # 960s # inline static void 960s # org_project_signaling_iface_signal_marshal_simple_signal ( 960s # GClosure *closure, 960s # GValue *return_value, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint, 960s # void *marshal_data) 960s # { 960s # g_cclosure_marshal_VOID__VOID (closure, 960s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 960s # } 960s # 960s # inline static void 960s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 960s # GClosure *closure, 960s # GValue *return_value, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint, 960s # void *marshal_data) 960s # { 960s # g_cclosure_marshal_VOID__BOXED (closure, 960s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 960s # } 960s # 960s # 960s # /** 960s # * OrgProjectSignalingIface: 960s # * 960s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceIface: 960s # * @parent_iface: The parent interface. 960s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 960s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 960s # * 960s # * Virtual table for the D-Bus interface org.project.SignalingIface. 960s # */ 960s # 960s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 960s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 960s # 960s # static void 960s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 960s # { 960s # /* GObject signals for received D-Bus signals: */ 960s # /** 960s # * OrgProjectSignalingIface::simple-signal: 960s # * @object: A #OrgProjectSignalingIface. 960s # * 960s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 960s # * 960s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 960s # */ 960s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 960s # g_signal_new ("simple-signal", 960s # G_TYPE_FROM_INTERFACE (iface), 960s # G_SIGNAL_RUN_LAST, 960s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 960s # NULL, 960s # NULL, 960s # org_project_signaling_iface_signal_marshal_simple_signal, 960s # G_TYPE_NONE, 960s # 0); 960s # 960s # /** 960s # * OrgProjectSignalingIface::single-arg-signal-aay: 960s # * @object: A #OrgProjectSignalingIface. 960s # * @arg_arg_aay: Argument. 960s # * 960s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 960s # * 960s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 960s # */ 960s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 960s # g_signal_new ("single-arg-signal-aay", 960s # G_TYPE_FROM_INTERFACE (iface), 960s # G_SIGNAL_RUN_LAST, 960s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 960s # NULL, 960s # NULL, 960s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 960s # G_TYPE_NONE, 960s # 1, G_TYPE_STRV); 960s # 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_emit_simple_signal: 960s # * @object: A #OrgProjectSignalingIface. 960s # * 960s # * Emits the "SimpleSignal" D-Bus signal. 960s # */ 960s # void 960s # org_project_signaling_iface_emit_simple_signal ( 960s # OrgProjectSignalingIface *object) 960s # { 960s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_emit_single_arg_signal_aay: 960s # * @object: A #OrgProjectSignalingIface. 960s # * @arg_arg_aay: Argument to pass with the signal. 960s # * 960s # * Emits the "SingleArgSignalAay" D-Bus signal. 960s # */ 960s # void 960s # org_project_signaling_iface_emit_single_arg_signal_aay ( 960s # OrgProjectSignalingIface *object, 960s # const gchar *const *arg_arg_aay) 960s # { 960s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 960s # } 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceProxy: 960s # * 960s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceProxyClass: 960s # * @parent_class: The parent class. 960s # * 960s # * Class structure for #OrgProjectSignalingIfaceProxy. 960s # */ 960s # 960s # struct _OrgProjectSignalingIfaceProxyPrivate 960s # { 960s # GData *qdata; 960s # }; 960s # 960s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 960s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 960s # 960s # #else 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 960s # 960s # #endif 960s # static void 960s # org_project_signaling_iface_proxy_finalize (GObject *object) 960s # { 960s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 960s # g_datalist_clear (&proxy->priv->qdata); 960s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 960s # guint prop_id G_GNUC_UNUSED, 960s # GValue *value G_GNUC_UNUSED, 960s # GParamSpec *pspec G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 960s # guint prop_id G_GNUC_UNUSED, 960s # const GValue *value G_GNUC_UNUSED, 960s # GParamSpec *pspec G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 960s # const gchar *sender_name G_GNUC_UNUSED, 960s # const gchar *signal_name, 960s # GVariant *parameters) 960s # { 960s # _ExtendedGDBusSignalInfo *info; 960s # GVariantIter iter; 960s # GVariant *child; 960s # GValue *paramv; 960s # gsize num_params; 960s # gsize n; 960s # guint signal_id; 960s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 960s # if (info == NULL) 960s # return; 960s # num_params = g_variant_n_children (parameters); 960s # paramv = g_new0 (GValue, num_params + 1); 960s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_set_object (¶mv[0], proxy); 960s # g_variant_iter_init (&iter, parameters); 960s # n = 1; 960s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 960s # { 960s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 960s # if (arg_info->use_gvariant) 960s # { 960s # g_value_init (¶mv[n], G_TYPE_VARIANT); 960s # g_value_set_variant (¶mv[n], child); 960s # n++; 960s # } 960s # else 960s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 960s # g_variant_unref (child); 960s # } 960s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_signal_emitv (paramv, signal_id, 0, NULL); 960s # for (n = 0; n < num_params + 1; n++) 960s # g_value_unset (¶mv[n]); 960s # g_free (paramv); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 960s # GVariant *changed_properties, 960s # const gchar *const *invalidated_properties) 960s # { 960s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 960s # guint n; 960s # const gchar *key; 960s # GVariantIter *iter; 960s # _ExtendedGDBusPropertyInfo *info; 960s # g_variant_get (changed_properties, "a{sv}", &iter); 960s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 960s # { 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 960s # g_datalist_remove_data (&proxy->priv->qdata, key); 960s # if (info != NULL) 960s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 960s # } 960s # g_variant_iter_free (iter); 960s # for (n = 0; invalidated_properties[n] != NULL; n++) 960s # { 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 960s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 960s # if (info != NULL) 960s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 960s # } 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 960s # { 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 960s # #else 960s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 960s # #endif 960s # 960s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 960s # { 960s # GObjectClass *gobject_class; 960s # GDBusProxyClass *proxy_class; 960s # 960s # gobject_class = G_OBJECT_CLASS (klass); 960s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 960s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 960s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 960s # 960s # proxy_class = G_DBUS_PROXY_CLASS (klass); 960s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 960s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 960s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 960s # #endif 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new: 960s # * @connection: A #GDBusConnection. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 960s # * 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 960s # * 960s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 960s # */ 960s # void 960s # org_project_signaling_iface_proxy_new ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_finish: 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 960s # * @error: Return location for error or %NULL 960s # * 960s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_finish ( 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GObject *ret; 960s # GObject *source_object; 960s # source_object = g_async_result_get_source_object (res); 960s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 960s # g_object_unref (source_object); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_sync: 960s # * @connection: A #GDBusConnection. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL 960s # * 960s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 960s # * 960s # * The calling thread is blocked until a reply is received. 960s # * 960s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_sync ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GInitable *ret; 960s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus: 960s # * @bus_type: A #GBusType. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: A bus name (well-known or unique). 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 960s # * 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 960s # * 960s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 960s # */ 960s # void 960s # org_project_signaling_iface_proxy_new_for_bus ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus_finish: 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 960s # * @error: Return location for error or %NULL 960s # * 960s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_for_bus_finish ( 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GObject *ret; 960s # GObject *source_object; 960s # source_object = g_async_result_get_source_object (res); 960s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 960s # g_object_unref (source_object); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus_sync: 960s # * @bus_type: A #GBusType. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: A bus name (well-known or unique). 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL 960s # * 960s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 960s # * 960s # * The calling thread is blocked until a reply is received. 960s # * 960s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_for_bus_sync ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GInitable *ret; 960s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceSkeleton: 960s # * 960s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceSkeletonClass: 960s # * @parent_class: The parent class. 960s # * 960s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 960s # */ 960s # 960s # struct _OrgProjectSignalingIfaceSkeletonPrivate 960s # { 960s # GValue *properties; 960s # GList *changed_properties; 960s # GSource *changed_properties_idle_source; 960s # GMainContext *context; 960s # GMutex lock; 960s # }; 960s # 960s # static void 960s # _org_project_signaling_iface_skeleton_handle_method_call ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name, 960s # const gchar *method_name, 960s # GVariant *parameters, 960s # GDBusMethodInvocation *invocation, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # _ExtendedGDBusMethodInfo *info; 960s # GVariantIter iter; 960s # GVariant *child; 960s # GValue *paramv; 960s # gsize num_params; 960s # guint num_extra; 960s # gsize n; 960s # guint signal_id; 960s # GValue return_value = G_VALUE_INIT; 960s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 960s # g_assert (info != NULL); 960s # num_params = g_variant_n_children (parameters); 960s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 960s # n = 0; 960s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_set_object (¶mv[n++], skeleton); 960s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 960s # g_value_set_object (¶mv[n++], invocation); 960s # if (info->pass_fdlist) 960s # { 960s # #ifdef G_OS_UNIX 960s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 960s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 960s # #else 960s # g_assert_not_reached (); 960s # #endif 960s # } 960s # g_variant_iter_init (&iter, parameters); 960s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 960s # { 960s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 960s # if (arg_info->use_gvariant) 960s # { 960s # g_value_init (¶mv[n], G_TYPE_VARIANT); 960s # g_value_set_variant (¶mv[n], child); 960s # n++; 960s # } 960s # else 960s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 960s # g_variant_unref (child); 960s # } 960s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_init (&return_value, G_TYPE_BOOLEAN); 960s # g_signal_emitv (paramv, signal_id, 0, &return_value); 960s # if (!g_value_get_boolean (&return_value)) 960s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 960s # g_value_unset (&return_value); 960s # for (n = 0; n < num_params + num_extra; n++) 960s # g_value_unset (¶mv[n]); 960s # g_free (paramv); 960s # } 960s # 960s # static GVariant * 960s # _org_project_signaling_iface_skeleton_handle_get_property ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name G_GNUC_UNUSED, 960s # const gchar *property_name, 960s # GError **error, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # GValue value = G_VALUE_INIT; 960s # GParamSpec *pspec; 960s # _ExtendedGDBusPropertyInfo *info; 960s # GVariant *ret; 960s # ret = NULL; 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 960s # g_assert (info != NULL); 960s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 960s # if (pspec == NULL) 960s # { 960s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 960s # } 960s # else 960s # { 960s # g_value_init (&value, pspec->value_type); 960s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 960s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 960s # g_value_unset (&value); 960s # } 960s # return ret; 960s # } 960s # 960s # static gboolean 960s # _org_project_signaling_iface_skeleton_handle_set_property ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name G_GNUC_UNUSED, 960s # const gchar *property_name, 960s # GVariant *variant, 960s # GError **error, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # GValue value = G_VALUE_INIT; 960s # GParamSpec *pspec; 960s # _ExtendedGDBusPropertyInfo *info; 960s # gboolean ret; 960s # ret = FALSE; 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 960s # g_assert (info != NULL); 960s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 960s # if (pspec == NULL) 960s # { 960s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 960s # } 960s # else 960s # { 960s # if (info->use_gvariant) 960s # g_value_set_variant (&value, variant); 960s # else 960s # g_dbus_gvariant_to_gvalue (variant, &value); 960s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 960s # g_value_unset (&value); 960s # ret = TRUE; 960s # } 960s # return ret; 960s # } 960s # 960s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 960s # { 960s # _org_project_signaling_iface_skeleton_handle_method_call, 960s # _org_project_signaling_iface_skeleton_handle_get_property, 960s # _org_project_signaling_iface_skeleton_handle_set_property, 960s # {NULL} 960s # }; 960s # 960s # static GDBusInterfaceInfo * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 960s # { 960s # return org_project_signaling_iface_interface_info (); 960s # } 960s # 960s # static GDBusInterfaceVTable * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 960s # { 960s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 960s # } 960s # 960s # static GVariant * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 960s # 960s # GVariantBuilder builder; 960s # guint n; 960s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 960s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 960s # goto out; 960s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 960s # { 960s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 960s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 960s # { 960s # GVariant *value; 960s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 960s # if (value != NULL) 960s # { 960s # g_variant_take_ref (value); 960s # g_variant_builder_add (&builder, "{sv}", info->name, value); 960s # g_variant_unref (value); 960s # } 960s # } 960s # } 960s # out: 960s # return g_variant_builder_end (&builder); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # _org_project_signaling_iface_on_signal_simple_signal ( 960s # OrgProjectSignalingIface *object) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # 960s # GList *connections, *l; 960s # GVariant *signal_variant; 960s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 960s # 960s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 960s # for (l = connections; l != NULL; l = l->next) 960s # { 960s # GDBusConnection *connection = l->data; 960s # g_dbus_connection_emit_signal (connection, 960s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 960s # signal_variant, NULL); 960s # } 960s # g_variant_unref (signal_variant); 960s # g_list_free_full (connections, g_object_unref); 960s # } 960s # 960s # static void 960s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 960s # OrgProjectSignalingIface *object, 960s # const gchar *const *arg_arg_aay) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # 960s # GList *connections, *l; 960s # GVariant *signal_variant; 960s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 960s # 960s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 960s # arg_arg_aay)); 960s # for (l = connections; l != NULL; l = l->next) 960s # { 960s # GDBusConnection *connection = l->data; 960s # g_dbus_connection_emit_signal (connection, 960s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 960s # signal_variant, NULL); 960s # } 960s # g_variant_unref (signal_variant); 960s # g_list_free_full (connections, g_object_unref); 960s # } 960s # 960s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 960s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 960s # 960s # #else 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 960s # 960s # #endif 960s # static void 960s # org_project_signaling_iface_skeleton_finalize (GObject *object) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 960s # if (skeleton->priv->changed_properties_idle_source != NULL) 960s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 960s # g_main_context_unref (skeleton->priv->context); 960s # g_mutex_clear (&skeleton->priv->lock); 960s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 960s # { 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 960s # #else 960s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 960s # #endif 960s # 960s # g_mutex_init (&skeleton->priv->lock); 960s # skeleton->priv->context = g_main_context_ref_thread_default (); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 960s # { 960s # GObjectClass *gobject_class; 960s # GDBusInterfaceSkeletonClass *skeleton_class; 960s # 960s # gobject_class = G_OBJECT_CLASS (klass); 960s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 960s # 960s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 960s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 960s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 960s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 960s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 960s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 960s # #endif 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 960s # { 960s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 960s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_skeleton_new: 960s # * 960s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_skeleton_new (void) 960s # { 960s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 960s # } 960s # /tmp/tmpqzg2h3yi/tmpwd9chblm.xml: 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqzg2h3yi/tmpwd9chblm.xml', '--output', '-', '--body'] 960s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 960s # Output: /* 960s # * This file is generated by gdbus-codegen, do not modify it. 960s # * 960s # * The license of this code is the same as for the D-Bus interface description 960s # * it was derived from. Note that it links to GLib, so must comply with the 960s # * LGPL linking clauses. 960s # */ 960s # 960s # #ifdef HAVE_CONFIG_H 960s # # include "config.h" 960s # #endif 960s # 960s # #include 960s # #ifdef G_OS_UNIX 960s # # include 960s # #endif 960s # 960s # #ifdef G_ENABLE_DEBUG 960s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 960s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 960s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 960s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 960s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 960s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 960s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 960s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 960s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 960s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 960s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 960s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 960s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 960s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 960s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 960s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 960s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 960s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 960s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 960s # #else /* !G_ENABLE_DEBUG */ 960s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 960s # * Do not access GValues directly in your code. Instead, use the 960s # * g_value_get_*() functions 960s # */ 960s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 960s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 960s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 960s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 960s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 960s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 960s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 960s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 960s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 960s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 960s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 960s # #endif /* !G_ENABLE_DEBUG */ 960s # 960s # typedef struct 960s # { 960s # GDBusArgInfo parent_struct; 960s # gboolean use_gvariant; 960s # } _ExtendedGDBusArgInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusMethodInfo parent_struct; 960s # const gchar *signal_name; 960s # gboolean pass_fdlist; 960s # } _ExtendedGDBusMethodInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusSignalInfo parent_struct; 960s # const gchar *signal_name; 960s # } _ExtendedGDBusSignalInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusPropertyInfo parent_struct; 960s # const gchar *hyphen_name; 960s # guint use_gvariant : 1; 960s # guint emits_changed_signal : 1; 960s # } _ExtendedGDBusPropertyInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusInterfaceInfo parent_struct; 960s # const gchar *hyphen_name; 960s # } _ExtendedGDBusInterfaceInfo; 960s # 960s # typedef struct 960s # { 960s # const _ExtendedGDBusPropertyInfo *info; 960s # guint prop_id; 960s # GValue orig_value; /* the value before the change */ 960s # } ChangedProperty; 960s # 960s # static void 960s # _changed_property_free (ChangedProperty *data) 960s # { 960s # g_value_unset (&data->orig_value); 960s # g_free (data); 960s # } 960s # 960s # static gboolean 960s # _g_strv_equal0 (gchar **a, gchar **b) 960s # { 960s # gboolean ret = FALSE; 960s # guint n; 960s # if (a == NULL && b == NULL) 960s # { 960s # ret = TRUE; 960s # goto out; 960s # } 960s # if (a == NULL || b == NULL) 960s # goto out; 960s # if (g_strv_length (a) != g_strv_length (b)) 960s # goto out; 960s # for (n = 0; a[n] != NULL; n++) 960s # if (g_strcmp0 (a[n], b[n]) != 0) 960s # goto out; 960s # ret = TRUE; 960s # out: 960s # return ret; 960s # } 960s # 960s # static gboolean 960s # _g_variant_equal0 (GVariant *a, GVariant *b) 960s # { 960s # gboolean ret = FALSE; 960s # if (a == NULL && b == NULL) 960s # { 960s # ret = TRUE; 960s # goto out; 960s # } 960s # if (a == NULL || b == NULL) 960s # goto out; 960s # ret = g_variant_equal (a, b); 960s # out: 960s # return ret; 960s # } 960s # 960s # G_GNUC_UNUSED static gboolean 960s # _g_value_equal (const GValue *a, const GValue *b) 960s # { 960s # gboolean ret = FALSE; 960s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 960s # switch (G_VALUE_TYPE (a)) 960s # { 960s # case G_TYPE_BOOLEAN: 960s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 960s # break; 960s # case G_TYPE_UCHAR: 960s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 960s # break; 960s # case G_TYPE_INT: 960s # ret = (g_value_get_int (a) == g_value_get_int (b)); 960s # break; 960s # case G_TYPE_UINT: 960s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 960s # break; 960s # case G_TYPE_INT64: 960s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 960s # break; 960s # case G_TYPE_UINT64: 960s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 960s # break; 960s # case G_TYPE_DOUBLE: 960s # { 960s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 960s # gdouble da = g_value_get_double (a); 960s # gdouble db = g_value_get_double (b); 960s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 960s # } 960s # break; 960s # case G_TYPE_STRING: 960s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 960s # break; 960s # case G_TYPE_VARIANT: 960s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 960s # break; 960s # default: 960s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 960s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 960s # else 960s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 960s # break; 960s # } 960s # return ret; 960s # } 960s # 960s # /* ------------------------------------------------------------------------ 960s # * Code for interface org.project.SignalingIface 960s # * ------------------------------------------------------------------------ 960s # */ 960s # 960s # /** 960s # * SECTION:OrgProjectSignalingIface 960s # * @title: OrgProjectSignalingIface 960s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 960s # * 960s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 960s # */ 960s # 960s # enum 960s # { 960s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 960s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 960s # }; 960s # 960s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 960s # 960s # /* ---- Introspection data for org.project.SignalingIface ---- */ 960s # 960s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 960s # { 960s # { 960s # -1, 960s # (gchar *) "SimpleSignal", 960s # NULL, 960s # NULL 960s # }, 960s # "simple-signal" 960s # }; 960s # 960s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 960s # { 960s # { 960s # -1, 960s # (gchar *) "arg_asv", 960s # (gchar *) "a{sv}", 960s # NULL 960s # }, 960s # FALSE 960s # }; 960s # 960s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 960s # { 960s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 960s # NULL 960s # }; 960s # 960s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 960s # { 960s # { 960s # -1, 960s # (gchar *) "SingleArgSignalAsv", 960s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 960s # NULL 960s # }, 960s # "single-arg-signal-asv" 960s # }; 960s # 960s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 960s # { 960s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 960s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 960s # NULL 960s # }; 960s # 960s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 960s # { 960s # { 960s # -1, 960s # (gchar *) "org.project.SignalingIface", 960s # NULL, 960s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 960s # NULL, 960s # NULL 960s # }, 960s # "org-project-signaling-iface", 960s # }; 960s # 960s # 960s # /** 960s # * org_project_signaling_iface_interface_info: 960s # * 960s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 960s # * 960s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 960s # */ 960s # GDBusInterfaceInfo * 960s # org_project_signaling_iface_interface_info (void) 960s # { 960s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_override_properties: 960s # * @klass: The class structure for a #GObject derived class. 960s # * @property_id_begin: The property id to assign to the first overridden property. 960s # * 960s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 960s # * The properties are overridden in the order they are defined. 960s # * 960s # * Returns: The last property id. 960s # */ 960s # guint 960s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 960s # { 960s # return property_id_begin - 1; 960s # } 960s # 960s # 960s # inline static void 960s # org_project_signaling_iface_signal_marshal_simple_signal ( 960s # GClosure *closure, 960s # GValue *return_value, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint, 960s # void *marshal_data) 960s # { 960s # g_cclosure_marshal_VOID__VOID (closure, 960s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 960s # } 960s # 960s # inline static void 960s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 960s # GClosure *closure, 960s # GValue *return_value, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint, 960s # void *marshal_data) 960s # { 960s # g_cclosure_marshal_VOID__VARIANT (closure, 960s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 960s # } 960s # 960s # 960s # /** 960s # * OrgProjectSignalingIface: 960s # * 960s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceIface: 960s # * @parent_iface: The parent interface. 960s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 960s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 960s # * 960s # * Virtual table for the D-Bus interface org.project.SignalingIface. 960s # */ 960s # 960s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 960s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 960s # 960s # static void 960s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 960s # { 960s # /* GObject signals for received D-Bus signals: */ 960s # /** 960s # * OrgProjectSignalingIface::simple-signal: 960s # * @object: A #OrgProjectSignalingIface. 960s # * 960s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 960s # * 960s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 960s # */ 960s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 960s # g_signal_new ("simple-signal", 960s # G_TYPE_FROM_INTERFACE (iface), 960s # G_SIGNAL_RUN_LAST, 960s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 960s # NULL, 960s # NULL, 960s # org_project_signaling_iface_signal_marshal_simple_signal, 960s # G_TYPE_NONE, 960s # 0); 960s # 960s # /** 960s # * OrgProjectSignalingIface::single-arg-signal-asv: 960s # * @object: A #OrgProjectSignalingIface. 960s # * @arg_arg_asv: Argument. 960s # * 960s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 960s # * 960s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 960s # */ 960s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 960s # g_signal_new ("single-arg-signal-asv", 960s # G_TYPE_FROM_INTERFACE (iface), 960s # G_SIGNAL_RUN_LAST, 960s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 960s # NULL, 960s # NULL, 960s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 960s # G_TYPE_NONE, 960s # 1, G_TYPE_VARIANT); 960s # 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_emit_simple_signal: 960s # * @object: A #OrgProjectSignalingIface. 960s # * 960s # * Emits the "SimpleSignal" D-Bus signal. 960s # */ 960s # void 960s # org_project_signaling_iface_emit_simple_signal ( 960s # OrgProjectSignalingIface *object) 960s # { 960s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_emit_single_arg_signal_asv: 960s # * @object: A #OrgProjectSignalingIface. 960s # * @arg_arg_asv: Argument to pass with the signal. 960s # * 960s # * Emits the "SingleArgSignalAsv" D-Bus signal. 960s # */ 960s # void 960s # org_project_signaling_iface_emit_single_arg_signal_asv ( 960s # OrgProjectSignalingIface *object, 960s # GVariant *arg_arg_asv) 960s # { 960s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 960s # } 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceProxy: 960s # * 960s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceProxyClass: 960s # * @parent_class: The parent class. 960s # * 960s # * Class structure for #OrgProjectSignalingIfaceProxy. 960s # */ 960s # 960s # struct _OrgProjectSignalingIfaceProxyPrivate 960s # { 960s # GData *qdata; 960s # }; 960s # 960s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 960s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 960s # 960s # #else 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 960s # 960s # #endif 960s # static void 960s # org_project_signaling_iface_proxy_finalize (GObject *object) 960s # { 960s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 960s # g_datalist_clear (&proxy->priv->qdata); 960s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 960s # guint prop_id G_GNUC_UNUSED, 960s # GValue *value G_GNUC_UNUSED, 960s # GParamSpec *pspec G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 960s # guint prop_id G_GNUC_UNUSED, 960s # const GValue *value G_GNUC_UNUSED, 960s # GParamSpec *pspec G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 960s # const gchar *sender_name G_GNUC_UNUSED, 960s # const gchar *signal_name, 960s # GVariant *parameters) 960s # { 960s # _ExtendedGDBusSignalInfo *info; 960s # GVariantIter iter; 960s # GVariant *child; 960s # GValue *paramv; 960s # gsize num_params; 960s # gsize n; 960s # guint signal_id; 960s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 960s # if (info == NULL) 960s # return; 960s # num_params = g_variant_n_children (parameters); 960s # paramv = g_new0 (GValue, num_params + 1); 960s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_set_object (¶mv[0], proxy); 960s # g_variant_iter_init (&iter, parameters); 960s # n = 1; 960s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 960s # { 960s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 960s # if (arg_info->use_gvariant) 960s # { 960s # g_value_init (¶mv[n], G_TYPE_VARIANT); 960s # g_value_set_variant (¶mv[n], child); 960s # n++; 960s # } 960s # else 960s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 960s # g_variant_unref (child); 960s # } 960s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_signal_emitv (paramv, signal_id, 0, NULL); 960s # for (n = 0; n < num_params + 1; n++) 960s # g_value_unset (¶mv[n]); 960s # g_free (paramv); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 960s # GVariant *changed_properties, 960s # const gchar *const *invalidated_properties) 960s # { 960s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 960s # guint n; 960s # const gchar *key; 960s # GVariantIter *iter; 960s # _ExtendedGDBusPropertyInfo *info; 960s # g_variant_get (changed_properties, "a{sv}", &iter); 960s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 960s # { 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 960s # g_datalist_remove_data (&proxy->priv->qdata, key); 960s # if (info != NULL) 960s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 960s # } 960s # g_variant_iter_free (iter); 960s # for (n = 0; invalidated_properties[n] != NULL; n++) 960s # { 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 960s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 960s # if (info != NULL) 960s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 960s # } 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 960s # { 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 960s # #else 960s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 960s # #endif 960s # 960s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 960s # { 960s # GObjectClass *gobject_class; 960s # GDBusProxyClass *proxy_class; 960s # 960s # gobject_class = G_OBJECT_CLASS (klass); 960s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 960s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 960s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 960s # 960s # proxy_class = G_DBUS_PROXY_CLASS (klass); 960s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 960s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 960s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 960s # #endif 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new: 960s # * @connection: A #GDBusConnection. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 960s # * 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 960s # * 960s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 960s # */ 960s # void 960s # org_project_signaling_iface_proxy_new ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_finish: 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 960s # * @error: Return location for error or %NULL 960s # * 960s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_finish ( 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GObject *ret; 960s # GObject *source_object; 960s # source_object = g_async_result_get_source_object (res); 960s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 960s # g_object_unref (source_object); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_sync: 960s # * @connection: A #GDBusConnection. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL 960s # * 960s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 960s # * 960s # * The calling thread is blocked until a reply is received. 960s # * 960s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_sync ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GInitable *ret; 960s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus: 960s # * @bus_type: A #GBusType. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: A bus name (well-known or unique). 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 960s # * 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 960s # * 960s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 960s # */ 960s # void 960s # org_project_signaling_iface_proxy_new_for_bus ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus_finish: 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 960s # * @error: Return location for error or %NULL 960s # * 960s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_for_bus_finish ( 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GObject *ret; 960s # GObject *source_object; 960s # source_object = g_async_result_get_source_object (res); 960s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 960s # g_object_unref (source_object); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus_sync: 960s # * @bus_type: A #GBusType. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: A bus name (well-known or unique). 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL 960s # * 960s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 960s # * 960s # * The calling thread is blocked until a reply is received. 960s # * 960s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_for_bus_sync ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GInitable *ret; 960s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceSkeleton: 960s # * 960s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceSkeletonClass: 960s # * @parent_class: The parent class. 960s # * 960s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 960s # */ 960s # 960s # struct _OrgProjectSignalingIfaceSkeletonPrivate 960s # { 960s # GValue *properties; 960s # GList *changed_properties; 960s # GSource *changed_properties_idle_source; 960s # GMainContext *context; 960s # GMutex lock; 960s # }; 960s # 960s # static void 960s # _org_project_signaling_iface_skeleton_handle_method_call ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name, 960s # const gchar *method_name, 960s # GVariant *parameters, 960s # GDBusMethodInvocation *invocation, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # _ExtendedGDBusMethodInfo *info; 960s # GVariantIter iter; 960s # GVariant *child; 960s # GValue *paramv; 960s # gsize num_params; 960s # guint num_extra; 960s # gsize n; 960s # guint signal_id; 960s # GValue return_value = G_VALUE_INIT; 960s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 960s # g_assert (info != NULL); 960s # num_params = g_variant_n_children (parameters); 960s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 960s # n = 0; 960s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_set_object (¶mv[n++], skeleton); 960s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 960s # g_value_set_object (¶mv[n++], invocation); 960s # if (info->pass_fdlist) 960s # { 960s # #ifdef G_OS_UNIX 960s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 960s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 960s # #else 960s # g_assert_not_reached (); 960s # #endif 960s # } 960s # g_variant_iter_init (&iter, parameters); 960s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 960s # { 960s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 960s # if (arg_info->use_gvariant) 960s # { 960s # g_value_init (¶mv[n], G_TYPE_VARIANT); 960s # g_value_set_variant (¶mv[n], child); 960s # n++; 960s # } 960s # else 960s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 960s # g_variant_unref (child); 960s # } 960s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_init (&return_value, G_TYPE_BOOLEAN); 960s # g_signal_emitv (paramv, signal_id, 0, &return_value); 960s # if (!g_value_get_boolean (&return_value)) 960s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 960s # g_value_unset (&return_value); 960s # for (n = 0; n < num_params + num_extra; n++) 960s # g_value_unset (¶mv[n]); 960s # g_free (paramv); 960s # } 960s # 960s # static GVariant * 960s # _org_project_signaling_iface_skeleton_handle_get_property ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name G_GNUC_UNUSED, 960s # const gchar *property_name, 960s # GError **error, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # GValue value = G_VALUE_INIT; 960s # GParamSpec *pspec; 960s # _ExtendedGDBusPropertyInfo *info; 960s # GVariant *ret; 960s # ret = NULL; 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 960s # g_assert (info != NULL); 960s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 960s # if (pspec == NULL) 960s # { 960s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 960s # } 960s # else 960s # { 960s # g_value_init (&value, pspec->value_type); 960s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 960s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 960s # g_value_unset (&value); 960s # } 960s # return ret; 960s # } 960s # 960s # static gboolean 960s # _org_project_signaling_iface_skeleton_handle_set_property ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name G_GNUC_UNUSED, 960s # const gchar *property_name, 960s # GVariant *variant, 960s # GError **error, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # GValue value = G_VALUE_INIT; 960s # GParamSpec *pspec; 960s # _ExtendedGDBusPropertyInfo *info; 960s # gboolean ret; 960s # ret = FALSE; 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 960s # g_assert (info != NULL); 960s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 960s # if (pspec == NULL) 960s # { 960s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 960s # } 960s # else 960s # { 960s # if (info->use_gvariant) 960s # g_value_set_variant (&value, variant); 960s # else 960s # g_dbus_gvariant_to_gvalue (variant, &value); 960s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 960s # g_value_unset (&value); 960s # ret = TRUE; 960s # } 960s # return ret; 960s # } 960s # 960s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 960s # { 960s # _org_project_signaling_iface_skeleton_handle_method_call, 960s # _org_project_signaling_iface_skeleton_handle_get_property, 960s # _org_project_signaling_iface_skeleton_handle_set_property, 960s # {NULL} 960s # }; 960s # 960s # static GDBusInterfaceInfo * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 960s # { 960s # return org_project_signaling_iface_interface_info (); 960s # } 960s # 960s # static GDBusInterfaceVTable * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 960s # { 960s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 960s # } 960s # 960s # static GVariant * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 960s # 960s # GVariantBuilder builder; 960s # guint n; 960s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 960s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 960s # goto out; 960s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 960s # { 960s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 960s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 960s # { 960s # GVariant *value; 960s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 960s # if (value != NULL) 960s # { 960s # g_variant_take_ref (value); 960s # g_variant_builder_add (&builder, "{sv}", info->name, value); 960s # g_variant_unref (value); 960s # } 960s # } 960s # } 960s # out: 960s # return g_variant_builder_end (&builder); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # _org_project_signaling_iface_on_signal_simple_signal ( 960s # OrgProjectSignalingIface *object) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # 960s # GList *connections, *l; 960s # GVariant *signal_variant; 960s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 960s # 960s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 960s # for (l = connections; l != NULL; l = l->next) 960s # { 960s # GDBusConnection *connection = l->data; 960s # g_dbus_connection_emit_signal (connection, 960s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 960s # signal_variant, NULL); 960s # } 960s # g_variant_unref (signal_variant); 960s # g_list_free_full (connections, g_object_unref); 960s # } 960s # 960s # static void 960s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 960s # OrgProjectSignalingIface *object, 960s # GVariant *arg_arg_asv) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # 960s # GList *connections, *l; 960s # GVariant *signal_variant; 960s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 960s # 960s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 960s # arg_arg_asv)); 960s # for (l = connections; l != NULL; l = l->next) 960s # { 960s # GDBusConnection *connection = l->data; 960s # g_dbus_connection_emit_signal (connection, 960s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 960s # signal_variant, NULL); 960s # } 960s # g_variant_unref (signal_variant); 960s # g_list_free_full (connections, g_object_unref); 960s # } 960s # 960s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 960s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 960s # 960s # #else 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 960s # 960s # #endif 960s # static void 960s # org_project_signaling_iface_skeleton_finalize (GObject *object) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 960s # if (skeleton->priv->changed_properties_idle_source != NULL) 960s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 960s # g_main_context_unref (skeleton->priv->context); 960s # g_mutex_clear (&skeleton->priv->lock); 960s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 960s # { 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 960s # #else 960s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 960s # #endif 960s # 960s # g_mutex_init (&skeleton->priv->lock); 960s # skeleton->priv->context = g_main_context_ref_thread_default (); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 960s # { 960s # GObjectClass *gobject_class; 960s # GDBusInterfaceSkeletonClass *skeleton_class; 960s # 960s # gobject_class = G_OBJECT_CLASS (klass); 960s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 960s # 960s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 960s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 960s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 960s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 960s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 960s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 960s # #endif 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 960s # { 960s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 960s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_skeleton_new: 960s # * 960s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_skeleton_new (void) 960s # { 960s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 960s # } 960s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 960s # tmpdir: /tmp/tmp26b02iis 960s # codegen: /usr/bin/gdbus-codegen 960s # /tmp/tmp26b02iis/tmpklw3keqr.xml: 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp26b02iis/tmpklw3keqr.xml', '--output', '-', '--body'] 960s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 960s # Output: /* 960s # * This file is generated by gdbus-codegen, do not modify it. 960s # * 960s # * The license of this code is the same as for the D-Bus interface description 960s # * it was derived from. Note that it links to GLib, so must comply with the 960s # * LGPL linking clauses. 960s # */ 960s # 960s # #ifdef HAVE_CONFIG_H 960s # # include "config.h" 960s # #endif 960s # 960s # #include 960s # #ifdef G_OS_UNIX 960s # # include 960s # #endif 960s # 960s # #ifdef G_ENABLE_DEBUG 960s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 960s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 960s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 960s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 960s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 960s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 960s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 960s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 960s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 960s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 960s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 960s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 960s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 960s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 960s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 960s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 960s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 960s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 960s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 960s # #else /* !G_ENABLE_DEBUG */ 960s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 960s # * Do not access GValues directly in your code. Instead, use the 960s # * g_value_get_*() functions 960s # */ 960s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 960s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 960s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 960s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 960s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 960s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 960s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 960s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 960s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 960s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 960s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 960s # #endif /* !G_ENABLE_DEBUG */ 960s # 960s # typedef struct 960s # { 960s # GDBusArgInfo parent_struct; 960s # gboolean use_gvariant; 960s # } _ExtendedGDBusArgInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusMethodInfo parent_struct; 960s # const gchar *signal_name; 960s # gboolean pass_fdlist; 960s # } _ExtendedGDBusMethodInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusSignalInfo parent_struct; 960s # const gchar *signal_name; 960s # } _ExtendedGDBusSignalInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusPropertyInfo parent_struct; 960s # const gchar *hyphen_name; 960s # guint use_gvariant : 1; 960s # guint emits_changed_signal : 1; 960s # } _ExtendedGDBusPropertyInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusInterfaceInfo parent_struct; 960s # const gchar *hyphen_name; 960s # } _ExtendedGDBusInterfaceInfo; 960s # 960s # typedef struct 960s # { 960s # const _ExtendedGDBusPropertyInfo *info; 960s # guint prop_id; 960s # GValue orig_value; /* the value before the change */ 960s # } ChangedProperty; 960s # 960s # static void 960s # _changed_property_free (ChangedProperty *data) 960s # { 960s # g_value_unset (&data->orig_value); 960s # g_free (data); 960s # } 960s # 960s # static gboolean 960s # _g_strv_equal0 (gchar **a, gchar **b) 960s # { 960s # gboolean ret = FALSE; 960s # guint n; 960s # if (a == NULL && b == NULL) 960s # { 960s # ret = TRUE; 960s # goto out; 960s # } 960s # if (a == NULL || b == NULL) 960s # goto out; 960s # if (g_strv_length (a) != g_strv_length (b)) 960s # goto out; 960s # for (n = 0; a[n] != NULL; n++) 960s # if (g_strcmp0 (a[n], b[n]) != 0) 960s # goto out; 960s # ret = TRUE; 960s # out: 960s # return ret; 960s # } 960s # 960s # static gboolean 960s # _g_variant_equal0 (GVariant *a, GVariant *b) 960s # { 960s # gboolean ret = FALSE; 960s # if (a == NULL && b == NULL) 960s # { 960s # ret = TRUE; 960s # goto out; 960s # } 960s # if (a == NULL || b == NULL) 960s # goto out; 960s # ret = g_variant_equal (a, b); 960s # out: 960s # return ret; 960s # } 960s # 960s # G_GNUC_UNUSED static gboolean 960s # _g_value_equal (const GValue *a, const GValue *b) 960s # { 960s # gboolean ret = FALSE; 960s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 960s # switch (G_VALUE_TYPE (a)) 960s # { 960s # case G_TYPE_BOOLEAN: 960s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 960s # break; 960s # case G_TYPE_UCHAR: 960s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 960s # break; 960s # case G_TYPE_INT: 960s # ret = (g_value_get_int (a) == g_value_get_int (b)); 960s # break; 960s # case G_TYPE_UINT: 960s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 960s # break; 960s # case G_TYPE_INT64: 960s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 960s # break; 960s # case G_TYPE_UINT64: 960s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 960s # break; 960s # case G_TYPE_DOUBLE: 960s # { 960s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 960s # gdouble da = g_value_get_double (a); 960s # gdouble db = g_value_get_double (b); 960s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 960s # } 960s # break; 960s # case G_TYPE_STRING: 960s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 960s # break; 960s # case G_TYPE_VARIANT: 960s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 960s # break; 960s # default: 960s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 960s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 960s # else 960s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 960s # break; 960s # } 960s # return ret; 960s # } 960s # 960s # static void 960s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 960s # GClosure *closure, 960s # GValue *return_value G_GNUC_UNUSED, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint G_GNUC_UNUSED, 960s # void *marshal_data) 960s # { 960s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 960s # (void *data1, 960s # gboolean arg_an_b, 960s # guchar arg_an_y, 960s # gint16 arg_an_n, 960s # guint16 arg_an_q, 960s # gint arg_an_i, 960s # guint arg_an_u, 960s # gint64 arg_an_x, 960s # guint64 arg_an_t, 960s # gdouble arg_an_d, 960s # const gchar *arg_an_s, 960s # const gchar *arg_an_o, 960s # const gchar *arg_an_g, 960s # GVariant *arg_an_h, 960s # const gchar *arg_an_ay, 960s # const gchar *const *arg_an_as, 960s # const gchar *const *arg_an_ao, 960s # const gchar *const *arg_an_aay, 960s # GVariant *arg_an_asv, 960s # void *data2); 960s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 960s # GCClosure *cc = (GCClosure*) closure; 960s # void *data1, *data2; 960s # 960s # g_return_if_fail (n_param_values == 19); 960s # 960s # if (G_CCLOSURE_SWAP_DATA (closure)) 960s # { 960s # data1 = closure->data; 960s # data2 = g_value_peek_pointer (param_values + 0); 960s # } 960s # else 960s # { 960s # data1 = g_value_peek_pointer (param_values + 0); 960s # data2 = closure->data; 960s # } 960s # 960s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 960s # (marshal_data ? marshal_data : cc->callback); 960s # 960s # callback (data1, 960s # g_marshal_value_peek_boolean (param_values + 1), 960s # g_marshal_value_peek_uchar (param_values + 2), 960s # g_marshal_value_peek_int (param_values + 3), 960s # g_marshal_value_peek_uint (param_values + 4), 960s # g_marshal_value_peek_int (param_values + 5), 960s # g_marshal_value_peek_uint (param_values + 6), 960s # g_marshal_value_peek_int64 (param_values + 7), 960s # g_marshal_value_peek_uint64 (param_values + 8), 960s # g_marshal_value_peek_double (param_values + 9), 960s # g_marshal_value_peek_string (param_values + 10), 960s # g_marshal_value_peek_string (param_values + 11), 960s # g_marshal_value_peek_string (param_values + 12), 960s # g_marshal_value_peek_variant (param_values + 13), 960s # g_marshal_value_peek_string (param_values + 14), 960s # g_marshal_value_peek_boxed (param_values + 15), 960s # g_marshal_value_peek_boxed (param_values + 16), 960s # g_marshal_value_peek_boxed (param_values + 17), 960s # g_marshal_value_peek_variant (param_values + 18), 960s # data2); 960s # } 960s # 960s # /* ------------------------------------------------------------------------ 960s # * Code for interface org.project.SignalingIface 960s # * ------------------------------------------------------------------------ 960s # */ 960s # 960s # /** 960s # * SECTION:OrgProjectSignalingIface 960s # * @title: OrgProjectSignalingIface 960s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 960s # * 960s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 960s # */ 960s # 960s # enum 960s # { 960s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 960s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 960s # }; 960s # 960s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 960s # 960s # /* ---- Introspection data for org.project.SignalingIface ---- */ 960s # 960s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 960s # { 960s # { 960s # -1, 960s # (gchar *) "SimpleSignal", 960s # NULL, 960s # NULL 960s # }, 960s # "simple-signal" 960s # }; 960s # 960s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 960s # { 960s # { 960s # -1, 960s # (gchar *) "an_b", 960s # (gchar *) "b", 960s # NULL 960s # }, 960s # FALSE 960s # }; 960s # 960s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 960s # { 960s # { 960s # -1, 960s # (gchar *) "an_y", 960s # (gchar *) "y", 960s # NULL 960s # }, 960s # FALSE 960s # }; 960s # 960s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 960s # { 960s # { 960s # -1, 960s # (gchar *) "an_n", 960s # (gchar *) "n", 960s # NULL 960s # }, 960s # FALSE 960s # }; 960s # 960s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 960s # { 960s # { 960s # -1, 960s # (gchar *) "an_q", 960s # (gchar *) "q", 960s # NULL 960s # }, 960s # FALSE 960s # }; 960s # 960s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 960s # { 960s # { 960s # -1, 960s # (gchar *) "an_i", 960s # (gchar *) "i", 960s # NULL 960s # }, 960s # FALSE 960s # }; 960s # 960s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 960s # { 960s # { 960s # -1, 960s # (gchar *) "an_u", 960s # (gchar *) "u", 960s # NULL 960s # }, 960s # FALSE 960s # }; 960s # 960s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 960s # { 960s # { 960s # -1, 960s # (gchar *) "an_x", 960s # (gchar *) "x", 960s # NULL 960s # }, 960s # FALSE 960s # }; 960s # 960s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 960s # { 960s # { 960s # -1, 960s # (gchar *) "an_t", 960s # (gchar *) "t", 960s # NULL 960s # }, 960s # FALSE 960s # }; 960s # 960s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 960s # { 960s # { 960s # -1, 960s # (gchar *) "an_d", 960s # (gchar *) "d", 960s # NULL 960s # }, 960s # FALSE 960s # }; 960s # 960s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 960s # { 960s # { 960s # -1, 960s # (gchar *) "an_s", 960s # (gchar *) "s", 960s # NULL 960s # }, 960s # FALSE 960s # }; 960s # 960s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 960s # { 960s # { 960s # -1, 960s # (gchar *) "an_o", 960s # (gchar *) "o", 960s # NULL 960s # }, 960s # FALSE 960s # }; 960s # 960s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 960s # { 960s # { 960s # -1, 960s # (gchar *) "an_g", 960s # (gchar *) "g", 960s # NULL 960s # }, 960s # FALSE 960s # }; 960s # 960s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 960s # { 960s # { 960s # -1, 960s # (gchar *) "an_h", 960s # (gchar *) "h", 960s # NULL 960s # }, 960s # FALSE 960s # }; 960s # 960s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 960s # { 960s # { 960s # -1, 960s # (gchar *) "an_ay", 960s # (gchar *) "ay", 960s # NULL 960s # }, 960s # FALSE 960s # }; 960s # 960s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 960s # { 960s # { 960s # -1, 960s # (gchar *) "an_as", 960s # (gchar *) "as", 960s # NULL 960s # }, 960s # FALSE 960s # }; 960s # 960s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 960s # { 960s # { 960s # -1, 960s # (gchar *) "an_ao", 960s # (gchar *) "ao", 960s # NULL 960s # }, 960s # FALSE 960s # }; 960s # 960s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 960s # { 960s # { 960s # -1, 960s # (gchar *) "an_aay", 960s # (gchar *) "aay", 960s # NULL 960s # }, 960s # FALSE 960s # }; 960s # 960s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 960s # { 960s # { 960s # -1, 960s # (gchar *) "an_asv", 960s # (gchar *) "a{sv}", 960s # NULL 960s # }, 960s # FALSE 960s # }; 960s # 960s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 960s # { 960s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 960s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 960s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 960s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 960s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 960s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 960s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 960s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 960s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 960s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 960s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 960s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 960s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 960s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 960s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 960s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 960s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 960s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 960s # NULL 960s # }; 960s # 960s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 960s # { 960s # { 960s # -1, 960s # (gchar *) "SignalWithManyArgs", 960s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 960s # NULL 960s # }, 960s # "signal-with-many-args" 960s # }; 960s # 960s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 960s # { 960s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 960s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 960s # NULL 960s # }; 960s # 960s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 960s # { 960s # { 960s # -1, 960s # (gchar *) "org.project.SignalingIface", 960s # NULL, 960s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 960s # NULL, 960s # NULL 960s # }, 960s # "org-project-signaling-iface", 960s # }; 960s # 960s # 960s # /** 960s # * org_project_signaling_iface_interface_info: 960s # * 960s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 960s # * 960s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 960s # */ 960s # GDBusInterfaceInfo * 960s # org_project_signaling_iface_interface_info (void) 960s # { 960s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_override_properties: 960s # * @klass: The class structure for a #GObject derived class. 960s # * @property_id_begin: The property id to assign to the first overridden property. 960s # * 960s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 960s # * The properties are overridden in the order they are defined. 960s # * 960s # * Returns: The last property id. 960s # */ 960s # guint 960s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 960s # { 960s # return property_id_begin - 1; 960s # } 960s # 960s # 960s # inline static void 960s # org_project_signaling_iface_signal_marshal_simple_signal ( 960s # GClosure *closure, 960s # GValue *return_value, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint, 960s # void *marshal_data) 960s # { 960s # g_cclosure_marshal_VOID__VOID (closure, 960s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 960s # } 960s # 960s # inline static void 960s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 960s # GClosure *closure, 960s # GValue *return_value, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint, 960s # void *marshal_data) 960s # { 960s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 960s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 960s # } 960s # 960s # 960s # /** 960s # * OrgProjectSignalingIface: 960s # * 960s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceIface: 960s # * @parent_iface: The parent interface. 960s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 960s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 960s # * 960s # * Virtual table for the D-Bus interface org.project.SignalingIface. 960s # */ 960s # 960s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 960s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 960s # 960s # static void 960s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 960s # { 960s # /* GObject signals for received D-Bus signals: */ 960s # /** 960s # * OrgProjectSignalingIface::simple-signal: 960s # * @object: A #OrgProjectSignalingIface. 960s # * 960s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 960s # * 960s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 960s # */ 960s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 960s # g_signal_new ("simple-signal", 960s # G_TYPE_FROM_INTERFACE (iface), 960s # G_SIGNAL_RUN_LAST, 960s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 960s # NULL, 960s # NULL, 960s # org_project_signaling_iface_signal_marshal_simple_signal, 960s # G_TYPE_NONE, 960s # 0); 960s # 960s # /** 960s # * OrgProjectSignalingIface::signal-with-many-args: 960s # * @object: A #OrgProjectSignalingIface. 960s # * @arg_an_b: Argument. 960s # * @arg_an_y: Argument. 960s # * @arg_an_n: Argument. 960s # * @arg_an_q: Argument. 960s # * @arg_an_i: Argument. 960s # * @arg_an_u: Argument. 960s # * @arg_an_x: Argument. 960s # * @arg_an_t: Argument. 960s # * @arg_an_d: Argument. 960s # * @arg_an_s: Argument. 960s # * @arg_an_o: Argument. 960s # * @arg_an_g: Argument. 960s # * @arg_an_h: Argument. 960s # * @arg_an_ay: Argument. 960s # * @arg_an_as: Argument. 960s # * @arg_an_ao: Argument. 960s # * @arg_an_aay: Argument. 960s # * @arg_an_asv: Argument. 960s # * 960s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 960s # * 960s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 960s # */ 960s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 960s # g_signal_new ("signal-with-many-args", 960s # G_TYPE_FROM_INTERFACE (iface), 960s # G_SIGNAL_RUN_LAST, 960s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 960s # NULL, 960s # NULL, 960s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 960s # G_TYPE_NONE, 960s # 18, G_TYPE_BOOLEAN, G_TYPE_UCHAR, G_TYPE_INT, G_TYPE_UINT, G_TYPE_INT, G_TYPE_UINT, G_TYPE_INT64, G_TYPE_UINT64, G_TYPE_DOUBLE, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_VARIANT, G_TYPE_STRING, G_TYPE_STRV, G_TYPE_STRV, G_TYPE_STRV, G_TYPE_VARIANT); 960s # 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_emit_simple_signal: 960s # * @object: A #OrgProjectSignalingIface. 960s # * 960s # * Emits the "SimpleSignal" D-Bus signal. 960s # */ 960s # void 960s # org_project_signaling_iface_emit_simple_signal ( 960s # OrgProjectSignalingIface *object) 960s # { 960s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_emit_signal_with_many_args: 960s # * @object: A #OrgProjectSignalingIface. 960s # * @arg_an_b: Argument to pass with the signal. 960s # * @arg_an_y: Argument to pass with the signal. 960s # * @arg_an_n: Argument to pass with the signal. 960s # * @arg_an_q: Argument to pass with the signal. 960s # * @arg_an_i: Argument to pass with the signal. 960s # * @arg_an_u: Argument to pass with the signal. 960s # * @arg_an_x: Argument to pass with the signal. 960s # * @arg_an_t: Argument to pass with the signal. 960s # * @arg_an_d: Argument to pass with the signal. 960s # * @arg_an_s: Argument to pass with the signal. 960s # * @arg_an_o: Argument to pass with the signal. 960s # * @arg_an_g: Argument to pass with the signal. 960s # * @arg_an_h: Argument to pass with the signal. 960s # * @arg_an_ay: Argument to pass with the signal. 960s # * @arg_an_as: Argument to pass with the signal. 960s # * @arg_an_ao: Argument to pass with the signal. 960s # * @arg_an_aay: Argument to pass with the signal. 960s # * @arg_an_asv: Argument to pass with the signal. 960s # * 960s # * Emits the "SignalWithManyArgs" D-Bus signal. 960s # */ 960s # void 960s # org_project_signaling_iface_emit_signal_with_many_args ( 960s # OrgProjectSignalingIface *object, 960s # gboolean arg_an_b, 960s # guchar arg_an_y, 960s # gint16 arg_an_n, 960s # guint16 arg_an_q, 960s # gint arg_an_i, 960s # guint arg_an_u, 960s # gint64 arg_an_x, 960s # guint64 arg_an_t, 960s # gdouble arg_an_d, 960s # const gchar *arg_an_s, 960s # const gchar *arg_an_o, 960s # const gchar *arg_an_g, 960s # GVariant *arg_an_h, 960s # const gchar *arg_an_ay, 960s # const gchar *const *arg_an_as, 960s # const gchar *const *arg_an_ao, 960s # const gchar *const *arg_an_aay, 960s # GVariant *arg_an_asv) 960s # { 960s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS], 0, arg_an_b, arg_an_y, arg_an_n, arg_an_q, arg_an_i, arg_an_u, arg_an_x, arg_an_t, arg_an_d, arg_an_s, arg_an_o, arg_an_g, arg_an_h, arg_an_ay, arg_an_as, arg_an_ao, arg_an_aay, arg_an_asv); 960s # } 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceProxy: 960s # * 960s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceProxyClass: 960s # * @parent_class: The parent class. 960s # * 960s # * Class structure for #OrgProjectSignalingIfaceProxy. 960s # */ 960s # 960s # struct _OrgProjectSignalingIfaceProxyPrivate 960s # { 960s # GData *qdata; 960s # }; 960s # 960s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 960s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 960s # 960s # #else 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 960s # 960s # #endif 960s # static void 960s # org_project_signaling_iface_proxy_finalize (GObject *object) 960s # { 960s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 960s # g_datalist_clear (&proxy->priv->qdata); 960s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 960s # guint prop_id G_GNUC_UNUSED, 960s # GValue *value G_GNUC_UNUSED, 960s # GParamSpec *pspec G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 960s # guint prop_id G_GNUC_UNUSED, 960s # const GValue *value G_GNUC_UNUSED, 960s # GParamSpec *pspec G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 960s # const gchar *sender_name G_GNUC_UNUSED, 960s # const gchar *signal_name, 960s # GVariant *parameters) 960s # { 960s # _ExtendedGDBusSignalInfo *info; 960s # GVariantIter iter; 960s # GVariant *child; 960s # GValue *paramv; 960s # gsize num_params; 960s # gsize n; 960s # guint signal_id; 960s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 960s # if (info == NULL) 960s # return; 960s # num_params = g_variant_n_children (parameters); 960s # paramv = g_new0 (GValue, num_params + 1); 960s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_set_object (¶mv[0], proxy); 960s # g_variant_iter_init (&iter, parameters); 960s # n = 1; 960s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 960s # { 960s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 960s # if (arg_info->use_gvariant) 960s # { 960s # g_value_init (¶mv[n], G_TYPE_VARIANT); 960s # g_value_set_variant (¶mv[n], child); 960s # n++; 960s # } 960s # else 960s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 960s # g_variant_unref (child); 960s # } 960s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_signal_emitv (paramv, signal_id, 0, NULL); 960s # for (n = 0; n < num_params + 1; n++) 960s # g_value_unset (¶mv[n]); 960s # g_free (paramv); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 960s # GVariant *changed_properties, 960s # const gchar *const *invalidated_properties) 960s # { 960s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 960s # guint n; 960s # const gchar *key; 960s # GVariantIter *iter; 960s # _ExtendedGDBusPropertyInfo *info; 960s # g_variant_get (changed_properties, "a{sv}", &iter); 960s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 960s # { 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 960s # g_datalist_remove_data (&proxy->priv->qdata, key); 960s # if (info != NULL) 960s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 960s # } 960s # g_variant_iter_free (iter); 960s # for (n = 0; invalidated_properties[n] != NULL; n++) 960s # { 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 960s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 960s # if (info != NULL) 960s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 960s # } 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 960s # { 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 960s # #else 960s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 960s # #endif 960s # 960s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 960s # { 960s # GObjectClass *gobject_class; 960s # GDBusProxyClass *proxy_class; 960s # 960s # gobject_class = G_OBJECT_CLASS (klass); 960s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 960s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 960s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 960s # 960s # proxy_class = G_DBUS_PROXY_CLASS (klass); 960s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 960s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 960s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 960s # #endif 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new: 960s # * @connection: A #GDBusConnection. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 960s # * 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 960s # * 960s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 960s # */ 960s # void 960s # org_project_signaling_iface_proxy_new ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_finish: 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 960s # * @error: Return location for error or %NULL 960s # * 960s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_finish ( 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GObject *ret; 960s # GObject *source_object; 960s # source_object = g_async_result_get_source_object (res); 960s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 960s # g_object_unref (source_object); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_sync: 960s # * @connection: A #GDBusConnection. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL 960s # * 960s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 960s # * 960s # * The calling thread is blocked until a reply is received. 960s # * 960s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_sync ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GInitable *ret; 960s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus: 960s # * @bus_type: A #GBusType. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: A bus name (well-known or unique). 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 960s # * 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 960s # * 960s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 960s # */ 960s # void 960s # org_project_signaling_iface_proxy_new_for_bus ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus_finish: 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 960s # * @error: Return location for error or %NULL 960s # * 960s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_for_bus_finish ( 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GObject *ret; 960s # GObject *source_object; 960s # source_object = g_async_result_get_source_object (res); 960s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 960s # g_object_unref (source_object); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_proxy_new_for_bus_sync: 960s # * @bus_type: A #GBusType. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: A bus name (well-known or unique). 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL 960s # * 960s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 960s # * 960s # * The calling thread is blocked until a reply is received. 960s # * 960s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_proxy_new_for_bus_sync ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GInitable *ret; 960s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 960s # if (ret != NULL) 960s # return ORG_PROJECT_SIGNALING_IFACE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceSkeleton: 960s # * 960s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 960s # */ 960s # 960s # /** 960s # * OrgProjectSignalingIfaceSkeletonClass: 960s # * @parent_class: The parent class. 960s # * 960s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 960s # */ 960s # 960s # struct _OrgProjectSignalingIfaceSkeletonPrivate 960s # { 960s # GValue *properties; 960s # GList *changed_properties; 960s # GSource *changed_properties_idle_source; 960s # GMainContext *context; 960s # GMutex lock; 960s # }; 960s # 960s # static void 960s # _org_project_signaling_iface_skeleton_handle_method_call ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name, 960s # const gchar *method_name, 960s # GVariant *parameters, 960s # GDBusMethodInvocation *invocation, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # _ExtendedGDBusMethodInfo *info; 960s # GVariantIter iter; 960s # GVariant *child; 960s # GValue *paramv; 960s # gsize num_params; 960s # guint num_extra; 960s # gsize n; 960s # guint signal_id; 960s # GValue return_value = G_VALUE_INIT; 960s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 960s # g_assert (info != NULL); 960s # num_params = g_variant_n_children (parameters); 960s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 960s # n = 0; 960s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_set_object (¶mv[n++], skeleton); 960s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 960s # g_value_set_object (¶mv[n++], invocation); 960s # if (info->pass_fdlist) 960s # { 960s # #ifdef G_OS_UNIX 960s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 960s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 960s # #else 960s # g_assert_not_reached (); 960s # #endif 960s # } 960s # g_variant_iter_init (&iter, parameters); 960s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 960s # { 960s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 960s # if (arg_info->use_gvariant) 960s # { 960s # g_value_init (¶mv[n], G_TYPE_VARIANT); 960s # g_value_set_variant (¶mv[n], child); 960s # n++; 960s # } 960s # else 960s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 960s # g_variant_unref (child); 960s # } 960s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 960s # g_value_init (&return_value, G_TYPE_BOOLEAN); 960s # g_signal_emitv (paramv, signal_id, 0, &return_value); 960s # if (!g_value_get_boolean (&return_value)) 960s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 960s # g_value_unset (&return_value); 960s # for (n = 0; n < num_params + num_extra; n++) 960s # g_value_unset (¶mv[n]); 960s # g_free (paramv); 960s # } 960s # 960s # static GVariant * 960s # _org_project_signaling_iface_skeleton_handle_get_property ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name G_GNUC_UNUSED, 960s # const gchar *property_name, 960s # GError **error, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # GValue value = G_VALUE_INIT; 960s # GParamSpec *pspec; 960s # _ExtendedGDBusPropertyInfo *info; 960s # GVariant *ret; 960s # ret = NULL; 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 960s # g_assert (info != NULL); 960s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 960s # if (pspec == NULL) 960s # { 960s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 960s # } 960s # else 960s # { 960s # g_value_init (&value, pspec->value_type); 960s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 960s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 960s # g_value_unset (&value); 960s # } 960s # return ret; 960s # } 960s # 960s # static gboolean 960s # _org_project_signaling_iface_skeleton_handle_set_property ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name G_GNUC_UNUSED, 960s # const gchar *property_name, 960s # GVariant *variant, 960s # GError **error, 960s # gpointer user_data) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 960s # GValue value = G_VALUE_INIT; 960s # GParamSpec *pspec; 960s # _ExtendedGDBusPropertyInfo *info; 960s # gboolean ret; 960s # ret = FALSE; 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 960s # g_assert (info != NULL); 960s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 960s # if (pspec == NULL) 960s # { 960s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 960s # } 960s # else 960s # { 960s # if (info->use_gvariant) 960s # g_value_set_variant (&value, variant); 960s # else 960s # g_dbus_gvariant_to_gvalue (variant, &value); 960s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 960s # g_value_unset (&value); 960s # ret = TRUE; 960s # } 960s # return ret; 960s # } 960s # 960s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 960s # { 960s # _org_project_signaling_iface_skeleton_handle_method_call, 960s # _org_project_signaling_iface_skeleton_handle_get_property, 960s # _org_project_signaling_iface_skeleton_handle_set_property, 960s # {NULL} 960s # }; 960s # 960s # static GDBusInterfaceInfo * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 960s # { 960s # return org_project_signaling_iface_interface_info (); 960s # } 960s # 960s # static GDBusInterfaceVTable * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 960s # { 960s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 960s # } 960s # 960s # static GVariant * 960s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 960s # 960s # GVariantBuilder builder; 960s # guint n; 960s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 960s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 960s # goto out; 960s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 960s # { 960s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 960s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 960s # { 960s # GVariant *value; 960s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 960s # if (value != NULL) 960s # { 960s # g_variant_take_ref (value); 960s # g_variant_builder_add (&builder, "{sv}", info->name, value); 960s # g_variant_unref (value); 960s # } 960s # } 960s # } 960s # out: 960s # return g_variant_builder_end (&builder); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # _org_project_signaling_iface_on_signal_simple_signal ( 960s # OrgProjectSignalingIface *object) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # 960s # GList *connections, *l; 960s # GVariant *signal_variant; 960s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 960s # 960s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 960s # for (l = connections; l != NULL; l = l->next) 960s # { 960s # GDBusConnection *connection = l->data; 960s # g_dbus_connection_emit_signal (connection, 960s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 960s # signal_variant, NULL); 960s # } 960s # g_variant_unref (signal_variant); 960s # g_list_free_full (connections, g_object_unref); 960s # } 960s # 960s # static void 960s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 960s # OrgProjectSignalingIface *object, 960s # gboolean arg_an_b, 960s # guchar arg_an_y, 960s # gint16 arg_an_n, 960s # guint16 arg_an_q, 960s # gint arg_an_i, 960s # guint arg_an_u, 960s # gint64 arg_an_x, 960s # guint64 arg_an_t, 960s # gdouble arg_an_d, 960s # const gchar *arg_an_s, 960s # const gchar *arg_an_o, 960s # const gchar *arg_an_g, 960s # GVariant *arg_an_h, 960s # const gchar *arg_an_ay, 960s # const gchar *const *arg_an_as, 960s # const gchar *const *arg_an_ao, 960s # const gchar *const *arg_an_aay, 960s # GVariant *arg_an_asv) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # 960s # GList *connections, *l; 960s # GVariant *signal_variant; 960s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 960s # 960s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 960s # arg_an_b, 960s # arg_an_y, 960s # arg_an_n, 960s # arg_an_q, 960s # arg_an_i, 960s # arg_an_u, 960s # arg_an_x, 960s # arg_an_t, 960s # arg_an_d, 960s # arg_an_s, 960s # arg_an_o, 960s # arg_an_g, 960s # arg_an_h, 960s # arg_an_ay, 960s # arg_an_as, 960s # arg_an_ao, 960s # arg_an_aay, 960s # arg_an_asv)); 960s # for (l = connections; l != NULL; l = l->next) 960s # { 960s # GDBusConnection *connection = l->data; 960s # g_dbus_connection_emit_signal (connection, 960s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 960s # signal_variant, NULL); 960s # } 960s # g_variant_unref (signal_variant); 960s # g_list_free_full (connections, g_object_unref); 960s # } 960s # 960s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 960s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 960s # 960s # #else 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 960s # 960s # #endif 960s # static void 960s # org_project_signaling_iface_skeleton_finalize (GObject *object) 960s # { 960s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 960s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 960s # if (skeleton->priv->changed_properties_idle_source != NULL) 960s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 960s # g_main_context_unref (skeleton->priv->context); 960s # g_mutex_clear (&skeleton->priv->lock); 960s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 960s # { 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 960s # #else 960s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 960s # #endif 960s # 960s # g_mutex_init (&skeleton->priv->lock); 960s # skeleton->priv->context = g_main_context_ref_thread_default (); 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 960s # { 960s # GObjectClass *gobject_class; 960s # GDBusInterfaceSkeletonClass *skeleton_class; 960s # 960s # gobject_class = G_OBJECT_CLASS (klass); 960s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 960s # 960s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 960s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 960s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 960s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 960s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 960s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 960s # #endif 960s # } 960s # 960s # static void 960s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 960s # { 960s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 960s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 960s # } 960s # 960s # /** 960s # * org_project_signaling_iface_skeleton_new: 960s # * 960s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 960s # * 960s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 960s # */ 960s # OrgProjectSignalingIface * 960s # org_project_signaling_iface_skeleton_new (void) 960s # { 960s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 960s # } 960s ok 25 __main__.TestCodegen.test_generate_valid_docbook 960s # tmpdir: /tmp/tmpp5a0ty1y 960s # codegen: /usr/bin/gdbus-codegen 960s # /tmp/tmpp5a0ty1y/tmp2u28hd2w.xml: 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp5a0ty1y/tmp2u28hd2w.xml', '--generate-docbook', 'test'] 960s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 960s # Output: 960s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 960s # tmpdir: /tmp/tmp_5heuow3 960s # codegen: /usr/bin/gdbus-codegen 960s # /tmp/tmp_5heuow3/tmp892wq85m.xml: 960s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_5heuow3/tmp892wq85m.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 960s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 960s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 960s # tmpdir: /tmp/tmp1349thkl 960s # codegen: /usr/bin/gdbus-codegen 960s # /tmp/tmp1349thkl/tmpaxbq1_au.xml: 960s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1349thkl/tmpaxbq1_au.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 960s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 960s # Output: /* 960s # * This file is generated by gdbus-codegen, do not modify it. 960s # * 960s # * The license of this code is the same as for the D-Bus interface description 960s # * it was derived from. Note that it links to GLib, so must comply with the 960s # * LGPL linking clauses. 960s # */ 960s # 960s # #ifndef __STDOUT__ 960s # #define __STDOUT__ 960s # 960s # #include 960s # 960s # G_BEGIN_DECLS 960s # 960s # 960s # G_END_DECLS 960s # 960s # #endif /* __STDOUT__ */ 960s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 960s # tmpdir: /tmp/tmpltksfn4n 960s # codegen: /usr/bin/gdbus-codegen 960s # /tmp/tmpltksfn4n/tmpb7tnpgti.xml: 960s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpltksfn4n/tmpb7tnpgti.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 960s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 960s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 960s # tmpdir: /tmp/tmpxm3f22nj 960s # codegen: /usr/bin/gdbus-codegen 960s # /tmp/tmpxm3f22nj/tmpexrryl54.xml: 960s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxm3f22nj/tmpexrryl54.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 960s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 960s # Output: /* 960s # * This file is generated by gdbus-codegen, do not modify it. 960s # * 960s # * The license of this code is the same as for the D-Bus interface description 960s # * it was derived from. Note that it links to GLib, so must comply with the 960s # * LGPL linking clauses. 960s # */ 960s # 960s # #ifndef __STDOUT__ 960s # #define __STDOUT__ 960s # 960s # #include 960s # 960s # G_BEGIN_DECLS 960s # 960s # 960s # G_END_DECLS 960s # 960s # #endif /* __STDOUT__ */ 960s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 960s # tmpdir: /tmp/tmp_exyrd6z 960s # codegen: /usr/bin/gdbus-codegen 960s # /tmp/tmp_exyrd6z/tmp26h1bnf7.xml: 960s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_exyrd6z/tmp26h1bnf7.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 960s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 960s # Output: /* 960s # * This file is generated by gdbus-codegen, do not modify it. 960s # * 960s # * The license of this code is the same as for the D-Bus interface description 960s # * it was derived from. Note that it links to GLib, so must comply with the 960s # * LGPL linking clauses. 960s # */ 960s # 960s # #ifndef __STDOUT__ 960s # #define __STDOUT__ 960s # 960s # #include 960s # 960s # G_BEGIN_DECLS 960s # 960s # 960s # G_END_DECLS 960s # 960s # #endif /* __STDOUT__ */ 960s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 960s # tmpdir: /tmp/tmpzodj9ya1 960s # codegen: /usr/bin/gdbus-codegen 960s # /tmp/tmpzodj9ya1/tmpniqkeguv.xml: 960s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzodj9ya1/tmpniqkeguv.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 960s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 960s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 960s # tmpdir: /tmp/tmp9cfiscfy 960s # codegen: /usr/bin/gdbus-codegen 960s # /tmp/tmp9cfiscfy/tmpsde_vrl5.xml: 960s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9cfiscfy/tmpsde_vrl5.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 960s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 960s # Output: /* 960s # * This file is generated by gdbus-codegen, do not modify it. 960s # * 960s # * The license of this code is the same as for the D-Bus interface description 960s # * it was derived from. Note that it links to GLib, so must comply with the 960s # * LGPL linking clauses. 960s # */ 960s # 960s # #ifndef __STDOUT__ 960s # #define __STDOUT__ 960s # 960s # #include 960s # 960s # G_BEGIN_DECLS 960s # 960s # 960s # G_END_DECLS 960s # 960s # #endif /* __STDOUT__ */ 960s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 960s # tmpdir: /tmp/tmpk5jftwn3 960s # codegen: /usr/bin/gdbus-codegen 960s # /tmp/tmpk5jftwn3/tmpgnterx5x.xml: 960s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpk5jftwn3/tmpgnterx5x.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 960s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 960s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 960s # tmpdir: /tmp/tmpaxnhl8fs 960s # codegen: /usr/bin/gdbus-codegen 960s # /tmp/tmpaxnhl8fs/tmpqijdqkpj.xml: 960s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpaxnhl8fs/tmpqijdqkpj.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 960s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 960s # Output: /* 960s # * This file is generated by gdbus-codegen, do not modify it. 960s # * 960s # * The license of this code is the same as for the D-Bus interface description 960s # * it was derived from. Note that it links to GLib, so must comply with the 960s # * LGPL linking clauses. 960s # */ 960s # 960s # #ifndef __STDOUT__ 960s # #define __STDOUT__ 960s # 960s # #include 960s # 960s # G_BEGIN_DECLS 960s # 960s # 960s # G_END_DECLS 960s # 960s # #endif /* __STDOUT__ */ 960s ok 35 __main__.TestCodegen.test_help 960s # tmpdir: /tmp/tmpv4g8ru37 960s # codegen: /usr/bin/gdbus-codegen 960s # Running: ['/usr/bin/gdbus-codegen', '--help'] 960s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 960s # Output: usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 960s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 960s # [--c-generate-autocleanup {none,objects,all}] 960s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 960s # [--generate-rst OUTFILES] [--pragma-once] 960s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 960s # [--glib-min-required VERSION] 960s # [--glib-max-allowed VERSION] 960s # [--symbol-decorator SYMBOL_DECORATOR] 960s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 960s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 960s # [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 960s # [--output FILE | --output-directory OUTDIR] 960s # FILE [FILE ...] 960s # 960s # D-Bus code and documentation generator 960s # 960s # positional arguments: 960s # FILE D-Bus introspection XML file 960s # 960s # options: 960s # -h, --help show this help message and exit 960s # --interface-prefix PREFIX 960s # String to strip from D-Bus interface names for code 960s # and docs 960s # --c-namespace NAMESPACE 960s # The namespace to use for generated C code 960s # --c-generate-object-manager 960s # Generate a GDBusObjectManagerClient subclass when 960s # generating C code 960s # --c-generate-autocleanup {none,objects,all} 960s # Generate autocleanup support 960s # --generate-docbook OUTFILES 960s # Generate Docbook in OUTFILES-org.Project.IFace.xml 960s # --generate-md OUTFILES 960s # Generate Markdown in OUTFILES-org.Project.IFace.md 960s # --generate-rst OUTFILES 960s # Generate reStructuredText in OUTFILES- 960s # org.Project.IFace.rst 960s # --pragma-once Use "pragma once" as the inclusion guard 960s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 960s # Add annotation (may be used several times) 960s # --glib-min-required VERSION 960s # Minimum version of GLib to be supported by the 960s # outputted code (default: 2.30) 960s # --glib-max-allowed VERSION 960s # Maximum version of GLib to be used by the outputted 960s # code (default: current GLib version) 960s # --symbol-decorator SYMBOL_DECORATOR 960s # Macro used to decorate a symbol in the outputted 960s # header, possibly to export symbols 960s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 960s # Additional header required for decorator specified by 960s # --symbol-decorator 960s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 960s # Additional define required for decorator specified by 960s # --symbol-decorator 960s # --generate-c-code OUTFILES 960s # Generate C code in OUTFILES.[ch] 960s # --header Generate C headers 960s # --body Generate C code 960s # --interface-info-header 960s # Generate GDBusInterfaceInfo C header 960s # --interface-info-body 960s # Generate GDBusInterfaceInfo C code 960s # --output FILE Write output into the specified file 960s # --output-directory OUTDIR 960s # Location to output generated files 961s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 961s # tmpdir: /tmp/tmparu7hd3q 961s # codegen: /usr/bin/gdbus-codegen 961s # /tmp/tmparu7hd3q/tmp6di1h69e.xml: 961s # 961s # 961s # 961s # 961s # 961s # 961s # 961s # 961s # 961s # 961s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmparu7hd3q/tmp6di1h69e.xml', '--generate-rst', 'test'] 961s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 961s # Output: 961s # /tmp/tmparu7hd3q/tmpb7xsm5xz.xml: 961s # 961s # 961s # 961s # 961s # 961s # 961s # 961s # 961s # 961s # 961s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmparu7hd3q/tmpb7xsm5xz.xml', '--generate-md', 'test'] 961s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 961s # Output: 961s # /tmp/tmparu7hd3q/tmpq70swe07.xml: 961s # 961s # 961s # 961s # 961s # 961s # 961s # 961s # 961s # 961s # 961s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmparu7hd3q/tmpq70swe07.xml', '--generate-docbook', 'test'] 961s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 961s # Output: 961s ok 37 __main__.TestCodegen.test_no_args 961s # tmpdir: /tmp/tmpgq5brodb 961s # codegen: /usr/bin/gdbus-codegen 961s # Running: ['/usr/bin/gdbus-codegen'] 961s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 961s ok 38 __main__.TestCodegen.test_reproducible 961s # tmpdir: /tmp/tmphqnbgn6r 961s # codegen: /usr/bin/gdbus-codegen 961s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphqnbgn6r/tmpyxpmxf7s1.xml', '/tmp/tmphqnbgn6r/tmpydw6ql372.xml', '--output', '-', '--header'] 961s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 961s # Output: /* 961s # * This file is generated by gdbus-codegen, do not modify it. 961s # * 961s # * The license of this code is the same as for the D-Bus interface description 961s # * it was derived from. Note that it links to GLib, so must comply with the 961s # * LGPL linking clauses. 961s # */ 961s # 961s # #ifndef __STDOUT__ 961s # #define __STDOUT__ 961s # 961s # #include 961s # 961s # G_BEGIN_DECLS 961s # 961s # 961s # /* ------------------------------------------------------------------------ */ 961s # /* Declarations for org.project.Bar.Frobnicator */ 961s # 961s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 961s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 961s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 961s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 961s # 961s # struct _OrgProjectBarFrobnicator; 961s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 961s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 961s # 961s # struct _OrgProjectBarFrobnicatorIface 961s # { 961s # GTypeInterface parent_iface; 961s # 961s # gboolean (*handle_random_method) ( 961s # OrgProjectBarFrobnicator *object, 961s # GDBusMethodInvocation *invocation); 961s # 961s # }; 961s # 961s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 961s # 961s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 961s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 961s # 961s # 961s # /* D-Bus method call completion functions: */ 961s # void org_project_bar_frobnicator_complete_random_method ( 961s # OrgProjectBarFrobnicator *object, 961s # GDBusMethodInvocation *invocation); 961s # 961s # 961s # 961s # /* D-Bus method calls: */ 961s # void org_project_bar_frobnicator_call_random_method ( 961s # OrgProjectBarFrobnicator *proxy, 961s # GCancellable *cancellable, 961s # GAsyncReadyCallback callback, 961s # gpointer user_data); 961s # 961s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 961s # OrgProjectBarFrobnicator *proxy, 961s # GAsyncResult *res, 961s # GError **error); 961s # 961s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 961s # OrgProjectBarFrobnicator *proxy, 961s # GCancellable *cancellable, 961s # GError **error); 961s # 961s # 961s # 961s # /* ---- */ 961s # 961s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 961s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 961s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 961s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 961s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 961s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 961s # 961s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 961s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 961s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 961s # 961s # struct _OrgProjectBarFrobnicatorProxy 961s # { 961s # /*< private >*/ 961s # GDBusProxy parent_instance; 961s # OrgProjectBarFrobnicatorProxyPrivate *priv; 961s # }; 961s # 961s # struct _OrgProjectBarFrobnicatorProxyClass 961s # { 961s # GDBusProxyClass parent_class; 961s # }; 961s # 961s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 961s # 961s # #if GLIB_CHECK_VERSION(2, 44, 0) 961s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 961s # #endif 961s # 961s # void org_project_bar_frobnicator_proxy_new ( 961s # GDBusConnection *connection, 961s # GDBusProxyFlags flags, 961s # const gchar *name, 961s # const gchar *object_path, 961s # GCancellable *cancellable, 961s # GAsyncReadyCallback callback, 961s # gpointer user_data); 961s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 961s # GAsyncResult *res, 961s # GError **error); 961s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 961s # GDBusConnection *connection, 961s # GDBusProxyFlags flags, 961s # const gchar *name, 961s # const gchar *object_path, 961s # GCancellable *cancellable, 961s # GError **error); 961s # 961s # void org_project_bar_frobnicator_proxy_new_for_bus ( 961s # GBusType bus_type, 961s # GDBusProxyFlags flags, 961s # const gchar *name, 961s # const gchar *object_path, 961s # GCancellable *cancellable, 961s # GAsyncReadyCallback callback, 961s # gpointer user_data); 961s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 961s # GAsyncResult *res, 961s # GError **error); 961s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 961s # GBusType bus_type, 961s # GDBusProxyFlags flags, 961s # const gchar *name, 961s # const gchar *object_path, 961s # GCancellable *cancellable, 961s # GError **error); 961s # 961s # 961s # /* ---- */ 961s # 961s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 961s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 961s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 961s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 961s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 961s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 961s # 961s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 961s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 961s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 961s # 961s # struct _OrgProjectBarFrobnicatorSkeleton 961s # { 961s # /*< private >*/ 961s # GDBusInterfaceSkeleton parent_instance; 961s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 961s # }; 961s # 961s # struct _OrgProjectBarFrobnicatorSkeletonClass 961s # { 961s # GDBusInterfaceSkeletonClass parent_class; 961s # }; 961s # 961s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 961s # 961s # #if GLIB_CHECK_VERSION(2, 44, 0) 961s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 961s # #endif 961s # 961s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 961s # 961s # 961s # /* ------------------------------------------------------------------------ */ 961s # /* Declarations for com.acme.Coyote */ 961s # 961s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 961s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 961s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 961s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 961s # 961s # struct _ComAcmeCoyote; 961s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 961s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 961s # 961s # struct _ComAcmeCoyoteIface 961s # { 961s # GTypeInterface parent_iface; 961s # 961s # 961s # 961s # gboolean (*handle_attack) ( 961s # ComAcmeCoyote *object, 961s # GDBusMethodInvocation *invocation); 961s # 961s # gboolean (*handle_run) ( 961s # ComAcmeCoyote *object, 961s # GDBusMethodInvocation *invocation); 961s # 961s # gboolean (*handle_sleep) ( 961s # ComAcmeCoyote *object, 961s # GDBusMethodInvocation *invocation); 961s # 961s # const gchar * (*get_mood) (ComAcmeCoyote *object); 961s # 961s # void (*surprised) ( 961s # ComAcmeCoyote *object); 961s # 961s # }; 961s # 961s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 961s # 961s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 961s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 961s # 961s # 961s # /* D-Bus method call completion functions: */ 961s # void com_acme_coyote_complete_run ( 961s # ComAcmeCoyote *object, 961s # GDBusMethodInvocation *invocation); 961s # 961s # void com_acme_coyote_complete_sleep ( 961s # ComAcmeCoyote *object, 961s # GDBusMethodInvocation *invocation); 961s # 961s # void com_acme_coyote_complete_attack ( 961s # ComAcmeCoyote *object, 961s # GDBusMethodInvocation *invocation); 961s # 961s # 961s # 961s # /* D-Bus signal emissions functions: */ 961s # void com_acme_coyote_emit_surprised ( 961s # ComAcmeCoyote *object); 961s # 961s # 961s # 961s # /* D-Bus method calls: */ 961s # void com_acme_coyote_call_run ( 961s # ComAcmeCoyote *proxy, 961s # GCancellable *cancellable, 961s # GAsyncReadyCallback callback, 961s # gpointer user_data); 961s # 961s # gboolean com_acme_coyote_call_run_finish ( 961s # ComAcmeCoyote *proxy, 961s # GAsyncResult *res, 961s # GError **error); 961s # 961s # gboolean com_acme_coyote_call_run_sync ( 961s # ComAcmeCoyote *proxy, 961s # GCancellable *cancellable, 961s # GError **error); 961s # 961s # void com_acme_coyote_call_sleep ( 961s # ComAcmeCoyote *proxy, 961s # GCancellable *cancellable, 961s # GAsyncReadyCallback callback, 961s # gpointer user_data); 961s # 961s # gboolean com_acme_coyote_call_sleep_finish ( 961s # ComAcmeCoyote *proxy, 961s # GAsyncResult *res, 961s # GError **error); 961s # 961s # gboolean com_acme_coyote_call_sleep_sync ( 961s # ComAcmeCoyote *proxy, 961s # GCancellable *cancellable, 961s # GError **error); 961s # 961s # void com_acme_coyote_call_attack ( 961s # ComAcmeCoyote *proxy, 961s # GCancellable *cancellable, 961s # GAsyncReadyCallback callback, 961s # gpointer user_data); 961s # 961s # gboolean com_acme_coyote_call_attack_finish ( 961s # ComAcmeCoyote *proxy, 961s # GAsyncResult *res, 961s # GError **error); 961s # 961s # gboolean com_acme_coyote_call_attack_sync ( 961s # ComAcmeCoyote *proxy, 961s # GCancellable *cancellable, 961s # GError **error); 961s # 961s # 961s # 961s # /* D-Bus property accessors: */ 961s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 961s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 961s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 961s # 961s # 961s # /* ---- */ 961s # 961s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 961s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 961s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 961s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 961s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 961s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 961s # 961s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 961s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 961s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 961s # 961s # struct _ComAcmeCoyoteProxy 961s # { 961s # /*< private >*/ 961s # GDBusProxy parent_instance; 961s # ComAcmeCoyoteProxyPrivate *priv; 961s # }; 961s # 961s # struct _ComAcmeCoyoteProxyClass 961s # { 961s # GDBusProxyClass parent_class; 961s # }; 961s # 961s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 961s # 961s # #if GLIB_CHECK_VERSION(2, 44, 0) 961s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 961s # #endif 961s # 961s # void com_acme_coyote_proxy_new ( 961s # GDBusConnection *connection, 961s # GDBusProxyFlags flags, 961s # const gchar *name, 961s # const gchar *object_path, 961s # GCancellable *cancellable, 961s # GAsyncReadyCallback callback, 961s # gpointer user_data); 961s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 961s # GAsyncResult *res, 961s # GError **error); 961s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 961s # GDBusConnection *connection, 961s # GDBusProxyFlags flags, 961s # const gchar *name, 961s # const gchar *object_path, 961s # GCancellable *cancellable, 961s # GError **error); 961s # 961s # void com_acme_coyote_proxy_new_for_bus ( 961s # GBusType bus_type, 961s # GDBusProxyFlags flags, 961s # const gchar *name, 961s # const gchar *object_path, 961s # GCancellable *cancellable, 961s # GAsyncReadyCallback callback, 961s # gpointer user_data); 961s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 961s # GAsyncResult *res, 961s # GError **error); 961s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 961s # GBusType bus_type, 961s # GDBusProxyFlags flags, 961s # const gchar *name, 961s # const gchar *object_path, 961s # GCancellable *cancellable, 961s # GError **error); 961s # 961s # 961s # /* ---- */ 961s # 961s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 961s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 961s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 961s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 961s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 961s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 961s # 961s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 961s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 961s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 961s # 961s # struct _ComAcmeCoyoteSkeleton 961s # { 961s # /*< private >*/ 961s # GDBusInterfaceSkeleton parent_instance; 961s # ComAcmeCoyoteSkeletonPrivate *priv; 961s # }; 961s # 961s # struct _ComAcmeCoyoteSkeletonClass 961s # { 961s # GDBusInterfaceSkeletonClass parent_class; 961s # }; 961s # 961s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 961s # 961s # #if GLIB_CHECK_VERSION(2, 44, 0) 961s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 961s # #endif 961s # 961s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 961s # 961s # 961s # G_END_DECLS 961s # 961s # #endif /* __STDOUT__ */ 961s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphqnbgn6r/tmpydw6ql372.xml', '/tmp/tmphqnbgn6r/tmpyxpmxf7s1.xml', '--output', '-', '--header'] 961s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 961s # Output: /* 961s # * This file is generated by gdbus-codegen, do not modify it. 961s # * 961s # * The license of this code is the same as for the D-Bus interface description 961s # * it was derived from. Note that it links to GLib, so must comply with the 961s # * LGPL linking clauses. 961s # */ 961s # 961s # #ifndef __STDOUT__ 961s # #define __STDOUT__ 961s # 961s # #include 961s # 961s # G_BEGIN_DECLS 961s # 961s # 961s # /* ------------------------------------------------------------------------ */ 961s # /* Declarations for org.project.Bar.Frobnicator */ 961s # 961s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 961s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 961s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 961s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 961s # 961s # struct _OrgProjectBarFrobnicator; 961s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 961s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 961s # 961s # struct _OrgProjectBarFrobnicatorIface 961s # { 961s # GTypeInterface parent_iface; 961s # 961s # gboolean (*handle_random_method) ( 961s # OrgProjectBarFrobnicator *object, 961s # GDBusMethodInvocation *invocation); 961s # 961s # }; 961s # 961s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 961s # 961s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 961s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 961s # 961s # 961s # /* D-Bus method call completion functions: */ 961s # void org_project_bar_frobnicator_complete_random_method ( 961s # OrgProjectBarFrobnicator *object, 961s # GDBusMethodInvocation *invocation); 961s # 961s # 961s # 961s # /* D-Bus method calls: */ 961s # void org_project_bar_frobnicator_call_random_method ( 961s # OrgProjectBarFrobnicator *proxy, 961s # GCancellable *cancellable, 961s # GAsyncReadyCallback callback, 961s # gpointer user_data); 961s # 961s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 961s # OrgProjectBarFrobnicator *proxy, 961s # GAsyncResult *res, 961s # GError **error); 961s # 961s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 961s # OrgProjectBarFrobnicator *proxy, 961s # GCancellable *cancellable, 961s # GError **error); 961s # 961s # 961s # 961s # /* ---- */ 961s # 961s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 961s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 961s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 961s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 961s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 961s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 961s # 961s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 961s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 961s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 961s # 961s # struct _OrgProjectBarFrobnicatorProxy 961s # { 961s # /*< private >*/ 961s # GDBusProxy parent_instance; 961s # OrgProjectBarFrobnicatorProxyPrivate *priv; 961s # }; 961s # 961s # struct _OrgProjectBarFrobnicatorProxyClass 961s # { 961s # GDBusProxyClass parent_class; 961s # }; 961s # 961s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 961s # 961s # #if GLIB_CHECK_VERSION(2, 44, 0) 961s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 961s # #endif 961s # 961s # void org_project_bar_frobnicator_proxy_new ( 961s # GDBusConnection *connection, 961s # GDBusProxyFlags flags, 961s # const gchar *name, 961s # const gchar *object_path, 961s # GCancellable *cancellable, 961s # GAsyncReadyCallback callback, 961s # gpointer user_data); 961s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 961s # GAsyncResult *res, 961s # GError **error); 961s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 961s # GDBusConnection *connection, 961s # GDBusProxyFlags flags, 961s # const gchar *name, 961s # const gchar *object_path, 961s # GCancellable *cancellable, 961s # GError **error); 961s # 961s # void org_project_bar_frobnicator_proxy_new_for_bus ( 961s # GBusType bus_type, 961s # GDBusProxyFlags flags, 961s # const gchar *name, 961s # const gchar *object_path, 961s # GCancellable *cancellable, 961s # GAsyncReadyCallback callback, 961s # gpointer user_data); 961s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 961s # GAsyncResult *res, 961s # GError **error); 961s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 961s # GBusType bus_type, 961s # GDBusProxyFlags flags, 961s # const gchar *name, 961s # const gchar *object_path, 961s # GCancellable *cancellable, 961s # GError **error); 961s # 961s # 961s # /* ---- */ 961s # 961s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 961s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 961s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 961s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 961s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 961s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 961s # 961s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 961s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 961s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 961s # 961s # struct _OrgProjectBarFrobnicatorSkeleton 961s # { 961s # /*< private >*/ 961s # GDBusInterfaceSkeleton parent_instance; 961s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 961s # }; 961s # 961s # struct _OrgProjectBarFrobnicatorSkeletonClass 961s # { 961s # GDBusInterfaceSkeletonClass parent_class; 961s # }; 961s # 961s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 961s # 961s # #if GLIB_CHECK_VERSION(2, 44, 0) 961s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 961s # #endif 961s # 961s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 961s # 961s # 961s # /* ------------------------------------------------------------------------ */ 961s # /* Declarations for com.acme.Coyote */ 961s # 961s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 961s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 961s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 961s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 961s # 961s # struct _ComAcmeCoyote; 961s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 961s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 961s # 961s # struct _ComAcmeCoyoteIface 961s # { 961s # GTypeInterface parent_iface; 961s # 961s # 961s # 961s # gboolean (*handle_attack) ( 961s # ComAcmeCoyote *object, 961s # GDBusMethodInvocation *invocation); 961s # 961s # gboolean (*handle_run) ( 961s # ComAcmeCoyote *object, 961s # GDBusMethodInvocation *invocation); 961s # 961s # gboolean (*handle_sleep) ( 961s # ComAcmeCoyote *object, 961s # GDBusMethodInvocation *invocation); 961s # 961s # const gchar * (*get_mood) (ComAcmeCoyote *object); 961s # 961s # void (*surprised) ( 961s # ComAcmeCoyote *object); 961s # 961s # }; 961s # 961s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 961s # 961s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 961s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 961s # 961s # 961s # /* D-Bus method call completion functions: */ 961s # void com_acme_coyote_complete_run ( 961s # ComAcmeCoyote *object, 961s # GDBusMethodInvocation *invocation); 961s # 961s # void com_acme_coyote_complete_sleep ( 961s # ComAcmeCoyote *object, 961s # GDBusMethodInvocation *invocation); 961s # 961s # void com_acme_coyote_complete_attack ( 961s # ComAcmeCoyote *object, 961s # GDBusMethodInvocation *invocation); 961s # 961s # 961s # 961s # /* D-Bus signal emissions functions: */ 961s # void com_acme_coyote_emit_surprised ( 961s # ComAcmeCoyote *object); 961s # 961s # 961s # 961s # /* D-Bus method calls: */ 961s # void com_acme_coyote_call_run ( 961s # ComAcmeCoyote *proxy, 961s # GCancellable *cancellable, 961s # GAsyncReadyCallback callback, 961s # gpointer user_data); 961s # 961s # gboolean com_acme_coyote_call_run_finish ( 961s # ComAcmeCoyote *proxy, 961s # GAsyncResult *res, 961s # GError **error); 961s # 961s # gboolean com_acme_coyote_call_run_sync ( 961s # ComAcmeCoyote *proxy, 961s # GCancellable *cancellable, 961s # GError **error); 961s # 961s # void com_acme_coyote_call_sleep ( 961s # ComAcmeCoyote *proxy, 961s # GCancellable *cancellable, 961s # GAsyncReadyCallback callback, 961s # gpointer user_data); 961s # 961s # gboolean com_acme_coyote_call_sleep_finish ( 961s # ComAcmeCoyote *proxy, 961s # GAsyncResult *res, 961s # GError **error); 961s # 961s # gboolean com_acme_coyote_call_sleep_sync ( 961s # ComAcmeCoyote *proxy, 961s # GCancellable *cancellable, 961s # GError **error); 961s # 961s # void com_acme_coyote_call_attack ( 961s # ComAcmeCoyote *proxy, 961s # GCancellable *cancellable, 961s # GAsyncReadyCallback callback, 961s # gpointer user_data); 961s # 961s # gboolean com_acme_coyote_call_attack_finish ( 961s # ComAcmeCoyote *proxy, 961s # GAsyncResult *res, 961s # GError **error); 961s # 961s # gboolean com_acme_coyote_call_attack_sync ( 961s # ComAcmeCoyote *proxy, 961s # GCancellable *cancellable, 961s # GError **error); 961s # 961s # 961s # 961s # /* D-Bus property accessors: */ 961s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 961s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 961s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 961s # 961s # 961s # /* ---- */ 961s # 961s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 961s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 961s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 961s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 961s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 961s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 961s # 961s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 961s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 961s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 961s # 961s # struct _ComAcmeCoyoteProxy 961s # { 961s # /*< private >*/ 961s # GDBusProxy parent_instance; 961s # ComAcmeCoyoteProxyPrivate *priv; 961s # }; 961s # 961s # struct _ComAcmeCoyoteProxyClass 961s # { 961s # GDBusProxyClass parent_class; 961s # }; 961s # 961s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 961s # 961s # #if GLIB_CHECK_VERSION(2, 44, 0) 961s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 961s # #endif 961s # 961s # void com_acme_coyote_proxy_new ( 961s # GDBusConnection *connection, 961s # GDBusProxyFlags flags, 961s # const gchar *name, 961s # const gchar *object_path, 961s # GCancellable *cancellable, 961s # GAsyncReadyCallback callback, 961s # gpointer user_data); 961s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 961s # GAsyncResult *res, 961s # GError **error); 961s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 961s # GDBusConnection *connection, 961s # GDBusProxyFlags flags, 961s # const gchar *name, 961s # const gchar *object_path, 961s # GCancellable *cancellable, 961s # GError **error); 961s # 961s # void com_acme_coyote_proxy_new_for_bus ( 961s # GBusType bus_type, 961s # GDBusProxyFlags flags, 961s # const gchar *name, 961s # const gchar *object_path, 961s # GCancellable *cancellable, 961s # GAsyncReadyCallback callback, 961s # gpointer user_data); 961s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 961s # GAsyncResult *res, 961s # GError **error); 961s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 961s # GBusType bus_type, 961s # GDBusProxyFlags flags, 961s # const gchar *name, 961s # const gchar *object_path, 961s # GCancellable *cancellable, 961s # GError **error); 961s # 961s # 961s # /* ---- */ 961s # 961s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 961s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 961s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 961s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 961s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 961s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 961s # 961s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 961s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 961s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 961s # 961s # struct _ComAcmeCoyoteSkeleton 961s # { 961s # /*< private >*/ 961s # GDBusInterfaceSkeleton parent_instance; 961s # ComAcmeCoyoteSkeletonPrivate *priv; 961s # }; 961s # 961s # struct _ComAcmeCoyoteSkeletonClass 961s # { 961s # GDBusInterfaceSkeletonClass parent_class; 961s # }; 961s # 961s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 961s # 961s # #if GLIB_CHECK_VERSION(2, 44, 0) 961s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 961s # #endif 961s # 961s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 961s # 961s # 961s # G_END_DECLS 961s # 961s # #endif /* __STDOUT__ */ 961s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphqnbgn6r/tmpyxpmxf7s1.xml', '/tmp/tmphqnbgn6r/tmpydw6ql372.xml', '--output', '-', '--body'] 961s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 961s # Output: /* 961s # * This file is generated by gdbus-codegen, do not modify it. 961s # * 961s # * The license of this code is the same as for the D-Bus interface description 961s # * it was derived from. Note that it links to GLib, so must comply with the 961s # * LGPL linking clauses. 961s # */ 961s # 961s # #ifdef HAVE_CONFIG_H 961s # # include "config.h" 961s # #endif 961s # 961s # #include 961s # #ifdef G_OS_UNIX 961s # # include 961s # #endif 961s # 961s # #ifdef G_ENABLE_DEBUG 961s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 961s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 961s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 961s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 961s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 961s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 961s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 961s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 961s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 961s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 961s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 961s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 961s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 961s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 961s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 961s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 961s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 961s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 961s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 961s # #else /* !G_ENABLE_DEBUG */ 961s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 961s # * Do not access GValues directly in your code. Instead, use the 961s # * g_value_get_*() functions 961s # */ 961s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 961s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 961s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 961s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 961s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 961s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 961s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 961s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 961s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 961s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 961s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 961s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 961s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 961s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 961s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 961s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 961s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 961s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 961s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 961s # #endif /* !G_ENABLE_DEBUG */ 961s # 961s # typedef struct 961s # { 961s # GDBusArgInfo parent_struct; 961s # gboolean use_gvariant; 961s # } _ExtendedGDBusArgInfo; 961s # 961s # typedef struct 961s # { 961s # GDBusMethodInfo parent_struct; 961s # const gchar *signal_name; 961s # gboolean pass_fdlist; 961s # } _ExtendedGDBusMethodInfo; 961s # 961s # typedef struct 961s # { 961s # GDBusSignalInfo parent_struct; 961s # const gchar *signal_name; 961s # } _ExtendedGDBusSignalInfo; 961s # 961s # typedef struct 961s # { 961s # GDBusPropertyInfo parent_struct; 961s # const gchar *hyphen_name; 961s # guint use_gvariant : 1; 961s # guint emits_changed_signal : 1; 961s # } _ExtendedGDBusPropertyInfo; 961s # 961s # typedef struct 961s # { 961s # GDBusInterfaceInfo parent_struct; 961s # const gchar *hyphen_name; 961s # } _ExtendedGDBusInterfaceInfo; 961s # 961s # typedef struct 961s # { 961s # const _ExtendedGDBusPropertyInfo *info; 961s # guint prop_id; 961s # GValue orig_value; /* the value before the change */ 961s # } ChangedProperty; 961s # 961s # static void 961s # _changed_property_free (ChangedProperty *data) 961s # { 961s # g_value_unset (&data->orig_value); 961s # g_free (data); 961s # } 961s # 961s # static gboolean 961s # _g_strv_equal0 (gchar **a, gchar **b) 961s # { 961s # gboolean ret = FALSE; 961s # guint n; 961s # if (a == NULL && b == NULL) 961s # { 961s # ret = TRUE; 961s # goto out; 961s # } 961s # if (a == NULL || b == NULL) 961s # goto out; 961s # if (g_strv_length (a) != g_strv_length (b)) 961s # goto out; 961s # for (n = 0; a[n] != NULL; n++) 961s # if (g_strcmp0 (a[n], b[n]) != 0) 961s # goto out; 961s # ret = TRUE; 961s # out: 961s # return ret; 961s # } 961s # 961s # static gboolean 961s # _g_variant_equal0 (GVariant *a, GVariant *b) 961s # { 961s # gboolean ret = FALSE; 961s # if (a == NULL && b == NULL) 961s # { 961s # ret = TRUE; 961s # goto out; 961s # } 961s # if (a == NULL || b == NULL) 961s # goto out; 961s # ret = g_variant_equal (a, b); 961s # out: 961s # return ret; 961s # } 961s # 961s # G_GNUC_UNUSED static gboolean 961s # _g_value_equal (const GValue *a, const GValue *b) 961s # { 961s # gboolean ret = FALSE; 961s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 961s # switch (G_VALUE_TYPE (a)) 961s # { 961s # case G_TYPE_BOOLEAN: 961s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 961s # break; 961s # case G_TYPE_UCHAR: 961s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 961s # break; 961s # case G_TYPE_INT: 961s # ret = (g_value_get_int (a) == g_value_get_int (b)); 961s # break; 961s # case G_TYPE_UINT: 961s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 961s # break; 961s # case G_TYPE_INT64: 961s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 961s # break; 961s # case G_TYPE_UINT64: 961s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 961s # break; 961s # case G_TYPE_DOUBLE: 961s # { 961s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 961s # gdouble da = g_value_get_double (a); 961s # gdouble db = g_value_get_double (b); 961s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 961s # } 961s # break; 961s # case G_TYPE_STRING: 961s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 961s # break; 961s # case G_TYPE_VARIANT: 961s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 961s # break; 961s # default: 961s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 961s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 961s # else 961s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 961s # break; 961s # } 961s # return ret; 961s # } 961s # 961s # static void 961s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 961s # GClosure *closure, 961s # GValue *return_value, 961s # unsigned int n_param_values, 961s # const GValue *param_values, 961s # void *invocation_hint G_GNUC_UNUSED, 961s # void *marshal_data) 961s # { 961s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 961s # (void *data1, 961s # GDBusMethodInvocation *arg_method_invocation, 961s # void *data2); 961s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 961s # GCClosure *cc = (GCClosure*) closure; 961s # void *data1, *data2; 961s # gboolean v_return; 961s # 961s # g_return_if_fail (return_value != NULL); 961s # g_return_if_fail (n_param_values == 2); 961s # 961s # if (G_CCLOSURE_SWAP_DATA (closure)) 961s # { 961s # data1 = closure->data; 961s # data2 = g_value_peek_pointer (param_values + 0); 961s # } 961s # else 961s # { 961s # data1 = g_value_peek_pointer (param_values + 0); 961s # data2 = closure->data; 961s # } 961s # 961s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 961s # (marshal_data ? marshal_data : cc->callback); 961s # 961s # v_return = 961s # callback (data1, 961s # g_marshal_value_peek_object (param_values + 1), 961s # data2); 961s # 961s # g_value_set_boolean (return_value, v_return); 961s # } 961s # 961s # /* ------------------------------------------------------------------------ 961s # * Code for interface org.project.Bar.Frobnicator 961s # * ------------------------------------------------------------------------ 961s # */ 961s # 961s # /** 961s # * SECTION:OrgProjectBarFrobnicator 961s # * @title: OrgProjectBarFrobnicator 961s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 961s # * 961s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 961s # */ 961s # 961s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 961s # 961s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 961s # { 961s # { 961s # -1, 961s # (gchar *) "RandomMethod", 961s # NULL, 961s # NULL, 961s # NULL 961s # }, 961s # "handle-random-method", 961s # FALSE 961s # }; 961s # 961s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 961s # { 961s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 961s # NULL 961s # }; 961s # 961s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 961s # { 961s # { 961s # -1, 961s # (gchar *) "org.project.Bar.Frobnicator", 961s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 961s # NULL, 961s # NULL, 961s # NULL 961s # }, 961s # "org-project-bar-frobnicator", 961s # }; 961s # 961s # 961s # /** 961s # * org_project_bar_frobnicator_interface_info: 961s # * 961s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 961s # * 961s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 961s # */ 961s # GDBusInterfaceInfo * 961s # org_project_bar_frobnicator_interface_info (void) 961s # { 961s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 961s # } 961s # 961s # /** 961s # * org_project_bar_frobnicator_override_properties: 961s # * @klass: The class structure for a #GObject derived class. 961s # * @property_id_begin: The property id to assign to the first overridden property. 961s # * 961s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 961s # * The properties are overridden in the order they are defined. 961s # * 961s # * Returns: The last property id. 961s # */ 961s # guint 961s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 961s # { 961s # return property_id_begin - 1; 961s # } 961s # 961s # 961s # inline static void 961s # org_project_bar_frobnicator_method_marshal_random_method ( 961s # GClosure *closure, 961s # GValue *return_value, 961s # unsigned int n_param_values, 961s # const GValue *param_values, 961s # void *invocation_hint, 961s # void *marshal_data) 961s # { 961s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 961s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 961s # } 961s # 961s # 961s # /** 961s # * OrgProjectBarFrobnicator: 961s # * 961s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 961s # */ 961s # 961s # /** 961s # * OrgProjectBarFrobnicatorIface: 961s # * @parent_iface: The parent interface. 961s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 961s # * 961s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 961s # */ 961s # 961s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 961s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 961s # 961s # static void 961s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 961s # { 961s # /* GObject signals for incoming D-Bus method calls: */ 961s # /** 961s # * OrgProjectBarFrobnicator::handle-random-method: 961s # * @object: A #OrgProjectBarFrobnicator. 961s # * @invocation: A #GDBusMethodInvocation. 961s # * 961s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 961s # * 961s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_bar_frobnicator_complete_random_method() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 961s # * 961s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 961s # */ 961s # g_signal_new ("handle-random-method", 961s # G_TYPE_FROM_INTERFACE (iface), 961s # G_SIGNAL_RUN_LAST, 961s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 961s # g_signal_accumulator_true_handled, 961s # NULL, 961s # org_project_bar_frobnicator_method_marshal_random_method, 961s # G_TYPE_BOOLEAN, 961s # 1, 961s # G_TYPE_DBUS_METHOD_INVOCATION); 961s # 961s # } 961s # 961s # /** 961s # * org_project_bar_frobnicator_call_random_method: 961s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 961s # * @cancellable: (nullable): A #GCancellable or %NULL. 961s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 961s # * @user_data: User data to pass to @callback. 961s # * 961s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 961s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 961s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 961s # * 961s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 961s # */ 961s # void 961s # org_project_bar_frobnicator_call_random_method ( 961s # OrgProjectBarFrobnicator *proxy, 961s # GCancellable *cancellable, 961s # GAsyncReadyCallback callback, 961s # gpointer user_data) 961s # { 961s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 961s # "RandomMethod", 961s # g_variant_new ("()"), 961s # G_DBUS_CALL_FLAGS_NONE, 961s # -1, 961s # cancellable, 961s # callback, 961s # user_data); 961s # } 961s # 961s # /** 961s # * org_project_bar_frobnicator_call_random_method_finish: 961s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 961s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 961s # * @error: Return location for error or %NULL. 961s # * 961s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 961s # * 961s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 961s # */ 961s # gboolean 961s # org_project_bar_frobnicator_call_random_method_finish ( 961s # OrgProjectBarFrobnicator *proxy, 961s # GAsyncResult *res, 961s # GError **error) 961s # { 961s # GVariant *_ret; 961s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 961s # if (_ret == NULL) 961s # goto _out; 961s # g_variant_get (_ret, 961s # "()"); 961s # g_variant_unref (_ret); 961s # _out: 961s # return _ret != NULL; 961s # } 961s # 961s # /** 961s # * org_project_bar_frobnicator_call_random_method_sync: 961s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 961s # * @cancellable: (nullable): A #GCancellable or %NULL. 961s # * @error: Return location for error or %NULL. 961s # * 961s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 961s # * 961s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 961s # * 961s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 961s # */ 961s # gboolean 961s # org_project_bar_frobnicator_call_random_method_sync ( 961s # OrgProjectBarFrobnicator *proxy, 961s # GCancellable *cancellable, 961s # GError **error) 961s # { 961s # GVariant *_ret; 961s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 961s # "RandomMethod", 961s # g_variant_new ("()"), 961s # G_DBUS_CALL_FLAGS_NONE, 961s # -1, 961s # cancellable, 961s # error); 961s # if (_ret == NULL) 961s # goto _out; 961s # g_variant_get (_ret, 961s # "()"); 961s # g_variant_unref (_ret); 961s # _out: 961s # return _ret != NULL; 961s # } 961s # 961s # /** 961s # * org_project_bar_frobnicator_complete_random_method: 961s # * @object: A #OrgProjectBarFrobnicator. 961s # * @invocation: (transfer full): A #GDBusMethodInvocation. 961s # * 961s # * Helper function used in service implementations to finish handling invocations of the RandomMethod() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 961s # * 961s # * This method will free @invocation, you cannot use it afterwards. 961s # */ 961s # void 961s # org_project_bar_frobnicator_complete_random_method ( 961s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 961s # GDBusMethodInvocation *invocation) 961s # { 961s # g_dbus_method_invocation_return_value (invocation, 961s # g_variant_new ("()")); 961s # } 961s # 961s # /* ------------------------------------------------------------------------ */ 961s # 961s # /** 961s # * OrgProjectBarFrobnicatorProxy: 961s # * 961s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 961s # */ 961s # 961s # /** 961s # * OrgProjectBarFrobnicatorProxyClass: 961s # * @parent_class: The parent class. 961s # * 961s # * Class structure for #OrgProjectBarFrobnicatorProxy. 961s # */ 961s # 961s # struct _OrgProjectBarFrobnicatorProxyPrivate 961s # { 961s # GData *qdata; 961s # }; 961s # 961s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 961s # 961s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 961s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 961s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 961s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 961s # 961s # #else 961s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 961s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 961s # 961s # #endif 961s # static void 961s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 961s # { 961s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 961s # g_datalist_clear (&proxy->priv->qdata); 961s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 961s # } 961s # 961s # static void 961s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 961s # guint prop_id G_GNUC_UNUSED, 961s # GValue *value G_GNUC_UNUSED, 961s # GParamSpec *pspec G_GNUC_UNUSED) 961s # { 961s # } 961s # 961s # static void 961s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 961s # guint prop_id G_GNUC_UNUSED, 961s # const GValue *value G_GNUC_UNUSED, 961s # GParamSpec *pspec G_GNUC_UNUSED) 961s # { 961s # } 961s # 961s # static void 961s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 961s # const gchar *sender_name G_GNUC_UNUSED, 961s # const gchar *signal_name, 961s # GVariant *parameters) 961s # { 961s # _ExtendedGDBusSignalInfo *info; 961s # GVariantIter iter; 961s # GVariant *child; 961s # GValue *paramv; 961s # gsize num_params; 961s # gsize n; 961s # guint signal_id; 961s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 961s # if (info == NULL) 961s # return; 961s # num_params = g_variant_n_children (parameters); 961s # paramv = g_new0 (GValue, num_params + 1); 961s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 961s # g_value_set_object (¶mv[0], proxy); 961s # g_variant_iter_init (&iter, parameters); 961s # n = 1; 961s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 961s # { 961s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 961s # if (arg_info->use_gvariant) 961s # { 961s # g_value_init (¶mv[n], G_TYPE_VARIANT); 961s # g_value_set_variant (¶mv[n], child); 961s # n++; 961s # } 961s # else 961s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 961s # g_variant_unref (child); 961s # } 961s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 961s # g_signal_emitv (paramv, signal_id, 0, NULL); 961s # for (n = 0; n < num_params + 1; n++) 961s # g_value_unset (¶mv[n]); 961s # g_free (paramv); 961s # } 961s # 961s # static void 961s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 961s # GVariant *changed_properties, 961s # const gchar *const *invalidated_properties) 961s # { 961s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 961s # guint n; 961s # const gchar *key; 961s # GVariantIter *iter; 961s # _ExtendedGDBusPropertyInfo *info; 961s # g_variant_get (changed_properties, "a{sv}", &iter); 961s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 961s # { 961s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 961s # g_datalist_remove_data (&proxy->priv->qdata, key); 961s # if (info != NULL) 961s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 961s # } 961s # g_variant_iter_free (iter); 961s # for (n = 0; invalidated_properties[n] != NULL; n++) 961s # { 961s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 961s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 961s # if (info != NULL) 961s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 961s # } 961s # } 961s # 961s # static void 961s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 961s # { 961s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 961s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 961s # #else 961s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 961s # #endif 961s # 961s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 961s # } 961s # 961s # static void 961s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 961s # { 961s # GObjectClass *gobject_class; 961s # GDBusProxyClass *proxy_class; 961s # 961s # gobject_class = G_OBJECT_CLASS (klass); 961s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 961s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 961s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 961s # 961s # proxy_class = G_DBUS_PROXY_CLASS (klass); 961s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 961s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 961s # 961s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 961s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 961s # #endif 961s # } 961s # 961s # static void 961s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 961s # { 961s # } 961s # 961s # /** 961s # * org_project_bar_frobnicator_proxy_new: 961s # * @connection: A #GDBusConnection. 961s # * @flags: Flags from the #GDBusProxyFlags enumeration. 961s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 961s # * @object_path: An object path. 961s # * @cancellable: (nullable): A #GCancellable or %NULL. 961s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 961s # * @user_data: User data to pass to @callback. 961s # * 961s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 961s # * 961s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 961s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 961s # * 961s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 961s # */ 961s # void 961s # org_project_bar_frobnicator_proxy_new ( 961s # GDBusConnection *connection, 961s # GDBusProxyFlags flags, 961s # const gchar *name, 961s # const gchar *object_path, 961s # GCancellable *cancellable, 961s # GAsyncReadyCallback callback, 961s # gpointer user_data) 961s # { 961s # g_async_initable_new_async (TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.Bar.Frobnicator", NULL); 961s # } 961s # 961s # /** 961s # * org_project_bar_frobnicator_proxy_new_finish: 961s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 961s # * @error: Return location for error or %NULL 961s # * 961s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 961s # * 961s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 961s # */ 961s # OrgProjectBarFrobnicator * 961s # org_project_bar_frobnicator_proxy_new_finish ( 961s # GAsyncResult *res, 961s # GError **error) 961s # { 961s # GObject *ret; 961s # GObject *source_object; 961s # source_object = g_async_result_get_source_object (res); 961s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 961s # g_object_unref (source_object); 961s # if (ret != NULL) 961s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 961s # else 961s # return NULL; 961s # } 961s # 961s # /** 961s # * org_project_bar_frobnicator_proxy_new_sync: 961s # * @connection: A #GDBusConnection. 961s # * @flags: Flags from the #GDBusProxyFlags enumeration. 961s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 961s # * @object_path: An object path. 961s # * @cancellable: (nullable): A #GCancellable or %NULL. 961s # * @error: Return location for error or %NULL 961s # * 961s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 961s # * 961s # * The calling thread is blocked until a reply is received. 961s # * 961s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 961s # * 961s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 961s # */ 961s # OrgProjectBarFrobnicator * 961s # org_project_bar_frobnicator_proxy_new_sync ( 961s # GDBusConnection *connection, 961s # GDBusProxyFlags flags, 961s # const gchar *name, 961s # const gchar *object_path, 961s # GCancellable *cancellable, 961s # GError **error) 961s # { 961s # GInitable *ret; 961s # ret = g_initable_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.Bar.Frobnicator", NULL); 961s # if (ret != NULL) 961s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 961s # else 961s # return NULL; 961s # } 961s # 961s # 961s # /** 961s # * org_project_bar_frobnicator_proxy_new_for_bus: 961s # * @bus_type: A #GBusType. 961s # * @flags: Flags from the #GDBusProxyFlags enumeration. 961s # * @name: A bus name (well-known or unique). 961s # * @object_path: An object path. 961s # * @cancellable: (nullable): A #GCancellable or %NULL. 961s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 961s # * @user_data: User data to pass to @callback. 961s # * 961s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 961s # * 961s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 961s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 961s # * 961s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 961s # */ 961s # void 961s # org_project_bar_frobnicator_proxy_new_for_bus ( 961s # GBusType bus_type, 961s # GDBusProxyFlags flags, 961s # const gchar *name, 961s # const gchar *object_path, 961s # GCancellable *cancellable, 961s # GAsyncReadyCallback callback, 961s # gpointer user_data) 961s # { 961s # g_async_initable_new_async (TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.Bar.Frobnicator", NULL); 961s # } 961s # 961s # /** 961s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 961s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 961s # * @error: Return location for error or %NULL 961s # * 961s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 961s # * 961s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 961s # */ 961s # OrgProjectBarFrobnicator * 961s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 961s # GAsyncResult *res, 961s # GError **error) 961s # { 961s # GObject *ret; 961s # GObject *source_object; 961s # source_object = g_async_result_get_source_object (res); 961s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 961s # g_object_unref (source_object); 961s # if (ret != NULL) 961s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 961s # else 961s # return NULL; 961s # } 961s # 961s # /** 961s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 961s # * @bus_type: A #GBusType. 961s # * @flags: Flags from the #GDBusProxyFlags enumeration. 961s # * @name: A bus name (well-known or unique). 961s # * @object_path: An object path. 961s # * @cancellable: (nullable): A #GCancellable or %NULL. 961s # * @error: Return location for error or %NULL 961s # * 961s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 961s # * 961s # * The calling thread is blocked until a reply is received. 961s # * 961s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 961s # * 961s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 961s # */ 961s # OrgProjectBarFrobnicator * 961s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 961s # GBusType bus_type, 961s # GDBusProxyFlags flags, 961s # const gchar *name, 961s # const gchar *object_path, 961s # GCancellable *cancellable, 961s # GError **error) 961s # { 961s # GInitable *ret; 961s # ret = g_initable_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.Bar.Frobnicator", NULL); 961s # if (ret != NULL) 961s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 961s # else 961s # return NULL; 961s # } 961s # 961s # 961s # /* ------------------------------------------------------------------------ */ 961s # 961s # /** 961s # * OrgProjectBarFrobnicatorSkeleton: 961s # * 961s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 961s # */ 961s # 961s # /** 961s # * OrgProjectBarFrobnicatorSkeletonClass: 961s # * @parent_class: The parent class. 961s # * 961s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 961s # */ 961s # 961s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 961s # { 961s # GValue *properties; 961s # GList *changed_properties; 961s # GSource *changed_properties_idle_source; 961s # GMainContext *context; 961s # GMutex lock; 961s # }; 961s # 961s # static void 961s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 961s # GDBusConnection *connection G_GNUC_UNUSED, 961s # const gchar *sender G_GNUC_UNUSED, 961s # const gchar *object_path G_GNUC_UNUSED, 961s # const gchar *interface_name, 961s # const gchar *method_name, 961s # GVariant *parameters, 961s # GDBusMethodInvocation *invocation, 961s # gpointer user_data) 961s # { 961s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 961s # _ExtendedGDBusMethodInfo *info; 961s # GVariantIter iter; 961s # GVariant *child; 961s # GValue *paramv; 961s # gsize num_params; 961s # guint num_extra; 961s # gsize n; 961s # guint signal_id; 961s # GValue return_value = G_VALUE_INIT; 961s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 961s # g_assert (info != NULL); 961s # num_params = g_variant_n_children (parameters); 961s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 961s # n = 0; 961s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 961s # g_value_set_object (¶mv[n++], skeleton); 961s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 961s # g_value_set_object (¶mv[n++], invocation); 961s # if (info->pass_fdlist) 961s # { 961s # #ifdef G_OS_UNIX 961s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 961s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 961s # #else 961s # g_assert_not_reached (); 961s # #endif 961s # } 961s # g_variant_iter_init (&iter, parameters); 961s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 961s # { 961s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 961s # if (arg_info->use_gvariant) 961s # { 961s # g_value_init (¶mv[n], G_TYPE_VARIANT); 961s # g_value_set_variant (¶mv[n], child); 961s # n++; 961s # } 961s # else 961s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 961s # g_variant_unref (child); 961s # } 961s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 961s # g_value_init (&return_value, G_TYPE_BOOLEAN); 961s # g_signal_emitv (paramv, signal_id, 0, &return_value); 961s # if (!g_value_get_boolean (&return_value)) 961s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 961s # g_value_unset (&return_value); 961s # for (n = 0; n < num_params + num_extra; n++) 961s # g_value_unset (¶mv[n]); 961s # g_free (paramv); 961s # } 961s # 961s # static GVariant * 961s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 961s # GDBusConnection *connection G_GNUC_UNUSED, 961s # const gchar *sender G_GNUC_UNUSED, 961s # const gchar *object_path G_GNUC_UNUSED, 961s # const gchar *interface_name G_GNUC_UNUSED, 961s # const gchar *property_name, 961s # GError **error, 961s # gpointer user_data) 961s # { 961s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 961s # GValue value = G_VALUE_INIT; 961s # GParamSpec *pspec; 961s # _ExtendedGDBusPropertyInfo *info; 961s # GVariant *ret; 961s # ret = NULL; 961s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 961s # g_assert (info != NULL); 961s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 961s # if (pspec == NULL) 961s # { 961s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 961s # } 961s # else 961s # { 961s # g_value_init (&value, pspec->value_type); 961s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 961s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 961s # g_value_unset (&value); 961s # } 961s # return ret; 961s # } 961s # 961s # static gboolean 961s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 961s # GDBusConnection *connection G_GNUC_UNUSED, 961s # const gchar *sender G_GNUC_UNUSED, 961s # const gchar *object_path G_GNUC_UNUSED, 961s # const gchar *interface_name G_GNUC_UNUSED, 961s # const gchar *property_name, 961s # GVariant *variant, 961s # GError **error, 961s # gpointer user_data) 961s # { 961s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 961s # GValue value = G_VALUE_INIT; 961s # GParamSpec *pspec; 961s # _ExtendedGDBusPropertyInfo *info; 961s # gboolean ret; 961s # ret = FALSE; 961s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 961s # g_assert (info != NULL); 961s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 961s # if (pspec == NULL) 961s # { 961s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 961s # } 961s # else 961s # { 961s # if (info->use_gvariant) 961s # g_value_set_variant (&value, variant); 961s # else 961s # g_dbus_gvariant_to_gvalue (variant, &value); 961s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 961s # g_value_unset (&value); 961s # ret = TRUE; 961s # } 961s # return ret; 961s # } 961s # 961s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 961s # { 961s # _org_project_bar_frobnicator_skeleton_handle_method_call, 961s # _org_project_bar_frobnicator_skeleton_handle_get_property, 961s # _org_project_bar_frobnicator_skeleton_handle_set_property, 961s # {NULL} 961s # }; 961s # 961s # static GDBusInterfaceInfo * 961s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 961s # { 961s # return org_project_bar_frobnicator_interface_info (); 961s # } 961s # 961s # static GDBusInterfaceVTable * 961s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 961s # { 961s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 961s # } 961s # 961s # static GVariant * 961s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 961s # { 961s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 961s # 961s # GVariantBuilder builder; 961s # guint n; 961s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 961s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 961s # goto out; 961s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 961s # { 961s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 961s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 961s # { 961s # GVariant *value; 961s # value = _org_project_bar_frobnicator_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.Bar.Frobnicator", info->name, NULL, skeleton); 961s # if (value != NULL) 961s # { 961s # g_variant_take_ref (value); 961s # g_variant_builder_add (&builder, "{sv}", info->name, value); 961s # g_variant_unref (value); 961s # } 961s # } 961s # } 961s # out: 961s # return g_variant_builder_end (&builder); 961s # } 961s # 961s # static void 961s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 961s # { 961s # } 961s # 961s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 961s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 961s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 961s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 961s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 961s # 961s # #else 961s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 961s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 961s # 961s # #endif 961s # static void 961s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 961s # { 961s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 961s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 961s # if (skeleton->priv->changed_properties_idle_source != NULL) 961s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 961s # g_main_context_unref (skeleton->priv->context); 961s # g_mutex_clear (&skeleton->priv->lock); 961s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 961s # } 961s # 961s # static void 961s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 961s # { 961s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 961s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 961s # #else 961s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 961s # #endif 961s # 961s # g_mutex_init (&skeleton->priv->lock); 961s # skeleton->priv->context = g_main_context_ref_thread_default (); 961s # } 961s # 961s # static void 961s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 961s # { 961s # GObjectClass *gobject_class; 961s # GDBusInterfaceSkeletonClass *skeleton_class; 961s # 961s # gobject_class = G_OBJECT_CLASS (klass); 961s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 961s # 961s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 961s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 961s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 961s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 961s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 961s # 961s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 961s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 961s # #endif 961s # } 961s # 961s # static void 961s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 961s # { 961s # } 961s # 961s # /** 961s # * org_project_bar_frobnicator_skeleton_new: 961s # * 961s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 961s # * 961s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 961s # */ 961s # OrgProjectBarFrobnicator * 961s # org_project_bar_frobnicator_skeleton_new (void) 961s # { 961s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 961s # } 961s # 961s # /* ------------------------------------------------------------------------ 961s # * Code for interface com.acme.Coyote 961s # * ------------------------------------------------------------------------ 961s # */ 961s # 961s # /** 961s # * SECTION:ComAcmeCoyote 961s # * @title: ComAcmeCoyote 961s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 961s # * 961s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 961s # */ 961s # 961s # enum 961s # { 961s # _COM_ACME_COYOTE_SURPRISED, 961s # }; 961s # 961s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 961s # 961s # /* ---- Introspection data for com.acme.Coyote ---- */ 961s # 961s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 961s # { 961s # { 961s # -1, 961s # (gchar *) "Run", 961s # NULL, 961s # NULL, 961s # NULL 961s # }, 961s # "handle-run", 961s # FALSE 961s # }; 961s # 961s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 961s # { 961s # { 961s # -1, 961s # (gchar *) "Sleep", 961s # NULL, 961s # NULL, 961s # NULL 961s # }, 961s # "handle-sleep", 961s # FALSE 961s # }; 961s # 961s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 961s # { 961s # { 961s # -1, 961s # (gchar *) "Attack", 961s # NULL, 961s # NULL, 961s # NULL 961s # }, 961s # "handle-attack", 961s # FALSE 961s # }; 961s # 961s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 961s # { 961s # &_com_acme_coyote_method_info_run.parent_struct, 961s # &_com_acme_coyote_method_info_sleep.parent_struct, 961s # &_com_acme_coyote_method_info_attack.parent_struct, 961s # NULL 961s # }; 961s # 961s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 961s # { 961s # { 961s # -1, 961s # (gchar *) "Surprised", 961s # NULL, 961s # NULL 961s # }, 961s # "surprised" 961s # }; 961s # 961s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 961s # { 961s # &_com_acme_coyote_signal_info_surprised.parent_struct, 961s # NULL 961s # }; 961s # 961s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 961s # { 961s # { 961s # -1, 961s # (gchar *) "Mood", 961s # (gchar *) "s", 961s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 961s # NULL 961s # }, 961s # "mood", 961s # FALSE, 961s # TRUE 961s # }; 961s # 961s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 961s # { 961s # &_com_acme_coyote_property_info_mood.parent_struct, 961s # NULL 961s # }; 961s # 961s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 961s # { 961s # { 961s # -1, 961s # (gchar *) "com.acme.Coyote", 961s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 961s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 961s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 961s # NULL 961s # }, 961s # "com-acme-coyote", 961s # }; 961s # 961s # 961s # /** 961s # * com_acme_coyote_interface_info: 961s # * 961s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 961s # * 961s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 961s # */ 961s # GDBusInterfaceInfo * 961s # com_acme_coyote_interface_info (void) 961s # { 961s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 961s # } 961s # 961s # /** 961s # * com_acme_coyote_override_properties: 961s # * @klass: The class structure for a #GObject derived class. 961s # * @property_id_begin: The property id to assign to the first overridden property. 961s # * 961s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 961s # * The properties are overridden in the order they are defined. 961s # * 961s # * Returns: The last property id. 961s # */ 961s # guint 961s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 961s # { 961s # g_object_class_override_property (klass, property_id_begin++, "mood"); 961s # return property_id_begin - 1; 961s # } 961s # 961s # 961s # inline static void 961s # com_acme_coyote_signal_marshal_surprised ( 961s # GClosure *closure, 961s # GValue *return_value, 961s # unsigned int n_param_values, 961s # const GValue *param_values, 961s # void *invocation_hint, 961s # void *marshal_data) 961s # { 961s # g_cclosure_marshal_VOID__VOID (closure, 961s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 961s # } 961s # 961s # inline static void 961s # com_acme_coyote_method_marshal_run ( 961s # GClosure *closure, 961s # GValue *return_value, 961s # unsigned int n_param_values, 961s # const GValue *param_values, 961s # void *invocation_hint, 961s # void *marshal_data) 961s # { 961s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 961s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 961s # } 961s # 961s # inline static void 961s # com_acme_coyote_method_marshal_sleep ( 961s # GClosure *closure, 961s # GValue *return_value, 961s # unsigned int n_param_values, 961s # const GValue *param_values, 961s # void *invocation_hint, 961s # void *marshal_data) 961s # { 961s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 961s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 961s # } 961s # 961s # inline static void 961s # com_acme_coyote_method_marshal_attack ( 961s # GClosure *closure, 961s # GValue *return_value, 961s # unsigned int n_param_values, 961s # const GValue *param_values, 961s # void *invocation_hint, 961s # void *marshal_data) 961s # { 961s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 961s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 961s # } 961s # 961s # 961s # /** 961s # * ComAcmeCoyote: 961s # * 961s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 961s # */ 961s # 961s # /** 961s # * ComAcmeCoyoteIface: 961s # * @parent_iface: The parent interface. 961s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 961s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 961s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 961s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 961s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 961s # * 961s # * Virtual table for the D-Bus interface com.acme.Coyote. 961s # */ 961s # 961s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 961s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 961s # 961s # static void 961s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 961s # { 961s # /* GObject signals for incoming D-Bus method calls: */ 961s # /** 961s # * ComAcmeCoyote::handle-run: 961s # * @object: A #ComAcmeCoyote. 961s # * @invocation: A #GDBusMethodInvocation. 961s # * 961s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 961s # * 961s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call com_acme_coyote_complete_run() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 961s # * 961s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 961s # */ 961s # g_signal_new ("handle-run", 961s # G_TYPE_FROM_INTERFACE (iface), 961s # G_SIGNAL_RUN_LAST, 961s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 961s # g_signal_accumulator_true_handled, 961s # NULL, 961s # com_acme_coyote_method_marshal_run, 961s # G_TYPE_BOOLEAN, 961s # 1, 961s # G_TYPE_DBUS_METHOD_INVOCATION); 961s # 961s # /** 961s # * ComAcmeCoyote::handle-sleep: 961s # * @object: A #ComAcmeCoyote. 961s # * @invocation: A #GDBusMethodInvocation. 961s # * 961s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 961s # * 961s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call com_acme_coyote_complete_sleep() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 961s # * 961s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 961s # */ 961s # g_signal_new ("handle-sleep", 961s # G_TYPE_FROM_INTERFACE (iface), 961s # G_SIGNAL_RUN_LAST, 961s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 961s # g_signal_accumulator_true_handled, 961s # NULL, 961s # com_acme_coyote_method_marshal_sleep, 961s # G_TYPE_BOOLEAN, 961s # 1, 961s # G_TYPE_DBUS_METHOD_INVOCATION); 961s # 961s # /** 961s # * ComAcmeCoyote::handle-attack: 961s # * @object: A #ComAcmeCoyote. 961s # * @invocation: A #GDBusMethodInvocation. 961s # * 961s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 961s # * 961s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call com_acme_coyote_complete_attack() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 961s # * 961s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 961s # */ 961s # g_signal_new ("handle-attack", 961s # G_TYPE_FROM_INTERFACE (iface), 961s # G_SIGNAL_RUN_LAST, 961s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 961s # g_signal_accumulator_true_handled, 961s # NULL, 961s # com_acme_coyote_method_marshal_attack, 961s # G_TYPE_BOOLEAN, 961s # 1, 961s # G_TYPE_DBUS_METHOD_INVOCATION); 961s # 961s # /* GObject signals for received D-Bus signals: */ 961s # /** 961s # * ComAcmeCoyote::surprised: 961s # * @object: A #ComAcmeCoyote. 961s # * 961s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 961s # * 961s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 961s # */ 961s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 961s # g_signal_new ("surprised", 961s # G_TYPE_FROM_INTERFACE (iface), 961s # G_SIGNAL_RUN_LAST, 961s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 961s # NULL, 961s # NULL, 961s # com_acme_coyote_signal_marshal_surprised, 961s # G_TYPE_NONE, 961s # 0); 961s # 961s # /* GObject properties for D-Bus properties: */ 961s # /** 961s # * ComAcmeCoyote:mood: 961s # * 961s # * Represents the D-Bus property "Mood". 961s # * 961s # * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side. 961s # */ 961s # g_object_interface_install_property (iface, 961s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 961s # } 961s # 961s # /** 961s # * com_acme_coyote_get_mood: (skip) 961s # * @object: A #ComAcmeCoyote. 961s # * 961s # * Gets the value of the "Mood" D-Bus property. 961s # * 961s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 961s # * 961s # * The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use com_acme_coyote_dup_mood() if on another thread. 961s # * 961s # * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. 961s # */ 961s # const gchar * 961s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 961s # { 961s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 961s # 961s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 961s # } 961s # 961s # /** 961s # * com_acme_coyote_dup_mood: (skip) 961s # * @object: A #ComAcmeCoyote. 961s # * 961s # * Gets a copy of the "Mood" D-Bus property. 961s # * 961s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 961s # * 961s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 961s # */ 961s # gchar * 961s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 961s # { 961s # gchar *value; 961s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 961s # return value; 961s # } 961s # 961s # /** 961s # * com_acme_coyote_set_mood: (skip) 961s # * @object: A #ComAcmeCoyote. 961s # * @value: The value to set. 961s # * 961s # * Sets the "Mood" D-Bus property to @value. 961s # * 961s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 961s # */ 961s # void 961s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 961s # { 961s # g_object_set (G_OBJECT (object), "mood", value, NULL); 961s # } 961s # 961s # /** 961s # * com_acme_coyote_emit_surprised: 961s # * @object: A #ComAcmeCoyote. 961s # * 961s # * Emits the "Surprised" D-Bus signal. 961s # */ 961s # void 961s # com_acme_coyote_emit_surprised ( 961s # ComAcmeCoyote *object) 961s # { 961s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 961s # } 961s # 961s # /** 961s # * com_acme_coyote_call_run: 961s # * @proxy: A #ComAcmeCoyoteProxy. 961s # * @cancellable: (nullable): A #GCancellable or %NULL. 961s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 961s # * @user_data: User data to pass to @callback. 961s # * 961s # * Asynchronously invokes the Run() D-Bus method on @proxy. 961s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 961s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 961s # * 961s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 961s # */ 961s # void 961s # com_acme_coyote_call_run ( 961s # ComAcmeCoyote *proxy, 961s # GCancellable *cancellable, 961s # GAsyncReadyCallback callback, 961s # gpointer user_data) 961s # { 961s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 961s # "Run", 961s # g_variant_new ("()"), 961s # G_DBUS_CALL_FLAGS_NONE, 961s # -1, 961s # cancellable, 961s # callback, 961s # user_data); 961s # } 961s # 961s # /** 961s # * com_acme_coyote_call_run_finish: 961s # * @proxy: A #ComAcmeCoyoteProxy. 961s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 961s # * @error: Return location for error or %NULL. 961s # * 961s # * Finishes an operation started with com_acme_coyote_call_run(). 961s # * 961s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 961s # */ 961s # gboolean 961s # com_acme_coyote_call_run_finish ( 961s # ComAcmeCoyote *proxy, 961s # GAsyncResult *res, 961s # GError **error) 961s # { 961s # GVariant *_ret; 961s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 961s # if (_ret == NULL) 961s # goto _out; 961s # g_variant_get (_ret, 961s # "()"); 961s # g_variant_unref (_ret); 961s # _out: 961s # return _ret != NULL; 961s # } 961s # 961s # /** 961s # * com_acme_coyote_call_run_sync: 961s # * @proxy: A #ComAcmeCoyoteProxy. 961s # * @cancellable: (nullable): A #GCancellable or %NULL. 961s # * @error: Return location for error or %NULL. 961s # * 961s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 961s # * 961s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 961s # * 961s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 961s # */ 961s # gboolean 961s # com_acme_coyote_call_run_sync ( 961s # ComAcmeCoyote *proxy, 961s # GCancellable *cancellable, 961s # GError **error) 961s # { 961s # GVariant *_ret; 961s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 961s # "Run", 961s # g_variant_new ("()"), 961s # G_DBUS_CALL_FLAGS_NONE, 961s # -1, 961s # cancellable, 961s # error); 961s # if (_ret == NULL) 961s # goto _out; 961s # g_variant_get (_ret, 961s # "()"); 961s # g_variant_unref (_ret); 961s # _out: 961s # return _ret != NULL; 961s # } 961s # 961s # /** 961s # * com_acme_coyote_call_sleep: 961s # * @proxy: A #ComAcmeCoyoteProxy. 961s # * @cancellable: (nullable): A #GCancellable or %NULL. 961s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 961s # * @user_data: User data to pass to @callback. 961s # * 961s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 961s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 961s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 961s # * 961s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 961s # */ 961s # void 961s # com_acme_coyote_call_sleep ( 961s # ComAcmeCoyote *proxy, 961s # GCancellable *cancellable, 961s # GAsyncReadyCallback callback, 961s # gpointer user_data) 961s # { 961s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 961s # "Sleep", 961s # g_variant_new ("()"), 961s # G_DBUS_CALL_FLAGS_NONE, 961s # -1, 961s # cancellable, 961s # callback, 961s # user_data); 961s # } 961s # 961s # /** 961s # * com_acme_coyote_call_sleep_finish: 961s # * @proxy: A #ComAcmeCoyoteProxy. 961s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 961s # * @error: Return location for error or %NULL. 961s # * 961s # * Finishes an operation started with com_acme_coyote_call_sleep(). 961s # * 961s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 961s # */ 961s # gboolean 961s # com_acme_coyote_call_sleep_finish ( 961s # ComAcmeCoyote *proxy, 961s # GAsyncResult *res, 961s # GError **error) 961s # { 961s # GVariant *_ret; 961s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 961s # if (_ret == NULL) 961s # goto _out; 961s # g_variant_get (_ret, 961s # "()"); 961s # g_variant_unref (_ret); 961s # _out: 961s # return _ret != NULL; 961s # } 961s # 961s # /** 961s # * com_acme_coyote_call_sleep_sync: 961s # * @proxy: A #ComAcmeCoyoteProxy. 961s # * @cancellable: (nullable): A #GCancellable or %NULL. 961s # * @error: Return location for error or %NULL. 961s # * 961s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 961s # * 961s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 961s # * 961s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 961s # */ 961s # gboolean 961s # com_acme_coyote_call_sleep_sync ( 961s # ComAcmeCoyote *proxy, 961s # GCancellable *cancellable, 961s # GError **error) 961s # { 961s # GVariant *_ret; 961s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 961s # "Sleep", 961s # g_variant_new ("()"), 961s # G_DBUS_CALL_FLAGS_NONE, 961s # -1, 961s # cancellable, 961s # error); 961s # if (_ret == NULL) 961s # goto _out; 961s # g_variant_get (_ret, 961s # "()"); 961s # g_variant_unref (_ret); 961s # _out: 961s # return _ret != NULL; 961s # } 961s # 961s # /** 961s # * com_acme_coyote_call_attack: 961s # * @proxy: A #ComAcmeCoyoteProxy. 961s # * @cancellable: (nullable): A #GCancellable or %NULL. 961s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 961s # * @user_data: User data to pass to @callback. 961s # * 961s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 961s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 961s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 961s # * 961s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 961s # */ 961s # void 961s # com_acme_coyote_call_attack ( 961s # ComAcmeCoyote *proxy, 961s # GCancellable *cancellable, 961s # GAsyncReadyCallback callback, 961s # gpointer user_data) 961s # { 961s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 961s # "Attack", 961s # g_variant_new ("()"), 961s # G_DBUS_CALL_FLAGS_NONE, 961s # -1, 961s # cancellable, 961s # callback, 961s # user_data); 961s # } 961s # 961s # /** 961s # * com_acme_coyote_call_attack_finish: 961s # * @proxy: A #ComAcmeCoyoteProxy. 961s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 961s # * @error: Return location for error or %NULL. 961s # * 961s # * Finishes an operation started with com_acme_coyote_call_attack(). 961s # * 961s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 961s # */ 961s # gboolean 961s # com_acme_coyote_call_attack_finish ( 961s # ComAcmeCoyote *proxy, 961s # GAsyncResult *res, 961s # GError **error) 961s # { 961s # GVariant *_ret; 961s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 961s # if (_ret == NULL) 961s # goto _out; 961s # g_variant_get (_ret, 961s # "()"); 961s # g_variant_unref (_ret); 961s # _out: 961s # return _ret != NULL; 961s # } 961s # 961s # /** 961s # * com_acme_coyote_call_attack_sync: 961s # * @proxy: A #ComAcmeCoyoteProxy. 961s # * @cancellable: (nullable): A #GCancellable or %NULL. 961s # * @error: Return location for error or %NULL. 961s # * 961s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 961s # * 961s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 961s # * 961s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 961s # */ 961s # gboolean 961s # com_acme_coyote_call_attack_sync ( 961s # ComAcmeCoyote *proxy, 961s # GCancellable *cancellable, 961s # GError **error) 961s # { 961s # GVariant *_ret; 961s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 961s # "Attack", 961s # g_variant_new ("()"), 961s # G_DBUS_CALL_FLAGS_NONE, 961s # -1, 961s # cancellable, 961s # error); 961s # if (_ret == NULL) 961s # goto _out; 961s # g_variant_get (_ret, 961s # "()"); 961s # g_variant_unref (_ret); 961s # _out: 961s # return _ret != NULL; 961s # } 961s # 961s # /** 961s # * com_acme_coyote_complete_run: 961s # * @object: A #ComAcmeCoyote. 961s # * @invocation: (transfer full): A #GDBusMethodInvocation. 961s # * 961s # * Helper function used in service implementations to finish handling invocations of the Run() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 961s # * 961s # * This method will free @invocation, you cannot use it afterwards. 961s # */ 961s # void 961s # com_acme_coyote_complete_run ( 961s # ComAcmeCoyote *object G_GNUC_UNUSED, 961s # GDBusMethodInvocation *invocation) 961s # { 961s # g_dbus_method_invocation_return_value (invocation, 961s # g_variant_new ("()")); 961s # } 961s # 961s # /** 961s # * com_acme_coyote_complete_sleep: 961s # * @object: A #ComAcmeCoyote. 961s # * @invocation: (transfer full): A #GDBusMethodInvocation. 961s # * 961s # * Helper function used in service implementations to finish handling invocations of the Sleep() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 961s # * 961s # * This method will free @invocation, you cannot use it afterwards. 961s # */ 961s # void 961s # com_acme_coyote_complete_sleep ( 961s # ComAcmeCoyote *object G_GNUC_UNUSED, 961s # GDBusMethodInvocation *invocation) 961s # { 961s # g_dbus_method_invocation_return_value (invocation, 961s # g_variant_new ("()")); 961s # } 961s # 961s # /** 961s # * com_acme_coyote_complete_attack: 961s # * @object: A #ComAcmeCoyote. 961s # * @invocation: (transfer full): A #GDBusMethodInvocation. 961s # * 961s # * Helper function used in service implementations to finish handling invocations of the Attack() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 961s # * 961s # * This method will free @invocation, you cannot use it afterwards. 961s # */ 961s # void 961s # com_acme_coyote_complete_attack ( 961s # ComAcmeCoyote *object G_GNUC_UNUSED, 961s # GDBusMethodInvocation *invocation) 961s # { 961s # g_dbus_method_invocation_return_value (invocation, 961s # g_variant_new ("()")); 961s # } 961s # 961s # /* ------------------------------------------------------------------------ */ 961s # 961s # /** 961s # * ComAcmeCoyoteProxy: 961s # * 961s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 961s # */ 961s # 961s # /** 961s # * ComAcmeCoyoteProxyClass: 961s # * @parent_class: The parent class. 961s # * 961s # * Class structure for #ComAcmeCoyoteProxy. 961s # */ 961s # 961s # struct _ComAcmeCoyoteProxyPrivate 961s # { 961s # GData *qdata; 961s # }; 961s # 961s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 961s # 961s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 961s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 961s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 961s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 961s # 961s # #else 961s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 961s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 961s # 961s # #endif 961s # static void 961s # com_acme_coyote_proxy_finalize (GObject *object) 961s # { 961s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 961s # g_datalist_clear (&proxy->priv->qdata); 961s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 961s # } 961s # 961s # static void 961s # com_acme_coyote_proxy_get_property (GObject *object, 961s # guint prop_id, 961s # GValue *value, 961s # GParamSpec *pspec G_GNUC_UNUSED) 961s # { 961s # const _ExtendedGDBusPropertyInfo *info; 961s # GVariant *variant; 961s # g_assert (prop_id != 0 && prop_id - 1 < 1); 961s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 961s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 961s # if (info->use_gvariant) 961s # { 961s # g_value_set_variant (value, variant); 961s # } 961s # else 961s # { 961s # if (variant != NULL) 961s # g_dbus_gvariant_to_gvalue (variant, value); 961s # } 961s # if (variant != NULL) 961s # g_variant_unref (variant); 961s # } 961s # 961s # static void 961s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 961s # GAsyncResult *res, 961s # gpointer user_data) 961s # { 961s # const _ExtendedGDBusPropertyInfo *info = user_data; 961s # GError *error; 961s # GVariant *_ret; 961s # error = NULL; 961s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 961s # if (!_ret) 961s # { 961s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 961s # info->parent_struct.name, 961s # error->message, g_quark_to_string (error->domain), error->code); 961s # g_error_free (error); 961s # } 961s # else 961s # { 961s # g_variant_unref (_ret); 961s # } 961s # } 961s # 961s # static void 961s # com_acme_coyote_proxy_set_property (GObject *object, 961s # guint prop_id, 961s # const GValue *value, 961s # GParamSpec *pspec G_GNUC_UNUSED) 961s # { 961s # const _ExtendedGDBusPropertyInfo *info; 961s # GVariant *variant; 961s # g_assert (prop_id != 0 && prop_id - 1 < 1); 961s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 961s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 961s # g_dbus_proxy_call (G_DBUS_PROXY (object), 961s # "org.freedesktop.DBus.Properties.Set", 961s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 961s # G_DBUS_CALL_FLAGS_NONE, 961s # -1, 961s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 961s # g_variant_unref (variant); 961s # } 961s # 961s # static void 961s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 961s # const gchar *sender_name G_GNUC_UNUSED, 961s # const gchar *signal_name, 961s # GVariant *parameters) 961s # { 961s # _ExtendedGDBusSignalInfo *info; 961s # GVariantIter iter; 961s # GVariant *child; 961s # GValue *paramv; 961s # gsize num_params; 961s # gsize n; 961s # guint signal_id; 961s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 961s # if (info == NULL) 961s # return; 961s # num_params = g_variant_n_children (parameters); 961s # paramv = g_new0 (GValue, num_params + 1); 961s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 961s # g_value_set_object (¶mv[0], proxy); 961s # g_variant_iter_init (&iter, parameters); 961s # n = 1; 961s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 961s # { 961s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 961s # if (arg_info->use_gvariant) 961s # { 961s # g_value_init (¶mv[n], G_TYPE_VARIANT); 961s # g_value_set_variant (¶mv[n], child); 961s # n++; 961s # } 961s # else 961s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 961s # g_variant_unref (child); 961s # } 961s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 961s # g_signal_emitv (paramv, signal_id, 0, NULL); 961s # for (n = 0; n < num_params + 1; n++) 961s # g_value_unset (¶mv[n]); 961s # g_free (paramv); 961s # } 961s # 961s # static void 961s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 961s # GVariant *changed_properties, 961s # const gchar *const *invalidated_properties) 961s # { 961s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 961s # guint n; 961s # const gchar *key; 961s # GVariantIter *iter; 961s # _ExtendedGDBusPropertyInfo *info; 961s # g_variant_get (changed_properties, "a{sv}", &iter); 961s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 961s # { 961s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 961s # g_datalist_remove_data (&proxy->priv->qdata, key); 961s # if (info != NULL) 961s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 961s # } 961s # g_variant_iter_free (iter); 961s # for (n = 0; invalidated_properties[n] != NULL; n++) 961s # { 961s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 961s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 961s # if (info != NULL) 961s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 961s # } 961s # } 961s # 961s # static const gchar * 961s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 961s # { 961s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 961s # GVariant *variant; 961s # const gchar *value = NULL; 961s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 961s # if (variant != NULL) 961s # { 961s # value = g_variant_get_string (variant, NULL); 961s # g_variant_unref (variant); 961s # } 961s # return value; 961s # } 961s # 961s # static void 961s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 961s # { 961s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 961s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 961s # #else 961s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 961s # #endif 961s # 961s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 961s # } 961s # 961s # static void 961s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 961s # { 961s # GObjectClass *gobject_class; 961s # GDBusProxyClass *proxy_class; 961s # 961s # gobject_class = G_OBJECT_CLASS (klass); 961s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 961s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 961s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 961s # 961s # proxy_class = G_DBUS_PROXY_CLASS (klass); 961s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 961s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 961s # 961s # com_acme_coyote_override_properties (gobject_class, 1); 961s # 961s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 961s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 961s # #endif 961s # } 961s # 961s # static void 961s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 961s # { 961s # iface->get_mood = com_acme_coyote_proxy_get_mood; 961s # } 961s # 961s # /** 961s # * com_acme_coyote_proxy_new: 961s # * @connection: A #GDBusConnection. 961s # * @flags: Flags from the #GDBusProxyFlags enumeration. 961s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 961s # * @object_path: An object path. 961s # * @cancellable: (nullable): A #GCancellable or %NULL. 961s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 961s # * @user_data: User data to pass to @callback. 961s # * 961s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 961s # * 961s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 961s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 961s # * 961s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 961s # */ 961s # void 961s # com_acme_coyote_proxy_new ( 961s # GDBusConnection *connection, 961s # GDBusProxyFlags flags, 961s # const gchar *name, 961s # const gchar *object_path, 961s # GCancellable *cancellable, 961s # GAsyncReadyCallback callback, 961s # gpointer user_data) 961s # { 961s # g_async_initable_new_async (TYPE_COM_ACME_COYOTE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "com.acme.Coyote", NULL); 961s # } 961s # 961s # /** 961s # * com_acme_coyote_proxy_new_finish: 961s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 961s # * @error: Return location for error or %NULL 961s # * 961s # * Finishes an operation started with com_acme_coyote_proxy_new(). 961s # * 961s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 961s # */ 961s # ComAcmeCoyote * 961s # com_acme_coyote_proxy_new_finish ( 961s # GAsyncResult *res, 961s # GError **error) 961s # { 961s # GObject *ret; 961s # GObject *source_object; 961s # source_object = g_async_result_get_source_object (res); 961s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 961s # g_object_unref (source_object); 961s # if (ret != NULL) 961s # return COM_ACME_COYOTE (ret); 961s # else 961s # return NULL; 961s # } 961s # 961s # /** 961s # * com_acme_coyote_proxy_new_sync: 961s # * @connection: A #GDBusConnection. 961s # * @flags: Flags from the #GDBusProxyFlags enumeration. 961s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 961s # * @object_path: An object path. 961s # * @cancellable: (nullable): A #GCancellable or %NULL. 961s # * @error: Return location for error or %NULL 961s # * 961s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 961s # * 961s # * The calling thread is blocked until a reply is received. 961s # * 961s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 961s # * 961s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 961s # */ 961s # ComAcmeCoyote * 961s # com_acme_coyote_proxy_new_sync ( 961s # GDBusConnection *connection, 961s # GDBusProxyFlags flags, 961s # const gchar *name, 961s # const gchar *object_path, 961s # GCancellable *cancellable, 961s # GError **error) 961s # { 961s # GInitable *ret; 961s # ret = g_initable_new (TYPE_COM_ACME_COYOTE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "com.acme.Coyote", NULL); 961s # if (ret != NULL) 961s # return COM_ACME_COYOTE (ret); 961s # else 961s # return NULL; 961s # } 961s # 961s # 961s # /** 961s # * com_acme_coyote_proxy_new_for_bus: 961s # * @bus_type: A #GBusType. 961s # * @flags: Flags from the #GDBusProxyFlags enumeration. 961s # * @name: A bus name (well-known or unique). 961s # * @object_path: An object path. 961s # * @cancellable: (nullable): A #GCancellable or %NULL. 961s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 961s # * @user_data: User data to pass to @callback. 961s # * 961s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 961s # * 961s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 961s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 961s # * 961s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 961s # */ 961s # void 961s # com_acme_coyote_proxy_new_for_bus ( 961s # GBusType bus_type, 961s # GDBusProxyFlags flags, 961s # const gchar *name, 961s # const gchar *object_path, 961s # GCancellable *cancellable, 961s # GAsyncReadyCallback callback, 961s # gpointer user_data) 961s # { 961s # g_async_initable_new_async (TYPE_COM_ACME_COYOTE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "com.acme.Coyote", NULL); 961s # } 961s # 961s # /** 961s # * com_acme_coyote_proxy_new_for_bus_finish: 961s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 961s # * @error: Return location for error or %NULL 961s # * 961s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 961s # * 961s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 961s # */ 961s # ComAcmeCoyote * 961s # com_acme_coyote_proxy_new_for_bus_finish ( 961s # GAsyncResult *res, 961s # GError **error) 961s # { 961s # GObject *ret; 961s # GObject *source_object; 961s # source_object = g_async_result_get_source_object (res); 961s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 961s # g_object_unref (source_object); 961s # if (ret != NULL) 961s # return COM_ACME_COYOTE (ret); 961s # else 961s # return NULL; 961s # } 961s # 961s # /** 961s # * com_acme_coyote_proxy_new_for_bus_sync: 961s # * @bus_type: A #GBusType. 961s # * @flags: Flags from the #GDBusProxyFlags enumeration. 961s # * @name: A bus name (well-known or unique). 961s # * @object_path: An object path. 961s # * @cancellable: (nullable): A #GCancellable or %NULL. 961s # * @error: Return location for error or %NULL 961s # * 961s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 961s # * 961s # * The calling thread is blocked until a reply is received. 961s # * 961s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 961s # * 961s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 961s # */ 961s # ComAcmeCoyote * 961s # com_acme_coyote_proxy_new_for_bus_sync ( 961s # GBusType bus_type, 961s # GDBusProxyFlags flags, 961s # const gchar *name, 961s # const gchar *object_path, 961s # GCancellable *cancellable, 961s # GError **error) 961s # { 961s # GInitable *ret; 961s # ret = g_initable_new (TYPE_COM_ACME_COYOTE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "com.acme.Coyote", NULL); 961s # if (ret != NULL) 961s # return COM_ACME_COYOTE (ret); 961s # else 961s # return NULL; 961s # } 961s # 961s # 961s # /* ------------------------------------------------------------------------ */ 961s # 961s # /** 961s # * ComAcmeCoyoteSkeleton: 961s # * 961s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 961s # */ 961s # 961s # /** 961s # * ComAcmeCoyoteSkeletonClass: 961s # * @parent_class: The parent class. 961s # * 961s # * Class structure for #ComAcmeCoyoteSkeleton. 961s # */ 961s # 961s # struct _ComAcmeCoyoteSkeletonPrivate 961s # { 961s # GValue *properties; 961s # GList *changed_properties; 961s # GSource *changed_properties_idle_source; 961s # GMainContext *context; 961s # GMutex lock; 961s # }; 961s # 961s # static void 961s # _com_acme_coyote_skeleton_handle_method_call ( 961s # GDBusConnection *connection G_GNUC_UNUSED, 961s # const gchar *sender G_GNUC_UNUSED, 961s # const gchar *object_path G_GNUC_UNUSED, 961s # const gchar *interface_name, 961s # const gchar *method_name, 961s # GVariant *parameters, 961s # GDBusMethodInvocation *invocation, 961s # gpointer user_data) 961s # { 961s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 961s # _ExtendedGDBusMethodInfo *info; 961s # GVariantIter iter; 961s # GVariant *child; 961s # GValue *paramv; 961s # gsize num_params; 961s # guint num_extra; 961s # gsize n; 961s # guint signal_id; 961s # GValue return_value = G_VALUE_INIT; 961s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 961s # g_assert (info != NULL); 961s # num_params = g_variant_n_children (parameters); 961s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 961s # n = 0; 961s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 961s # g_value_set_object (¶mv[n++], skeleton); 961s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 961s # g_value_set_object (¶mv[n++], invocation); 961s # if (info->pass_fdlist) 961s # { 961s # #ifdef G_OS_UNIX 961s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 961s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 961s # #else 961s # g_assert_not_reached (); 961s # #endif 961s # } 961s # g_variant_iter_init (&iter, parameters); 961s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 961s # { 961s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 961s # if (arg_info->use_gvariant) 961s # { 961s # g_value_init (¶mv[n], G_TYPE_VARIANT); 961s # g_value_set_variant (¶mv[n], child); 961s # n++; 961s # } 961s # else 961s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 961s # g_variant_unref (child); 961s # } 961s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 961s # g_value_init (&return_value, G_TYPE_BOOLEAN); 961s # g_signal_emitv (paramv, signal_id, 0, &return_value); 961s # if (!g_value_get_boolean (&return_value)) 961s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 961s # g_value_unset (&return_value); 961s # for (n = 0; n < num_params + num_extra; n++) 961s # g_value_unset (¶mv[n]); 961s # g_free (paramv); 961s # } 961s # 961s # static GVariant * 961s # _com_acme_coyote_skeleton_handle_get_property ( 961s # GDBusConnection *connection G_GNUC_UNUSED, 961s # const gchar *sender G_GNUC_UNUSED, 961s # const gchar *object_path G_GNUC_UNUSED, 961s # const gchar *interface_name G_GNUC_UNUSED, 961s # const gchar *property_name, 961s # GError **error, 961s # gpointer user_data) 961s # { 961s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 961s # GValue value = G_VALUE_INIT; 961s # GParamSpec *pspec; 961s # _ExtendedGDBusPropertyInfo *info; 961s # GVariant *ret; 961s # ret = NULL; 961s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 961s # g_assert (info != NULL); 961s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 961s # if (pspec == NULL) 961s # { 961s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 961s # } 961s # else 961s # { 961s # g_value_init (&value, pspec->value_type); 961s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 961s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 961s # g_value_unset (&value); 961s # } 961s # return ret; 961s # } 961s # 961s # static gboolean 961s # _com_acme_coyote_skeleton_handle_set_property ( 961s # GDBusConnection *connection G_GNUC_UNUSED, 961s # const gchar *sender G_GNUC_UNUSED, 961s # const gchar *object_path G_GNUC_UNUSED, 961s # const gchar *interface_name G_GNUC_UNUSED, 961s # const gchar *property_name, 961s # GVariant *variant, 961s # GError **error, 961s # gpointer user_data) 961s # { 961s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 961s # GValue value = G_VALUE_INIT; 961s # GParamSpec *pspec; 961s # _ExtendedGDBusPropertyInfo *info; 961s # gboolean ret; 961s # ret = FALSE; 961s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 961s # g_assert (info != NULL); 961s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 961s # if (pspec == NULL) 961s # { 961s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 961s # } 961s # else 961s # { 961s # if (info->use_gvariant) 961s # g_value_set_variant (&value, variant); 961s # else 961s # g_dbus_gvariant_to_gvalue (variant, &value); 961s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 961s # g_value_unset (&value); 961s # ret = TRUE; 961s # } 961s # return ret; 961s # } 961s # 961s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 961s # { 961s # _com_acme_coyote_skeleton_handle_method_call, 961s # _com_acme_coyote_skeleton_handle_get_property, 961s # _com_acme_coyote_skeleton_handle_set_property, 961s # {NULL} 961s # }; 961s # 961s # static GDBusInterfaceInfo * 961s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 961s # { 961s # return com_acme_coyote_interface_info (); 961s # } 961s # 961s # static GDBusInterfaceVTable * 961s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 961s # { 961s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 961s # } 961s # 961s # static GVariant * 961s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 961s # { 961s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 961s # 961s # GVariantBuilder builder; 961s # guint n; 961s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 961s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 961s # goto out; 961s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 961s # { 961s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 961s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 961s # { 961s # GVariant *value; 961s # value = _com_acme_coyote_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", info->name, NULL, skeleton); 961s # if (value != NULL) 961s # { 961s # g_variant_take_ref (value); 961s # g_variant_builder_add (&builder, "{sv}", info->name, value); 961s # g_variant_unref (value); 961s # } 961s # } 961s # } 961s # out: 961s # return g_variant_builder_end (&builder); 961s # } 961s # 961s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 961s # 961s # static void 961s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 961s # { 961s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 961s # gboolean emit_changed = FALSE; 961s # 961s # g_mutex_lock (&skeleton->priv->lock); 961s # if (skeleton->priv->changed_properties_idle_source != NULL) 961s # { 961s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 961s # skeleton->priv->changed_properties_idle_source = NULL; 961s # emit_changed = TRUE; 961s # } 961s # g_mutex_unlock (&skeleton->priv->lock); 961s # 961s # if (emit_changed) 961s # _com_acme_coyote_emit_changed (skeleton); 961s # } 961s # 961s # static void 961s # _com_acme_coyote_on_signal_surprised ( 961s # ComAcmeCoyote *object) 961s # { 961s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 961s # 961s # GList *connections, *l; 961s # GVariant *signal_variant; 961s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 961s # 961s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 961s # for (l = connections; l != NULL; l = l->next) 961s # { 961s # GDBusConnection *connection = l->data; 961s # g_dbus_connection_emit_signal (connection, 961s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 961s # signal_variant, NULL); 961s # } 961s # g_variant_unref (signal_variant); 961s # g_list_free_full (connections, g_object_unref); 961s # } 961s # 961s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 961s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 961s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 961s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 961s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 961s # 961s # #else 961s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 961s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 961s # 961s # #endif 961s # static void 961s # com_acme_coyote_skeleton_finalize (GObject *object) 961s # { 961s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 961s # guint n; 961s # for (n = 0; n < 1; n++) 961s # g_value_unset (&skeleton->priv->properties[n]); 961s # g_free (skeleton->priv->properties); 961s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 961s # if (skeleton->priv->changed_properties_idle_source != NULL) 961s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 961s # g_main_context_unref (skeleton->priv->context); 961s # g_mutex_clear (&skeleton->priv->lock); 961s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 961s # } 961s # 961s # static void 961s # com_acme_coyote_skeleton_get_property (GObject *object, 961s # guint prop_id, 961s # GValue *value, 961s # GParamSpec *pspec G_GNUC_UNUSED) 961s # { 961s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 961s # g_assert (prop_id != 0 && prop_id - 1 < 1); 961s # g_mutex_lock (&skeleton->priv->lock); 961s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 961s # g_mutex_unlock (&skeleton->priv->lock); 961s # } 961s # 961s # static gboolean 961s # _com_acme_coyote_emit_changed (gpointer user_data) 961s # { 961s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 961s # GList *l; 961s # GVariantBuilder builder; 961s # GVariantBuilder invalidated_builder; 961s # guint num_changes; 961s # 961s # g_mutex_lock (&skeleton->priv->lock); 961s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 961s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 961s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 961s # { 961s # ChangedProperty *cp = l->data; 961s # GVariant *variant; 961s # const GValue *cur_value; 961s # 961s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 961s # if (!_g_value_equal (cur_value, &cp->orig_value)) 961s # { 961s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 961s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 961s # g_variant_unref (variant); 961s # num_changes++; 961s # } 961s # } 961s # if (num_changes > 0) 961s # { 961s # GList *connections, *ll; 961s # GVariant *signal_variant; 961s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 961s # &builder, &invalidated_builder)); 961s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 961s # for (ll = connections; ll != NULL; ll = ll->next) 961s # { 961s # GDBusConnection *connection = ll->data; 961s # 961s # g_dbus_connection_emit_signal (connection, 961s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 961s # "org.freedesktop.DBus.Properties", 961s # "PropertiesChanged", 961s # signal_variant, 961s # NULL); 961s # } 961s # g_variant_unref (signal_variant); 961s # g_list_free_full (connections, g_object_unref); 961s # } 961s # else 961s # { 961s # g_variant_builder_clear (&builder); 961s # g_variant_builder_clear (&invalidated_builder); 961s # } 961s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 961s # skeleton->priv->changed_properties = NULL; 961s # skeleton->priv->changed_properties_idle_source = NULL; 961s # g_mutex_unlock (&skeleton->priv->lock); 961s # return FALSE; 961s # } 961s # 961s # static void 961s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 961s # { 961s # ChangedProperty *cp; 961s # GList *l; 961s # cp = NULL; 961s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 961s # { 961s # ChangedProperty *i_cp = l->data; 961s # if (i_cp->info == info) 961s # { 961s # cp = i_cp; 961s # break; 961s # } 961s # } 961s # if (cp == NULL) 961s # { 961s # cp = g_new0 (ChangedProperty, 1); 961s # cp->prop_id = prop_id; 961s # cp->info = info; 961s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 961s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 961s # g_value_copy (orig_value, &cp->orig_value); 961s # } 961s # } 961s # 961s # static void 961s # com_acme_coyote_skeleton_notify (GObject *object, 961s # GParamSpec *pspec G_GNUC_UNUSED) 961s # { 961s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 961s # g_mutex_lock (&skeleton->priv->lock); 961s # if (skeleton->priv->changed_properties != NULL && 961s # skeleton->priv->changed_properties_idle_source == NULL) 961s # { 961s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 961s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 961s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 961s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 961s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 961s # g_source_unref (skeleton->priv->changed_properties_idle_source); 961s # } 961s # g_mutex_unlock (&skeleton->priv->lock); 961s # } 961s # 961s # static void 961s # com_acme_coyote_skeleton_set_property (GObject *object, 961s # guint prop_id, 961s # const GValue *value, 961s # GParamSpec *pspec) 961s # { 961s # const _ExtendedGDBusPropertyInfo *info; 961s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 961s # g_assert (prop_id != 0 && prop_id - 1 < 1); 961s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 961s # g_mutex_lock (&skeleton->priv->lock); 961s # g_object_freeze_notify (object); 961s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 961s # { 961s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 961s # info->emits_changed_signal) 961s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 961s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 961s # g_object_notify_by_pspec (object, pspec); 961s # } 961s # g_mutex_unlock (&skeleton->priv->lock); 961s # g_object_thaw_notify (object); 961s # } 961s # 961s # static void 961s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 961s # { 961s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 961s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 961s # #else 961s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 961s # #endif 961s # 961s # g_mutex_init (&skeleton->priv->lock); 961s # skeleton->priv->context = g_main_context_ref_thread_default (); 961s # skeleton->priv->properties = g_new0 (GValue, 1); 961s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 961s # } 961s # 961s # static const gchar * 961s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 961s # { 961s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 961s # const gchar *value; 961s # g_mutex_lock (&skeleton->priv->lock); 961s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 961s # g_mutex_unlock (&skeleton->priv->lock); 961s # return value; 961s # } 961s # 961s # static void 961s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 961s # { 961s # GObjectClass *gobject_class; 961s # GDBusInterfaceSkeletonClass *skeleton_class; 961s # 961s # gobject_class = G_OBJECT_CLASS (klass); 961s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 961s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 961s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 961s # gobject_class->notify = com_acme_coyote_skeleton_notify; 961s # 961s # 961s # com_acme_coyote_override_properties (gobject_class, 1); 961s # 961s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 961s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 961s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 961s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 961s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 961s # 961s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 961s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 961s # #endif 961s # } 961s # 961s # static void 961s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 961s # { 961s # iface->surprised = _com_acme_coyote_on_signal_surprised; 961s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 961s # } 961s # 961s # /** 961s # * com_acme_coyote_skeleton_new: 961s # * 961s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 961s # * 961s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 961s # */ 961s # ComAcmeCoyote * 961s # com_acme_coyote_skeleton_new (void) 961s # { 961s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 961s # } 961s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphqnbgn6r/tmpydw6ql372.xml', '/tmp/tmphqnbgn6r/tmpyxpmxf7s1.xml', '--output', '-', '--body'] 961s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 961s # Output: /* 961s # * This file is generated by gdbus-codegen, do not modify it. 961s # * 961s # * The license of this code is the same as for the D-Bus interface description 961s # * it was derived from. Note that it links to GLib, so must comply with the 961s # * LGPL linking clauses. 961s # */ 961s # 961s # #ifdef HAVE_CONFIG_H 961s # # include "config.h" 961s # #endif 961s # 961s # #include 961s # #ifdef G_OS_UNIX 961s # # include 961s # #endif 961s # 961s # #ifdef G_ENABLE_DEBUG 961s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 961s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 961s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 961s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 961s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 961s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 961s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 961s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 961s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 961s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 961s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 961s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 961s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 961s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 961s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 961s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 961s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 961s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 961s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 961s # #else /* !G_ENABLE_DEBUG */ 961s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 961s # * Do not access GValues directly in your code. Instead, use the 961s # * g_value_get_*() functions 961s # */ 961s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 961s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 961s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 961s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 961s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 961s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 961s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 961s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 961s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 961s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 961s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 961s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 961s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 961s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 961s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 961s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 961s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 961s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 961s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 961s # #endif /* !G_ENABLE_DEBUG */ 961s # 961s # typedef struct 961s # { 961s # GDBusArgInfo parent_struct; 961s # gboolean use_gvariant; 961s # } _ExtendedGDBusArgInfo; 961s # 961s # typedef struct 961s # { 961s # GDBusMethodInfo parent_struct; 961s # const gchar *signal_name; 961s # gboolean pass_fdlist; 961s # } _ExtendedGDBusMethodInfo; 961s # 961s # typedef struct 961s # { 961s # GDBusSignalInfo parent_struct; 961s # const gchar *signal_name; 961s # } _ExtendedGDBusSignalInfo; 961s # 961s # typedef struct 961s # { 961s # GDBusPropertyInfo parent_struct; 961s # const gchar *hyphen_name; 961s # guint use_gvariant : 1; 961s # guint emits_changed_signal : 1; 961s # } _ExtendedGDBusPropertyInfo; 961s # 961s # typedef struct 961s # { 961s # GDBusInterfaceInfo parent_struct; 961s # const gchar *hyphen_name; 961s # } _ExtendedGDBusInterfaceInfo; 961s # 961s # typedef struct 961s # { 961s # const _ExtendedGDBusPropertyInfo *info; 961s # guint prop_id; 961s # GValue orig_value; /* the value before the change */ 961s # } ChangedProperty; 961s # 961s # static void 961s # _changed_property_free (ChangedProperty *data) 961s # { 961s # g_value_unset (&data->orig_value); 961s # g_free (data); 961s # } 961s # 961s # static gboolean 961s # _g_strv_equal0 (gchar **a, gchar **b) 961s # { 961s # gboolean ret = FALSE; 961s # guint n; 961s # if (a == NULL && b == NULL) 961s # { 961s # ret = TRUE; 961s # goto out; 961s # } 961s # if (a == NULL || b == NULL) 961s # goto out; 961s # if (g_strv_length (a) != g_strv_length (b)) 961s # goto out; 961s # for (n = 0; a[n] != NULL; n++) 961s # if (g_strcmp0 (a[n], b[n]) != 0) 961s # goto out; 961s # ret = TRUE; 961s # out: 961s # return ret; 961s # } 961s # 961s # static gboolean 961s # _g_variant_equal0 (GVariant *a, GVariant *b) 961s # { 961s # gboolean ret = FALSE; 961s # if (a == NULL && b == NULL) 961s # { 961s # ret = TRUE; 961s # goto out; 961s # } 961s # if (a == NULL || b == NULL) 961s # goto out; 961s # ret = g_variant_equal (a, b); 961s # out: 961s # return ret; 961s # } 961s # 961s # G_GNUC_UNUSED static gboolean 961s # _g_value_equal (const GValue *a, const GValue *b) 961s # { 961s # gboolean ret = FALSE; 961s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 961s # switch (G_VALUE_TYPE (a)) 961s # { 961s # case G_TYPE_BOOLEAN: 961s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 961s # break; 961s # case G_TYPE_UCHAR: 961s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 961s # break; 961s # case G_TYPE_INT: 961s # ret = (g_value_get_int (a) == g_value_get_int (b)); 961s # break; 961s # case G_TYPE_UINT: 961s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 961s # break; 961s # case G_TYPE_INT64: 961s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 961s # break; 961s # case G_TYPE_UINT64: 961s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 961s # break; 961s # case G_TYPE_DOUBLE: 961s # { 961s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 961s # gdouble da = g_value_get_double (a); 961s # gdouble db = g_value_get_double (b); 961s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 961s # } 961s # break; 961s # case G_TYPE_STRING: 961s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 961s # break; 961s # case G_TYPE_VARIANT: 961s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 961s # break; 961s # default: 961s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 961s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 961s # else 961s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 961s # break; 961s # } 961s # return ret; 961s # } 961s # 961s # static void 961s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 961s # GClosure *closure, 961s # GValue *return_value, 961s # unsigned int n_param_values, 961s # const GValue *param_values, 961s # void *invocation_hint G_GNUC_UNUSED, 961s # void *marshal_data) 961s # { 961s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 961s # (void *data1, 961s # GDBusMethodInvocation *arg_method_invocation, 961s # void *data2); 961s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 961s # GCClosure *cc = (GCClosure*) closure; 961s # void *data1, *data2; 961s # gboolean v_return; 961s # 961s # g_return_if_fail (return_value != NULL); 961s # g_return_if_fail (n_param_values == 2); 961s # 961s # if (G_CCLOSURE_SWAP_DATA (closure)) 961s # { 961s # data1 = closure->data; 961s # data2 = g_value_peek_pointer (param_values + 0); 961s # } 961s # else 961s # { 961s # data1 = g_value_peek_pointer (param_values + 0); 961s # data2 = closure->data; 961s # } 961s # 961s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 961s # (marshal_data ? marshal_data : cc->callback); 961s # 961s # v_return = 961s # callback (data1, 961s # g_marshal_value_peek_object (param_values + 1), 961s # data2); 961s # 961s # g_value_set_boolean (return_value, v_return); 961s # } 961s # 961s # /* ------------------------------------------------------------------------ 961s # * Code for interface org.project.Bar.Frobnicator 961s # * ------------------------------------------------------------------------ 961s # */ 961s # 961s # /** 961s # * SECTION:OrgProjectBarFrobnicator 961s # * @title: OrgProjectBarFrobnicator 961s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 961s # * 961s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 961s # */ 961s # 961s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 961s # 961s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 961s # { 961s # { 961s # -1, 961s # (gchar *) "RandomMethod", 961s # NULL, 961s # NULL, 961s # NULL 961s # }, 961s # "handle-random-method", 961s # FALSE 961s # }; 961s # 961s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 961s # { 961s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 961s # NULL 961s # }; 961s # 961s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 961s # { 961s # { 961s # -1, 961s # (gchar *) "org.project.Bar.Frobnicator", 961s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 961s # NULL, 961s # NULL, 961s # NULL 961s # }, 961s # "org-project-bar-frobnicator", 961s # }; 961s # 961s # 961s # /** 961s # * org_project_bar_frobnicator_interface_info: 961s # * 961s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 961s # * 961s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 961s # */ 961s # GDBusInterfaceInfo * 961s # org_project_bar_frobnicator_interface_info (void) 961s # { 961s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 961s # } 961s # 961s # /** 961s # * org_project_bar_frobnicator_override_properties: 961s # * @klass: The class structure for a #GObject derived class. 961s # * @property_id_begin: The property id to assign to the first overridden property. 961s # * 961s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 961s # * The properties are overridden in the order they are defined. 961s # * 961s # * Returns: The last property id. 961s # */ 961s # guint 961s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 961s # { 961s # return property_id_begin - 1; 961s # } 961s # 961s # 961s # inline static void 961s # org_project_bar_frobnicator_method_marshal_random_method ( 961s # GClosure *closure, 961s # GValue *return_value, 961s # unsigned int n_param_values, 961s # const GValue *param_values, 961s # void *invocation_hint, 961s # void *marshal_data) 961s # { 961s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 961s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 961s # } 961s # 961s # 961s # /** 961s # * OrgProjectBarFrobnicator: 961s # * 961s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 961s # */ 961s # 961s # /** 961s # * OrgProjectBarFrobnicatorIface: 961s # * @parent_iface: The parent interface. 961s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 961s # * 961s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 961s # */ 961s # 961s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 961s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 961s # 961s # static void 961s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 961s # { 961s # /* GObject signals for incoming D-Bus method calls: */ 961s # /** 961s # * OrgProjectBarFrobnicator::handle-random-method: 961s # * @object: A #OrgProjectBarFrobnicator. 961s # * @invocation: A #GDBusMethodInvocation. 961s # * 961s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 961s # * 961s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_bar_frobnicator_complete_random_method() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 961s # * 961s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 961s # */ 961s # g_signal_new ("handle-random-method", 961s # G_TYPE_FROM_INTERFACE (iface), 961s # G_SIGNAL_RUN_LAST, 961s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 961s # g_signal_accumulator_true_handled, 961s # NULL, 961s # org_project_bar_frobnicator_method_marshal_random_method, 961s # G_TYPE_BOOLEAN, 961s # 1, 961s # G_TYPE_DBUS_METHOD_INVOCATION); 961s # 961s # } 961s # 961s # /** 961s # * org_project_bar_frobnicator_call_random_method: 961s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 961s # * @cancellable: (nullable): A #GCancellable or %NULL. 961s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 961s # * @user_data: User data to pass to @callback. 961s # * 961s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 961s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 961s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 961s # * 961s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 961s # */ 961s # void 961s # org_project_bar_frobnicator_call_random_method ( 961s # OrgProjectBarFrobnicator *proxy, 961s # GCancellable *cancellable, 961s # GAsyncReadyCallback callback, 961s # gpointer user_data) 961s # { 961s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 961s # "RandomMethod", 961s # g_variant_new ("()"), 961s # G_DBUS_CALL_FLAGS_NONE, 961s # -1, 961s # cancellable, 961s # callback, 961s # user_data); 961s # } 961s # 961s # /** 961s # * org_project_bar_frobnicator_call_random_method_finish: 961s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 961s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 961s # * @error: Return location for error or %NULL. 961s # * 961s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 961s # * 961s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 961s # */ 961s # gboolean 961s # org_project_bar_frobnicator_call_random_method_finish ( 961s # OrgProjectBarFrobnicator *proxy, 961s # GAsyncResult *res, 961s # GError **error) 961s # { 961s # GVariant *_ret; 961s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 961s # if (_ret == NULL) 961s # goto _out; 961s # g_variant_get (_ret, 961s # "()"); 961s # g_variant_unref (_ret); 961s # _out: 961s # return _ret != NULL; 961s # } 961s # 961s # /** 961s # * org_project_bar_frobnicator_call_random_method_sync: 961s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 961s # * @cancellable: (nullable): A #GCancellable or %NULL. 961s # * @error: Return location for error or %NULL. 961s # * 961s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 961s # * 961s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 961s # * 961s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 961s # */ 961s # gboolean 961s # org_project_bar_frobnicator_call_random_method_sync ( 961s # OrgProjectBarFrobnicator *proxy, 961s # GCancellable *cancellable, 961s # GError **error) 961s # { 961s # GVariant *_ret; 961s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 961s # "RandomMethod", 961s # g_variant_new ("()"), 961s # G_DBUS_CALL_FLAGS_NONE, 961s # -1, 961s # cancellable, 961s # error); 961s # if (_ret == NULL) 961s # goto _out; 961s # g_variant_get (_ret, 961s # "()"); 961s # g_variant_unref (_ret); 961s # _out: 961s # return _ret != NULL; 961s # } 961s # 961s # /** 961s # * org_project_bar_frobnicator_complete_random_method: 961s # * @object: A #OrgProjectBarFrobnicator. 961s # * @invocation: (transfer full): A #GDBusMethodInvocation. 961s # * 961s # * Helper function used in service implementations to finish handling invocations of the RandomMethod() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 961s # * 961s # * This method will free @invocation, you cannot use it afterwards. 961s # */ 961s # void 961s # org_project_bar_frobnicator_complete_random_method ( 961s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 961s # GDBusMethodInvocation *invocation) 961s # { 961s # g_dbus_method_invocation_return_value (invocation, 961s # g_variant_new ("()")); 961s # } 961s # 961s # /* ------------------------------------------------------------------------ */ 961s # 961s # /** 961s # * OrgProjectBarFrobnicatorProxy: 961s # * 961s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 961s # */ 961s # 961s # /** 961s # * OrgProjectBarFrobnicatorProxyClass: 961s # * @parent_class: The parent class. 961s # * 961s # * Class structure for #OrgProjectBarFrobnicatorProxy. 961s # */ 961s # 961s # struct _OrgProjectBarFrobnicatorProxyPrivate 961s # { 961s # GData *qdata; 961s # }; 961s # 961s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 961s # 961s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 961s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 961s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 961s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 961s # 961s # #else 961s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 961s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 961s # 961s # #endif 961s # static void 961s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 961s # { 961s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 961s # g_datalist_clear (&proxy->priv->qdata); 961s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 961s # } 961s # 961s # static void 961s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 961s # guint prop_id G_GNUC_UNUSED, 961s # GValue *value G_GNUC_UNUSED, 961s # GParamSpec *pspec G_GNUC_UNUSED) 961s # { 961s # } 961s # 961s # static void 961s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 961s # guint prop_id G_GNUC_UNUSED, 961s # const GValue *value G_GNUC_UNUSED, 961s # GParamSpec *pspec G_GNUC_UNUSED) 961s # { 961s # } 961s # 961s # static void 961s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 961s # const gchar *sender_name G_GNUC_UNUSED, 961s # const gchar *signal_name, 961s # GVariant *parameters) 961s # { 961s # _ExtendedGDBusSignalInfo *info; 961s # GVariantIter iter; 961s # GVariant *child; 961s # GValue *paramv; 961s # gsize num_params; 961s # gsize n; 961s # guint signal_id; 961s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 961s # if (info == NULL) 961s # return; 961s # num_params = g_variant_n_children (parameters); 961s # paramv = g_new0 (GValue, num_params + 1); 961s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 961s # g_value_set_object (¶mv[0], proxy); 961s # g_variant_iter_init (&iter, parameters); 961s # n = 1; 961s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 961s # { 961s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 961s # if (arg_info->use_gvariant) 961s # { 961s # g_value_init (¶mv[n], G_TYPE_VARIANT); 961s # g_value_set_variant (¶mv[n], child); 961s # n++; 961s # } 961s # else 961s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 961s # g_variant_unref (child); 961s # } 961s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 961s # g_signal_emitv (paramv, signal_id, 0, NULL); 961s # for (n = 0; n < num_params + 1; n++) 961s # g_value_unset (¶mv[n]); 961s # g_free (paramv); 961s # } 961s # 961s # static void 961s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 961s # GVariant *changed_properties, 961s # const gchar *const *invalidated_properties) 961s # { 961s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 961s # guint n; 961s # const gchar *key; 961s # GVariantIter *iter; 961s # _ExtendedGDBusPropertyInfo *info; 961s # g_variant_get (changed_properties, "a{sv}", &iter); 961s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 961s # { 961s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 961s # g_datalist_remove_data (&proxy->priv->qdata, key); 961s # if (info != NULL) 961s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 961s # } 961s # g_variant_iter_free (iter); 961s # for (n = 0; invalidated_properties[n] != NULL; n++) 961s # { 961s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 961s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 961s # if (info != NULL) 961s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 961s # } 961s # } 961s # 961s # static void 961s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 961s # { 961s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 961s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 961s # #else 961s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 961s # #endif 961s # 961s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 961s # } 961s # 961s # static void 961s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 961s # { 961s # GObjectClass *gobject_class; 961s # GDBusProxyClass *proxy_class; 961s # 961s # gobject_class = G_OBJECT_CLASS (klass); 961s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 961s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 961s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 961s # 961s # proxy_class = G_DBUS_PROXY_CLASS (klass); 961s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 961s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 961s # 961s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 961s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 961s # #endif 961s # } 961s # 961s # static void 961s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 961s # { 961s # } 961s # 961s # /** 961s # * org_project_bar_frobnicator_proxy_new: 961s # * @connection: A #GDBusConnection. 961s # * @flags: Flags from the #GDBusProxyFlags enumeration. 961s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 961s # * @object_path: An object path. 961s # * @cancellable: (nullable): A #GCancellable or %NULL. 961s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 961s # * @user_data: User data to pass to @callback. 961s # * 961s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 961s # * 961s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 961s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 961s # * 961s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 961s # */ 961s # void 961s # org_project_bar_frobnicator_proxy_new ( 961s # GDBusConnection *connection, 961s # GDBusProxyFlags flags, 961s # const gchar *name, 961s # const gchar *object_path, 961s # GCancellable *cancellable, 961s # GAsyncReadyCallback callback, 961s # gpointer user_data) 961s # { 961s # g_async_initable_new_async (TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.Bar.Frobnicator", NULL); 961s # } 961s # 961s # /** 961s # * org_project_bar_frobnicator_proxy_new_finish: 961s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 961s # * @error: Return location for error or %NULL 961s # * 961s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 961s # * 961s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 961s # */ 961s # OrgProjectBarFrobnicator * 961s # org_project_bar_frobnicator_proxy_new_finish ( 961s # GAsyncResult *res, 961s # GError **error) 961s # { 961s # GObject *ret; 961s # GObject *source_object; 961s # source_object = g_async_result_get_source_object (res); 961s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 961s # g_object_unref (source_object); 961s # if (ret != NULL) 961s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 961s # else 961s # return NULL; 961s # } 961s # 961s # /** 961s # * org_project_bar_frobnicator_proxy_new_sync: 961s # * @connection: A #GDBusConnection. 961s # * @flags: Flags from the #GDBusProxyFlags enumeration. 961s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 961s # * @object_path: An object path. 961s # * @cancellable: (nullable): A #GCancellable or %NULL. 961s # * @error: Return location for error or %NULL 961s # * 961s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 961s # * 961s # * The calling thread is blocked until a reply is received. 961s # * 961s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 961s # * 961s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 961s # */ 961s # OrgProjectBarFrobnicator * 961s # org_project_bar_frobnicator_proxy_new_sync ( 961s # GDBusConnection *connection, 961s # GDBusProxyFlags flags, 961s # const gchar *name, 961s # const gchar *object_path, 961s # GCancellable *cancellable, 961s # GError **error) 961s # { 961s # GInitable *ret; 961s # ret = g_initable_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.Bar.Frobnicator", NULL); 961s # if (ret != NULL) 961s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 961s # else 961s # return NULL; 961s # } 961s # 961s # 961s # /** 961s # * org_project_bar_frobnicator_proxy_new_for_bus: 961s # * @bus_type: A #GBusType. 961s # * @flags: Flags from the #GDBusProxyFlags enumeration. 961s # * @name: A bus name (well-known or unique). 961s # * @object_path: An object path. 961s # * @cancellable: (nullable): A #GCancellable or %NULL. 961s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 961s # * @user_data: User data to pass to @callback. 961s # * 961s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 961s # * 961s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 961s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 961s # * 961s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 961s # */ 961s # void 961s # org_project_bar_frobnicator_proxy_new_for_bus ( 961s # GBusType bus_type, 961s # GDBusProxyFlags flags, 961s # const gchar *name, 961s # const gchar *object_path, 961s # GCancellable *cancellable, 961s # GAsyncReadyCallback callback, 961s # gpointer user_data) 961s # { 961s # g_async_initable_new_async (TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.Bar.Frobnicator", NULL); 961s # } 961s # 961s # /** 961s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 961s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 961s # * @error: Return location for error or %NULL 961s # * 961s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 961s # * 961s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 961s # */ 961s # OrgProjectBarFrobnicator * 961s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 961s # GAsyncResult *res, 961s # GError **error) 961s # { 961s # GObject *ret; 961s # GObject *source_object; 961s # source_object = g_async_result_get_source_object (res); 961s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 961s # g_object_unref (source_object); 961s # if (ret != NULL) 961s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 961s # else 961s # return NULL; 961s # } 961s # 961s # /** 961s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 961s # * @bus_type: A #GBusType. 961s # * @flags: Flags from the #GDBusProxyFlags enumeration. 961s # * @name: A bus name (well-known or unique). 961s # * @object_path: An object path. 961s # * @cancellable: (nullable): A #GCancellable or %NULL. 961s # * @error: Return location for error or %NULL 961s # * 961s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 961s # * 961s # * The calling thread is blocked until a reply is received. 961s # * 961s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 961s # * 961s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 961s # */ 961s # OrgProjectBarFrobnicator * 961s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 961s # GBusType bus_type, 961s # GDBusProxyFlags flags, 961s # const gchar *name, 961s # const gchar *object_path, 961s # GCancellable *cancellable, 961s # GError **error) 961s # { 961s # GInitable *ret; 961s # ret = g_initable_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.Bar.Frobnicator", NULL); 961s # if (ret != NULL) 961s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 961s # else 961s # return NULL; 961s # } 961s # 961s # 961s # /* ------------------------------------------------------------------------ */ 961s # 961s # /** 961s # * OrgProjectBarFrobnicatorSkeleton: 961s # * 961s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 961s # */ 961s # 961s # /** 961s # * OrgProjectBarFrobnicatorSkeletonClass: 961s # * @parent_class: The parent class. 961s # * 961s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 961s # */ 961s # 961s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 961s # { 961s # GValue *properties; 961s # GList *changed_properties; 961s # GSource *changed_properties_idle_source; 961s # GMainContext *context; 961s # GMutex lock; 961s # }; 961s # 961s # static void 961s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 961s # GDBusConnection *connection G_GNUC_UNUSED, 961s # const gchar *sender G_GNUC_UNUSED, 961s # const gchar *object_path G_GNUC_UNUSED, 961s # const gchar *interface_name, 961s # const gchar *method_name, 961s # GVariant *parameters, 961s # GDBusMethodInvocation *invocation, 961s # gpointer user_data) 961s # { 961s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 961s # _ExtendedGDBusMethodInfo *info; 961s # GVariantIter iter; 961s # GVariant *child; 961s # GValue *paramv; 961s # gsize num_params; 961s # guint num_extra; 961s # gsize n; 961s # guint signal_id; 961s # GValue return_value = G_VALUE_INIT; 961s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 961s # g_assert (info != NULL); 961s # num_params = g_variant_n_children (parameters); 961s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 961s # n = 0; 961s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 961s # g_value_set_object (¶mv[n++], skeleton); 961s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 961s # g_value_set_object (¶mv[n++], invocation); 961s # if (info->pass_fdlist) 961s # { 961s # #ifdef G_OS_UNIX 961s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 961s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 961s # #else 961s # g_assert_not_reached (); 961s # #endif 961s # } 961s # g_variant_iter_init (&iter, parameters); 961s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 961s # { 961s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 961s # if (arg_info->use_gvariant) 961s # { 961s # g_value_init (¶mv[n], G_TYPE_VARIANT); 961s # g_value_set_variant (¶mv[n], child); 961s # n++; 961s # } 961s # else 961s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 961s # g_variant_unref (child); 961s # } 961s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 961s # g_value_init (&return_value, G_TYPE_BOOLEAN); 961s # g_signal_emitv (paramv, signal_id, 0, &return_value); 961s # if (!g_value_get_boolean (&return_value)) 961s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 961s # g_value_unset (&return_value); 961s # for (n = 0; n < num_params + num_extra; n++) 961s # g_value_unset (¶mv[n]); 961s # g_free (paramv); 961s # } 961s # 961s # static GVariant * 961s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 961s # GDBusConnection *connection G_GNUC_UNUSED, 961s # const gchar *sender G_GNUC_UNUSED, 961s # const gchar *object_path G_GNUC_UNUSED, 961s # const gchar *interface_name G_GNUC_UNUSED, 961s # const gchar *property_name, 961s # GError **error, 961s # gpointer user_data) 961s # { 961s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 961s # GValue value = G_VALUE_INIT; 961s # GParamSpec *pspec; 961s # _ExtendedGDBusPropertyInfo *info; 961s # GVariant *ret; 961s # ret = NULL; 961s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 961s # g_assert (info != NULL); 961s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 961s # if (pspec == NULL) 961s # { 961s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 961s # } 961s # else 961s # { 961s # g_value_init (&value, pspec->value_type); 961s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 961s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 961s # g_value_unset (&value); 961s # } 961s # return ret; 961s # } 961s # 961s # static gboolean 961s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 961s # GDBusConnection *connection G_GNUC_UNUSED, 961s # const gchar *sender G_GNUC_UNUSED, 961s # const gchar *object_path G_GNUC_UNUSED, 961s # const gchar *interface_name G_GNUC_UNUSED, 961s # const gchar *property_name, 961s # GVariant *variant, 961s # GError **error, 961s # gpointer user_data) 961s # { 961s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 961s # GValue value = G_VALUE_INIT; 961s # GParamSpec *pspec; 961s # _ExtendedGDBusPropertyInfo *info; 961s # gboolean ret; 961s # ret = FALSE; 961s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 961s # g_assert (info != NULL); 961s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 961s # if (pspec == NULL) 961s # { 961s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 961s # } 961s # else 961s # { 961s # if (info->use_gvariant) 961s # g_value_set_variant (&value, variant); 961s # else 961s # g_dbus_gvariant_to_gvalue (variant, &value); 961s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 961s # g_value_unset (&value); 961s # ret = TRUE; 961s # } 961s # return ret; 961s # } 961s # 961s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 961s # { 961s # _org_project_bar_frobnicator_skeleton_handle_method_call, 961s # _org_project_bar_frobnicator_skeleton_handle_get_property, 961s # _org_project_bar_frobnicator_skeleton_handle_set_property, 961s # {NULL} 961s # }; 961s # 961s # static GDBusInterfaceInfo * 961s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 961s # { 961s # return org_project_bar_frobnicator_interface_info (); 961s # } 961s # 961s # static GDBusInterfaceVTable * 961s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 961s # { 961s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 961s # } 961s # 961s # static GVariant * 961s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 961s # { 961s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 961s # 961s # GVariantBuilder builder; 961s # guint n; 961s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 961s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 961s # goto out; 961s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 961s # { 961s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 961s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 961s # { 961s # GVariant *value; 961s # value = _org_project_bar_frobnicator_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.Bar.Frobnicator", info->name, NULL, skeleton); 961s # if (value != NULL) 961s # { 961s # g_variant_take_ref (value); 961s # g_variant_builder_add (&builder, "{sv}", info->name, value); 961s # g_variant_unref (value); 961s # } 961s # } 961s # } 961s # out: 961s # return g_variant_builder_end (&builder); 961s # } 961s # 961s # static void 961s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 961s # { 961s # } 961s # 961s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 961s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 961s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 961s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 961s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 961s # 961s # #else 961s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 961s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 961s # 961s # #endif 961s # static void 961s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 961s # { 961s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 961s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 961s # if (skeleton->priv->changed_properties_idle_source != NULL) 961s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 961s # g_main_context_unref (skeleton->priv->context); 961s # g_mutex_clear (&skeleton->priv->lock); 961s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 961s # } 961s # 961s # static void 961s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 961s # { 961s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 961s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 961s # #else 961s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 961s # #endif 961s # 961s # g_mutex_init (&skeleton->priv->lock); 961s # skeleton->priv->context = g_main_context_ref_thread_default (); 961s # } 961s # 961s # static void 961s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 961s # { 961s # GObjectClass *gobject_class; 961s # GDBusInterfaceSkeletonClass *skeleton_class; 961s # 961s # gobject_class = G_OBJECT_CLASS (klass); 961s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 961s # 961s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 961s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 961s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 961s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 961s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 961s # 961s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 961s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 961s # #endif 961s # } 961s # 961s # static void 961s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 961s # { 961s # } 961s # 961s # /** 961s # * org_project_bar_frobnicator_skeleton_new: 961s # * 961s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 961s # * 961s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 961s # */ 961s # OrgProjectBarFrobnicator * 961s # org_project_bar_frobnicator_skeleton_new (void) 961s # { 961s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 961s # } 961s # 961s # /* ------------------------------------------------------------------------ 961s # * Code for interface com.acme.Coyote 961s # * ------------------------------------------------------------------------ 961s # */ 961s # 961s # /** 961s # * SECTION:ComAcmeCoyote 961s # * @title: ComAcmeCoyote 961s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 961s # * 961s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 961s # */ 961s # 961s # enum 961s # { 961s # _COM_ACME_COYOTE_SURPRISED, 961s # }; 961s # 961s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 961s # 961s # /* ---- Introspection data for com.acme.Coyote ---- */ 961s # 961s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 961s # { 961s # { 961s # -1, 961s # (gchar *) "Run", 961s # NULL, 961s # NULL, 961s # NULL 961s # }, 961s # "handle-run", 961s # FALSE 961s # }; 961s # 961s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 961s # { 961s # { 961s # -1, 961s # (gchar *) "Sleep", 961s # NULL, 961s # NULL, 961s # NULL 961s # }, 961s # "handle-sleep", 961s # FALSE 961s # }; 961s # 961s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 961s # { 961s # { 961s # -1, 961s # (gchar *) "Attack", 961s # NULL, 961s # NULL, 961s # NULL 961s # }, 961s # "handle-attack", 961s # FALSE 961s # }; 961s # 961s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 961s # { 961s # &_com_acme_coyote_method_info_run.parent_struct, 961s # &_com_acme_coyote_method_info_sleep.parent_struct, 961s # &_com_acme_coyote_method_info_attack.parent_struct, 961s # NULL 961s # }; 961s # 961s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 961s # { 961s # { 961s # -1, 961s # (gchar *) "Surprised", 961s # NULL, 961s # NULL 961s # }, 961s # "surprised" 961s # }; 961s # 961s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 961s # { 961s # &_com_acme_coyote_signal_info_surprised.parent_struct, 961s # NULL 961s # }; 961s # 961s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 961s # { 961s # { 961s # -1, 961s # (gchar *) "Mood", 961s # (gchar *) "s", 961s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 961s # NULL 961s # }, 961s # "mood", 961s # FALSE, 961s # TRUE 961s # }; 961s # 961s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 961s # { 961s # &_com_acme_coyote_property_info_mood.parent_struct, 961s # NULL 961s # }; 961s # 961s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 961s # { 961s # { 961s # -1, 961s # (gchar *) "com.acme.Coyote", 961s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 961s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 961s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 961s # NULL 961s # }, 961s # "com-acme-coyote", 961s # }; 961s # 961s # 961s # /** 961s # * com_acme_coyote_interface_info: 961s # * 961s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 961s # * 961s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 961s # */ 961s # GDBusInterfaceInfo * 961s # com_acme_coyote_interface_info (void) 961s # { 961s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 961s # } 961s # 961s # /** 961s # * com_acme_coyote_override_properties: 961s # * @klass: The class structure for a #GObject derived class. 961s # * @property_id_begin: The property id to assign to the first overridden property. 961s # * 961s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 961s # * The properties are overridden in the order they are defined. 961s # * 961s # * Returns: The last property id. 961s # */ 961s # guint 961s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 961s # { 961s # g_object_class_override_property (klass, property_id_begin++, "mood"); 961s # return property_id_begin - 1; 961s # } 961s # 961s # 961s # inline static void 961s # com_acme_coyote_signal_marshal_surprised ( 961s # GClosure *closure, 961s # GValue *return_value, 961s # unsigned int n_param_values, 961s # const GValue *param_values, 961s # void *invocation_hint, 961s # void *marshal_data) 961s # { 961s # g_cclosure_marshal_VOID__VOID (closure, 961s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 961s # } 961s # 961s # inline static void 961s # com_acme_coyote_method_marshal_run ( 961s # GClosure *closure, 961s # GValue *return_value, 961s # unsigned int n_param_values, 961s # const GValue *param_values, 961s # void *invocation_hint, 961s # void *marshal_data) 961s # { 961s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 961s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 961s # } 961s # 961s # inline static void 961s # com_acme_coyote_method_marshal_sleep ( 961s # GClosure *closure, 961s # GValue *return_value, 961s # unsigned int n_param_values, 961s # const GValue *param_values, 961s # void *invocation_hint, 961s # void *marshal_data) 961s # { 961s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 961s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 961s # } 961s # 961s # inline static void 961s # com_acme_coyote_method_marshal_attack ( 961s # GClosure *closure, 961s # GValue *return_value, 961s # unsigned int n_param_values, 961s # const GValue *param_values, 961s # void *invocation_hint, 961s # void *marshal_data) 961s # { 961s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 961s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 961s # } 961s # 961s # 961s # /** 961s # * ComAcmeCoyote: 961s # * 961s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 961s # */ 961s # 961s # /** 961s # * ComAcmeCoyoteIface: 961s # * @parent_iface: The parent interface. 961s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 961s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 961s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 961s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 961s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 961s # * 961s # * Virtual table for the D-Bus interface com.acme.Coyote. 961s # */ 961s # 961s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 961s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 961s # 961s # static void 961s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 961s # { 961s # /* GObject signals for incoming D-Bus method calls: */ 961s # /** 961s # * ComAcmeCoyote::handle-run: 961s # * @object: A #ComAcmeCoyote. 961s # * @invocation: A #GDBusMethodInvocation. 961s # * 961s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 961s # * 961s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call com_acme_coyote_complete_run() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 961s # * 961s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 961s # */ 961s # g_signal_new ("handle-run", 961s # G_TYPE_FROM_INTERFACE (iface), 961s # G_SIGNAL_RUN_LAST, 961s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 961s # g_signal_accumulator_true_handled, 961s # NULL, 961s # com_acme_coyote_method_marshal_run, 961s # G_TYPE_BOOLEAN, 961s # 1, 961s # G_TYPE_DBUS_METHOD_INVOCATION); 961s # 961s # /** 961s # * ComAcmeCoyote::handle-sleep: 961s # * @object: A #ComAcmeCoyote. 961s # * @invocation: A #GDBusMethodInvocation. 961s # * 961s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 961s # * 961s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call com_acme_coyote_complete_sleep() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 961s # * 961s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 961s # */ 961s # g_signal_new ("handle-sleep", 961s # G_TYPE_FROM_INTERFACE (iface), 961s # G_SIGNAL_RUN_LAST, 961s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 961s # g_signal_accumulator_true_handled, 961s # NULL, 961s # com_acme_coyote_method_marshal_sleep, 961s # G_TYPE_BOOLEAN, 961s # 1, 961s # G_TYPE_DBUS_METHOD_INVOCATION); 961s # 961s # /** 961s # * ComAcmeCoyote::handle-attack: 961s # * @object: A #ComAcmeCoyote. 961s # * @invocation: A #GDBusMethodInvocation. 961s # * 961s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 961s # * 961s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call com_acme_coyote_complete_attack() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 961s # * 961s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 961s # */ 961s # g_signal_new ("handle-attack", 961s # G_TYPE_FROM_INTERFACE (iface), 961s # G_SIGNAL_RUN_LAST, 961s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 961s # g_signal_accumulator_true_handled, 961s # NULL, 961s # com_acme_coyote_method_marshal_attack, 961s # G_TYPE_BOOLEAN, 961s # 1, 961s # G_TYPE_DBUS_METHOD_INVOCATION); 961s # 961s # /* GObject signals for received D-Bus signals: */ 961s # /** 961s # * ComAcmeCoyote::surprised: 961s # * @object: A #ComAcmeCoyote. 961s # * 961s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 961s # * 961s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 961s # */ 961s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 961s # g_signal_new ("surprised", 961s # G_TYPE_FROM_INTERFACE (iface), 961s # G_SIGNAL_RUN_LAST, 961s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 961s # NULL, 961s # NULL, 961s # com_acme_coyote_signal_marshal_surprised, 961s # G_TYPE_NONE, 961s # 0); 961s # 961s # /* GObject properties for D-Bus properties: */ 961s # /** 961s # * ComAcmeCoyote:mood: 961s # * 961s # * Represents the D-Bus property "Mood". 961s # * 961s # * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side. 961s # */ 961s # g_object_interface_install_property (iface, 961s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 961s # } 961s # 961s # /** 961s # * com_acme_coyote_get_mood: (skip) 961s # * @object: A #ComAcmeCoyote. 961s # * 961s # * Gets the value of the "Mood" D-Bus property. 961s # * 961s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 961s # * 961s # * The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use com_acme_coyote_dup_mood() if on another thread. 961s # * 961s # * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. 961s # */ 961s # const gchar * 961s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 961s # { 961s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 961s # 961s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 961s # } 961s # 961s # /** 961s # * com_acme_coyote_dup_mood: (skip) 961s # * @object: A #ComAcmeCoyote. 961s # * 961s # * Gets a copy of the "Mood" D-Bus property. 961s # * 961s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 961s # * 961s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 961s # */ 961s # gchar * 961s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 961s # { 961s # gchar *value; 961s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 961s # return value; 961s # } 961s # 961s # /** 961s # * com_acme_coyote_set_mood: (skip) 961s # * @object: A #ComAcmeCoyote. 961s # * @value: The value to set. 961s # * 961s # * Sets the "Mood" D-Bus property to @value. 961s # * 961s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 961s # */ 961s # void 961s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 961s # { 961s # g_object_set (G_OBJECT (object), "mood", value, NULL); 961s # } 961s # 961s # /** 961s # * com_acme_coyote_emit_surprised: 961s # * @object: A #ComAcmeCoyote. 961s # * 961s # * Emits the "Surprised" D-Bus signal. 961s # */ 961s # void 961s # com_acme_coyote_emit_surprised ( 961s # ComAcmeCoyote *object) 961s # { 961s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 961s # } 961s # 961s # /** 961s # * com_acme_coyote_call_run: 961s # * @proxy: A #ComAcmeCoyoteProxy. 961s # * @cancellable: (nullable): A #GCancellable or %NULL. 961s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 961s # * @user_data: User data to pass to @callback. 961s # * 961s # * Asynchronously invokes the Run() D-Bus method on @proxy. 961s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 961s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 961s # * 961s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 961s # */ 961s # void 961s # com_acme_coyote_call_run ( 961s # ComAcmeCoyote *proxy, 961s # GCancellable *cancellable, 961s # GAsyncReadyCallback callback, 961s # gpointer user_data) 961s # { 961s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 961s # "Run", 961s # g_variant_new ("()"), 961s # G_DBUS_CALL_FLAGS_NONE, 961s # -1, 961s # cancellable, 961s # callback, 961s # user_data); 961s # } 961s # 961s # /** 961s # * com_acme_coyote_call_run_finish: 961s # * @proxy: A #ComAcmeCoyoteProxy. 961s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 961s # * @error: Return location for error or %NULL. 961s # * 961s # * Finishes an operation started with com_acme_coyote_call_run(). 961s # * 961s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 961s # */ 961s # gboolean 961s # com_acme_coyote_call_run_finish ( 961s # ComAcmeCoyote *proxy, 961s # GAsyncResult *res, 961s # GError **error) 961s # { 961s # GVariant *_ret; 961s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 961s # if (_ret == NULL) 961s # goto _out; 961s # g_variant_get (_ret, 961s # "()"); 961s # g_variant_unref (_ret); 961s # _out: 961s # return _ret != NULL; 961s # } 961s # 961s # /** 961s # * com_acme_coyote_call_run_sync: 961s # * @proxy: A #ComAcmeCoyoteProxy. 961s # * @cancellable: (nullable): A #GCancellable or %NULL. 961s # * @error: Return location for error or %NULL. 961s # * 961s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 961s # * 961s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 961s # * 961s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 961s # */ 961s # gboolean 961s # com_acme_coyote_call_run_sync ( 961s # ComAcmeCoyote *proxy, 961s # GCancellable *cancellable, 961s # GError **error) 961s # { 961s # GVariant *_ret; 961s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 961s # "Run", 961s # g_variant_new ("()"), 961s # G_DBUS_CALL_FLAGS_NONE, 961s # -1, 961s # cancellable, 961s # error); 961s # if (_ret == NULL) 961s # goto _out; 961s # g_variant_get (_ret, 961s # "()"); 961s # g_variant_unref (_ret); 961s # _out: 961s # return _ret != NULL; 961s # } 961s # 961s # /** 961s # * com_acme_coyote_call_sleep: 961s # * @proxy: A #ComAcmeCoyoteProxy. 961s # * @cancellable: (nullable): A #GCancellable or %NULL. 961s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 961s # * @user_data: User data to pass to @callback. 961s # * 961s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 961s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 961s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 961s # * 961s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 961s # */ 961s # void 961s # com_acme_coyote_call_sleep ( 961s # ComAcmeCoyote *proxy, 961s # GCancellable *cancellable, 961s # GAsyncReadyCallback callback, 961s # gpointer user_data) 961s # { 961s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 961s # "Sleep", 961s # g_variant_new ("()"), 961s # G_DBUS_CALL_FLAGS_NONE, 961s # -1, 961s # cancellable, 961s # callback, 961s # user_data); 961s # } 961s # 961s # /** 961s # * com_acme_coyote_call_sleep_finish: 961s # * @proxy: A #ComAcmeCoyoteProxy. 961s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 961s # * @error: Return location for error or %NULL. 961s # * 961s # * Finishes an operation started with com_acme_coyote_call_sleep(). 961s # * 961s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 961s # */ 961s # gboolean 961s # com_acme_coyote_call_sleep_finish ( 961s # ComAcmeCoyote *proxy, 961s # GAsyncResult *res, 961s # GError **error) 961s # { 961s # GVariant *_ret; 961s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 961s # if (_ret == NULL) 961s # goto _out; 961s # g_variant_get (_ret, 961s # "()"); 961s # g_variant_unref (_ret); 961s # _out: 961s # return _ret != NULL; 961s # } 961s # 961s # /** 961s # * com_acme_coyote_call_sleep_sync: 961s # * @proxy: A #ComAcmeCoyoteProxy. 961s # * @cancellable: (nullable): A #GCancellable or %NULL. 961s # * @error: Return location for error or %NULL. 961s # * 961s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 961s # * 961s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 961s # * 961s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 961s # */ 961s # gboolean 961s # com_acme_coyote_call_sleep_sync ( 961s # ComAcmeCoyote *proxy, 961s # GCancellable *cancellable, 961s # GError **error) 961s # { 961s # GVariant *_ret; 961s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 961s # "Sleep", 961s # g_variant_new ("()"), 961s # G_DBUS_CALL_FLAGS_NONE, 961s # -1, 961s # cancellable, 961s # error); 961s # if (_ret == NULL) 961s # goto _out; 961s # g_variant_get (_ret, 961s # "()"); 961s # g_variant_unref (_ret); 961s # _out: 961s # return _ret != NULL; 961s # } 961s # 961s # /** 961s # * com_acme_coyote_call_attack: 961s # * @proxy: A #ComAcmeCoyoteProxy. 961s # * @cancellable: (nullable): A #GCancellable or %NULL. 961s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 961s # * @user_data: User data to pass to @callback. 961s # * 961s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 961s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 961s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 961s # * 961s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 961s # */ 961s # void 961s # com_acme_coyote_call_attack ( 961s # ComAcmeCoyote *proxy, 961s # GCancellable *cancellable, 961s # GAsyncReadyCallback callback, 961s # gpointer user_data) 961s # { 961s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 961s # "Attack", 961s # g_variant_new ("()"), 961s # G_DBUS_CALL_FLAGS_NONE, 961s # -1, 961s # cancellable, 961s # callback, 961s # user_data); 961s # } 961s # 961s # /** 961s # * com_acme_coyote_call_attack_finish: 961s # * @proxy: A #ComAcmeCoyoteProxy. 961s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 961s # * @error: Return location for error or %NULL. 961s # * 961s # * Finishes an operation started with com_acme_coyote_call_attack(). 961s # * 961s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 961s # */ 961s # gboolean 961s # com_acme_coyote_call_attack_finish ( 961s # ComAcmeCoyote *proxy, 961s # GAsyncResult *res, 961s # GError **error) 961s # { 961s # GVariant *_ret; 961s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 961s # if (_ret == NULL) 961s # goto _out; 961s # g_variant_get (_ret, 961s # "()"); 961s # g_variant_unref (_ret); 961s # _out: 961s # return _ret != NULL; 961s # } 961s # 961s # /** 961s # * com_acme_coyote_call_attack_sync: 961s # * @proxy: A #ComAcmeCoyoteProxy. 961s # * @cancellable: (nullable): A #GCancellable or %NULL. 961s # * @error: Return location for error or %NULL. 961s # * 961s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 961s # * 961s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 961s # * 961s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 961s # */ 961s # gboolean 961s # com_acme_coyote_call_attack_sync ( 961s # ComAcmeCoyote *proxy, 961s # GCancellable *cancellable, 961s # GError **error) 961s # { 961s # GVariant *_ret; 961s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 961s # "Attack", 961s # g_variant_new ("()"), 961s # G_DBUS_CALL_FLAGS_NONE, 961s # -1, 961s # cancellable, 961s # error); 961s # if (_ret == NULL) 961s # goto _out; 961s # g_variant_get (_ret, 961s # "()"); 961s # g_variant_unref (_ret); 961s # _out: 961s # return _ret != NULL; 961s # } 961s # 961s # /** 961s # * com_acme_coyote_complete_run: 961s # * @object: A #ComAcmeCoyote. 961s # * @invocation: (transfer full): A #GDBusMethodInvocation. 961s # * 961s # * Helper function used in service implementations to finish handling invocations of the Run() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 961s # * 961s # * This method will free @invocation, you cannot use it afterwards. 961s # */ 961s # void 961s # com_acme_coyote_complete_run ( 961s # ComAcmeCoyote *object G_GNUC_UNUSED, 961s # GDBusMethodInvocation *invocation) 961s # { 961s # g_dbus_method_invocation_return_value (invocation, 961s # g_variant_new ("()")); 961s # } 961s # 961s # /** 961s # * com_acme_coyote_complete_sleep: 961s # * @object: A #ComAcmeCoyote. 961s # * @invocation: (transfer full): A #GDBusMethodInvocation. 961s # * 961s # * Helper function used in service implementations to finish handling invocations of the Sleep() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 961s # * 961s # * This method will free @invocation, you cannot use it afterwards. 961s # */ 961s # void 961s # com_acme_coyote_complete_sleep ( 961s # ComAcmeCoyote *object G_GNUC_UNUSED, 961s # GDBusMethodInvocation *invocation) 961s # { 961s # g_dbus_method_invocation_return_value (invocation, 961s # g_variant_new ("()")); 961s # } 961s # 961s # /** 961s # * com_acme_coyote_complete_attack: 961s # * @object: A #ComAcmeCoyote. 961s # * @invocation: (transfer full): A #GDBusMethodInvocation. 961s # * 961s # * Helper function used in service implementations to finish handling invocations of the Attack() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 961s # * 961s # * This method will free @invocation, you cannot use it afterwards. 961s # */ 961s # void 961s # com_acme_coyote_complete_attack ( 961s # ComAcmeCoyote *object G_GNUC_UNUSED, 961s # GDBusMethodInvocation *invocation) 961s # { 961s # g_dbus_method_invocation_return_value (invocation, 961s # g_variant_new ("()")); 961s # } 961s # 961s # /* ------------------------------------------------------------------------ */ 961s # 961s # /** 961s # * ComAcmeCoyoteProxy: 961s # * 961s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 961s # */ 961s # 961s # /** 961s # * ComAcmeCoyoteProxyClass: 961s # * @parent_class: The parent class. 961s # * 961s # * Class structure for #ComAcmeCoyoteProxy. 961s # */ 961s # 961s # struct _ComAcmeCoyoteProxyPrivate 961s # { 961s # GData *qdata; 961s # }; 961s # 961s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 961s # 961s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 961s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 961s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 961s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 961s # 961s # #else 961s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 961s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 961s # 961s # #endif 961s # static void 961s # com_acme_coyote_proxy_finalize (GObject *object) 961s # { 961s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 961s # g_datalist_clear (&proxy->priv->qdata); 961s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 961s # } 961s # 961s # static void 961s # com_acme_coyote_proxy_get_property (GObject *object, 961s # guint prop_id, 961s # GValue *value, 961s # GParamSpec *pspec G_GNUC_UNUSED) 961s # { 961s # const _ExtendedGDBusPropertyInfo *info; 961s # GVariant *variant; 961s # g_assert (prop_id != 0 && prop_id - 1 < 1); 961s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 961s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 961s # if (info->use_gvariant) 961s # { 961s # g_value_set_variant (value, variant); 961s # } 961s # else 961s # { 961s # if (variant != NULL) 961s # g_dbus_gvariant_to_gvalue (variant, value); 961s # } 961s # if (variant != NULL) 961s # g_variant_unref (variant); 961s # } 961s # 961s # static void 961s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 961s # GAsyncResult *res, 961s # gpointer user_data) 961s # { 961s # const _ExtendedGDBusPropertyInfo *info = user_data; 961s # GError *error; 961s # GVariant *_ret; 961s # error = NULL; 961s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 961s # if (!_ret) 961s # { 961s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 961s # info->parent_struct.name, 961s # error->message, g_quark_to_string (error->domain), error->code); 961s # g_error_free (error); 961s # } 961s # else 961s # { 961s # g_variant_unref (_ret); 961s # } 961s # } 961s # 961s # static void 961s # com_acme_coyote_proxy_set_property (GObject *object, 961s # guint prop_id, 961s # const GValue *value, 961s # GParamSpec *pspec G_GNUC_UNUSED) 961s # { 961s # const _ExtendedGDBusPropertyInfo *info; 961s # GVariant *variant; 961s # g_assert (prop_id != 0 && prop_id - 1 < 1); 961s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 961s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 961s # g_dbus_proxy_call (G_DBUS_PROXY (object), 961s # "org.freedesktop.DBus.Properties.Set", 961s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 961s # G_DBUS_CALL_FLAGS_NONE, 961s # -1, 961s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 961s # g_variant_unref (variant); 961s # } 961s # 961s # static void 961s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 961s # const gchar *sender_name G_GNUC_UNUSED, 961s # const gchar *signal_name, 961s # GVariant *parameters) 961s # { 961s # _ExtendedGDBusSignalInfo *info; 961s # GVariantIter iter; 961s # GVariant *child; 961s # GValue *paramv; 961s # gsize num_params; 961s # gsize n; 961s # guint signal_id; 961s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 961s # if (info == NULL) 961s # return; 961s # num_params = g_variant_n_children (parameters); 961s # paramv = g_new0 (GValue, num_params + 1); 961s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 961s # g_value_set_object (¶mv[0], proxy); 961s # g_variant_iter_init (&iter, parameters); 961s # n = 1; 961s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 961s # { 961s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 961s # if (arg_info->use_gvariant) 961s # { 961s # g_value_init (¶mv[n], G_TYPE_VARIANT); 961s # g_value_set_variant (¶mv[n], child); 961s # n++; 961s # } 961s # else 961s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 961s # g_variant_unref (child); 961s # } 961s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 961s # g_signal_emitv (paramv, signal_id, 0, NULL); 961s # for (n = 0; n < num_params + 1; n++) 961s # g_value_unset (¶mv[n]); 961s # g_free (paramv); 961s # } 961s # 961s # static void 961s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 961s # GVariant *changed_properties, 961s # const gchar *const *invalidated_properties) 961s # { 961s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 961s # guint n; 961s # const gchar *key; 961s # GVariantIter *iter; 961s # _ExtendedGDBusPropertyInfo *info; 961s # g_variant_get (changed_properties, "a{sv}", &iter); 961s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 961s # { 961s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 961s # g_datalist_remove_data (&proxy->priv->qdata, key); 961s # if (info != NULL) 961s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 961s # } 961s # g_variant_iter_free (iter); 961s # for (n = 0; invalidated_properties[n] != NULL; n++) 961s # { 961s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 961s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 961s # if (info != NULL) 961s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 961s # } 961s # } 961s # 961s # static const gchar * 961s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 961s # { 961s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 961s # GVariant *variant; 961s # const gchar *value = NULL; 961s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 961s # if (variant != NULL) 961s # { 961s # value = g_variant_get_string (variant, NULL); 961s # g_variant_unref (variant); 961s # } 961s # return value; 961s # } 961s # 961s # static void 961s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 961s # { 961s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 961s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 961s # #else 961s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 961s # #endif 961s # 961s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 961s # } 961s # 961s # static void 961s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 961s # { 961s # GObjectClass *gobject_class; 961s # GDBusProxyClass *proxy_class; 961s # 961s # gobject_class = G_OBJECT_CLASS (klass); 961s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 961s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 961s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 961s # 961s # proxy_class = G_DBUS_PROXY_CLASS (klass); 961s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 961s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 961s # 961s # com_acme_coyote_override_properties (gobject_class, 1); 961s # 961s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 961s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 961s # #endif 961s # } 961s # 961s # static void 961s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 961s # { 961s # iface->get_mood = com_acme_coyote_proxy_get_mood; 961s # } 961s # 961s # /** 961s # * com_acme_coyote_proxy_new: 961s # * @connection: A #GDBusConnection. 961s # * @flags: Flags from the #GDBusProxyFlags enumeration. 961s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 961s # * @object_path: An object path. 961s # * @cancellable: (nullable): A #GCancellable or %NULL. 961s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 961s # * @user_data: User data to pass to @callback. 961s # * 961s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 961s # * 961s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 961s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 961s # * 961s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 961s # */ 961s # void 961s # com_acme_coyote_proxy_new ( 961s # GDBusConnection *connection, 961s # GDBusProxyFlags flags, 961s # const gchar *name, 961s # const gchar *object_path, 961s # GCancellable *cancellable, 961s # GAsyncReadyCallback callback, 961s # gpointer user_data) 961s # { 961s # g_async_initable_new_async (TYPE_COM_ACME_COYOTE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "com.acme.Coyote", NULL); 961s # } 961s # 961s # /** 961s # * com_acme_coyote_proxy_new_finish: 961s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 961s # * @error: Return location for error or %NULL 961s # * 961s # * Finishes an operation started with com_acme_coyote_proxy_new(). 961s # * 961s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 961s # */ 961s # ComAcmeCoyote * 961s # com_acme_coyote_proxy_new_finish ( 961s # GAsyncResult *res, 961s # GError **error) 961s # { 961s # GObject *ret; 961s # GObject *source_object; 961s # source_object = g_async_result_get_source_object (res); 961s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 961s # g_object_unref (source_object); 961s # if (ret != NULL) 961s # return COM_ACME_COYOTE (ret); 961s # else 961s # return NULL; 961s # } 961s # 961s # /** 961s # * com_acme_coyote_proxy_new_sync: 961s # * @connection: A #GDBusConnection. 961s # * @flags: Flags from the #GDBusProxyFlags enumeration. 961s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 961s # * @object_path: An object path. 961s # * @cancellable: (nullable): A #GCancellable or %NULL. 961s # * @error: Return location for error or %NULL 961s # * 961s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 961s # * 961s # * The calling thread is blocked until a reply is received. 961s # * 961s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 961s # * 961s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 961s # */ 961s # ComAcmeCoyote * 961s # com_acme_coyote_proxy_new_sync ( 961s # GDBusConnection *connection, 961s # GDBusProxyFlags flags, 961s # const gchar *name, 961s # const gchar *object_path, 961s # GCancellable *cancellable, 961s # GError **error) 961s # { 961s # GInitable *ret; 961s # ret = g_initable_new (TYPE_COM_ACME_COYOTE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "com.acme.Coyote", NULL); 961s # if (ret != NULL) 961s # return COM_ACME_COYOTE (ret); 961s # else 961s # return NULL; 961s # } 961s # 961s # 961s # /** 961s # * com_acme_coyote_proxy_new_for_bus: 961s # * @bus_type: A #GBusType. 961s # * @flags: Flags from the #GDBusProxyFlags enumeration. 961s # * @name: A bus name (well-known or unique). 961s # * @object_path: An object path. 961s # * @cancellable: (nullable): A #GCancellable or %NULL. 961s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 961s # * @user_data: User data to pass to @callback. 961s # * 961s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 961s # * 961s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 961s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 961s # * 961s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 961s # */ 961s # void 961s # com_acme_coyote_proxy_new_for_bus ( 961s # GBusType bus_type, 961s # GDBusProxyFlags flags, 961s # const gchar *name, 961s # const gchar *object_path, 961s # GCancellable *cancellable, 961s # GAsyncReadyCallback callback, 961s # gpointer user_data) 961s # { 961s # g_async_initable_new_async (TYPE_COM_ACME_COYOTE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "com.acme.Coyote", NULL); 961s # } 961s # 961s # /** 961s # * com_acme_coyote_proxy_new_for_bus_finish: 961s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 961s # * @error: Return location for error or %NULL 961s # * 961s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 961s # * 961s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 961s # */ 961s # ComAcmeCoyote * 961s # com_acme_coyote_proxy_new_for_bus_finish ( 961s # GAsyncResult *res, 961s # GError **error) 961s # { 961s # GObject *ret; 961s # GObject *source_object; 961s # source_object = g_async_result_get_source_object (res); 961s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 961s # g_object_unref (source_object); 961s # if (ret != NULL) 961s # return COM_ACME_COYOTE (ret); 961s # else 961s # return NULL; 961s # } 961s # 961s # /** 961s # * com_acme_coyote_proxy_new_for_bus_sync: 961s # * @bus_type: A #GBusType. 961s # * @flags: Flags from the #GDBusProxyFlags enumeration. 961s # * @name: A bus name (well-known or unique). 961s # * @object_path: An object path. 961s # * @cancellable: (nullable): A #GCancellable or %NULL. 961s # * @error: Return location for error or %NULL 961s # * 961s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 961s # * 961s # * The calling thread is blocked until a reply is received. 961s # * 961s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 961s # * 961s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 961s # */ 961s # ComAcmeCoyote * 961s # com_acme_coyote_proxy_new_for_bus_sync ( 961s # GBusType bus_type, 961s # GDBusProxyFlags flags, 961s # const gchar *name, 961s # const gchar *object_path, 961s # GCancellable *cancellable, 961s # GError **error) 961s # { 961s # GInitable *ret; 961s # ret = g_initable_new (TYPE_COM_ACME_COYOTE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "com.acme.Coyote", NULL); 961s # if (ret != NULL) 961s # return COM_ACME_COYOTE (ret); 961s # else 961s # return NULL; 961s # } 961s # 961s # 961s # /* ------------------------------------------------------------------------ */ 961s # 961s # /** 961s # * ComAcmeCoyoteSkeleton: 961s # * 961s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 961s # */ 961s # 961s # /** 961s # * ComAcmeCoyoteSkeletonClass: 961s # * @parent_class: The parent class. 961s # * 961s # * Class structure for #ComAcmeCoyoteSkeleton. 961s # */ 961s # 961s # struct _ComAcmeCoyoteSkeletonPrivate 961s # { 961s # GValue *properties; 961s # GList *changed_properties; 961s # GSource *changed_properties_idle_source; 961s # GMainContext *context; 961s # GMutex lock; 961s # }; 961s # 961s # static void 961s # _com_acme_coyote_skeleton_handle_method_call ( 961s # GDBusConnection *connection G_GNUC_UNUSED, 961s # const gchar *sender G_GNUC_UNUSED, 961s # const gchar *object_path G_GNUC_UNUSED, 961s # const gchar *interface_name, 961s # const gchar *method_name, 961s # GVariant *parameters, 961s # GDBusMethodInvocation *invocation, 961s # gpointer user_data) 961s # { 961s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 961s # _ExtendedGDBusMethodInfo *info; 961s # GVariantIter iter; 961s # GVariant *child; 961s # GValue *paramv; 961s # gsize num_params; 961s # guint num_extra; 961s # gsize n; 961s # guint signal_id; 961s # GValue return_value = G_VALUE_INIT; 961s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 961s # g_assert (info != NULL); 961s # num_params = g_variant_n_children (parameters); 961s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 961s # n = 0; 961s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 961s # g_value_set_object (¶mv[n++], skeleton); 961s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 961s # g_value_set_object (¶mv[n++], invocation); 961s # if (info->pass_fdlist) 961s # { 961s # #ifdef G_OS_UNIX 961s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 961s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 961s # #else 961s # g_assert_not_reached (); 961s # #endif 961s # } 961s # g_variant_iter_init (&iter, parameters); 961s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 961s # { 961s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 961s # if (arg_info->use_gvariant) 961s # { 961s # g_value_init (¶mv[n], G_TYPE_VARIANT); 961s # g_value_set_variant (¶mv[n], child); 961s # n++; 961s # } 961s # else 961s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 961s # g_variant_unref (child); 961s # } 961s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 961s # g_value_init (&return_value, G_TYPE_BOOLEAN); 961s # g_signal_emitv (paramv, signal_id, 0, &return_value); 961s # if (!g_value_get_boolean (&return_value)) 961s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 961s # g_value_unset (&return_value); 961s # for (n = 0; n < num_params + num_extra; n++) 961s # g_value_unset (¶mv[n]); 961s # g_free (paramv); 961s # } 961s # 961s # static GVariant * 961s # _com_acme_coyote_skeleton_handle_get_property ( 961s # GDBusConnection *connection G_GNUC_UNUSED, 961s # const gchar *sender G_GNUC_UNUSED, 961s # const gchar *object_path G_GNUC_UNUSED, 961s # const gchar *interface_name G_GNUC_UNUSED, 961s # const gchar *property_name, 961s # GError **error, 961s # gpointer user_data) 961s # { 961s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 961s # GValue value = G_VALUE_INIT; 961s # GParamSpec *pspec; 961s # _ExtendedGDBusPropertyInfo *info; 961s # GVariant *ret; 961s # ret = NULL; 961s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 961s # g_assert (info != NULL); 961s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 961s # if (pspec == NULL) 961s # { 961s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 961s # } 961s # else 961s # { 961s # g_value_init (&value, pspec->value_type); 961s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 961s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 961s # g_value_unset (&value); 961s # } 961s # return ret; 961s # } 961s # 961s # static gboolean 961s # _com_acme_coyote_skeleton_handle_set_property ( 961s # GDBusConnection *connection G_GNUC_UNUSED, 961s # const gchar *sender G_GNUC_UNUSED, 961s # const gchar *object_path G_GNUC_UNUSED, 961s # const gchar *interface_name G_GNUC_UNUSED, 961s # const gchar *property_name, 961s # GVariant *variant, 961s # GError **error, 961s # gpointer user_data) 961s # { 961s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 961s # GValue value = G_VALUE_INIT; 961s # GParamSpec *pspec; 961s # _ExtendedGDBusPropertyInfo *info; 961s # gboolean ret; 961s # ret = FALSE; 961s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 961s # g_assert (info != NULL); 961s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 961s # if (pspec == NULL) 961s # { 961s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 961s # } 961s # else 961s # { 961s # if (info->use_gvariant) 961s # g_value_set_variant (&value, variant); 961s # else 961s # g_dbus_gvariant_to_gvalue (variant, &value); 961s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 961s # g_value_unset (&value); 961s # ret = TRUE; 961s # } 961s # return ret; 961s # } 961s # 961s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 961s # { 961s # _com_acme_coyote_skeleton_handle_method_call, 961s # _com_acme_coyote_skeleton_handle_get_property, 961s # _com_acme_coyote_skeleton_handle_set_property, 961s # {NULL} 961s # }; 961s # 961s # static GDBusInterfaceInfo * 961s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 961s # { 961s # return com_acme_coyote_interface_info (); 961s # } 961s # 961s # static GDBusInterfaceVTable * 961s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 961s # { 961s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 961s # } 961s # 961s # static GVariant * 961s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 961s # { 961s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 961s # 961s # GVariantBuilder builder; 961s # guint n; 961s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 961s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 961s # goto out; 961s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 961s # { 961s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 961s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 961s # { 961s # GVariant *value; 961s # value = _com_acme_coyote_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", info->name, NULL, skeleton); 961s # if (value != NULL) 961s # { 961s # g_variant_take_ref (value); 961s # g_variant_builder_add (&builder, "{sv}", info->name, value); 961s # g_variant_unref (value); 961s # } 961s # } 961s # } 961s # out: 961s # return g_variant_builder_end (&builder); 961s # } 961s # 961s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 961s # 961s # static void 961s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 961s # { 961s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 961s # gboolean emit_changed = FALSE; 961s # 961s # g_mutex_lock (&skeleton->priv->lock); 961s # if (skeleton->priv->changed_properties_idle_source != NULL) 961s # { 961s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 961s # skeleton->priv->changed_properties_idle_source = NULL; 961s # emit_changed = TRUE; 961s # } 961s # g_mutex_unlock (&skeleton->priv->lock); 961s # 961s # if (emit_changed) 961s # _com_acme_coyote_emit_changed (skeleton); 961s # } 961s # 961s # static void 961s # _com_acme_coyote_on_signal_surprised ( 961s # ComAcmeCoyote *object) 961s # { 961s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 961s # 961s # GList *connections, *l; 961s # GVariant *signal_variant; 961s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 961s # 961s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 961s # for (l = connections; l != NULL; l = l->next) 961s # { 961s # GDBusConnection *connection = l->data; 961s # g_dbus_connection_emit_signal (connection, 961s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 961s # signal_variant, NULL); 961s # } 961s # g_variant_unref (signal_variant); 961s # g_list_free_full (connections, g_object_unref); 961s # } 961s # 961s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 961s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 961s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 961s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 961s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 961s # 961s # #else 961s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 961s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 961s # 961s # #endif 961s # static void 961s # com_acme_coyote_skeleton_finalize (GObject *object) 961s # { 961s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 961s # guint n; 961s # for (n = 0; n < 1; n++) 961s # g_value_unset (&skeleton->priv->properties[n]); 961s # g_free (skeleton->priv->properties); 961s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 961s # if (skeleton->priv->changed_properties_idle_source != NULL) 961s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 961s # g_main_context_unref (skeleton->priv->context); 961s # g_mutex_clear (&skeleton->priv->lock); 961s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 961s # } 961s # 961s # static void 961s # com_acme_coyote_skeleton_get_property (GObject *object, 961s # guint prop_id, 961s # GValue *value, 961s # GParamSpec *pspec G_GNUC_UNUSED) 961s # { 961s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 961s # g_assert (prop_id != 0 && prop_id - 1 < 1); 961s # g_mutex_lock (&skeleton->priv->lock); 961s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 961s # g_mutex_unlock (&skeleton->priv->lock); 961s # } 961s # 961s # static gboolean 961s # _com_acme_coyote_emit_changed (gpointer user_data) 961s # { 961s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 961s # GList *l; 961s # GVariantBuilder builder; 961s # GVariantBuilder invalidated_builder; 961s # guint num_changes; 961s # 961s # g_mutex_lock (&skeleton->priv->lock); 961s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 961s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 961s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 961s # { 961s # ChangedProperty *cp = l->data; 961s # GVariant *variant; 961s # const GValue *cur_value; 961s # 961s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 961s # if (!_g_value_equal (cur_value, &cp->orig_value)) 961s # { 961s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 961s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 961s # g_variant_unref (variant); 961s # num_changes++; 961s # } 961s # } 961s # if (num_changes > 0) 961s # { 961s # GList *connections, *ll; 961s # GVariant *signal_variant; 961s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 961s # &builder, &invalidated_builder)); 961s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 961s # for (ll = connections; ll != NULL; ll = ll->next) 961s # { 961s # GDBusConnection *connection = ll->data; 961s # 961s # g_dbus_connection_emit_signal (connection, 961s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 961s # "org.freedesktop.DBus.Properties", 961s # "PropertiesChanged", 961s # signal_variant, 961s # NULL); 961s # } 961s # g_variant_unref (signal_variant); 961s # g_list_free_full (connections, g_object_unref); 961s # } 961s # else 961s # { 961s # g_variant_builder_clear (&builder); 961s # g_variant_builder_clear (&invalidated_builder); 961s # } 961s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 961s # skeleton->priv->changed_properties = NULL; 961s # skeleton->priv->changed_properties_idle_source = NULL; 961s # g_mutex_unlock (&skeleton->priv->lock); 961s # return FALSE; 961s # } 961s # 961s # static void 961s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 961s # { 961s # ChangedProperty *cp; 961s # GList *l; 961s # cp = NULL; 961s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 961s # { 961s # ChangedProperty *i_cp = l->data; 961s # if (i_cp->info == info) 961s # { 961s # cp = i_cp; 961s # break; 961s # } 961s # } 961s # if (cp == NULL) 961s # { 961s # cp = g_new0 (ChangedProperty, 1); 961s # cp->prop_id = prop_id; 961s # cp->info = info; 961s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 961s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 961s # g_value_copy (orig_value, &cp->orig_value); 961s # } 961s # } 961s # 961s # static void 961s # com_acme_coyote_skeleton_notify (GObject *object, 961s # GParamSpec *pspec G_GNUC_UNUSED) 961s # { 961s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 961s # g_mutex_lock (&skeleton->priv->lock); 961s # if (skeleton->priv->changed_properties != NULL && 961s # skeleton->priv->changed_properties_idle_source == NULL) 961s # { 961s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 961s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 961s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 961s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 961s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 961s # g_source_unref (skeleton->priv->changed_properties_idle_source); 961s # } 961s # g_mutex_unlock (&skeleton->priv->lock); 961s # } 961s # 961s # static void 961s # com_acme_coyote_skeleton_set_property (GObject *object, 961s # guint prop_id, 961s # const GValue *value, 961s # GParamSpec *pspec) 961s # { 961s # const _ExtendedGDBusPropertyInfo *info; 961s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 961s # g_assert (prop_id != 0 && prop_id - 1 < 1); 961s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 961s # g_mutex_lock (&skeleton->priv->lock); 961s # g_object_freeze_notify (object); 961s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 961s # { 961s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 961s # info->emits_changed_signal) 961s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 961s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 961s # g_object_notify_by_pspec (object, pspec); 961s # } 961s # g_mutex_unlock (&skeleton->priv->lock); 961s # g_object_thaw_notify (object); 961s # } 961s # 961s # static void 961s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 961s # { 961s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 961s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 961s # #else 961s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 961s # #endif 961s # 961s # g_mutex_init (&skeleton->priv->lock); 961s # skeleton->priv->context = g_main_context_ref_thread_default (); 961s # skeleton->priv->properties = g_new0 (GValue, 1); 961s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 961s # } 961s # 961s # static const gchar * 961s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 961s # { 961s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 961s # const gchar *value; 961s # g_mutex_lock (&skeleton->priv->lock); 961s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 961s # g_mutex_unlock (&skeleton->priv->lock); 961s # return value; 961s # } 961s # 961s # static void 961s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 961s # { 961s # GObjectClass *gobject_class; 961s # GDBusInterfaceSkeletonClass *skeleton_class; 961s # 961s # gobject_class = G_OBJECT_CLASS (klass); 961s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 961s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 961s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 961s # gobject_class->notify = com_acme_coyote_skeleton_notify; 961s # 961s # 961s # com_acme_coyote_override_properties (gobject_class, 1); 961s # 961s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 961s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 961s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 961s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 961s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 961s # 961s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 961s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 961s # #endif 961s # } 961s # 961s # static void 961s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 961s # { 961s # iface->surprised = _com_acme_coyote_on_signal_surprised; 961s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 961s # } 961s # 961s # /** 961s # * com_acme_coyote_skeleton_new: 961s # * 961s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 961s # * 961s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 961s # */ 961s # ComAcmeCoyote * 961s # com_acme_coyote_skeleton_new (void) 961s # { 961s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 961s # } 961s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 961s # tmpdir: /tmp/tmpji6afydv 961s # codegen: /usr/bin/gdbus-codegen 961s # /tmp/tmpji6afydv/tmpstol07p6.xml: 961s # 961s # 961s # 961s # 961s # 961s # 961s # 961s # 961s # 961s # 961s # 961s # 961s # 961s # 961s # 961s # 961s # 961s # 961s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpji6afydv/tmpstol07p6.xml', '--output', '-', '--header'] 961s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 961s # Output: /* 961s # * This file is generated by gdbus-codegen, do not modify it. 961s # * 961s # * The license of this code is the same as for the D-Bus interface description 961s # * it was derived from. Note that it links to GLib, so must comply with the 961s # * LGPL linking clauses. 961s # */ 961s # 961s # #ifndef __STDOUT__ 961s # #define __STDOUT__ 961s # 961s # #include 961s # 961s # G_BEGIN_DECLS 961s # 961s # 961s # /* ------------------------------------------------------------------------ */ 961s # /* Declarations for FDPassing */ 961s # 961s # #define TYPE_FDPASSING (fdpassing_get_type ()) 961s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 961s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 961s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 961s # 961s # struct _FDPassing; 961s # typedef struct _FDPassing FDPassing; 961s # typedef struct _FDPassingIface FDPassingIface; 961s # 961s # struct _FDPassingIface 961s # { 961s # GTypeInterface parent_iface; 961s # 961s # gboolean (*handle_hello_fd) ( 961s # FDPassing *object, 961s # GDBusMethodInvocation *invocation, 961s # GUnixFDList *fd_list, 961s # const gchar *arg_greeting); 961s # 961s # gboolean (*handle_no_annotation) ( 961s # FDPassing *object, 961s # GDBusMethodInvocation *invocation, 961s # GVariant *arg_greeting, 961s # const gchar *arg_greeting_locale); 961s # 961s # gboolean (*handle_no_annotation_nested) ( 961s # FDPassing *object, 961s # GDBusMethodInvocation *invocation, 961s # GVariant *arg_files); 961s # 961s # }; 961s # 961s # GType fdpassing_get_type (void) G_GNUC_CONST; 961s # 961s # GDBusInterfaceInfo *fdpassing_interface_info (void); 961s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 961s # 961s # 961s # /* D-Bus method call completion functions: */ 961s # void fdpassing_complete_hello_fd ( 961s # FDPassing *object, 961s # GDBusMethodInvocation *invocation, 961s # GUnixFDList *fd_list, 961s # const gchar *response); 961s # 961s # void fdpassing_complete_no_annotation ( 961s # FDPassing *object, 961s # GDBusMethodInvocation *invocation, 961s # GVariant *response, 961s # const gchar *response_locale); 961s # 961s # void fdpassing_complete_no_annotation_nested ( 961s # FDPassing *object, 961s # GDBusMethodInvocation *invocation); 961s # 961s # 961s # 961s # /* D-Bus method calls: */ 961s # void fdpassing_call_hello_fd ( 961s # FDPassing *proxy, 961s # const gchar *arg_greeting, 961s # GUnixFDList *fd_list, 961s # GCancellable *cancellable, 961s # GAsyncReadyCallback callback, 961s # gpointer user_data); 961s # 961s # gboolean fdpassing_call_hello_fd_finish ( 961s # FDPassing *proxy, 961s # gchar **out_response, 961s # GUnixFDList **out_fd_list, 961s # GAsyncResult *res, 961s # GError **error); 961s # 961s # gboolean fdpassing_call_hello_fd_sync ( 961s # FDPassing *proxy, 961s # const gchar *arg_greeting, 961s # GUnixFDList *fd_list, 961s # gchar **out_response, 961s # GUnixFDList **out_fd_list, 961s # GCancellable *cancellable, 961s # GError **error); 961s # 961s # void fdpassing_call_no_annotation ( 961s # FDPassing *proxy, 961s # GVariant *arg_greeting, 961s # const gchar *arg_greeting_locale, 961s # GCancellable *cancellable, 961s # GAsyncReadyCallback callback, 961s # gpointer user_data); 961s # 961s # gboolean fdpassing_call_no_annotation_finish ( 961s # FDPassing *proxy, 961s # GVariant **out_response, 961s # gchar **out_response_locale, 961s # GAsyncResult *res, 961s # GError **error); 961s # 961s # gboolean fdpassing_call_no_annotation_sync ( 961s # FDPassing *proxy, 961s # GVariant *arg_greeting, 961s # const gchar *arg_greeting_locale, 961s # GVariant **out_response, 961s # gchar **out_response_locale, 961s # GCancellable *cancellable, 961s # GError **error); 961s # 961s # void fdpassing_call_no_annotation_nested ( 961s # FDPassing *proxy, 961s # GVariant *arg_files, 961s # GCancellable *cancellable, 961s # GAsyncReadyCallback callback, 961s # gpointer user_data); 961s # 961s # gboolean fdpassing_call_no_annotation_nested_finish ( 961s # FDPassing *proxy, 961s # GAsyncResult *res, 961s # GError **error); 961s # 961s # gboolean fdpassing_call_no_annotation_nested_sync ( 961s # FDPassing *proxy, 961s # GVariant *arg_files, 961s # GCancellable *cancellable, 961s # GError **error); 961s # 961s # 961s # 961s # /* ---- */ 961s # 961s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 961s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 961s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 961s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 961s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 961s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 961s # 961s # typedef struct _FDPassingProxy FDPassingProxy; 961s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 961s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 961s # 961s # struct _FDPassingProxy 961s # { 961s # /*< private >*/ 961s # GDBusProxy parent_instance; 961s # FDPassingProxyPrivate *priv; 961s # }; 961s # 961s # struct _FDPassingProxyClass 961s # { 961s # GDBusProxyClass parent_class; 961s # }; 961s # 961s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 961s # 961s # #if GLIB_CHECK_VERSION(2, 44, 0) 961s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 961s # #endif 961s # 961s # void fdpassing_proxy_new ( 961s # GDBusConnection *connection, 961s # GDBusProxyFlags flags, 961s # const gchar *name, 961s # const gchar *object_path, 961s # GCancellable *cancellable, 961s # GAsyncReadyCallback callback, 961s # gpointer user_data); 961s # FDPassing *fdpassing_proxy_new_finish ( 961s # GAsyncResult *res, 961s # GError **error); 961s # FDPassing *fdpassing_proxy_new_sync ( 961s # GDBusConnection *connection, 961s # GDBusProxyFlags flags, 961s # const gchar *name, 961s # const gchar *object_path, 961s # GCancellable *cancellable, 961s # GError **error); 961s # 961s # void fdpassing_proxy_new_for_bus ( 961s # GBusType bus_type, 961s # GDBusProxyFlags flags, 961s # const gchar *name, 961s # const gchar *object_path, 961s # GCancellable *cancellable, 961s # GAsyncReadyCallback callback, 961s # gpointer user_data); 961s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 961s # GAsyncResult *res, 961s # GError **error); 961s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 961s # GBusType bus_type, 961s # GDBusProxyFlags flags, 961s # const gchar *name, 961s # const gchar *object_path, 961s # GCancellable *cancellable, 961s # GError **error); 961s # 961s # 961s # /* ---- */ 961s # 961s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 961s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 961s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 961s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 961s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 961s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 961s # 961s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 961s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 961s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 961s # 961s # struct _FDPassingSkeleton 961s # { 961s # /*< private >*/ 961s # GDBusInterfaceSkeleton parent_instance; 961s # FDPassingSkeletonPrivate *priv; 961s # }; 961s # 961s # struct _FDPassingSkeletonClass 961s # { 961s # GDBusInterfaceSkeletonClass parent_class; 961s # }; 961s # 961s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 961s # 961s # #if GLIB_CHECK_VERSION(2, 44, 0) 961s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 961s # #endif 961s # 961s # FDPassing *fdpassing_skeleton_new (void); 961s # 961s # 961s # G_END_DECLS 961s # 961s # #endif /* __STDOUT__ */ 961s # /tmp/tmpji6afydv/tmpc34iyj39.xml: 961s # 961s # 961s # 961s # 961s # 961s # 961s # 961s # 961s # 961s # 961s # 961s # 961s # 961s # 961s # 961s # 961s # 961s # 961s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpji6afydv/tmpc34iyj39.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 961s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 961s # Output: /* 961s # * This file is generated by gdbus-codegen, do not modify it. 961s # * 961s # * The license of this code is the same as for the D-Bus interface description 961s # * it was derived from. Note that it links to GLib, so must comply with the 961s # * LGPL linking clauses. 961s # */ 961s # 961s # #ifndef __STDOUT__ 961s # #define __STDOUT__ 961s # 961s # #include 961s # 961s # G_BEGIN_DECLS 961s # 961s # 961s # /* ------------------------------------------------------------------------ */ 961s # /* Declarations for FDPassing */ 961s # 961s # #define TYPE_FDPASSING (fdpassing_get_type ()) 961s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 961s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 961s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 961s # 961s # struct _FDPassing; 961s # typedef struct _FDPassing FDPassing; 961s # typedef struct _FDPassingIface FDPassingIface; 961s # 961s # struct _FDPassingIface 961s # { 961s # GTypeInterface parent_iface; 961s # 961s # gboolean (*handle_hello_fd) ( 961s # FDPassing *object, 961s # GDBusMethodInvocation *invocation, 961s # GUnixFDList *fd_list, 961s # const gchar *arg_greeting); 961s # 961s # gboolean (*handle_no_annotation) ( 961s # FDPassing *object, 961s # GDBusMethodInvocation *invocation, 961s # GVariant *arg_greeting, 961s # const gchar *arg_greeting_locale); 961s # 961s # gboolean (*handle_no_annotation_nested) ( 961s # FDPassing *object, 961s # GDBusMethodInvocation *invocation, 961s # GVariant *arg_files); 961s # 961s # }; 961s # 961s # GType fdpassing_get_type (void) G_GNUC_CONST; 961s # 961s # GDBusInterfaceInfo *fdpassing_interface_info (void); 961s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 961s # 961s # 961s # /* D-Bus method call completion functions: */ 961s # void fdpassing_complete_hello_fd ( 961s # FDPassing *object, 961s # GDBusMethodInvocation *invocation, 961s # GUnixFDList *fd_list, 961s # const gchar *response); 961s # 961s # void fdpassing_complete_no_annotation ( 961s # FDPassing *object, 961s # GDBusMethodInvocation *invocation, 961s # GVariant *response, 961s # const gchar *response_locale); 961s # 961s # void fdpassing_complete_no_annotation_nested ( 961s # FDPassing *object, 961s # GDBusMethodInvocation *invocation); 961s # 961s # 961s # 961s # /* D-Bus method calls: */ 961s # void fdpassing_call_hello_fd ( 961s # FDPassing *proxy, 961s # const gchar *arg_greeting, 961s # GUnixFDList *fd_list, 961s # GCancellable *cancellable, 961s # GAsyncReadyCallback callback, 961s # gpointer user_data); 961s # 961s # gboolean fdpassing_call_hello_fd_finish ( 961s # FDPassing *proxy, 961s # gchar **out_response, 961s # GUnixFDList **out_fd_list, 961s # GAsyncResult *res, 961s # GError **error); 961s # 961s # gboolean fdpassing_call_hello_fd_sync ( 961s # FDPassing *proxy, 961s # const gchar *arg_greeting, 961s # GUnixFDList *fd_list, 961s # gchar **out_response, 961s # GUnixFDList **out_fd_list, 961s # GCancellable *cancellable, 961s # GError **error); 961s # 961s # void fdpassing_call_no_annotation ( 961s # FDPassing *proxy, 961s # GVariant *arg_greeting, 961s # const gchar *arg_greeting_locale, 961s # GCancellable *cancellable, 961s # GAsyncReadyCallback callback, 961s # gpointer user_data); 961s # 961s # gboolean fdpassing_call_no_annotation_finish ( 961s # FDPassing *proxy, 961s # GVariant **out_response, 961s # gchar **out_response_locale, 961s # GAsyncResult *res, 961s # GError **error); 961s # 961s # gboolean fdpassing_call_no_annotation_sync ( 961s # FDPassing *proxy, 961s # GVariant *arg_greeting, 961s # const gchar *arg_greeting_locale, 961s # GVariant **out_response, 961s # gchar **out_response_locale, 961s # GCancellable *cancellable, 961s # GError **error); 961s # 961s # void fdpassing_call_no_annotation_nested ( 961s # FDPassing *proxy, 961s # GVariant *arg_files, 961s # GCancellable *cancellable, 961s # GAsyncReadyCallback callback, 961s # gpointer user_data); 961s # 961s # gboolean fdpassing_call_no_annotation_nested_finish ( 961s # FDPassing *proxy, 961s # GAsyncResult *res, 961s # GError **error); 961s # 961s # gboolean fdpassing_call_no_annotation_nested_sync ( 961s # FDPassing *proxy, 961s # GVariant *arg_files, 961s # GCancellable *cancellable, 961s # GError **error); 961s # 961s # 961s # 961s # /* ---- */ 961s # 961s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 961s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 961s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 961s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 961s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 961s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 961s # 961s # typedef struct _FDPassingProxy FDPassingProxy; 961s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 961s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 961s # 961s # struct _FDPassingProxy 961s # { 961s # /*< private >*/ 961s # GDBusProxy parent_instance; 961s # FDPassingProxyPrivate *priv; 961s # }; 961s # 961s # struct _FDPassingProxyClass 961s # { 961s # GDBusProxyClass parent_class; 961s # }; 961s # 961s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 961s # 961s # #if GLIB_CHECK_VERSION(2, 44, 0) 961s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 961s # #endif 961s # 961s # void fdpassing_proxy_new ( 961s # GDBusConnection *connection, 961s # GDBusProxyFlags flags, 961s # const gchar *name, 961s # const gchar *object_path, 961s # GCancellable *cancellable, 961s # GAsyncReadyCallback callback, 961s # gpointer user_data); 961s # FDPassing *fdpassing_proxy_new_finish ( 961s # GAsyncResult *res, 961s # GError **error); 961s # FDPassing *fdpassing_proxy_new_sync ( 961s # GDBusConnection *connection, 961s # GDBusProxyFlags flags, 961s # const gchar *name, 961s # const gchar *object_path, 961s # GCancellable *cancellable, 961s # GError **error); 961s # 961s # void fdpassing_proxy_new_for_bus ( 961s # GBusType bus_type, 961s # GDBusProxyFlags flags, 961s # const gchar *name, 961s # const gchar *object_path, 961s # GCancellable *cancellable, 961s # GAsyncReadyCallback callback, 961s # gpointer user_data); 961s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 961s # GAsyncResult *res, 961s # GError **error); 961s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 961s # GBusType bus_type, 961s # GDBusProxyFlags flags, 961s # const gchar *name, 961s # const gchar *object_path, 961s # GCancellable *cancellable, 961s # GError **error); 961s # 961s # 961s # /* ---- */ 961s # 961s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 961s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 961s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 961s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 961s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 961s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 961s # 961s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 961s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 961s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 961s # 961s # struct _FDPassingSkeleton 961s # { 961s # /*< private >*/ 961s # GDBusInterfaceSkeleton parent_instance; 961s # FDPassingSkeletonPrivate *priv; 961s # }; 961s # 961s # struct _FDPassingSkeletonClass 961s # { 961s # GDBusInterfaceSkeletonClass parent_class; 961s # }; 961s # 961s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 961s # 961s # #if GLIB_CHECK_VERSION(2, 44, 0) 961s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 961s # #endif 961s # 961s # FDPassing *fdpassing_skeleton_new (void); 961s # 961s # 961s # G_END_DECLS 961s # 961s # #endif /* __STDOUT__ */ 961s # /tmp/tmpji6afydv/tmpzvaxb15r.xml: 961s # 961s # 961s # 961s # 961s # 961s # 961s # 961s # 961s # 961s # 961s # 961s # 961s # 961s # 961s # 961s # 961s # 961s # 961s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpji6afydv/tmpzvaxb15r.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 961s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 961s # Output: /* 961s # * This file is generated by gdbus-codegen, do not modify it. 961s # * 961s # * The license of this code is the same as for the D-Bus interface description 961s # * it was derived from. Note that it links to GLib, so must comply with the 961s # * LGPL linking clauses. 961s # */ 961s # 961s # #ifndef __STDOUT__ 961s # #define __STDOUT__ 961s # 961s # #include 961s # 961s # G_BEGIN_DECLS 961s # 961s # 961s # /* ------------------------------------------------------------------------ */ 961s # /* Declarations for FDPassing */ 961s # 961s # #define TYPE_FDPASSING (fdpassing_get_type ()) 961s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 961s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 961s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 961s # 961s # struct _FDPassing; 961s # typedef struct _FDPassing FDPassing; 961s # typedef struct _FDPassingIface FDPassingIface; 961s # 961s # struct _FDPassingIface 961s # { 961s # GTypeInterface parent_iface; 961s # 961s # gboolean (*handle_hello_fd) ( 961s # FDPassing *object, 961s # GDBusMethodInvocation *invocation, 961s # GUnixFDList *fd_list, 961s # const gchar *arg_greeting); 961s # 961s # gboolean (*handle_no_annotation) ( 961s # FDPassing *object, 961s # GDBusMethodInvocation *invocation, 961s # GUnixFDList *fd_list, 961s # GVariant *arg_greeting, 961s # const gchar *arg_greeting_locale); 961s # 961s # gboolean (*handle_no_annotation_nested) ( 961s # FDPassing *object, 961s # GDBusMethodInvocation *invocation, 961s # GUnixFDList *fd_list, 961s # GVariant *arg_files); 961s # 961s # }; 961s # 961s # GType fdpassing_get_type (void) G_GNUC_CONST; 961s # 961s # GDBusInterfaceInfo *fdpassing_interface_info (void); 961s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 961s # 961s # 961s # /* D-Bus method call completion functions: */ 961s # void fdpassing_complete_hello_fd ( 961s # FDPassing *object, 961s # GDBusMethodInvocation *invocation, 961s # GUnixFDList *fd_list, 961s # const gchar *response); 961s # 961s # void fdpassing_complete_no_annotation ( 961s # FDPassing *object, 961s # GDBusMethodInvocation *invocation, 961s # GUnixFDList *fd_list, 961s # GVariant *response, 961s # const gchar *response_locale); 961s # 961s # void fdpassing_complete_no_annotation_nested ( 961s # FDPassing *object, 961s # GDBusMethodInvocation *invocation, 961s # GUnixFDList *fd_list); 961s # 961s # 961s # 961s # /* D-Bus method calls: */ 961s # void fdpassing_call_hello_fd ( 961s # FDPassing *proxy, 961s # const gchar *arg_greeting, 961s # GDBusCallFlags call_flags, 961s # gint timeout_msec, 961s # GUnixFDList *fd_list, 961s # GCancellable *cancellable, 961s # GAsyncReadyCallback callback, 961s # gpointer user_data); 961s # 961s # gboolean fdpassing_call_hello_fd_finish ( 961s # FDPassing *proxy, 961s # gchar **out_response, 961s # GUnixFDList **out_fd_list, 961s # GAsyncResult *res, 961s # GError **error); 961s # 961s # gboolean fdpassing_call_hello_fd_sync ( 961s # FDPassing *proxy, 961s # const gchar *arg_greeting, 961s # GDBusCallFlags call_flags, 961s # gint timeout_msec, 961s # GUnixFDList *fd_list, 961s # gchar **out_response, 961s # GUnixFDList **out_fd_list, 961s # GCancellable *cancellable, 961s # GError **error); 961s # 961s # void fdpassing_call_no_annotation ( 961s # FDPassing *proxy, 961s # GVariant *arg_greeting, 961s # const gchar *arg_greeting_locale, 961s # GDBusCallFlags call_flags, 961s # gint timeout_msec, 961s # GUnixFDList *fd_list, 961s # GCancellable *cancellable, 961s # GAsyncReadyCallback callback, 961s # gpointer user_data); 961s # 961s # gboolean fdpassing_call_no_annotation_finish ( 961s # FDPassing *proxy, 961s # GVariant **out_response, 961s # gchar **out_response_locale, 961s # GUnixFDList **out_fd_list, 961s # GAsyncResult *res, 961s # GError **error); 961s # 961s # gboolean fdpassing_call_no_annotation_sync ( 961s # FDPassing *proxy, 961s # GVariant *arg_greeting, 961s # const gchar *arg_greeting_locale, 961s # GDBusCallFlags call_flags, 961s # gint timeout_msec, 961s # GUnixFDList *fd_list, 961s # GVariant **out_response, 961s # gchar **out_response_locale, 961s # GUnixFDList **out_fd_list, 961s # GCancellable *cancellable, 961s # GError **error); 961s # 961s # void fdpassing_call_no_annotation_nested ( 961s # FDPassing *proxy, 961s # GVariant *arg_files, 961s # GDBusCallFlags call_flags, 961s # gint timeout_msec, 961s # GUnixFDList *fd_list, 961s # GCancellable *cancellable, 961s # GAsyncReadyCallback callback, 961s # gpointer user_data); 961s # 961s # gboolean fdpassing_call_no_annotation_nested_finish ( 961s # FDPassing *proxy, 961s # GUnixFDList **out_fd_list, 961s # GAsyncResult *res, 961s # GError **error); 961s # 961s # gboolean fdpassing_call_no_annotation_nested_sync ( 961s # FDPassing *proxy, 961s # GVariant *arg_files, 961s # GDBusCallFlags call_flags, 961s # gint timeout_msec, 961s # GUnixFDList *fd_list, 961s # GUnixFDList **out_fd_list, 961s # GCancellable *cancellable, 961s # GError **error); 961s # 961s # 961s # 961s # /* ---- */ 961s # 961s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 961s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 961s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 961s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 961s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 961s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 961s # 961s # typedef struct _FDPassingProxy FDPassingProxy; 961s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 961s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 961s # 961s # struct _FDPassingProxy 961s # { 961s # /*< private >*/ 961s # GDBusProxy parent_instance; 961s # FDPassingProxyPrivate *priv; 961s # }; 961s # 961s # struct _FDPassingProxyClass 961s # { 961s # GDBusProxyClass parent_class; 961s # }; 961s # 961s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 961s # 961s # #if GLIB_CHECK_VERSION(2, 44, 0) 961s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 961s # #endif 961s # 961s # void fdpassing_proxy_new ( 961s # GDBusConnection *connection, 961s # GDBusProxyFlags flags, 961s # const gchar *name, 961s # const gchar *object_path, 961s # GCancellable *cancellable, 961s # GAsyncReadyCallback callback, 961s # gpointer user_data); 961s # FDPassing *fdpassing_proxy_new_finish ( 961s # GAsyncResult *res, 961s # GError **error); 961s # FDPassing *fdpassing_proxy_new_sync ( 961s # GDBusConnection *connection, 961s # GDBusProxyFlags flags, 961s # const gchar *name, 961s # const gchar *object_path, 961s # GCancellable *cancellable, 961s # GError **error); 961s # 961s # void fdpassing_proxy_new_for_bus ( 961s # GBusType bus_type, 961s # GDBusProxyFlags flags, 961s # const gchar *name, 961s # const gchar *object_path, 961s # GCancellable *cancellable, 961s # GAsyncReadyCallback callback, 961s # gpointer user_data); 961s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 961s # GAsyncResult *res, 961s # GError **error); 961s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 961s # GBusType bus_type, 961s # GDBusProxyFlags flags, 961s # const gchar *name, 961s # const gchar *object_path, 961s # GCancellable *cancellable, 961s # GError **error); 961s # 961s # 961s # /* ---- */ 961s # 961s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 961s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 961s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 961s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 961s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 961s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 961s # 961s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 961s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 961s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 961s # 961s # struct _FDPassingSkeleton 961s # { 961s # /*< private >*/ 961s # GDBusInterfaceSkeleton parent_instance; 961s # FDPassingSkeletonPrivate *priv; 961s # }; 961s # 961s # struct _FDPassingSkeletonClass 961s # { 961s # GDBusInterfaceSkeletonClass parent_class; 961s # }; 961s # 961s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 961s # 961s # #if GLIB_CHECK_VERSION(2, 44, 0) 961s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 961s # #endif 961s # 961s # FDPassing *fdpassing_skeleton_new (void); 961s # 961s # 961s # G_END_DECLS 961s # 961s # #endif /* __STDOUT__ */ 961s 1..39 961s ok - glib/codegen.py.test 961s # Running test: glib/spawn-multithreaded.test 961s TAP version 14 961s # random seed: R02Sb2938b2216d742c4e521d07a99ff3169 961s 1..4 961s # Start of gthread tests 962s # Child 4425 (ttl 1) exited, status 0 963s # Child 4426 (ttl 2) exited, status 0 963s ok 1 /gthread/spawn-childs 963s # slow test /gthread/spawn-childs executed in 2.00 secs 963s # Created pid: 4429 (ttl 1) 963s # Created pid: 4431 (ttl 2) 964s # Executing: glib/spawn-multithreaded.test 964s # Child 4429 (ttl 1) exited, status 0 965s # Child 4431 (ttl 2) exited, status 0 965s ok 2 /gthread/spawn-childs-threads 965s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 965s ok 3 /gthread/spawn-sync 965s ok 4 /gthread/spawn-async 965s # End of gthread tests 965s ok - glib/spawn-multithreaded.test 965s # Running test: glib/memory-output-stream.test 965s TAP version 14 965s # random seed: R02Sd9c6d9b0100a32037adbfea3733b20eb 965s 1..10 965s # Start of memory-output-stream tests 965s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 965s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 965s ok 1 /memory-output-stream/truncate 965s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 965s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 965s ok 2 /memory-output-stream/get-data-size 965s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 965s ok 3 /memory-output-stream/properties 965s ok 4 /memory-output-stream/write-bytes 965s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 965s ok 5 /memory-output-stream/write-null 965s ok 6 /memory-output-stream/writev 965s ok 7 /memory-output-stream/writev_nonblocking 965s ok 8 /memory-output-stream/steal_as_bytes 965s # Start of seek tests 965s ok 9 /memory-output-stream/seek/fixed 965s ok 10 /memory-output-stream/seek/resizable 965s # End of seek tests 965s # End of memory-output-stream tests 965s ok - glib/memory-output-stream.test 965s # Running test: glib/atomic-c-99.test 965s TAP version 14 965s # random seed: R02S19928f7a7c3bb45e9fcbe528ec3b8659 965s 1..2 965s # Start of atomic tests 965s ok 1 /atomic/types 965s ok 2 /atomic/threaded 965s # End of atomic tests 965s ok - glib/atomic-c-99.test 965s # Running test: glib/genmarshal.py.test 965s TAP version 13 965s ok 1 __main__.TestGenmarshal.test_empty_list 965s # tmpdir: /tmp/tmph_3myokd 965s # genmarshal: /usr/bin/glib-genmarshal 965s # /tmp/tmph_3myokd/tmpzjvxpy0h.list: 965s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmph_3myokd/tmpzjvxpy0h.list', '--header', '--quiet'] 965s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 965s # Output: /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 965s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 965s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 965s # 965s # #include 965s # 965s # G_BEGIN_DECLS 965s # 965s # 965s # G_END_DECLS 965s # 965s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 965s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmph_3myokd/tmpzjvxpy0h.list', '--body', '--quiet'] 965s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 965s # Output: /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 965s # #include 965s # 965s # #ifdef G_ENABLE_DEBUG 965s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 965s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 965s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 965s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 965s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 965s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 965s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 965s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 965s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 965s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 965s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 965s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 965s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 965s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 965s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 965s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 965s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 965s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 965s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 965s # #else /* !G_ENABLE_DEBUG */ 965s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 965s # * Do not access GValues directly in your code. Instead, use the 965s # * g_value_get_*() functions 965s # */ 965s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 965s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 965s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 965s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 965s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 965s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 965s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 965s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 965s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 965s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 965s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 965s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 965s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 965s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 965s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 965s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 965s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 965s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 965s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 965s # #endif /* !G_ENABLE_DEBUG */ 965s ok 2 __main__.TestGenmarshal.test_help 965s # tmpdir: /tmp/tmpzsai9ild 965s # genmarshal: /usr/bin/glib-genmarshal 965s # Running: ['/usr/bin/glib-genmarshal', '--help'] 965s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 965s # Output: usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 965s # [--internal] [--valist-marshallers] [-v] 965s # [--g-fatal-warnings] [--include-header [HEADER]] 965s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 965s # [--prototypes] [--header] [--body] 965s # [--stdinc | --nostdinc] [--quiet | --verbose] 965s # [FILE ...] 965s # 965s # Generate signal marshallers for GObject 965s # 965s # positional arguments: 965s # FILE Files with lists of marshallers to generate, or "-" 965s # for standard input 965s # 965s # options: 965s # -h, --help show this help message and exit 965s # --prefix STRING Specify marshaller prefix 965s # --output FILE Write output into the specified file 965s # --skip-source Skip source location comments 965s # --internal Mark generated functions as internal 965s # --valist-marshallers Generate va_list marshallers 965s # -v, --version Print version information, and exit 965s # --g-fatal-warnings Make warnings fatal 965s # --include-header [HEADER] 965s # Include the specified header in the body 965s # --pragma-once Use "pragma once" as the inclusion guard 965s # -D CPP_DEFINES Pre-processor define 965s # -U CPP_UNDEFINES Pre-processor undefine 965s # --prototypes Generate the marshallers prototype in the C code 965s # --header Generate C headers 965s # --body Generate C code 965s # --stdinc Include standard marshallers 965s # --nostdinc Use standard marshallers 965s # --quiet Only print warnings and errors 965s # --verbose Be verbose, and include debugging information 965s ok 3 __main__.TestGenmarshal.test_no_args 965s # tmpdir: /tmp/tmptdta0gtz 965s # genmarshal: /usr/bin/glib-genmarshal 965s # Running: ['/usr/bin/glib-genmarshal'] 965s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 965s # Output: 965s ok 4 __main__.TestGenmarshal.test_void_boolean 965s # tmpdir: /tmp/tmpop115fet 965s # genmarshal: /usr/bin/glib-genmarshal 965s # /tmp/tmpop115fet/tmpow9zsizg.list: VOID:BOOLEAN 965s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpop115fet/tmpow9zsizg.list', '--header', '--quiet'] 965s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 965s # Output: /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 965s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 965s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 965s # 965s # #include 965s # 965s # G_BEGIN_DECLS 965s # 965s # /* VOID:BOOLEAN (/tmp/tmpop115fet/tmpow9zsizg.list:1) */ 965s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 965s # 965s # 965s # G_END_DECLS 965s # 965s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 965s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpop115fet/tmpow9zsizg.list', '--body', '--quiet'] 965s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 965s # Output: /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 965s # #include 965s # 965s # #ifdef G_ENABLE_DEBUG 965s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 965s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 965s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 965s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 965s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 965s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 965s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 965s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 965s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 965s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 965s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 965s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 965s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 965s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 965s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 965s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 965s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 965s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 965s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 965s # #else /* !G_ENABLE_DEBUG */ 965s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 965s # * Do not access GValues directly in your code. Instead, use the 965s # * g_value_get_*() functions 965s # */ 965s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 965s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 965s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 965s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 965s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 965s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 965s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 965s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 965s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 965s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 965s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 965s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 965s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 965s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 965s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 965s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 965s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 965s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 965s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 965s # #endif /* !G_ENABLE_DEBUG */ 965s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 965s # tmpdir: /tmp/tmp2p2b3a2r 965s # genmarshal: /usr/bin/glib-genmarshal 965s # /tmp/tmp2p2b3a2r/tmpzwaggx_z.list: VOID:BOOLEAN,INT64 965s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp2p2b3a2r/tmpzwaggx_z.list', '--header', '--quiet'] 965s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 965s # Output: /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 965s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 965s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 965s # 965s # #include 965s # 965s # G_BEGIN_DECLS 965s # 965s # /* VOID:BOOLEAN,INT64 (/tmp/tmp2p2b3a2r/tmpzwaggx_z.list:1) */ 965s # extern 965s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 965s # GValue *return_value, 965s # guint n_param_values, 965s # const GValue *param_values, 965s # gpointer invocation_hint, 965s # gpointer marshal_data); 965s # 965s # 965s # G_END_DECLS 965s # 965s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 965s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp2p2b3a2r/tmpzwaggx_z.list', '--body', '--quiet'] 965s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 965s # Output: /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 965s # #include 965s # 965s # #ifdef G_ENABLE_DEBUG 965s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 965s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 965s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 965s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 965s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 965s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 965s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 965s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 965s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 965s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 965s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 965s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 965s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 965s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 965s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 965s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 965s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 965s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 965s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 965s # #else /* !G_ENABLE_DEBUG */ 965s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 965s # * Do not access GValues directly in your code. Instead, use the 965s # * g_value_get_*() functions 965s # */ 965s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 965s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 965s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 965s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 965s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 965s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 965s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 965s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 965s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 965s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 965s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 965s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 965s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 965s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 965s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 965s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 965s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 965s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 965s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 965s # #endif /* !G_ENABLE_DEBUG */ 965s # 965s # /* VOID:BOOLEAN,INT64 (/tmp/tmp2p2b3a2r/tmpzwaggx_z.list:1) */ 965s # void 965s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 965s # GValue *return_value G_GNUC_UNUSED, 965s # guint n_param_values, 965s # const GValue *param_values, 965s # gpointer invocation_hint G_GNUC_UNUSED, 965s # gpointer marshal_data) 965s # { 965s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 965s # gboolean arg1, 965s # gint64 arg2, 965s # gpointer data2); 965s # GCClosure *cc = (GCClosure *) closure; 965s # gpointer data1, data2; 965s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 965s # 965s # g_return_if_fail (n_param_values == 3); 965s # 965s # if (G_CCLOSURE_SWAP_DATA (closure)) 965s # { 965s # data1 = closure->data; 965s # data2 = g_value_peek_pointer (param_values + 0); 965s # } 965s # else 965s # { 965s # data1 = g_value_peek_pointer (param_values + 0); 965s # data2 = closure->data; 965s # } 965s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 965s # 965s # callback (data1, 965s # g_marshal_value_peek_boolean (param_values + 1), 965s # g_marshal_value_peek_int64 (param_values + 2), 965s # data2); 965s # } 965s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 965s # tmpdir: /tmp/tmpu9e524tf 965s # genmarshal: /usr/bin/glib-genmarshal 965s # /tmp/tmpu9e524tf/tmp2iwei76p.list: VOID:PARAM 965s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpu9e524tf/tmp2iwei76p.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 965s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 965s # Output: /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 965s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 965s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 965s # 965s # G_BEGIN_DECLS 965s # 965s # /* VOID:PARAM (/tmp/tmpu9e524tf/tmp2iwei76p.list:1) */ 965s # extern 965s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 965s # GValue *return_value, 965s # guint n_param_values, 965s # const GValue *param_values, 965s # gpointer invocation_hint, 965s # gpointer marshal_data); 965s # extern 965s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 965s # GValue *return_value, 965s # gpointer instance, 965s # va_list args, 965s # gpointer marshal_data, 965s # int n_params, 965s # GType *param_types); 965s # 965s # 965s # G_END_DECLS 965s # 965s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 965s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpu9e524tf/tmp2iwei76p.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 965s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 965s # Output: /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 965s # #ifdef G_ENABLE_DEBUG 965s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 965s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 965s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 965s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 965s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 965s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 965s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 965s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 965s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 965s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 965s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 965s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 965s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 965s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 965s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 965s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 965s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 965s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 965s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 965s # #else /* !G_ENABLE_DEBUG */ 965s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 965s # * Do not access GValues directly in your code. Instead, use the 965s # * g_value_get_*() functions 965s # */ 965s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 965s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 965s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 965s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 965s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 965s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 965s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 965s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 965s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 965s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 965s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 965s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 965s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 965s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 965s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 965s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 965s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 965s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 965s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 965s # #endif /* !G_ENABLE_DEBUG */ 965s # 965s # /* VOID:PARAM (/tmp/tmpu9e524tf/tmp2iwei76p.list:1) */ 965s # void 965s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 965s # GValue *return_value G_GNUC_UNUSED, 965s # guint n_param_values, 965s # const GValue *param_values, 965s # gpointer invocation_hint G_GNUC_UNUSED, 965s # gpointer marshal_data) 965s # { 965s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 965s # gpointer arg1, 965s # gpointer data2); 965s # GCClosure *cc = (GCClosure *) closure; 965s # gpointer data1, data2; 965s # GMarshalFunc_VOID__PARAM callback; 965s # 965s # g_return_if_fail (n_param_values == 2); 965s # 965s # if (G_CCLOSURE_SWAP_DATA (closure)) 965s # { 965s # data1 = closure->data; 965s # data2 = g_value_peek_pointer (param_values + 0); 965s # } 965s # else 965s # { 965s # data1 = g_value_peek_pointer (param_values + 0); 965s # data2 = closure->data; 965s # } 965s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 965s # 965s # callback (data1, 965s # g_marshal_value_peek_param (param_values + 1), 965s # data2); 965s # } 965s # 965s # void 965s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 965s # GValue *return_value G_GNUC_UNUSED, 965s # gpointer instance, 965s # va_list args, 965s # gpointer marshal_data, 965s # int n_params, 965s # GType *param_types) 965s # { 965s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 965s # gpointer arg1, 965s # gpointer data2); 965s # GCClosure *cc = (GCClosure *) closure; 965s # gpointer data1, data2; 965s # GMarshalFunc_VOID__PARAM callback; 965s # gpointer arg0; 965s # va_list args_copy; 965s # 965s # va_copy (args_copy, args); 965s # arg0 = (gpointer) va_arg (args_copy, gpointer); 965s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 965s # arg0 = g_param_spec_ref (arg0); 965s # va_end (args_copy); 965s # 965s # 965s # if (G_CCLOSURE_SWAP_DATA (closure)) 965s # { 965s # data1 = closure->data; 965s # data2 = instance; 965s # } 965s # else 965s # { 965s # data1 = instance; 965s # data2 = closure->data; 965s # } 965s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 965s # 965s # callback (data1, 965s # arg0, 965s # data2); 965s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 965s # g_param_spec_unref (arg0); 965s # } 966s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 966s # tmpdir: /tmp/tmpi1382zli 966s # genmarshal: /usr/bin/glib-genmarshal 966s # /tmp/tmpi1382zli/tmp42tbfui8.list: VOID:STRING 966s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpi1382zli/tmp42tbfui8.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 966s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 966s # Output: /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 966s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 966s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 966s # 966s # G_BEGIN_DECLS 966s # 966s # /* VOID:STRING (/tmp/tmpi1382zli/tmp42tbfui8.list:1) */ 966s # extern 966s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 966s # GValue *return_value, 966s # guint n_param_values, 966s # const GValue *param_values, 966s # gpointer invocation_hint, 966s # gpointer marshal_data); 966s # extern 966s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 966s # GValue *return_value, 966s # gpointer instance, 966s # va_list args, 966s # gpointer marshal_data, 966s # int n_params, 966s # GType *param_types); 966s # 966s # 966s # G_END_DECLS 966s # 966s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 966s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpi1382zli/tmp42tbfui8.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 966s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 966s # Output: /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 966s # #ifdef G_ENABLE_DEBUG 966s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 966s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 966s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 966s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 966s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 966s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 966s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 966s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 966s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 966s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 966s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 966s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 966s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 966s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 966s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 966s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 966s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 966s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 966s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 966s # #else /* !G_ENABLE_DEBUG */ 966s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 966s # * Do not access GValues directly in your code. Instead, use the 966s # * g_value_get_*() functions 966s # */ 966s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 966s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 966s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 966s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 966s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 966s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 966s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 966s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 966s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 966s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 966s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 966s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 966s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 966s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 966s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 966s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 966s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 966s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 966s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 966s # #endif /* !G_ENABLE_DEBUG */ 966s # 966s # /* VOID:STRING (/tmp/tmpi1382zli/tmp42tbfui8.list:1) */ 966s # void 966s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 966s # GValue *return_value G_GNUC_UNUSED, 966s # guint n_param_values, 966s # const GValue *param_values, 966s # gpointer invocation_hint G_GNUC_UNUSED, 966s # gpointer marshal_data) 966s # { 966s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 966s # gpointer arg1, 966s # gpointer data2); 966s # GCClosure *cc = (GCClosure *) closure; 966s # gpointer data1, data2; 966s # GMarshalFunc_VOID__STRING callback; 966s # 966s # g_return_if_fail (n_param_values == 2); 966s # 966s # if (G_CCLOSURE_SWAP_DATA (closure)) 966s # { 966s # data1 = closure->data; 966s # data2 = g_value_peek_pointer (param_values + 0); 966s # } 966s # else 966s # { 966s # data1 = g_value_peek_pointer (param_values + 0); 966s # data2 = closure->data; 966s # } 966s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 966s # 966s # callback (data1, 966s # g_marshal_value_peek_string (param_values + 1), 966s # data2); 966s # } 966s # 966s # void 966s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 966s # GValue *return_value G_GNUC_UNUSED, 966s # gpointer instance, 966s # va_list args, 966s # gpointer marshal_data, 966s # int n_params, 966s # GType *param_types) 966s # { 966s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 966s # gpointer arg1, 966s # gpointer data2); 966s # GCClosure *cc = (GCClosure *) closure; 966s # gpointer data1, data2; 966s # GMarshalFunc_VOID__STRING callback; 966s # gpointer arg0; 966s # va_list args_copy; 966s # 966s # va_copy (args_copy, args); 966s # arg0 = (gpointer) va_arg (args_copy, gpointer); 966s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 966s # arg0 = g_strdup (arg0); 966s # va_end (args_copy); 966s # 966s # 966s # if (G_CCLOSURE_SWAP_DATA (closure)) 966s # { 966s # data1 = closure->data; 966s # data2 = instance; 966s # } 966s # else 966s # { 966s # data1 = instance; 966s # data2 = closure->data; 966s # } 966s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 966s # 966s # callback (data1, 966s # arg0, 966s # data2); 966s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 966s # g_free (arg0); 966s # } 966s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 966s # tmpdir: /tmp/tmpj31qujn2 966s # genmarshal: /usr/bin/glib-genmarshal 966s # /tmp/tmpj31qujn2/tmp902ljhkm.list: VOID:VARIANT 966s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpj31qujn2/tmp902ljhkm.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 966s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 966s # Output: /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 966s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 966s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 966s # 966s # G_BEGIN_DECLS 966s # 966s # /* VOID:VARIANT (/tmp/tmpj31qujn2/tmp902ljhkm.list:1) */ 966s # extern 966s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 966s # GValue *return_value, 966s # guint n_param_values, 966s # const GValue *param_values, 966s # gpointer invocation_hint, 966s # gpointer marshal_data); 966s # extern 966s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 966s # GValue *return_value, 966s # gpointer instance, 966s # va_list args, 966s # gpointer marshal_data, 966s # int n_params, 966s # GType *param_types); 966s # 966s # 966s # G_END_DECLS 966s # 966s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 966s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpj31qujn2/tmp902ljhkm.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 966s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 966s # Output: /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 966s # #ifdef G_ENABLE_DEBUG 966s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 966s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 966s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 966s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 966s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 966s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 966s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 966s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 966s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 966s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 966s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 966s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 966s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 966s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 966s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 966s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 966s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 966s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 966s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 966s # #else /* !G_ENABLE_DEBUG */ 966s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 966s # * Do not access GValues directly in your code. Instead, use the 966s # * g_value_get_*() functions 966s # */ 966s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 966s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 966s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 966s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 966s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 966s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 966s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 966s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 966s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 966s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 966s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 966s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 966s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 966s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 966s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 966s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 966s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 966s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 966s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 966s # #endif /* !G_ENABLE_DEBUG */ 966s # 966s # /* VOID:VARIANT (/tmp/tmpj31qujn2/tmp902ljhkm.list:1) */ 966s # void 966s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 966s # GValue *return_value G_GNUC_UNUSED, 966s # guint n_param_values, 966s # const GValue *param_values, 966s # gpointer invocation_hint G_GNUC_UNUSED, 966s # gpointer marshal_data) 966s # { 966s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 966s # gpointer arg1, 966s # gpointer data2); 966s # GCClosure *cc = (GCClosure *) closure; 966s # gpointer data1, data2; 966s # GMarshalFunc_VOID__VARIANT callback; 966s # 966s # g_return_if_fail (n_param_values == 2); 966s # 966s # if (G_CCLOSURE_SWAP_DATA (closure)) 966s # { 966s # data1 = closure->data; 966s # data2 = g_value_peek_pointer (param_values + 0); 966s # } 966s # else 966s # { 966s # data1 = g_value_peek_pointer (param_values + 0); 966s # data2 = closure->data; 966s # } 966s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 966s # 966s # callback (data1, 966s # g_marshal_value_peek_variant (param_values + 1), 966s # data2); 966s # } 966s # 966s # void 966s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 966s # GValue *return_value G_GNUC_UNUSED, 966s # gpointer instance, 966s # va_list args, 966s # gpointer marshal_data, 966s # int n_params, 966s # GType *param_types) 966s # { 966s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 966s # gpointer arg1, 966s # gpointer data2); 966s # GCClosure *cc = (GCClosure *) closure; 966s # gpointer data1, data2; 966s # GMarshalFunc_VOID__VARIANT callback; 966s # gpointer arg0; 966s # va_list args_copy; 966s # 966s # va_copy (args_copy, args); 966s # arg0 = (gpointer) va_arg (args_copy, gpointer); 966s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 966s # arg0 = g_variant_ref_sink (arg0); 966s # va_end (args_copy); 966s # 966s # 966s # if (G_CCLOSURE_SWAP_DATA (closure)) 966s # { 966s # data1 = closure->data; 966s # data2 = instance; 966s # } 966s # else 966s # { 966s # data1 = instance; 966s # data2 = closure->data; 966s # } 966s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 966s # 966s # callback (data1, 966s # arg0, 966s # data2); 966s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 966s # g_variant_unref (arg0); 966s # } 966s 1..8 966s ok - glib/genmarshal.py.test 966s # Running test: glib/override.test 966s TAP version 14 966s # random seed: R02Se26fb27c0b423017942bbf2bf28844ee 966s 1..1 966s # Start of gobject tests 966s # *** emitting foo on a TestA instance 966s # Expecting: TestA::foo,TestI::foo 966s # Got: TestA::foo,TestI::foo 966s # *** emitting bar on a TestA instance 966s # Expecting: TestA::bar 966s # Got: TestA::bar 966s # *** emitting baz on a TestA instance 966s # Expecting: TestA::baz 966s # Got: TestA::baz 966s # *** emitting foo on a TestB instance 966s # Expecting: TestB::foo,TestA::foo,TestI::foo 966s # Got: TestB::foo,TestA::foo,TestI::foo 966s # *** emitting bar on a TestB instance 966s # Expecting: TestB::bar,TestA::bar 966s # Got: TestB::bar,TestA::bar 966s # *** emitting baz on a TestB instance 966s # Expecting: TestB::baz,TestA::baz 966s # Got: TestB::baz,TestA::baz 966s # *** emitting foo on a TestC instance 966s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 966s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 966s # *** emitting bar on a TestC instance 966s # Expecting: TestC::bar,TestB::bar,TestA::bar 966s # Got: TestC::bar,TestB::bar,TestA::bar 966s # *** emitting baz on a TestC instance 966s # Expecting: TestC::baz,TestB::baz,TestA::baz 966s # Got: TestC::baz,TestB::baz,TestA::baz 966s ok 1 /gobject/override 966s # End of gobject tests 966s ok - glib/override.test 966s # Running test: glib/properties-refcount4.test 966s TAP version 14 966s # random seed: R02S20edc05f7fba4630f7a993a61629ab75 966s 1..1 966s # Start of gobject tests 966s # Start of refcount tests 966s ok 1 /gobject/refcount/properties-4 966s # End of refcount tests 966s # End of gobject tests 966s ok - glib/properties-refcount4.test 966s # Running test: glib/sequence.test 966s TAP version 14 966s # random seed: R02S96e34c9ac3b8c04fedb63be484b61ac0 966s 1..16 966s # Start of sequence tests 966s ok 1 /sequence/out-of-range-jump 966s ok 2 /sequence/iter-move 966s ok 3 /sequence/insert-sorted-non-pointer 966s ok 4 /sequence/stable-sort 966s ok 5 /sequence/is_empty 966s # Start of random tests 967s ok 6 /sequence/random/seed:825541564 967s # slow test /sequence/random/seed:825541564 executed in 0.78 secs 967s ok 7 /sequence/random/seed:801678400 967s # slow test /sequence/random/seed:801678400 executed in 0.75 secs 968s ok 8 /sequence/random/seed:1477639090 968s # slow test /sequence/random/seed:1477639090 executed in 0.78 secs 969s # Executing: glib/sequence.test 969s ok 9 /sequence/random/seed:3369132895 969s # slow test /sequence/random/seed:3369132895 executed in 0.71 secs 970s ok 10 /sequence/random/seed:1192944867 970s # slow test /sequence/random/seed:1192944867 executed in 0.74 secs 970s ok 11 /sequence/random/seed:770458294 970s # slow test /sequence/random/seed:770458294 executed in 0.78 secs 971s ok 12 /sequence/random/seed:1099575817 971s # slow test /sequence/random/seed:1099575817 executed in 0.77 secs 972s ok 13 /sequence/random/seed:590523467 972s # slow test /sequence/random/seed:590523467 executed in 0.77 secs 973s ok 14 /sequence/random/seed:3583571454 973s # slow test /sequence/random/seed:3583571454 executed in 0.79 secs 973s ok 15 /sequence/random/seed:579241222 973s # slow test /sequence/random/seed:579241222 executed in 0.79 secs 974s # Executing: glib/sequence.test 974s ok 16 /sequence/random/seed:1779332057 974s # slow test /sequence/random/seed:1779332057 executed in 0.77 secs 974s # End of random tests 974s # End of sequence tests 974s ok - glib/sequence.test 974s # Running test: glib/simple-proxy.test 974s TAP version 14 974s # random seed: R02S32f0c6ef2d5f1040720e7f90e39ebe50 974s 1..3 974s # Start of static-proxy tests 974s ok 1 /static-proxy/uri 974s ok 2 /static-proxy/socks 974s ok 3 /static-proxy/ignore 974s # End of static-proxy tests 974s ok - glib/simple-proxy.test 974s # Running test: glib/atomic-c-17.test 974s TAP version 14 974s # random seed: R02Sf94165ede361121f17aaf3bcb8868dd3 974s 1..2 974s # Start of atomic tests 974s ok 1 /atomic/types 974s ok 2 /atomic/threaded 974s # End of atomic tests 974s ok - glib/atomic-c-17.test 974s # Running test: glib/dynamictests.test 974s TAP version 14 974s # random seed: R02Sc30c96ee0a55d681795fede4e0e9394d 974s 1..2 974s # Start of GObject tests 975s ok 1 /GObject/threaded-dynamic-ref-unref-init 975s ok 2 /GObject/dynamic-interface-properties 975s # End of GObject tests 975s ok - glib/dynamictests.test 975s # Running test: glib/shell.test 975s TAP version 14 975s # random seed: R02S9e1cc935c770b54ea3db87eaba36c118 975s 1..51 975s # Start of shell tests 975s # Start of cmdline tests 975s test cmdline: foo bar 975s ok 1 /shell/cmdline/0 975s test cmdline: foo 'bar' 975s ok 2 /shell/cmdline/1 975s test cmdline: foo "bar" 975s ok 3 /shell/cmdline/2 975s test cmdline: foo '' 'bar' 975s ok 4 /shell/cmdline/3 975s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 975s ok 5 /shell/cmdline/4 975s test cmdline: foo blah foo bar baz 975s ok 6 /shell/cmdline/5 975s test cmdline: foo ' spaces more spaces lots of spaces in this ' 975s ok 7 /shell/cmdline/6 975s test cmdline: foo \ 975s bar 975s ok 8 /shell/cmdline/7 975s test cmdline: foo '' '' 975s ok 9 /shell/cmdline/8 975s test cmdline: foo \" la la la 975s ok 10 /shell/cmdline/9 975s test cmdline: foo \ foo woo woo\ 975s ok 11 /shell/cmdline/10 975s test cmdline: foo "yada yada \$\"" 975s ok 12 /shell/cmdline/11 975s test cmdline: foo "c:\\" 975s ok 13 /shell/cmdline/12 975s test cmdline: foo # bla bla bla 975s bar 975s ok 14 /shell/cmdline/13 975s test cmdline: foo a#b 975s ok 15 /shell/cmdline/14 975s test cmdline: #foo 975s ok 16 /shell/cmdline/15 975s test cmdline: foo bar \ 975s ok 17 /shell/cmdline/16 975s test cmdline: foo 'bar baz 975s ok 18 /shell/cmdline/17 975s test cmdline: foo '"bar" baz 975s ok 19 /shell/cmdline/18 975s test cmdline: 975s ok 20 /shell/cmdline/19 975s test cmdline: 975s ok 21 /shell/cmdline/20 975s test cmdline: # foo bar 975s ok 22 /shell/cmdline/21 975s test cmdline: foo '/bar/summer'\''09 tours.pdf' 975s ok 23 /shell/cmdline/22 975s # End of cmdline tests 975s # Start of quote tests 975s ok 24 /shell/quote/0 975s ok 25 /shell/quote/1 975s ok 26 /shell/quote/2 975s ok 27 /shell/quote/3 975s ok 28 /shell/quote/4 975s ok 29 /shell/quote/5 975s ok 30 /shell/quote/6 975s # End of quote tests 975s # Start of unquote tests 975s ok 31 /shell/unquote/0 975s ok 32 /shell/unquote/1 975s ok 33 /shell/unquote/2 975s ok 34 /shell/unquote/3 975s ok 35 /shell/unquote/4 975s ok 36 /shell/unquote/5 975s ok 37 /shell/unquote/6 975s ok 38 /shell/unquote/7 975s ok 39 /shell/unquote/8 975s ok 40 /shell/unquote/9 975s ok 41 /shell/unquote/10 975s ok 42 /shell/unquote/11 975s ok 43 /shell/unquote/12 975s ok 44 /shell/unquote/13 975s ok 45 /shell/unquote/14 975s ok 46 /shell/unquote/15 975s ok 47 /shell/unquote/16 975s ok 48 /shell/unquote/17 975s ok 49 /shell/unquote/18 975s ok 50 /shell/unquote/19 975s ok 51 /shell/unquote/20 975s # End of unquote tests 975s # End of shell tests 975s ok - glib/shell.test 975s # Running test: glib/socket-address.test 975s TAP version 14 975s # random seed: R02S6ea557fe1dc68952e6e5df9ccba0f805 975s 1..2 975s # Start of socket tests 975s # Start of address tests 975s # Start of unix tests 975s ok 1 /socket/address/unix/construct 975s ok 2 /socket/address/unix/to-string 975s # End of unix tests 975s # End of address tests 975s # End of socket tests 975s ok - glib/socket-address.test 975s # Running test: glib/memory-input-stream.test 975s TAP version 14 975s # random seed: R02Sc61e1561bafeab5e5115d862f4de9d49 975s 1..6 975s # Start of memory-input-stream tests 975s ok 1 /memory-input-stream/read-chunks 975s ok 2 /memory-input-stream/async 975s ok 3 /memory-input-stream/seek 975s ok 4 /memory-input-stream/truncate 975s ok 5 /memory-input-stream/read-bytes 975s ok 6 /memory-input-stream/from-bytes 975s # End of memory-input-stream tests 975s ok - glib/memory-input-stream.test 975s # Running test: glib/queue.test 975s TAP version 14 975s # random seed: R02Sa068939a1f34eb16e2e5bb5b3da01df8 975s 1..12 975s # Start of queue tests 975s ok 1 /queue/basic 975s ok 2 /queue/copy 975s ok 3 /queue/off-by-one 975s ok 4 /queue/find-custom 975s ok 5 /queue/static 975s ok 6 /queue/clear 975s ok 7 /queue/free-full 975s ok 8 /queue/clear-full 975s ok 9 /queue/insert-sibling-link 975s ok 10 /queue/push-nth-link 975s # Start of clear-full tests 975s ok 11 /queue/clear-full/noop 975s # End of clear-full tests 975s # Start of random tests 975s ok 12 /queue/random/seed:1802131121 975s # End of random tests 975s # End of queue tests 975s ok - glib/queue.test 975s # Running test: glib/gobject-query.py.test 975s TAP version 13 975s ok 1 __main__.TestGobjectQuery.test_froots 975s # gobject-query: /usr/bin/gobject-query 975s # Running: ['/usr/bin/gobject-query', 'froots'] 975s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 975s # Output: ├void 975s # ├GInterface 975s # │ â””GTypePlugin 975s # ├gchar 975s # ├guchar 975s # ├gboolean 975s # ├gint 975s # ├guint 975s # ├glong 975s # ├gulong 975s # ├gint64 975s # ├guint64 975s # ├GEnum 975s # ├GFlags 975s # ├gfloat 975s # ├gdouble 975s # ├gchararray 975s # ├gpointer 975s # │ â””GType 975s # ├GBoxed 975s # │ â””GValueArray 975s # ├GParam 975s # │ ├GParamChar 975s # │ ├GParamUChar 975s # │ ├GParamBoolean 975s # │ ├GParamInt 975s # │ ├GParamUInt 975s # │ ├GParamLong 975s # │ ├GParamULong 975s # │ ├GParamInt64 975s # │ ├GParamUInt64 975s # │ ├GParamUnichar 975s # │ ├GParamEnum 975s # │ ├GParamFlags 975s # │ ├GParamFloat 975s # │ ├GParamDouble 975s # │ ├GParamString 975s # │ ├GParamParam 975s # │ ├GParamBoxed 975s # │ ├GParamPointer 975s # │ ├GParamValueArray 975s # │ ├GParamObject 975s # │ ├GParamOverride 975s # │ ├GParamGType 975s # │ â””GParamVariant 975s # ├GObject 975s # â””GVariant 975s ok 2 __main__.TestGobjectQuery.test_help 975s # gobject-query: /usr/bin/gobject-query 975s # Running: ['/usr/bin/gobject-query', '--help'] 975s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 975s # Output: usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 975s # -r specify root type 975s # -n don't descend type tree 975s # -h show help 975s # -b specify indent string 975s # -i specify incremental indent string 975s # -s specify line spacing 975s # qualifiers: 975s # froots iterate over fundamental roots 975s # tree print type tree 975s ok 3 __main__.TestGobjectQuery.test_tree 975s # gobject-query: /usr/bin/gobject-query 975s # Running: ['/usr/bin/gobject-query', 'tree'] 975s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 975s # Output: GObject 975s ok 4 __main__.TestGobjectQuery.test_version 975s # gobject-query: /usr/bin/gobject-query 975s # Running: ['/usr/bin/gobject-query', '--version'] 975s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 975s # Output: 2.82.4 975s 1..4 975s ok - glib/gobject-query.py.test 975s # Running test: glib/gnotification.test 975s TAP version 14 975s # random seed: R02Sd368fc7bd2ccc3569f83cd8da2cb59c8 975s 1..2 975s # Start of gnotification tests 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s ok 1 /gnotification/basic 975s ok 2 /gnotification/properties 975s # End of gnotification tests 975s ok - glib/gnotification.test 975s # Running test: glib/async-splice-output-stream.test 975s TAP version 14 975s # random seed: R02Se21ef268de18e9d4ce87370f87a30c13 975s 1..5 975s # Start of async-splice tests 975s ok 1 /async-splice/copy-chunks 975s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 975s ok 2 /async-splice/copy-chunks-threaded-input 975s ok 3 /async-splice/copy-chunks-threaded-output 975s ok 4 /async-splice/copy-chunks-threaded 975s ok 5 /async-splice/cancelled 975s # End of async-splice tests 975s ok - glib/async-splice-output-stream.test 975s # Running test: glib/win32-appinfo.test 975s TAP version 14 975s # random seed: R02Sbdf9da672806615ebb5f2c60eae877c2 975s 1..5 975s # Start of appinfo tests 975s ok 1 /appinfo/utf16-strfuncs 975s ok 2 /appinfo/win32-extract-executable 975s ok 3 /appinfo/win32-rundll32-fixup 975s ok 4 /appinfo/win32-parse-filename 975s ok 5 /appinfo/win32-utf16-conversion-fail 975s # Start of subprocess tests 975s # End of subprocess tests 975s # End of appinfo tests 975s ok - glib/win32-appinfo.test 975s # Running test: glib/autoptr-gio.test 975s TAP version 14 975s # random seed: R02Sb7289d72f20fdf5055d435a1ff398684 975s 1..1 975s # Start of autoptr tests 975s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 975s ok 1 /autoptr/autoptr 975s # End of autoptr tests 975s ok - glib/autoptr-gio.test 975s # Running test: glib/gdbus-export.test 975s TAP version 14 975s # random seed: R02Se8356f6f98559b8deebedc8cb621fd5c 975s 1..6 975s # Start of gdbus tests 975s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_H0WWZ2/gdbus/object-registration/.dirs/home 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_H0WWZ2/gdbus/object-registration/.dirs/cache 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_H0WWZ2/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_H0WWZ2/gdbus/object-registration/.dirs/system-config2 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_H0WWZ2/gdbus/object-registration/.dirs/config 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_H0WWZ2/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_H0WWZ2/gdbus/object-registration/.dirs/system-data2 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_H0WWZ2/gdbus/object-registration/.dirs/data 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_H0WWZ2/gdbus/object-registration/.dirs/state 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_H0WWZ2/gdbus/object-registration/.dirs/runtime 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s ok 1 /gdbus/object-registration 975s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_H0WWZ2/gdbus/object-registration-with-closures/.dirs/home 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_H0WWZ2/gdbus/object-registration-with-closures/.dirs/cache 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_H0WWZ2/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_H0WWZ2/gdbus/object-registration-with-closures/.dirs/system-config2 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_H0WWZ2/gdbus/object-registration-with-closures/.dirs/config 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_H0WWZ2/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_H0WWZ2/gdbus/object-registration-with-closures/.dirs/system-data2 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_H0WWZ2/gdbus/object-registration-with-closures/.dirs/data 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_H0WWZ2/gdbus/object-registration-with-closures/.dirs/state 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_H0WWZ2/gdbus/object-registration-with-closures/.dirs/runtime 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s ok 2 /gdbus/object-registration-with-closures 975s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_H0WWZ2/gdbus/registered-interfaces/.dirs/home 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_H0WWZ2/gdbus/registered-interfaces/.dirs/cache 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_H0WWZ2/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_H0WWZ2/gdbus/registered-interfaces/.dirs/system-config2 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_H0WWZ2/gdbus/registered-interfaces/.dirs/config 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_H0WWZ2/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_H0WWZ2/gdbus/registered-interfaces/.dirs/system-data2 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_H0WWZ2/gdbus/registered-interfaces/.dirs/data 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_H0WWZ2/gdbus/registered-interfaces/.dirs/state 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_H0WWZ2/gdbus/registered-interfaces/.dirs/runtime 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s ok 3 /gdbus/registered-interfaces 975s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_H0WWZ2/gdbus/async-properties/.dirs/home 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_H0WWZ2/gdbus/async-properties/.dirs/cache 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_H0WWZ2/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_H0WWZ2/gdbus/async-properties/.dirs/system-config2 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_H0WWZ2/gdbus/async-properties/.dirs/config 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_H0WWZ2/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_H0WWZ2/gdbus/async-properties/.dirs/system-data2 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_H0WWZ2/gdbus/async-properties/.dirs/data 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_H0WWZ2/gdbus/async-properties/.dirs/state 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_H0WWZ2/gdbus/async-properties/.dirs/runtime 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s ok 4 /gdbus/async-properties 975s # Start of threaded-unregistration tests 975s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_H0WWZ2/gdbus/threaded-unregistration/object/.dirs/home 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_H0WWZ2/gdbus/threaded-unregistration/object/.dirs/cache 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_H0WWZ2/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_H0WWZ2/gdbus/threaded-unregistration/object/.dirs/system-config2 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_H0WWZ2/gdbus/threaded-unregistration/object/.dirs/config 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_H0WWZ2/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_H0WWZ2/gdbus/threaded-unregistration/object/.dirs/system-data2 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_H0WWZ2/gdbus/threaded-unregistration/object/.dirs/data 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_H0WWZ2/gdbus/threaded-unregistration/object/.dirs/state 975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_H0WWZ2/gdbus/threaded-unregistration/object/.dirs/runtime 975s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 975s # /gdbus/threaded-unregistration/object summary: Test that object/subtree unregistration from one thread doesn?t cause problems when racing with method callbacks in another thread for that object or subtree 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s ok 5 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (55 iterations with unregistration first, 945 with call first); skipping test 976s # slow test /gdbus/threaded-unregistration/object executed in 1.40 secs 976s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_H0WWZ2/gdbus/threaded-unregistration/subtree/.dirs/home 976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_H0WWZ2/gdbus/threaded-unregistration/subtree/.dirs/cache 976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_H0WWZ2/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_H0WWZ2/gdbus/threaded-unregistration/subtree/.dirs/system-config2 976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_H0WWZ2/gdbus/threaded-unregistration/subtree/.dirs/config 976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_H0WWZ2/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_H0WWZ2/gdbus/threaded-unregistration/subtree/.dirs/system-data2 976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_H0WWZ2/gdbus/threaded-unregistration/subtree/.dirs/data 976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_H0WWZ2/gdbus/threaded-unregistration/subtree/.dirs/state 976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_H0WWZ2/gdbus/threaded-unregistration/subtree/.dirs/runtime 976s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 976s # /gdbus/threaded-unregistration/subtree summary: Test that object/subtree unregistration from one thread doesn?t cause problems when racing with method callbacks in another thread for that object or subtree 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s ok 6 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (47 iterations with unregistration first, 953 with call first); skipping test 978s # slow test /gdbus/threaded-unregistration/subtree executed in 1.54 secs 978s # End of threaded-unregistration tests 978s # End of gdbus tests 978s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 978s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 978s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 978s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 978s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 978s ok - glib/gdbus-export.test 978s # Running test: glib/pattern.test 978s TAP version 14 978s # random seed: R02Sb47efa90b228fcc2dd7d550e81e81a63 978s 1..90 978s # Start of pattern tests 978s # Start of compile tests 978s ok 1 /pattern/compile/0 978s ok 2 /pattern/compile/1 978s ok 3 /pattern/compile/2 978s ok 4 /pattern/compile/3 978s ok 5 /pattern/compile/4 978s ok 6 /pattern/compile/5 978s ok 7 /pattern/compile/6 978s ok 8 /pattern/compile/7 978s ok 9 /pattern/compile/8 978s ok 10 /pattern/compile/9 978s ok 11 /pattern/compile/10 978s ok 12 /pattern/compile/11 978s ok 13 /pattern/compile/12 978s ok 14 /pattern/compile/13 978s # End of compile tests 978s # Start of copy tests 978s ok 15 /pattern/copy/0 978s ok 16 /pattern/copy/1 978s ok 17 /pattern/copy/2 978s ok 18 /pattern/copy/3 978s ok 19 /pattern/copy/4 978s ok 20 /pattern/copy/5 978s ok 21 /pattern/copy/6 978s ok 22 /pattern/copy/7 978s ok 23 /pattern/copy/8 978s ok 24 /pattern/copy/9 978s ok 25 /pattern/copy/10 978s ok 26 /pattern/copy/11 978s ok 27 /pattern/copy/12 978s ok 28 /pattern/copy/13 978s # End of copy tests 978s # Start of match tests 978s ok 29 /pattern/match/0 978s ok 30 /pattern/match/1 978s ok 31 /pattern/match/2 978s ok 32 /pattern/match/3 978s ok 33 /pattern/match/4 978s ok 34 /pattern/match/5 978s ok 35 /pattern/match/6 978s ok 36 /pattern/match/7 978s ok 37 /pattern/match/8 978s ok 38 /pattern/match/9 978s ok 39 /pattern/match/10 978s ok 40 /pattern/match/11 978s ok 41 /pattern/match/12 978s ok 42 /pattern/match/13 978s ok 43 /pattern/match/14 978s ok 44 /pattern/match/15 978s ok 45 /pattern/match/16 978s ok 46 /pattern/match/17 978s ok 47 /pattern/match/18 978s ok 48 /pattern/match/19 978s ok 49 /pattern/match/20 978s ok 50 /pattern/match/21 978s ok 51 /pattern/match/22 978s ok 52 /pattern/match/23 978s ok 53 /pattern/match/24 978s ok 54 /pattern/match/25 978s ok 55 /pattern/match/26 978s ok 56 /pattern/match/27 978s ok 57 /pattern/match/28 978s ok 58 /pattern/match/29 978s ok 59 /pattern/match/30 978s ok 60 /pattern/match/31 978s ok 61 /pattern/match/32 978s ok 62 /pattern/match/33 978s ok 63 /pattern/match/34 978s ok 64 /pattern/match/35 978s ok 65 /pattern/match/36 978s ok 66 /pattern/match/37 978s ok 67 /pattern/match/38 978s ok 68 /pattern/match/39 978s ok 69 /pattern/match/40 978s ok 70 /pattern/match/41 978s ok 71 /pattern/match/42 978s ok 72 /pattern/match/43 978s ok 73 /pattern/match/44 978s ok 74 /pattern/match/45 978s ok 75 /pattern/match/46 978s ok 76 /pattern/match/47 978s ok 77 /pattern/match/48 978s ok 78 /pattern/match/49 978s ok 79 /pattern/match/50 978s # End of match tests 978s # Start of equal tests 978s ok 80 /pattern/equal/0 978s ok 81 /pattern/equal/1 978s ok 82 /pattern/equal/2 978s ok 83 /pattern/equal/3 978s ok 84 /pattern/equal/4 978s ok 85 /pattern/equal/5 978s ok 86 /pattern/equal/6 978s ok 87 /pattern/equal/7 978s ok 88 /pattern/equal/8 978s ok 89 /pattern/equal/9 978s ok 90 /pattern/equal/10 978s # End of equal tests 978s # End of pattern tests 978s ok - glib/pattern.test 978s # Running test: glib/tree.test 978s TAP version 14 978s # random seed: R02Sa35cd144e2b07d2070021c49e187cc2d 978s 1..7 978s # Start of tree tests 978s ok 1 /tree/search 978s ok 2 /tree/remove 978s ok 3 /tree/destroy 978s ok 4 /tree/traverse 978s ok 5 /tree/insert 978s ok 6 /tree/bounds 978s ok 7 /tree/remove-all 978s # End of tree tests 978s ok - glib/tree.test 978s # Running test: glib/convert.test 978s TAP version 14 978s # random seed: R02S0aa08ea84a218ab70d89fdc60e8b207c 978s 1..14 978s # Start of conversion tests 978s ok 1 /conversion/no-conv 978s ok 2 /conversion/iconv-state 978s ok 3 /conversion/illegal-sequence 978s ok 4 /conversion/byte-order 978s ok 5 /conversion/unicode 978s ok 6 /conversion/filename-utf8 978s ok 7 /conversion/filename-display 978s ok 8 /conversion/convert-embedded-nul 978s # Start of locale-to-utf8 tests 978s ok 9 /conversion/locale-to-utf8/embedded-nul 978s # Start of embedded-nul tests 978s # Start of subprocess tests 978s # End of subprocess tests 978s # End of embedded-nul tests 978s # End of locale-to-utf8 tests 978s # Start of locale-from-utf8 tests 978s ok 10 /conversion/locale-from-utf8/embedded-nul 978s # Start of embedded-nul tests 978s # Start of subprocess tests 978s # End of subprocess tests 978s # End of embedded-nul tests 978s # End of locale-from-utf8 tests 978s # Start of filename-to-utf8 tests 978s ok 11 /conversion/filename-to-utf8/embedded-nul 978s # Start of embedded-nul tests 978s # Start of subprocess tests 978s # End of subprocess tests 978s # End of embedded-nul tests 978s # End of filename-to-utf8 tests 978s # Start of filename-from-utf8 tests 978s ok 12 /conversion/filename-from-utf8/embedded-nul 978s # Start of embedded-nul tests 978s # Start of subprocess tests 978s # End of subprocess tests 978s # End of embedded-nul tests 978s # End of filename-from-utf8 tests 978s # Start of filename-from-uri tests 978s ok 13 /conversion/filename-from-uri/query-is-ignored 978s ok 14 /conversion/filename-from-uri/fragment-is-ignored 978s # End of filename-from-uri tests 978s # End of conversion tests 978s ok - glib/convert.test 978s # Running test: glib/cache.test 978s TAP version 14 978s # random seed: R02S199884dd206d5df658a752df74f6d129 978s 1..1 978s # Start of cache tests 978s ok 1 /cache/basic 978s # End of cache tests 978s ok - glib/cache.test 978s # Running test: glib/closure.test 978s TAP version 14 978s # random seed: R02S788212319e48304ef5561d095ad1b979 978s 1..6 978s # Start of closure tests 978s ok 1 /closure/idle 978s ok 2 /closure/timeout 978s ok 3 /closure/iochannel 978s ok 4 /closure/child 978s ok 5 /closure/fd 978s ok 6 /closure/signal 978s # End of closure tests 978s ok - glib/closure.test 978s # Running test: glib/option-argv0.test 978s TAP version 14 978s # random seed: R02S6b8fc20da8cd285350bceb1e697aa211 978s 1..1 978s # Start of option tests 978s ok 1 /option/argv0 978s # End of option tests 978s ok - glib/option-argv0.test 978s # Running test: glib/asyncqueue.test 978s TAP version 14 978s # random seed: R02S9367b3e401ff8615cebbf125315244b3 978s 1..7 978s # Start of asyncqueue tests 978s ok 1 /asyncqueue/basics 978s ok 2 /asyncqueue/sort 978s ok 3 /asyncqueue/destroy 978s ok 4 /asyncqueue/threads 978s ok 5 /asyncqueue/timed 978s ok 6 /asyncqueue/remove 978s ok 7 /asyncqueue/push_front 978s # End of asyncqueue tests 978s ok - glib/asyncqueue.test 978s # Running test: glib/messages-low-memory.py.test 978s TAP version 13 978s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 978s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 978s # Running: /usr/libexec/installed-tests/glib/messages-low-memory 978s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-JnlEUg81c3,guid=465db2d1dd8c8d337f8dfa40677ff174', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.2xbiLG/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.OfmnbL4zEJ', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eqFn5k/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.2xbiLG/wrapper.sh --artifacts=/tmp/autopkgtest.2xbiLG/installed-tests-artifacts --chdir=/tmp/autopkgtest.2xbiLG/build.tAR/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.2xbiLG/installed-tests-stderr --stdout=/tmp/autopkgtest.2xbiLG/installed-tests-stdout --tmp=/tmp/autopkgtest.2xbiLG/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests -- /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.2xbiLG/build.tAR/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.2xbiLG/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 978s # Return code: -6 978s # Output: 978s # Error: GLib-Message: 15:59:34.856: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 978s # GLib-Message: 15:59:34.856: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 978s # ../../../glib/gprintf.c:350: failed to allocate memory 978s 1..1 978s ok - glib/messages-low-memory.py.test 978s # Running test: glib/fileattributematcher.test 978s TAP version 14 978s # random seed: R02S9ec1264bc2760cc17b912060f4ea5089 978s 1..3 978s # Start of fileattributematcher tests 978s ok 1 /fileattributematcher/exact 978s ok 2 /fileattributematcher/equality 978s ok 3 /fileattributematcher/subtract 978s # End of fileattributematcher tests 978s ok - glib/fileattributematcher.test 978s # Running test: glib/value.test 978s TAP version 14 978s # random seed: R02S0d4a62d837c623cd3e2320d261688f51 978s 1..9 978s # Start of value tests 978s ok 1 /value/basic 978s ok 2 /value/collection 978s ok 3 /value/copying 978s ok 4 /value/enum-transformation 978s ok 5 /value/gtype 978s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 978s ok 6 /value/string 978s # Next: GObject object in GValue of GObject to GValue of GObject 978s # Next: GObject object in GValue of GObject to GValue of TestInterface 978s # Next: GObject object in GValue of GObject to GValue of TestObjectA 978s # Next: GObject object in GValue of GObject to GValue of TestObjectB 978s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 978s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 978s # Next: TestObjectA object in GValue of GObject to GValue of GObject 978s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 978s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 978s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 978s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 978s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 978s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 978s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 978s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 978s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 978s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 978s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 978s # Next: TestObjectB object in GValue of GObject to GValue of GObject 978s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 978s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 978s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 978s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 978s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 978s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 978s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 978s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 978s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 978s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 978s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 978s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 978s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 978s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 978s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 978s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 978s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 978s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 978s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 978s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 978s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 978s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 978s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 978s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 978s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 978s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 978s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 978s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 978s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 978s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 978s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 978s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 978s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 978s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 978s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 978s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 978s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 978s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 978s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 978s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 978s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 978s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 978s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 978s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 978s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 978s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 978s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 978s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 978s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 978s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 978s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 978s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 978s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 978s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 978s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 978s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 978s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 978s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 978s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 978s ok 7 /value/transform-object 978s # Start of array tests 978s ok 8 /value/array/basic 978s ok 9 /value/array/sort-with-data 978s # End of array tests 978s # End of value tests 978s ok - glib/value.test 978s # Running test: glib/error.test 978s TAP version 14 978s # random seed: R02S86a9f57e3506ee3a9585aae2c61e7af9 978s 1..3 978s # Start of error tests 978s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_WCELZ2/error/from-errno/.dirs/home 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_WCELZ2/error/from-errno/.dirs/cache 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_WCELZ2/error/from-errno/.dirs/system-config1:/tmp/test_error_WCELZ2/error/from-errno/.dirs/system-config2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_WCELZ2/error/from-errno/.dirs/config 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_WCELZ2/error/from-errno/.dirs/system-data1:/tmp/test_error_WCELZ2/error/from-errno/.dirs/system-data2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_WCELZ2/error/from-errno/.dirs/data 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_WCELZ2/error/from-errno/.dirs/state 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_WCELZ2/error/from-errno/.dirs/runtime 978s ok 1 /error/from-errno 978s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_WCELZ2/error/from-file-error/.dirs/home 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_WCELZ2/error/from-file-error/.dirs/cache 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_WCELZ2/error/from-file-error/.dirs/system-config1:/tmp/test_error_WCELZ2/error/from-file-error/.dirs/system-config2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_WCELZ2/error/from-file-error/.dirs/config 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_WCELZ2/error/from-file-error/.dirs/system-data1:/tmp/test_error_WCELZ2/error/from-file-error/.dirs/system-data2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_WCELZ2/error/from-file-error/.dirs/data 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_WCELZ2/error/from-file-error/.dirs/state 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_WCELZ2/error/from-file-error/.dirs/runtime 978s ok 2 /error/from-file-error 978s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_WCELZ2/error/from-win32-error/.dirs/home 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_WCELZ2/error/from-win32-error/.dirs/cache 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_WCELZ2/error/from-win32-error/.dirs/system-config1:/tmp/test_error_WCELZ2/error/from-win32-error/.dirs/system-config2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_WCELZ2/error/from-win32-error/.dirs/config 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_WCELZ2/error/from-win32-error/.dirs/system-data1:/tmp/test_error_WCELZ2/error/from-win32-error/.dirs/system-data2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_WCELZ2/error/from-win32-error/.dirs/data 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_WCELZ2/error/from-win32-error/.dirs/state 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_WCELZ2/error/from-win32-error/.dirs/runtime 978s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 978s # End of error tests 978s ok - glib/error.test 978s # Running test: glib/boxed.test 978s TAP version 14 978s # random seed: R02Sbbb01d94bc589f310885f51c40d166ef 978s 1..27 978s # Start of boxed tests 978s ok 1 /boxed/define 978s ok 2 /boxed/ownership 978s ok 3 /boxed/closure 978s ok 4 /boxed/date 978s ok 5 /boxed/value 978s ok 6 /boxed/string 978s ok 7 /boxed/hashtable 978s ok 8 /boxed/array 978s ok 9 /boxed/ptrarray 978s ok 10 /boxed/regex 978s ok 11 /boxed/varianttype 978s ok 12 /boxed/error 978s ok 13 /boxed/datetime 978s ok 14 /boxed/matchinfo 978s ok 15 /boxed/keyfile 978s ok 16 /boxed/mainloop 978s ok 17 /boxed/maincontext 978s ok 18 /boxed/source 978s ok 19 /boxed/variantbuilder 978s ok 20 /boxed/timezone 978s ok 21 /boxed/pollfd 978s ok 22 /boxed/markup 978s ok 23 /boxed/thread 978s ok 24 /boxed/checksum 978s ok 25 /boxed/tree 978s ok 26 /boxed/patternspec 978s ok 27 /boxed/rand 978s # End of boxed tests 978s ok - glib/boxed.test 978s # Running test: glib/utils-isolated.test 978s TAP version 14 978s # random seed: R02S3180442687636a49e8c6a072d2b59f1b 978s 1..11 978s # Start of utils-isolated tests 978s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/tmp-dir/.dirs/home 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/tmp-dir/.dirs/cache 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_YW7KZ2/utils-isolated/tmp-dir/.dirs/system-config2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/tmp-dir/.dirs/config 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_YW7KZ2/utils-isolated/tmp-dir/.dirs/system-data2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/tmp-dir/.dirs/data 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/tmp-dir/.dirs/state 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/tmp-dir/.dirs/runtime 978s ok 1 /utils-isolated/tmp-dir 978s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/home-dir/.dirs/home 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/home-dir/.dirs/cache 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_YW7KZ2/utils-isolated/home-dir/.dirs/system-config2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/home-dir/.dirs/config 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_YW7KZ2/utils-isolated/home-dir/.dirs/system-data2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/home-dir/.dirs/data 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/home-dir/.dirs/state 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/home-dir/.dirs/runtime 978s ok 2 /utils-isolated/home-dir 978s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/user-cache-dir/.dirs/home 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/user-cache-dir/.dirs/cache 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_YW7KZ2/utils-isolated/user-cache-dir/.dirs/system-config2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/user-cache-dir/.dirs/config 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_YW7KZ2/utils-isolated/user-cache-dir/.dirs/system-data2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/user-cache-dir/.dirs/data 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/user-cache-dir/.dirs/state 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/user-cache-dir/.dirs/runtime 978s ok 3 /utils-isolated/user-cache-dir 978s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/system-config-dirs/.dirs/home 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/system-config-dirs/.dirs/cache 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_YW7KZ2/utils-isolated/system-config-dirs/.dirs/system-config2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/system-config-dirs/.dirs/config 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_YW7KZ2/utils-isolated/system-config-dirs/.dirs/system-data2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/system-config-dirs/.dirs/data 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/system-config-dirs/.dirs/state 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/system-config-dirs/.dirs/runtime 978s ok 4 /utils-isolated/system-config-dirs 978s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/user-config-dir/.dirs/home 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/user-config-dir/.dirs/cache 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_YW7KZ2/utils-isolated/user-config-dir/.dirs/system-config2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/user-config-dir/.dirs/config 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_YW7KZ2/utils-isolated/user-config-dir/.dirs/system-data2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/user-config-dir/.dirs/data 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/user-config-dir/.dirs/state 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/user-config-dir/.dirs/runtime 978s ok 5 /utils-isolated/user-config-dir 978s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/system-data-dirs/.dirs/home 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/system-data-dirs/.dirs/cache 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_YW7KZ2/utils-isolated/system-data-dirs/.dirs/system-config2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/system-data-dirs/.dirs/config 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_YW7KZ2/utils-isolated/system-data-dirs/.dirs/system-data2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/system-data-dirs/.dirs/data 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/system-data-dirs/.dirs/state 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/system-data-dirs/.dirs/runtime 978s ok 6 /utils-isolated/system-data-dirs 978s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/user-data-dir/.dirs/home 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/user-data-dir/.dirs/cache 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_YW7KZ2/utils-isolated/user-data-dir/.dirs/system-config2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/user-data-dir/.dirs/config 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_YW7KZ2/utils-isolated/user-data-dir/.dirs/system-data2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/user-data-dir/.dirs/data 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/user-data-dir/.dirs/state 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/user-data-dir/.dirs/runtime 978s ok 7 /utils-isolated/user-data-dir 978s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/user-state-dir/.dirs/home 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/user-state-dir/.dirs/cache 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_YW7KZ2/utils-isolated/user-state-dir/.dirs/system-config2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/user-state-dir/.dirs/config 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_YW7KZ2/utils-isolated/user-state-dir/.dirs/system-data2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/user-state-dir/.dirs/data 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/user-state-dir/.dirs/state 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/user-state-dir/.dirs/runtime 978s ok 8 /utils-isolated/user-state-dir 978s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/user-runtime-dir/.dirs/home 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/user-runtime-dir/.dirs/cache 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_YW7KZ2/utils-isolated/user-runtime-dir/.dirs/system-config2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/user-runtime-dir/.dirs/config 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_YW7KZ2/utils-isolated/user-runtime-dir/.dirs/system-data2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/user-runtime-dir/.dirs/data 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/user-runtime-dir/.dirs/state 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/user-runtime-dir/.dirs/runtime 978s ok 9 /utils-isolated/user-runtime-dir 978s # Start of cleanup tests 978s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/cleanup/handles-errors/.dirs/home 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/cleanup/handles-errors/.dirs/cache 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/cleanup/handles-errors/.dirs/system-config1:/tmp/test_utils-isolated_YW7KZ2/utils-isolated/cleanup/handles-errors/.dirs/system-config2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/cleanup/handles-errors/.dirs/config 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/cleanup/handles-errors/.dirs/system-data1:/tmp/test_utils-isolated_YW7KZ2/utils-isolated/cleanup/handles-errors/.dirs/system-data2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/cleanup/handles-errors/.dirs/data 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/cleanup/handles-errors/.dirs/state 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/cleanup/handles-errors/.dirs/runtime 978s Unable to clean up temporary directory /tmp/test_utils-isolated_YW7KZ2/utils-isolated/cleanup/handles-errors/.dirs/runtime: Directory not empty 978s Unable to clean up temporary directory /tmp/test_utils-isolated_YW7KZ2/utils-isolated/cleanup/handles-errors/.dirs: Directory not empty 978s Unable to clean up temporary directory /tmp/test_utils-isolated_YW7KZ2/utils-isolated/cleanup/handles-errors: Directory not empty 978s ok 10 /utils-isolated/cleanup/handles-errors 978s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/home 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/cache 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config1:/tmp/test_utils-isolated_YW7KZ2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/config 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data1:/tmp/test_utils-isolated_YW7KZ2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/data 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/state 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_YW7KZ2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/runtime 978s Unable to clean up temporary directory /tmp/test_utils-isolated_YW7KZ2/utils-isolated/cleanup/doesnt-follow-symlinks: No such file or directory 978s ok 11 /utils-isolated/cleanup/doesnt-follow-symlinks 978s # End of cleanup tests 978s # End of utils-isolated tests 978s ok - glib/utils-isolated.test 978s # Running test: glib/gdbus-peer.test 978s TAP version 14 978s # random seed: R02S8f631e3a7577689fa8509aa98668347f 978s 1..12 978s # Start of gdbus tests 978s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/.dirs/home 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/.dirs/cache 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/.dirs/system-config2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/.dirs/config 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/.dirs/system-data2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/.dirs/data 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/.dirs/state 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/.dirs/runtime 978s # Testing with unix:dir address 978s # Testing with unix:tmpdir address 978s # Testing with unix:path address 978s ok 1 /gdbus/peer-to-peer 978s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/delayed-message-processing/.dirs/home 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/delayed-message-processing/.dirs/cache 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_HB0KZ2/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_HB0KZ2/gdbus/delayed-message-processing/.dirs/system-config2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/delayed-message-processing/.dirs/config 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_HB0KZ2/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_HB0KZ2/gdbus/delayed-message-processing/.dirs/system-data2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/delayed-message-processing/.dirs/data 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/delayed-message-processing/.dirs/state 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_HB0KZ2/gdbus/delayed-message-processing/.dirs/runtime 978s # Testing with unix:dir address 979s # Executing: glib/gdbus-peer.test 979s ok 2 /gdbus/delayed-message-processing 979s # slow test /gdbus/delayed-message-processing executed in 0.51 secs 979s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/nonce-tcp/.dirs/home 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/nonce-tcp/.dirs/cache 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_HB0KZ2/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_HB0KZ2/gdbus/nonce-tcp/.dirs/system-config2 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/nonce-tcp/.dirs/config 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_HB0KZ2/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_HB0KZ2/gdbus/nonce-tcp/.dirs/system-data2 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/nonce-tcp/.dirs/data 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/nonce-tcp/.dirs/state 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_HB0KZ2/gdbus/nonce-tcp/.dirs/runtime 979s ok 3 /gdbus/nonce-tcp 979s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/tcp-anonymous/.dirs/home 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/tcp-anonymous/.dirs/cache 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_HB0KZ2/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_HB0KZ2/gdbus/tcp-anonymous/.dirs/system-config2 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/tcp-anonymous/.dirs/config 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_HB0KZ2/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_HB0KZ2/gdbus/tcp-anonymous/.dirs/system-data2 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/tcp-anonymous/.dirs/data 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/tcp-anonymous/.dirs/state 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_HB0KZ2/gdbus/tcp-anonymous/.dirs/runtime 979s ok 4 /gdbus/tcp-anonymous 979s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/credentials/.dirs/home 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/credentials/.dirs/cache 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_HB0KZ2/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_HB0KZ2/gdbus/credentials/.dirs/system-config2 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/credentials/.dirs/config 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_HB0KZ2/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_HB0KZ2/gdbus/credentials/.dirs/system-data2 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/credentials/.dirs/data 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/credentials/.dirs/state 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_HB0KZ2/gdbus/credentials/.dirs/runtime 979s ok 5 /gdbus/credentials 979s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/codegen-peer-to-peer/.dirs/home 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/codegen-peer-to-peer/.dirs/cache 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_HB0KZ2/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_HB0KZ2/gdbus/codegen-peer-to-peer/.dirs/system-config2 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/codegen-peer-to-peer/.dirs/config 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_HB0KZ2/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_HB0KZ2/gdbus/codegen-peer-to-peer/.dirs/system-data2 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/codegen-peer-to-peer/.dirs/data 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/codegen-peer-to-peer/.dirs/state 979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_HB0KZ2/gdbus/codegen-peer-to-peer/.dirs/runtime 979s # Testing with unix:dir address 979s # Machine ID: 1b22cdd8f6a64d7fb63b93202e5901d9 980s ok 6 /gdbus/codegen-peer-to-peer 980s # slow test /gdbus/codegen-peer-to-peer executed in 1.11 secs 980s # Start of peer-to-peer tests 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/signals/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/signals/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/signals/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/signals/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/signals/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/signals/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/signals/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/signals/.dirs/runtime 980s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 980s # Testing with unix:dir address 980s ok 7 /gdbus/peer-to-peer/signals 980s # Start of invalid tests 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/invalid/server/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/invalid/server/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/invalid/server/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/invalid/server/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/invalid/server/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/invalid/server/.dirs/runtime 980s ok 8 /gdbus/peer-to-peer/invalid/server 980s # Start of conn tests 980s # Start of stream tests 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 980s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 980s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 980s # End of stream tests 980s # Start of addr tests 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 980s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_HB0KZ2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 980s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 980s # End of addr tests 980s # End of conn tests 980s # End of invalid tests 980s # End of peer-to-peer tests 980s # End of gdbus tests 980s ok - glib/gdbus-peer.test 980s # Running test: glib/data-output-stream.test 980s TAP version 14 980s # random seed: R02S8323b96475c7dc855a65ad3ef958aee9 980s 1..7 980s # Start of data-output-stream tests 980s ok 1 /data-output-stream/basic 980s ok 2 /data-output-stream/write-lines-LF 980s ok 3 /data-output-stream/write-lines-CR 980s ok 4 /data-output-stream/write-lines-CR-LF 980s ok 5 /data-output-stream/write-int 980s ok 6 /data-output-stream/seek 980s ok 7 /data-output-stream/truncate 980s # End of data-output-stream tests 980s ok - glib/data-output-stream.test 980s # Running test: glib/gutils-user-database.test 980s TAP version 14 980s # random seed: R02Sbcf8249c182730ef92b1f2ace1c2eab9 980s 1..1 980s # Start of gutils tests 980s ok 1 /gutils/get_user_database_entry 980s # End of gutils tests 980s ok - glib/gutils-user-database.test 980s # Running test: glib/onceinit.test 980s TAP version 14 980s # random seed: R02Sf67e27a991c0e221fb2c54703ae64b94 980s 1..1 980s # Start of thread tests 980s ok 1 /thread/onceinit 980s # End of thread tests 980s ok - glib/onceinit.test 980s # Running test: glib/array-test.test 980s TAP version 14 980s # random seed: R02S4cf8c95f671aebf3e70474b6c0bdaa48 980s 1..113 980s # Start of array tests 980s ok 1 /array/ref-count 980s ok 2 /array/steal 980s ok 3 /array/clear-func 980s ok 4 /array/binary-search 980s # /array/copy-sized summary: Test that copying a newly-allocated sized array works. 980s ok 5 /array/copy-sized 980s ok 6 /array/overflow-append-vals 980s ok 7 /array/overflow-set-size 980s # Start of new tests 980s ok 8 /array/new/zero-terminated 980s ok 9 /array/new/take 980s ok 10 /array/new/take-zero-terminated 980s # Start of take tests 980s ok 11 /array/new/take/empty 980s ok 12 /array/new/take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 980s # End of take tests 980s # End of new tests 980s # Start of set-size tests 980s ok 13 /array/set-size/non-zero-terminated-no-clear 980s ok 14 /array/set-size/non-zero-terminated-clear 980s ok 15 /array/set-size/zero-terminated-no-clear 980s ok 16 /array/set-size/zero-terminated-clear 980s # Start of sized tests 980s ok 17 /array/set-size/sized/non-zero-terminated-no-clear 980s ok 18 /array/set-size/sized/non-zero-terminated-clear 980s ok 19 /array/set-size/sized/zero-terminated-no-clear 980s ok 20 /array/set-size/sized/zero-terminated-clear 980s # End of sized tests 980s # End of set-size tests 980s # Start of append-val tests 980s ok 21 /array/append-val/non-zero-terminated-no-clear 980s ok 22 /array/append-val/non-zero-terminated-clear 980s ok 23 /array/append-val/zero-terminated-no-clear 980s ok 24 /array/append-val/zero-terminated-clear 980s # End of append-val tests 980s # Start of prepend-val tests 980s ok 25 /array/prepend-val/non-zero-terminated-no-clear 980s ok 26 /array/prepend-val/non-zero-terminated-clear 980s ok 27 /array/prepend-val/zero-terminated-no-clear 980s ok 28 /array/prepend-val/zero-terminated-clear 980s # End of prepend-val tests 980s # Start of prepend-vals tests 980s ok 29 /array/prepend-vals/non-zero-terminated-no-clear 980s ok 30 /array/prepend-vals/non-zero-terminated-clear 980s ok 31 /array/prepend-vals/zero-terminated-no-clear 980s ok 32 /array/prepend-vals/zero-terminated-clear 980s # End of prepend-vals tests 980s # Start of insert-vals tests 980s ok 33 /array/insert-vals/non-zero-terminated-no-clear 980s ok 34 /array/insert-vals/non-zero-terminated-clear 980s ok 35 /array/insert-vals/zero-terminated-no-clear 980s ok 36 /array/insert-vals/zero-terminated-clear 980s # End of insert-vals tests 980s # Start of remove-index tests 980s ok 37 /array/remove-index/non-zero-terminated-no-clear 980s ok 38 /array/remove-index/non-zero-terminated-clear 980s ok 39 /array/remove-index/zero-terminated-no-clear 980s ok 40 /array/remove-index/zero-terminated-clear 980s # End of remove-index tests 980s # Start of remove-index-fast tests 980s ok 41 /array/remove-index-fast/non-zero-terminated-no-clear 980s ok 42 /array/remove-index-fast/non-zero-terminated-clear 980s ok 43 /array/remove-index-fast/zero-terminated-no-clear 980s ok 44 /array/remove-index-fast/zero-terminated-clear 980s # End of remove-index-fast tests 980s # Start of remove-range tests 980s ok 45 /array/remove-range/non-zero-terminated-no-clear 980s ok 46 /array/remove-range/non-zero-terminated-clear 980s ok 47 /array/remove-range/zero-terminated-no-clear 980s ok 48 /array/remove-range/zero-terminated-clear 980s # End of remove-range tests 980s # Start of copy tests 980s ok 49 /array/copy/non-zero-terminated-no-clear 980s ok 50 /array/copy/non-zero-terminated-clear 980s ok 51 /array/copy/zero-terminated-no-clear 980s ok 52 /array/copy/zero-terminated-clear 980s # End of copy tests 980s # Start of sort tests 980s ok 53 /array/sort/non-zero-terminated-no-clear 980s ok 54 /array/sort/non-zero-terminated-clear 980s ok 55 /array/sort/zero-terminated-no-clear 980s ok 56 /array/sort/zero-terminated-clear 980s # End of sort tests 980s # Start of sort-with-data tests 980s ok 57 /array/sort-with-data/non-zero-terminated-no-clear 980s ok 58 /array/sort-with-data/non-zero-terminated-clear 980s ok 59 /array/sort-with-data/zero-terminated-no-clear 980s ok 60 /array/sort-with-data/zero-terminated-clear 980s # End of sort-with-data tests 980s # End of array tests 980s # Start of pointerarray tests 980s ok 61 /pointerarray/add 980s ok 62 /pointerarray/insert 980s ok 63 /pointerarray/new-take 980s ok 64 /pointerarray/new-take-null-terminated 980s ok 65 /pointerarray/new-from-array 980s ok 66 /pointerarray/new-from-null-terminated-array 980s ok 67 /pointerarray/free-func 980s ok 68 /pointerarray/array_extend_and_steal 980s ok 69 /pointerarray/sort 980s ok 70 /pointerarray/sort-with-data 980s ok 71 /pointerarray/sort-values 980s ok 72 /pointerarray/sort-values-with-data 980s ok 73 /pointerarray/remove-range 980s ok 74 /pointerarray/steal 980s # Start of free tests 980s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 980s ok 75 /pointerarray/free/null-terminated 980s # End of free tests 980s # Start of new-take tests 980s ok 76 /pointerarray/new-take/empty 980s ok 77 /pointerarray/new-take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 980s ok 78 /pointerarray/new-take/with-free-func 980s # End of new-take tests 980s # Start of new-take-null-terminated tests 980s ok 79 /pointerarray/new-take-null-terminated/empty 980s ok 80 /pointerarray/new-take-null-terminated/with-free-func 980s ok 81 /pointerarray/new-take-null-terminated/from-gstrv 980s # End of new-take-null-terminated tests 980s # Start of new-from-array tests 980s ok 82 /pointerarray/new-from-array/empty 980s ok 83 /pointerarray/new-from-array/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 980s ok 84 /pointerarray/new-from-array/with-copy-and-free-func 980s # End of new-from-array tests 980s # Start of new-from-null-terminated-array tests 980s ok 85 /pointerarray/new-from-null-terminated-array/empty 980s ok 86 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 980s ok 87 /pointerarray/new-from-null-terminated-array/from-gstrv 980s # End of new-from-null-terminated-array tests 980s # Start of ref-count tests 980s ok 88 /pointerarray/ref-count/not-null-terminated 980s ok 89 /pointerarray/ref-count/null-terminated 980s # End of ref-count tests 980s # Start of array_copy tests 980s # /pointerarray/array_copy/not-null-terminated summary: Check all normal behaviour of stealing elements from one array to append to another, covering different array sizes and element copy functions 980s ok 90 /pointerarray/array_copy/not-null-terminated 980s # /pointerarray/array_copy/null-terminated summary: Check all normal behaviour of stealing elements from one array to append to another, covering different array sizes and element copy functions 980s ok 91 /pointerarray/array_copy/null-terminated 980s # End of array_copy tests 980s # Start of array_extend tests 980s ok 92 /pointerarray/array_extend/not-null-terminated 980s ok 93 /pointerarray/array_extend/null-terminated 980s # End of array_extend tests 980s # Start of sort tests 980s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 980s ok 94 /pointerarray/sort/example 980s # End of sort tests 980s # Start of sort-with-data tests 980s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 980s ok 95 /pointerarray/sort-with-data/example 980s # End of sort-with-data tests 980s # Start of sort-values tests 980s ok 96 /pointerarray/sort-values/example 980s # End of sort-values tests 980s # Start of sort-values-with-data tests 980s ok 97 /pointerarray/sort-values-with-data/example 980s # End of sort-values-with-data tests 980s # Start of find tests 980s ok 98 /pointerarray/find/empty 980s ok 99 /pointerarray/find/non-empty 980s # End of find tests 980s # Start of steal_index tests 980s ok 100 /pointerarray/steal_index/not-null-terminated 980s ok 101 /pointerarray/steal_index/null-terminated 980s # End of steal_index tests 980s # End of pointerarray tests 980s # Start of bytearray tests 980s ok 102 /bytearray/steal 980s ok 103 /bytearray/append 980s ok 104 /bytearray/prepend 980s ok 105 /bytearray/remove 980s ok 106 /bytearray/remove-fast 980s ok 107 /bytearray/remove-range 980s ok 108 /bytearray/ref-count 980s ok 109 /bytearray/sort 980s ok 110 /bytearray/sort-with-data 980s ok 111 /bytearray/new-take 980s ok 112 /bytearray/new-take-overflow # SKIP Overflow test requires G_MAXSIZE > G_MAXUINT. 980s ok 113 /bytearray/free-to-bytes 980s # End of bytearray tests 980s ok - glib/array-test.test 980s # Running test: glib/test-printf.test 980s TAP version 14 980s # random seed: R02S95020472061932f1de3961f64d3e4ea9 980s 1..22 980s # Start of snprintf tests 980s ok 1 /snprintf/retval-and-trunc 980s ok 2 /snprintf/%d 980s ok 3 /snprintf/%d-invalid 980s ok 4 /snprintf/%o 980s ok 5 /snprintf/%u 980s ok 6 /snprintf/%x 980s ok 7 /snprintf/%X 980s ok 8 /snprintf/%f 980s ok 9 /snprintf/%e 980s ok 10 /snprintf/%c 980s ok 11 /snprintf/%s 980s ok 12 /snprintf/%n 980s ok 13 /snprintf/test-percent 980s ok 14 /snprintf/test-positional-params 980s ok 15 /snprintf/test-64bit 980s # End of snprintf tests 980s # Start of printf tests 980s ok 16 /printf/test-percent 980s ok 17 /printf/test-positional-params 980s ok 18 /printf/test-64bit 980s # Start of test-64bit tests 980s # Start of subprocess tests 980s # End of subprocess tests 980s # End of test-64bit tests 980s # End of printf tests 980s # Start of sprintf tests 980s ok 19 /sprintf/test-positional-params 980s ok 20 /sprintf/upper-bound 980s # End of sprintf tests 980s # Start of vasprintf tests 980s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 980s ok 21 /vasprintf/invalid-format-placeholder 980s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 980s ok 22 /vasprintf/invalid-wide-string 980s # End of vasprintf tests 980s ok - glib/test-printf.test 980s # Running test: glib/filter-streams.test 980s TAP version 14 980s # random seed: R02S932a774339f008e8a14dae083dc6541c 980s 1..4 980s # Start of filter-stream tests 980s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 980s ok 1 /filter-stream/input 980s ok 2 /filter-stream/output 980s ok 3 /filter-stream/async-input 980s ok 4 /filter-stream/async-output 980s # End of filter-stream tests 980s ok - glib/filter-streams.test 980s # Running test: glib/utils-c-11.test 980s TAP version 14 980s # random seed: R02S42eec33a4148a3add4c7d68b397208cf 980s 1..40 980s # Start of utils tests 980s ok 1 /utils/language-names 980s ok 2 /utils/locale-variants 980s ok 3 /utils/version 980s ok 4 /utils/appname 980s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 980s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 980s ok 5 /utils/prgname-thread-safety 980s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 980s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 980s ok 6 /utils/tmpdir 980s ok 7 /utils/basic_bits 980s ok 8 /utils/bits 980s ok 9 /utils/swap 980s ok 10 /utils/find-program 980s ok 11 /utils/find-program-for-path 980s ok 12 /utils/debug 980s ok 13 /utils/codeset 980s ok 14 /utils/codeset2 980s ok 15 /utils/console-charset 980s ok 16 /utils/gettext 980s ok 17 /utils/username 980s ok 18 /utils/realname 980s ok 19 /utils/hostname 980s ok 20 /utils/xdgdirs 980s ok 21 /utils/specialdir 980s # NAME: Ubuntu 980s ok 22 /utils/os-info 980s ok 23 /utils/clear-pointer 980s ok 24 /utils/clear-pointer-cast 980s ok 25 /utils/take-pointer 980s ok 26 /utils/clear-source 980s ok 27 /utils/misc-mem 980s # /utils/aligned-mem summary: Aligned memory allocator 980s # Alignment must not be zero 980s # Alignment must be a power of two 980s # Alignment must be a multiple of sizeof(void*) 980s ok 28 /utils/aligned-mem 980s # /utils/free-sized summary: Check that g_free_sized() works 980s ok 29 /utils/free-sized 980s ok 30 /utils/nullify 980s ok 31 /utils/atexit 980s ok 32 /utils/check-setuid 980s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 980s ok 33 /utils/int-limits 980s ok 34 /utils/clear-list 980s ok 35 /utils/clear-slist 980s # Start of specialdir tests 980s ok 36 /utils/specialdir/desktop 980s # End of specialdir tests 980s # Start of clear-pointer tests 980s ok 37 /utils/clear-pointer/side-effects 980s # End of clear-pointer tests 980s # Start of aligned-mem tests 980s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 980s ok 38 /utils/aligned-mem/alignment 980s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 980s ok 39 /utils/aligned-mem/zeroed 980s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 980s ok 40 /utils/aligned-mem/free-sized 980s # Start of subprocess tests 980s # End of subprocess tests 980s # End of aligned-mem tests 980s # End of utils tests 980s ok - glib/utils-c-11.test 980s # Running test: glib/signalgroup.test 980s TAP version 14 980s # random seed: R02S91a100f63f43cee133b3c69b9bd20c8d 980s 1..9 980s # Start of GObject tests 980s # Start of SignalGroup tests 980s ok 1 /GObject/SignalGroup/invalid 980s ok 2 /GObject/SignalGroup/simple 980s ok 3 /GObject/SignalGroup/changing-target 980s ok 4 /GObject/SignalGroup/blocking 980s ok 5 /GObject/SignalGroup/weak-ref-target 980s ok 6 /GObject/SignalGroup/connect-object 980s ok 7 /GObject/SignalGroup/signal-parsing 980s ok 8 /GObject/SignalGroup/properties 980s ok 9 /GObject/SignalGroup/interface 980s # Start of signal-parsing tests 980s # End of signal-parsing tests 980s # End of SignalGroup tests 980s # End of GObject tests 980s ok - glib/signalgroup.test 980s # Running test: glib/vfs.test 980s TAP version 14 980s # random seed: R02Sfe7415dd5ee9aef55c31787f29cf07e4 980s 1..3 980s # Start of gvfs tests 980s ok 1 /gvfs/local 980s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 980s ok 2 /gvfs/register-scheme 980s # Start of resource tests 980s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 980s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 980s ok 3 /gvfs/resource/malformed-escaping 980s # End of resource tests 980s # End of gvfs tests 980s ok - glib/vfs.test 980s # Running test: glib/date.test 980s TAP version 14 980s # random seed: R02S05cfab5fe22994270c5f0daa1b740e3f 980s 1..121 980s # Start of date tests 980s ok 1 /date/basic 980s ok 2 /date/empty 980s ok 3 /date/dmy 980s ok 4 /date/julian 980s ok 5 /date/compare 980s ok 6 /date/dates 980s ok 7 /date/strftime 980s ok 8 /date/two-digit-years 980s ok 9 /date/parse 980s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 980s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 980s ok 11 /date/month_substring 980s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 980s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 980s ok 13 /date/clamp 980s ok 14 /date/order 980s ok 15 /date/copy 980s # Vector 0: 0000-00-00, invalid 980s # Vector 1: 0001-01-01, valid 980s # Vector 2: 0000-01-01, invalid 980s # Vector 3: 2000-02-30, invalid 980s # Vector 4: 2000-02-29, valid 980s # Vector 5: 2001-02-29, invalid 980s # Vector 6: 65535-01-01, valid 980s ok 16 /date/valid-dmy 980s # Start of parse tests 980s # Test 0 980s # Test 1 980s ok 17 /date/parse/invalid 980s # End of parse tests 980s # Start of year tests 980s ok 18 /date/year/1 980s ok 19 /date/year/2 980s ok 20 /date/year/3 980s ok 21 /date/year/4 980s ok 22 /date/year/5 980s ok 23 /date/year/6 980s ok 24 /date/year/7 980s ok 25 /date/year/8 980s ok 26 /date/year/9 980s ok 27 /date/year/10 980s ok 28 /date/year/11 980s ok 29 /date/year/12 980s ok 30 /date/year/13 980s ok 31 /date/year/14 980s ok 32 /date/year/98 980s ok 33 /date/year/99 980s ok 34 /date/year/100 980s ok 35 /date/year/101 980s ok 36 /date/year/102 980s ok 37 /date/year/103 980s ok 38 /date/year/397 980s ok 39 /date/year/398 980s ok 40 /date/year/399 980s ok 41 /date/year/400 980s ok 42 /date/year/401 980s ok 43 /date/year/402 980s ok 44 /date/year/403 980s ok 45 /date/year/404 980s ok 46 /date/year/405 980s ok 47 /date/year/406 980s ok 48 /date/year/1598 980s ok 49 /date/year/1599 980s ok 50 /date/year/1600 980s ok 51 /date/year/1601 980s ok 52 /date/year/1602 980s ok 53 /date/year/1650 980s ok 54 /date/year/1651 980s ok 55 /date/year/1897 980s ok 56 /date/year/1898 980s ok 57 /date/year/1899 980s ok 58 /date/year/1900 980s ok 59 /date/year/1901 980s ok 60 /date/year/1902 980s ok 61 /date/year/1903 980s ok 62 /date/year/1961 980s ok 63 /date/year/1962 980s ok 64 /date/year/1963 980s ok 65 /date/year/1964 981s ok 66 /date/year/1965 981s ok 67 /date/year/1967 981s ok 68 /date/year/1968 981s ok 69 /date/year/1969 981s ok 70 /date/year/1970 981s ok 71 /date/year/1971 981s ok 72 /date/year/1972 981s ok 73 /date/year/1973 981s ok 74 /date/year/1974 981s ok 75 /date/year/1975 981s ok 76 /date/year/1976 981s ok 77 /date/year/1977 981s ok 78 /date/year/1978 981s ok 79 /date/year/1979 981s ok 80 /date/year/1980 981s ok 81 /date/year/1981 981s ok 82 /date/year/1982 981s ok 83 /date/year/1983 981s ok 84 /date/year/1984 981s ok 85 /date/year/1985 981s ok 86 /date/year/1986 981s ok 87 /date/year/1987 981s ok 88 /date/year/1988 981s ok 89 /date/year/1989 981s ok 90 /date/year/1990 981s ok 91 /date/year/1991 981s ok 92 /date/year/1992 981s ok 93 /date/year/1993 981s ok 94 /date/year/1994 981s ok 95 /date/year/1995 981s ok 96 /date/year/1996 981s ok 97 /date/year/1997 981s ok 98 /date/year/1998 981s ok 99 /date/year/1999 981s ok 100 /date/year/2000 981s ok 101 /date/year/2001 981s ok 102 /date/year/2002 981s ok 103 /date/year/2003 981s ok 104 /date/year/2004 981s ok 105 /date/year/2005 981s ok 106 /date/year/2006 981s ok 107 /date/year/2007 981s ok 108 /date/year/2008 981s ok 109 /date/year/2009 981s ok 110 /date/year/2010 981s ok 111 /date/year/2011 981s ok 112 /date/year/2012 981s ok 113 /date/year/3000 981s ok 114 /date/year/3001 981s ok 115 /date/year/3002 981s ok 116 /date/year/3998 981s ok 117 /date/year/3999 981s ok 118 /date/year/4000 981s ok 119 /date/year/4001 981s ok 120 /date/year/4002 981s ok 121 /date/year/4003 981s # End of year tests 981s # End of date tests 981s ok - glib/date.test 981s # Running test: glib/threadtests.test 981s TAP version 14 981s # random seed: R02S764c8db613ec07af7202321d5c17bd0b 981s 1..5 981s # Start of GObject tests 981s ok 1 /GObject/threaded-object-init 982s ok 2 /GObject/threaded-weak-ref 982s # slow test /GObject/threaded-weak-ref executed in 0.91 secs 982s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 982s # /GObject/threaded-toggle-notify summary: Test that toggle reference notifications can be changed safely from another (the main) thread without causing the notifying thread to abort 982s ok 3 /GObject/threaded-toggle-notify 982s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 982s # Start of threaded-weak-ref tests 982s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 982s # /GObject/threaded-weak-ref/on-finalization summary: Test that a weak ref added by another thread during dispose of a GObject is cleared during finalisation. Use on_weak_ref_disposed() to synchronize the other thread with the dispose vfunc. 982s ok 5 /GObject/threaded-weak-ref/on-finalization 982s # End of threaded-weak-ref tests 982s # End of GObject tests 982s ok - glib/threadtests.test 982s # Running test: glib/function-info.test 982s TAP version 14 982s # random seed: R02Sa2ed925d539c4063ac81b60f9b096a1a 982s 1..1 982s # Start of function-info tests 982s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_HPGTZ2/function-info/invoker/.dirs/home 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_HPGTZ2/function-info/invoker/.dirs/cache 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_HPGTZ2/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_HPGTZ2/function-info/invoker/.dirs/system-config2 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_HPGTZ2/function-info/invoker/.dirs/config 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_HPGTZ2/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_HPGTZ2/function-info/invoker/.dirs/system-data2 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_HPGTZ2/function-info/invoker/.dirs/data 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_HPGTZ2/function-info/invoker/.dirs/state 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_HPGTZ2/function-info/invoker/.dirs/runtime 982s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 982s # /function-info/invoker summary: Test preparing a function invoker 982s ok 1 /function-info/invoker 982s # End of function-info tests 982s ok - glib/function-info.test 982s # Running test: glib/portal-support-flatpak-gsettings-only.test 982s TAP version 14 982s # random seed: R02S29a68e32d15a64575fee3d5fbecfb252 982s 1..1 982s # Start of portal-support tests 982s # Start of flatpak tests 982s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_9ZDTZ2/portal-support/flatpak/gsettings/.dirs/home 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_9ZDTZ2/portal-support/flatpak/gsettings/.dirs/cache 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_9ZDTZ2/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_9ZDTZ2/portal-support/flatpak/gsettings/.dirs/system-config2 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_9ZDTZ2/portal-support/flatpak/gsettings/.dirs/config 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_9ZDTZ2/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_9ZDTZ2/portal-support/flatpak/gsettings/.dirs/system-data2 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_9ZDTZ2/portal-support/flatpak/gsettings/.dirs/data 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_9ZDTZ2/portal-support/flatpak/gsettings/.dirs/state 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_9ZDTZ2/portal-support/flatpak/gsettings/.dirs/runtime 982s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_9ZDTZ2/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 982s ok 1 /portal-support/flatpak/gsettings 982s # End of flatpak tests 982s # End of portal-support tests 982s ok - glib/portal-support-flatpak-gsettings-only.test 982s # Running test: glib/logging.test 982s TAP version 14 982s # random seed: R02Safbe5eb6a830ec8d945a6159a6e444fb 982s 1..17 982s # Start of logging tests 982s ok 1 /logging/default-handler 982s ok 2 /logging/warnings 982s ok 3 /logging/fatal-log-mask 982s # bu-DEBUG: message 982s # ba-DEBUG: message 982s # ba-INFO: message 982s ok 4 /logging/set-handler 982s ok 5 /logging/print-handler 982s ok 6 /logging/printerr-handler 982s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 982s # The Log Message Handler 982s # 982s # The Good Fail Message Handler 982s # 982s ok 7 /logging/653052 982s ok 8 /logging/gibberish 982s # Start of default-handler tests 982s # Start of subprocess tests 982s # End of subprocess tests 982s # End of default-handler tests 982s # End of logging tests 982s # Start of structured-logging tests 982s ok 9 /structured-logging/no-state 982s ok 10 /structured-logging/some-state 982s ok 11 /structured-logging/robustness 982s ok 12 /structured-logging/roundtrip1 982s ok 13 /structured-logging/roundtrip2 982s ok 14 /structured-logging/roundtrip3 982s ok 15 /structured-logging/variant1 982s ok 16 /structured-logging/variant2 982s ok 17 /structured-logging/set-writer-func-twice 982s # End of structured-logging tests 982s ok - glib/logging.test 982s # Running test: glib/gdbus-sasl.test 982s TAP version 14 982s # random seed: R02S9a31fe671180ada4458e4e7715a81430 982s 1..1 982s # Start of gdbus tests 982s # Start of sasl tests 982s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_4UBLZ2/gdbus/sasl/server/.dirs/home 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_4UBLZ2/gdbus/sasl/server/.dirs/cache 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_4UBLZ2/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_4UBLZ2/gdbus/sasl/server/.dirs/system-config2 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_4UBLZ2/gdbus/sasl/server/.dirs/config 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_4UBLZ2/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_4UBLZ2/gdbus/sasl/server/.dirs/system-data2 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_4UBLZ2/gdbus/sasl/server/.dirs/data 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_4UBLZ2/gdbus/sasl/server/.dirs/state 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_4UBLZ2/gdbus/sasl/server/.dirs/runtime 982s # New handshake: EXTERNAL with incorrect initial response 982s # C:“AUTH EXTERNAL 30†982s # Expect: /^REJECTED.*$/ 982s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†982s # New handshake: EXTERNAL without initial response, failing to authenticate 982s # C:“AUTH EXTERNAL†982s # Expect: /^DATA$/ 982s # S:“DATA†982s # C:“DATA 30†982s # Expect: /^REJECTED.*$/ 982s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†982s # New handshake: EXTERNAL with initial response 982s # C:“AUTH EXTERNAL 31303030†982s # Expect: /^OK [0-9a-f]+$/ 982s # S:“OK e184bc62de2e7055e8112144677ff26a†982s # New handshake: EXTERNAL without initial response 982s # C:“AUTH EXTERNAL†982s # Expect: /^DATA$/ 982s # S:“DATA†982s # C:“DATA 31303030†982s # Expect: /^OK [0-9a-f]+$/ 982s # S:“OK e184bc62de2e7055e8112144677ff26a†982s # New handshake: EXTERNAL with empty authorization identity 982s # C:“AUTH EXTERNAL†982s # Expect: /^DATA$/ 982s # S:“DATA†982s # C:“DATA†982s # Expect: /^OK [0-9a-f]+$/ 982s # S:“OK e184bc62de2e7055e8112144677ff26a†982s # New handshake: EXTERNAL with empty authorization identity and whitespace 982s # C:“AUTH EXTERNAL†982s # Expect: /^DATA$/ 982s # S:“DATA†982s # C:“DATA †982s # Expect: /^OK [0-9a-f]+$/ 982s # S:“OK e184bc62de2e7055e8112144677ff26a†982s ok 1 /gdbus/sasl/server 982s # End of sasl tests 982s # End of gdbus tests 982s ok - glib/gdbus-sasl.test 982s # Running test: glib/union-info.test 982s TAP version 14 982s # random seed: R02S89ebb2c445be7e705e015c9e19ed88ba 982s 1..2 982s # Start of union-info tests 982s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_DH6KZ2/union-info/basic/.dirs/home 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_DH6KZ2/union-info/basic/.dirs/cache 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_DH6KZ2/union-info/basic/.dirs/system-config1:/tmp/test_union-info_DH6KZ2/union-info/basic/.dirs/system-config2 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_DH6KZ2/union-info/basic/.dirs/config 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_DH6KZ2/union-info/basic/.dirs/system-data1:/tmp/test_union-info_DH6KZ2/union-info/basic/.dirs/system-data2 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_DH6KZ2/union-info/basic/.dirs/data 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_DH6KZ2/union-info/basic/.dirs/state 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_DH6KZ2/union-info/basic/.dirs/runtime 982s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 982s # /union-info/basic summary: Test basic properties of GIUnionInfo 982s ok 1 /union-info/basic 982s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_DH6KZ2/union-info/methods/.dirs/home 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_DH6KZ2/union-info/methods/.dirs/cache 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_DH6KZ2/union-info/methods/.dirs/system-config1:/tmp/test_union-info_DH6KZ2/union-info/methods/.dirs/system-config2 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_DH6KZ2/union-info/methods/.dirs/config 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_DH6KZ2/union-info/methods/.dirs/system-data1:/tmp/test_union-info_DH6KZ2/union-info/methods/.dirs/system-data2 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_DH6KZ2/union-info/methods/.dirs/data 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_DH6KZ2/union-info/methods/.dirs/state 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_DH6KZ2/union-info/methods/.dirs/runtime 982s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 982s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 982s ok 2 /union-info/methods 982s # End of union-info tests 982s ok - glib/union-info.test 982s # Running test: glib/cxx-2b.test 982s TAP version 14 982s # random seed: R02Sab192299d4c858933f6de805e7f4521a 982s 1..2 982s # Start of gtask tests 982s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 982s ok 1 /gtask/name 982s # Start of name tests 982s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 982s ok 2 /gtask/name/macro-wrapper 982s # End of name tests 982s # End of gtask tests 982s ok - glib/cxx-2b.test 982s # Running test: glib/debugcontroller.test 982s TAP version 14 982s # random seed: R02Sbfad825b610b996236d6f96a33bb790e 982s 1..3 982s # Start of debug-controller tests 982s # Start of dbus tests 982s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 982s # GLib-GIO-DEBUG: Debug output enabled 982s # GLib-GIO-DEBUG: Debug output disabled 982s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 982s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 982s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 982s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 982s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 982s ok 1 /debug-controller/dbus/basic 982s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 982s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 982s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 982s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 982s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 982s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 982s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 982s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 982s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 982s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 982s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 982s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 982s ok 2 /debug-controller/dbus/duplicate 982s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 982s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 982s # End of dbus tests 982s # End of debug-controller tests 982s ok - glib/debugcontroller.test 982s # Running test: glib/live-g-file.test 982s TAP version 14 982s # random seed: R02Sba2122842fef81c8803db545920caf1d 982s 1..13 982s # Start of live-g-file tests 982s # Cleaning target testing structure in 'testdir_live-g-file'... 982s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 982s ok 1 /live-g-file/prep_clean_structure 982s # 982s # Going to create testing structure in 'testdir_live-g-file'... 982s # Creating directory 'dir1'... 982s # Creating directory 'dir1/subdir'... 982s # Creating directory 'dir2'... 982s # Creating directory 'dir-target'... 982s # Creating directory 'dir_no-access'... 982s # Creating directory 'dir_no-write'... 982s # Creating file 'target-file'... 982s # Creating file 'normal_file'... 982s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 982s # Creating file 'executable_file'... 982s # Creating file 'private_file'... 982s # Creating file 'normal_file2'... 982s # Creating file 'readonly_file'... 982s # Creating file 'UTF_pr?i?lis? z'... 982s # Creating directory 'dir_pr?i?lis? z'... 982s # Creating symlink 'lost_symlink' --> 'nowhere'... 982s # Creating directory 'dir_hidden'... 982s # Creating file 'dir_hidden/.a-hidden-file'... 982s # Creating file 'dir_hidden/file-in-.hidden1'... 982s # Creating file 'dir_hidden/file-in-.hidden2'... 982s # Creating pattern file... 983s # done. 983s ok 2 /live-g-file/create_structure 983s # Testing sample structure in 'testdir_live-g-file'... 983s # Testing file 'dir1'... 983s # Testing file 'dir1/subdir'... 983s # Testing file 'dir2'... 983s # Testing file 'dir-target'... 983s # Testing file 'dir_no-access'... 983s # Testing file 'dir_no-write'... 983s # Testing file 'target-file'... 983s # Testing file 'normal_file'... 983s # Testing file 'normal_file-symlink'... 983s # Testing file 'executable_file'... 983s # Testing file 'private_file'... 983s # Testing file 'normal_file2'... 983s # Testing file 'readonly_file'... 983s # Testing file 'UTF_pr?i?lis? z'... 983s # Testing file 'dir_pr?i?lis? z'... 983s # Testing file 'lost_symlink'... 983s # Testing file 'dir_hidden'... 983s # Testing file 'dir_hidden/.a-hidden-file'... 983s # Testing file 'dir_hidden/file-in-.hidden1'... 983s # Testing file 'dir_hidden/file-in-.hidden2'... 983s # Testing pattern file... 983s # read 65536 bytes, total = 65536 of 65536. 983s ok 3 /live-g-file/test_initial_structure 983s # Traversing through the sample structure in 'testdir_live-g-file'... 983s # Found file dir1, relative to root: dir1 983s # Found file subdir, relative to root: dir1/subdir 983s # Found file dir2, relative to root: dir2 983s # Found file dir-target, relative to root: dir-target 983s # Found file dir_no-access, relative to root: dir_no-access 983s # Found file dir_no-write, relative to root: dir_no-write 983s # Found file target-file, relative to root: target-file 983s # Found file normal_file, relative to root: normal_file 983s # Found file normal_file-symlink, relative to root: normal_file-symlink 983s # Found file executable_file, relative to root: executable_file 983s # Found file private_file, relative to root: private_file 983s # Found file normal_file2, relative to root: normal_file2 983s # Found file readonly_file, relative to root: readonly_file 983s # Found file UTF_pr?i?lis? z, relative to root: UTF_pr?i?lis? z 983s # Found file dir_pr?i?lis? z, relative to root: dir_pr?i?lis? z 983s # Found file lost_symlink, relative to root: lost_symlink 983s # Found file dir_hidden, relative to root: dir_hidden 983s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 983s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 983s # Found file .hidden, relative to root: dir_hidden/.hidden 983s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 983s # Found file pattern_file, relative to root: pattern_file 983s ok 4 /live-g-file/test_traverse_structure 983s # Test enumerate 'testdir_live-g-file'... 983s # Testing file 'dir_no-access' 983s # Testing file 'normal_file' 983s # Testing file 'normal_file-symlink' 983s # Testing file 'not_exists' 983s # Testing file 'not_exists' 983s # Testing file 'not_exists2' 983s # Testing file 'not_exists3' 983s # Testing file 'not_exists4' 983s # Testing file 'dir_no-execute/file' 983s ok 5 /live-g-file/test_enumerate 983s # test_open: 'dir1' 983s # test_open: 'dir_no-access' 983s # test_open: 'target-file' 983s # test_open: 'normal_file-symlink' 983s # test_open: 'executable_file' 983s # test_open: 'private_file' 983s # test_open: 'readonly_file' 983s # test_open: 'UTF_pr?i?lis? z' 983s # test_open: 'pattern_file' 983s # test_open: 'not_exists' 983s # test_open: 'dir_no-execute/file' 983s # test_open: 'lost_symlink' 983s ok 6 /live-g-file/test_open 983s # test_create: 'dir1' 983s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/dir1?: Is a directory 983s # test_create: 'dir1/subdir' 983s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/dir1/subdir?: Is a directory 983s # test_create: 'dir2' 983s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/dir2?: File exists 983s # test_create: 'normal_file' 983s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/normal_file?: File exists 983s # test_create: 'executable_file' 983s # test_create: 'private_file' 983s # test_create: 'normal_file2' 983s # test_create: 'UTF_pr?i?lis? z' 983s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 983s # test_create: 'dir_pr?i?lis? z' 983s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/dir_pr?i?lis? z?: File exists 983s # test_create: 'pattern_file' 983s # test_create: 'not_exists2' 983s # test_create: 'not_exists3' 983s # test_create: 'not_exists4' 983s ok 7 /live-g-file/test_create 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'dir1/subdir' --> 'dir-target' 983s # res = 0, error code 25 = Can?t recursively copy directory 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'dir1/subdir' --> '.' 983s # res = 0, error code 2 = Target file exists 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'dir1/subdir' --> 'target-file' 983s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/target-file/dir1/subdir?: Not a directory 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'dir1/subdir' --> 'not_exists' 983s # res = 0, error code 25 = Can?t recursively copy directory 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 983s # res = 0, error code 25 = Can?t recursively copy directory 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 983s # res = 0, error code 25 = Can?t recursively copy directory 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'dir2' --> 'dir-target' 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'dir-target' --> 'dir-target' 983s # res = 0, error code 25 = Can?t recursively copy directory 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'dir-target' --> '.' 983s # res = 0, error code 2 = Target file exists 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'dir-target' --> 'target-file' 983s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/target-file/dir-target?: Not a directory 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'dir-target' --> 'not_exists' 983s # res = 0, error code 25 = Can?t recursively copy directory 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'dir-target' --> 'dir_no-access' 983s # res = 0, error code 25 = Can?t recursively copy directory 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'dir-target' --> 'dir_no-write' 983s # res = 0, error code 25 = Can?t recursively copy directory 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'target-file' --> 'dir-target' 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'target-file' --> '.' 983s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/target-file?: File exists 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'target-file' --> 'target-file' 983s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/target-file/target-file?: Not a directory 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'target-file' --> 'not_exists' 983s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/not_exists/target-file?: No such file or directory 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'target-file' --> 'dir_no-access' 983s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/dir_no-access/target-file?: Permission denied 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'target-file' --> 'dir_no-write' 983s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/dir_no-write/target-file?: Permission denied 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'normal_file-symlink' --> '.' 983s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/normal_file-symlink: File exists 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'normal_file-symlink' --> 'target-file' 983s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 983s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 983s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 983s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'executable_file' --> 'dir-target' 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'executable_file' --> 'dir-target' 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'executable_file' --> '.' 983s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/executable_file?: File exists 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'executable_file' --> 'target-file' 983s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/target-file/executable_file?: Not a directory 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'executable_file' --> 'not_exists' 983s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/not_exists/executable_file?: No such file or directory 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'executable_file' --> 'dir_no-access' 983s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/dir_no-access/executable_file?: Permission denied 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'executable_file' --> 'dir_no-write' 983s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/dir_no-write/executable_file?: Permission denied 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'private_file' --> 'dir-target' 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'private_file' --> 'dir-target' 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'private_file' --> '.' 983s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/private_file?: File exists 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'private_file' --> 'target-file' 983s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/target-file/private_file?: Not a directory 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'private_file' --> 'not_exists' 983s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/not_exists/private_file?: No such file or directory 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'private_file' --> 'dir_no-access' 983s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/dir_no-access/private_file?: Permission denied 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'private_file' --> 'dir_no-write' 983s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/dir_no-write/private_file?: Permission denied 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'normal_file2' --> 'dir-target' 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'normal_file2' --> 'dir-target' 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'normal_file2' --> '.' 983s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/normal_file2?: File exists 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'normal_file2' --> 'target-file' 983s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/target-file/normal_file2?: Not a directory 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'normal_file2' --> 'not_exists' 983s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/not_exists/normal_file2?: No such file or directory 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'normal_file2' --> 'dir_no-access' 983s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/dir_no-access/normal_file2?: Permission denied 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'normal_file2' --> 'dir_no-write' 983s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/dir_no-write/normal_file2?: Permission denied 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'UTF_pr?i?lis? z' --> '.' 983s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'UTF_pr?i?lis? z' --> 'target-file' 983s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/target-file/UTF_pr?i?lis? z?: Not a directory 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'UTF_pr?i?lis? z' --> 'not_exists' 983s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/not_exists/UTF_pr?i?lis? z?: No such file or directory 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-access' 983s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/dir_no-access/UTF_pr?i?lis? z?: Permission denied 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-write' 983s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/dir_no-write/UTF_pr?i?lis? z?: Permission denied 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'pattern_file' --> 'dir-target' 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'pattern_file' --> '.' 983s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/pattern_file?: File exists 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'pattern_file' --> 'target-file' 983s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/target-file/pattern_file?: Not a directory 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'pattern_file' --> 'not_exists' 983s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/not_exists/pattern_file?: No such file or directory 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'pattern_file' --> 'dir_no-access' 983s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/dir_no-access/pattern_file?: Permission denied 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'pattern_file' --> 'dir_no-write' 983s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/dir_no-write/pattern_file?: Permission denied 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'not_exists' --> 'dir-target' 983s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/not_exists?: No such file or directory 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'not_exists' --> '.' 983s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/not_exists?: No such file or directory 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'not_exists' --> 'target-file' 983s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/not_exists?: No such file or directory 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'not_exists' --> 'not_exists' 983s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/not_exists?: No such file or directory 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'not_exists' --> 'dir_no-access' 983s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/not_exists?: No such file or directory 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'not_exists' --> 'dir_no-write' 983s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/not_exists?: No such file or directory 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'not_exists' --> 'dir-target' 983s # res = 0, error code 1 = Error moving file /tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/not_exists: No such file or directory 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'lost_symlink' --> 'dir-target' 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'lost_symlink' --> '.' 983s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/lost_symlink: File exists 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'lost_symlink' --> 'target-file' 983s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/target-file/lost_symlink: Not a directory 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'lost_symlink' --> 'not_exists' 983s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 983s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 983s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 983s ok 8 /live-g-file/test_copy_move 983s # Deleting dir1, path = /tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/dir1 983s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/dir1: Directory not empty 983s # Deleting dir2, path = /tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/dir2 983s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/dir2: No such file or directory 983s # Deleting executable_file, path = /tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/executable_file 983s # Deleting readonly_file, path = /tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/readonly_file 983s # Deleting dir_pr?i?lis? z, path = /tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/dir_pr?i?lis? z 983s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/not_exists 983s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/not_exists: No such file or directory 983s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/not_exists 983s # result = 0, error = Error trashing file /tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/not_exists: No such file or directory 983s # Deleting dir_no-execute/file, path = /tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/dir_no-execute/file 983s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/dir_no-execute/file: No such file or directory 983s # Deleting lost_symlink, path = /tmp/test-tmp-glib_live-g-file.test-94PKZ2/testdir_live-g-file/lost_symlink 983s ok 9 /live-g-file/test_delete 983s # We do not have CAP_DAC_OVERRIDE or equivalent 983s ok 10 /live-g-file/test_make_directory_with_parents 983s # Cleaning target testing structure in 'testdir_live-g-file'... 983s # deleting 'dir1' 983s # deleting 'subdir' 983s # deleting 'dir-target' 983s # deleting 'dir2' 983s # deleting 'target-file' 983s # deleting 'normal_file-symlink' 983s # deleting 'pattern_file' 983s # deleting 'executable_file' 983s # deleting 'private_file' 983s # deleting 'normal_file2' 983s # deleting 'UTF_pr?i?lis? z' 983s # deleting 'lost_symlink' 983s # deleting 'dir_no-access' 983s # deleting 'dir_no-write' 983s # deleting 'target-file' 983s # deleting 'normal_file' 983s # deleting 'normal_file-symlink' 983s # deleting 'executable_file~' 983s # deleting 'private_file' 983s # deleting 'normal_file2~' 983s # deleting 'a' 983s # deleting 'UTF_pr?i?lis? z' 983s # deleting 'dir_hidden' 983s # deleting '.a-hidden-file' 983s # deleting 'file-in-.hidden1' 983s # deleting '.hidden' 983s # deleting 'file-in-.hidden2' 983s # deleting 'pattern_file' 983s # deleting 'normal_file2' 983s # deleting 'not_exists2' 983s # deleting 'not_exists3' 983s # deleting 'not_exists4' 983s ok 11 /live-g-file/final_clean 983s # Start of test_unix_is_mountpoint tests 983s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 983s ok 13 /live-g-file/test_unix_is_mountpoint/proc 983s # End of test_unix_is_mountpoint tests 983s # End of live-g-file tests 983s ok - glib/live-g-file.test 983s # Running test: glib/atomic.test 983s TAP version 14 983s # random seed: R02Se1ac134314be5fd03dda8471ef7ab540 983s 1..2 983s # Start of atomic tests 983s ok 1 /atomic/types 983s ok 2 /atomic/threaded 983s # End of atomic tests 983s ok - glib/atomic.test 983s # Running test: glib/portal-support-flatpak-full.test 983s TAP version 14 983s # random seed: R02S54114df5cd9e04793b7f778ad120f508 983s 1..1 983s # Start of portal-support tests 983s # Start of flatpak tests 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_UOT0Z2/portal-support/flatpak/full/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_UOT0Z2/portal-support/flatpak/full/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_UOT0Z2/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_UOT0Z2/portal-support/flatpak/full/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_UOT0Z2/portal-support/flatpak/full/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_UOT0Z2/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_UOT0Z2/portal-support/flatpak/full/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_UOT0Z2/portal-support/flatpak/full/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_UOT0Z2/portal-support/flatpak/full/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_UOT0Z2/portal-support/flatpak/full/.dirs/runtime 983s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_UOT0Z2/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 983s ok 1 /portal-support/flatpak/full 983s # End of flatpak tests 983s # End of portal-support tests 983s ok - glib/portal-support-flatpak-full.test 983s # Running test: glib/object.test 983s TAP version 14 983s # random seed: R02S4aef4c1f19361828aa634b986c5c8bac 983s 1..2 983s # Start of object tests 983s # Start of constructor tests 983s ok 1 /object/constructor/singleton 983s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 983s # End of constructor tests 983s # End of object tests 983s ok - glib/object.test 983s # Running test: glib/spawn-singlethread.test 983s TAP version 14 983s # random seed: R02Sd8125450b51c6d379d45e0480b92b7cf 983s 1..9 983s # Start of gthread tests 983s ok 1 /gthread/spawn-single-sync 983s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 983s ok 2 /gthread/spawn-stderr-socket 983s ok 3 /gthread/spawn-single-async 983s # thread 1 983s # thread 1 983s ok 4 /gthread/spawn-single-async-with-fds 983s ok 5 /gthread/spawn-async-with-invalid-fds 983s ok 6 /gthread/spawn-script 983s ok 7 /gthread/spawn-posix-spawn 983s # Start of spawn tests 983s ok 8 /gthread/spawn/nonexistent 983s # FD map: 983s # • 5 → 15 983s # • 6 → 16 983s # • 7 → 17 983s # • 8 → 18 983s # • 9 → 19 983s # • 10 → 20 983s # • 11 → 21 983s # • 12 → 22 983s # • 13 → 23 983s # • 3 → 13 983s ok 9 /gthread/spawn/fd-assignment-clash 983s # End of spawn tests 983s # End of gthread tests 983s ok - glib/spawn-singlethread.test 983s # Running test: glib/gdbus-non-socket.test 983s TAP version 14 983s # random seed: R02S1e677c0843c97ad26b578c84ab13c6be 983s 1..1 983s # Start of gdbus tests 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_9YD0Z2/gdbus/non-socket/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_9YD0Z2/gdbus/non-socket/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_9YD0Z2/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_9YD0Z2/gdbus/non-socket/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_9YD0Z2/gdbus/non-socket/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_9YD0Z2/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_9YD0Z2/gdbus/non-socket/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_9YD0Z2/gdbus/non-socket/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_9YD0Z2/gdbus/non-socket/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_9YD0Z2/gdbus/non-socket/.dirs/runtime 983s ok 1 /gdbus/non-socket 983s # End of gdbus tests 983s ok - glib/gdbus-non-socket.test 983s # Running test: glib/autoptr-girepository.test 983s TAP version 14 983s # random seed: R02S2f79f4c5ba426e59db3e091b4505ff65 983s 1..24 983s # Start of autoptr tests 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/repository/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/repository/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_PT4ZZ2/autoptr/repository/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/repository/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_PT4ZZ2/autoptr/repository/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/repository/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/repository/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/repository/.dirs/runtime 983s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 983s ok 1 /autoptr/repository 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/typelib/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/typelib/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_PT4ZZ2/autoptr/typelib/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/typelib/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_PT4ZZ2/autoptr/typelib/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/typelib/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/typelib/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/typelib/.dirs/runtime 983s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 983s ok 2 /autoptr/typelib 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/base-info/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/base-info/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_PT4ZZ2/autoptr/base-info/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/base-info/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_PT4ZZ2/autoptr/base-info/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/base-info/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/base-info/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/base-info/.dirs/runtime 983s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 983s ok 3 /autoptr/base-info 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/arg-info/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/arg-info/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_PT4ZZ2/autoptr/arg-info/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/arg-info/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_PT4ZZ2/autoptr/arg-info/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/arg-info/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/arg-info/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/arg-info/.dirs/runtime 983s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 983s ok 4 /autoptr/arg-info 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/callable-info/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/callable-info/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_PT4ZZ2/autoptr/callable-info/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/callable-info/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_PT4ZZ2/autoptr/callable-info/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/callable-info/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/callable-info/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/callable-info/.dirs/runtime 983s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 983s ok 5 /autoptr/callable-info 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/callback-info/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/callback-info/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_PT4ZZ2/autoptr/callback-info/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/callback-info/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_PT4ZZ2/autoptr/callback-info/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/callback-info/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/callback-info/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/callback-info/.dirs/runtime 983s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 983s ok 6 /autoptr/callback-info 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/constant-info/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/constant-info/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_PT4ZZ2/autoptr/constant-info/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/constant-info/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_PT4ZZ2/autoptr/constant-info/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/constant-info/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/constant-info/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/constant-info/.dirs/runtime 983s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 983s ok 7 /autoptr/constant-info 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/enum-info/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/enum-info/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_PT4ZZ2/autoptr/enum-info/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/enum-info/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_PT4ZZ2/autoptr/enum-info/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/enum-info/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/enum-info/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/enum-info/.dirs/runtime 983s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 983s ok 8 /autoptr/enum-info 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/field-info/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/field-info/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_PT4ZZ2/autoptr/field-info/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/field-info/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_PT4ZZ2/autoptr/field-info/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/field-info/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/field-info/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/field-info/.dirs/runtime 983s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 983s ok 9 /autoptr/field-info 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/flags-info/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/flags-info/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_PT4ZZ2/autoptr/flags-info/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/flags-info/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_PT4ZZ2/autoptr/flags-info/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/flags-info/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/flags-info/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/flags-info/.dirs/runtime 983s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 983s ok 10 /autoptr/flags-info 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/function-info/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/function-info/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_PT4ZZ2/autoptr/function-info/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/function-info/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_PT4ZZ2/autoptr/function-info/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/function-info/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/function-info/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/function-info/.dirs/runtime 983s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 983s ok 11 /autoptr/function-info 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/interface-info/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/interface-info/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_PT4ZZ2/autoptr/interface-info/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/interface-info/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_PT4ZZ2/autoptr/interface-info/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/interface-info/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/interface-info/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/interface-info/.dirs/runtime 983s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 983s ok 12 /autoptr/interface-info 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/object-info/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/object-info/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_PT4ZZ2/autoptr/object-info/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/object-info/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_PT4ZZ2/autoptr/object-info/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/object-info/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/object-info/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/object-info/.dirs/runtime 983s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 983s ok 13 /autoptr/object-info 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/property-info/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/property-info/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_PT4ZZ2/autoptr/property-info/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/property-info/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_PT4ZZ2/autoptr/property-info/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/property-info/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/property-info/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/property-info/.dirs/runtime 983s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 983s ok 14 /autoptr/property-info 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/registered-type-info/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/registered-type-info/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_PT4ZZ2/autoptr/registered-type-info/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/registered-type-info/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_PT4ZZ2/autoptr/registered-type-info/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/registered-type-info/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/registered-type-info/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/registered-type-info/.dirs/runtime 983s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 983s ok 15 /autoptr/registered-type-info 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/signal-info/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/signal-info/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_PT4ZZ2/autoptr/signal-info/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/signal-info/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_PT4ZZ2/autoptr/signal-info/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/signal-info/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/signal-info/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/signal-info/.dirs/runtime 983s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 983s ok 16 /autoptr/signal-info 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/struct-info/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/struct-info/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_PT4ZZ2/autoptr/struct-info/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/struct-info/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_PT4ZZ2/autoptr/struct-info/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/struct-info/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/struct-info/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/struct-info/.dirs/runtime 983s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 983s ok 17 /autoptr/struct-info 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/type-info/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/type-info/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_PT4ZZ2/autoptr/type-info/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/type-info/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_PT4ZZ2/autoptr/type-info/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/type-info/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/type-info/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/type-info/.dirs/runtime 983s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 983s ok 18 /autoptr/type-info 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/union-info/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/union-info/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_PT4ZZ2/autoptr/union-info/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/union-info/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_PT4ZZ2/autoptr/union-info/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/union-info/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/union-info/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/union-info/.dirs/runtime 983s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 983s ok 19 /autoptr/union-info 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/value-info/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/value-info/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_PT4ZZ2/autoptr/value-info/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/value-info/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_PT4ZZ2/autoptr/value-info/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/value-info/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/value-info/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/value-info/.dirs/runtime 983s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 983s ok 20 /autoptr/value-info 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/vfunc-info/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/vfunc-info/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_PT4ZZ2/autoptr/vfunc-info/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/vfunc-info/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_PT4ZZ2/autoptr/vfunc-info/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/vfunc-info/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/vfunc-info/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_PT4ZZ2/autoptr/vfunc-info/.dirs/runtime 983s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 983s ok 21 /autoptr/vfunc-info 983s # End of autoptr tests 983s # Start of auto tests 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_PT4ZZ2/auto/arg-info/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/auto/arg-info/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_PT4ZZ2/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_PT4ZZ2/auto/arg-info/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/auto/arg-info/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_PT4ZZ2/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_PT4ZZ2/auto/arg-info/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/auto/arg-info/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/auto/arg-info/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_PT4ZZ2/auto/arg-info/.dirs/runtime 983s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 983s ok 22 /auto/arg-info 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_PT4ZZ2/auto/type-info/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/auto/type-info/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_PT4ZZ2/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_PT4ZZ2/auto/type-info/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/auto/type-info/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_PT4ZZ2/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_PT4ZZ2/auto/type-info/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/auto/type-info/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/auto/type-info/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_PT4ZZ2/auto/type-info/.dirs/runtime 983s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 983s ok 23 /auto/type-info 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_PT4ZZ2/auto/function-invoker/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/auto/function-invoker/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_PT4ZZ2/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_PT4ZZ2/auto/function-invoker/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/auto/function-invoker/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_PT4ZZ2/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_PT4ZZ2/auto/function-invoker/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/auto/function-invoker/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_PT4ZZ2/auto/function-invoker/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_PT4ZZ2/auto/function-invoker/.dirs/runtime 983s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 983s ok 24 /auto/function-invoker 983s # End of auto tests 983s ok - glib/autoptr-girepository.test 983s # Running test: glib/dynamictype.test 983s TAP version 14 983s # random seed: R02S341054afff97357e343bf2f0541401ad 983s 1..2 983s # Start of gobject tests 983s ok 1 /gobject/dynamic-type 983s # Start of dynamic-type tests 983s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 983s ok 2 /gobject/dynamic-type/query 983s # End of dynamic-type tests 983s # End of gobject tests 983s ok - glib/dynamictype.test 983s # Running test: glib/mappedfile.test 983s TAP version 14 983s # random seed: R02S47cb120e0fd193bde96441781e66f7ff 983s 1..7 983s # Start of mappedfile tests 983s ok 1 /mappedfile/basic 983s ok 2 /mappedfile/empty 983s ok 3 /mappedfile/device 983s ok 4 /mappedfile/nonexisting 983s ok 5 /mappedfile/writable 983s ok 6 /mappedfile/writable_fd 983s ok 7 /mappedfile/gbytes 983s # End of mappedfile tests 983s ok - glib/mappedfile.test 983s # Running test: glib/utf8-performance.test 983s TAP version 14 983s # random seed: R02S21df3719c76dc31570c22304109bc1bf 983s 1..36 983s # Start of utf8 tests 983s # Start of perf tests 983s # Start of get_char tests 983s # max perf: 43.0 MB/s 983s ok 1 /utf8/perf/get_char/ascii 983s # max perf: inf MB/s 983s ok 2 /utf8/perf/get_char/latin1 983s # max perf: inf MB/s 983s ok 3 /utf8/perf/get_char/cyrillic 983s # max perf: 156.0 MB/s 983s ok 4 /utf8/perf/get_char/han 983s # End of get_char tests 983s # Start of get_char-backwards tests 983s # max perf: 43.0 MB/s 983s ok 5 /utf8/perf/get_char-backwards/ascii 983s # max perf: 67.0 MB/s 983s ok 6 /utf8/perf/get_char-backwards/latin1 983s # max perf: 160.0 MB/s 983s ok 7 /utf8/perf/get_char-backwards/cyrillic 983s # max perf: 156.0 MB/s 983s ok 8 /utf8/perf/get_char-backwards/han 983s # End of get_char-backwards tests 983s # Start of get_char_validated tests 983s # max perf: 43.0 MB/s 983s ok 9 /utf8/perf/get_char_validated/ascii 983s # max perf: 67.0 MB/s 983s ok 10 /utf8/perf/get_char_validated/latin1 983s # max perf: inf MB/s 983s ok 11 /utf8/perf/get_char_validated/cyrillic 983s # max perf: 156.0 MB/s 983s ok 12 /utf8/perf/get_char_validated/han 983s # End of get_char_validated tests 983s # Start of utf8_to_ucs4 tests 983s # max perf: 43.0 MB/s 983s ok 13 /utf8/perf/utf8_to_ucs4/ascii 983s # max perf: 67.0 MB/s 983s ok 14 /utf8/perf/utf8_to_ucs4/latin1 983s # max perf: 160.0 MB/s 983s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 983s # max perf: 156.0 MB/s 983s ok 16 /utf8/perf/utf8_to_ucs4/han 983s # End of utf8_to_ucs4 tests 983s # Start of utf8_to_ucs4-sized tests 983s # max perf: 43.0 MB/s 983s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 983s # max perf: 67.0 MB/s 983s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 983s # max perf: 160.0 MB/s 983s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 983s # max perf: 156.0 MB/s 983s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 983s # End of utf8_to_ucs4-sized tests 983s # Start of utf8_to_ucs4_fast tests 983s # max perf: 43.0 MB/s 983s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 983s # max perf: 67.0 MB/s 983s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 983s # max perf: 160.0 MB/s 983s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 983s # max perf: 156.0 MB/s 983s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 983s # End of utf8_to_ucs4_fast tests 983s # Start of utf8_to_ucs4_fast-sized tests 983s # max perf: inf MB/s 983s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 983s # max perf: 67.0 MB/s 983s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 983s # max perf: 160.0 MB/s 983s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 983s # max perf: 156.0 MB/s 983s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 983s # End of utf8_to_ucs4_fast-sized tests 983s # Start of utf8_validate tests 983s # max perf: 43.0 MB/s 983s ok 29 /utf8/perf/utf8_validate/ascii 983s # max perf: 67.0 MB/s 983s ok 30 /utf8/perf/utf8_validate/latin1 983s # max perf: inf MB/s 983s ok 31 /utf8/perf/utf8_validate/cyrillic 983s # max perf: 156.0 MB/s 983s ok 32 /utf8/perf/utf8_validate/han 983s # End of utf8_validate tests 983s # Start of utf8_validate-sized tests 983s # max perf: inf MB/s 983s ok 33 /utf8/perf/utf8_validate-sized/ascii 983s # max perf: 67.0 MB/s 983s ok 34 /utf8/perf/utf8_validate-sized/latin1 983s # max perf: 160.0 MB/s 983s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 983s # max perf: inf MB/s 983s ok 36 /utf8/perf/utf8_validate-sized/han 983s # End of utf8_validate-sized tests 983s # End of perf tests 983s # End of utf8 tests 983s ok - glib/utf8-performance.test 983s # Running test: glib/protocol.test 983s TAP version 14 983s # random seed: R02S12440a2a1c098c7ef487d3f92b0808cf 983s 1..9 983s # Start of glib tests 983s # Start of testing tests 983s # Start of protocol tests 983s ok 1 /glib/testing/protocol/debug 983s ok 2 /glib/testing/protocol/info 983s ok 3 /glib/testing/protocol/message 983s ok 4 /glib/testing/protocol/warning 983s ok 5 /glib/testing/protocol/critical 983s ok 6 /glib/testing/protocol/error 983s ok 7 /glib/testing/protocol/gtest-message 983s ok 8 /glib/testing/protocol/test-message 983s ok 9 /glib/testing/protocol/test-error 983s # End of protocol tests 983s # End of testing tests 983s # End of glib tests 983s ok - glib/protocol.test 983s # Running test: glib/search-utils.test 983s TAP version 14 983s # random seed: R02Sd4d64b57d283a494cb2fec0abe0cb2cc 983s # GLib-DEBUG: Current user locale: C.UTF-8 983s 1..6 983s # Start of search tests 983s # GLib-DEBUG: Started 983s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 983s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 983s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 983s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 983s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 983s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 983s ok 1 /search/basic 983s # GLib-DEBUG: Started 983s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 983s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 983s # GLib-DEBUG: 'ele' - 'élève' should match: OK 983s # GLib-DEBUG: 'AzaÃs' - 'Azais' should NOT match: OK 983s # GLib-DEBUG: 'Azais' - 'AzaÃs' should match: OK 983s ok 2 /search/composed 983s # GLib-DEBUG: Started 983s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 983s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 983s ok 3 /search/decomposed 983s # GLib-DEBUG: Started 983s # GLib-DEBUG: 'ist' - 'Ä°stanbul' should match: OK 983s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 983s ok 4 /search/turkish 983s # GLib-DEBUG: Started 983s # GLib-DEBUG: 'jor' - 'J?rgen' should match: OK 983s # GLib-DEBUG: 'Jo?r' - 'Jorgen' should NOT match: OK 983s # GLib-DEBUG: 'jor' - 'Jo?rgen' should match: OK 983s ok 5 /search/c_locale_unicode 983s # GLib-DEBUG: Started 983s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 983s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 983s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 983s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 983s ok 6 /search/multi_words 983s # End of search tests 983s ok - glib/search-utils.test 983s # Running test: glib/slice.test 983s TAP version 14 983s # random seed: R02Sd05575e72244c50783cc971b8fd3c7f1 983s 1..3 983s # Start of slice tests 983s ok 1 /slice/copy 983s ok 2 /slice/chain 983s ok 3 /slice/allocate 983s # End of slice tests 983s ok - glib/slice.test 983s # Running test: glib/cxx.test 983s TAP version 14 983s # random seed: R02Sc43d2fc50c79a654698b4dbb1e855980 983s 1..2 983s # Start of gtask tests 983s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 983s ok 1 /gtask/name 983s # Start of name tests 983s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 983s ok 2 /gtask/name/macro-wrapper 983s # End of name tests 983s # End of gtask tests 983s ok - glib/cxx.test 983s # Running test: glib/unix-fd.test 983s TAP version 14 983s # random seed: R02Sba4c814b0e66552ee41e3ccfecafa81a 983s 1..2 983s # Start of unix-fd tests 983s ok 1 /unix-fd/fd-list 983s ok 2 /unix-fd/scm 983s # End of unix-fd tests 983s ok - glib/unix-fd.test 983s # Running test: glib/proxy-test.test 983s TAP version 14 983s # random seed: R02S0cf75a3e7589342608cfa1c836fb83a3 983s 1..11 983s # Start of proxy tests 983s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ?gio-proxy-resolver? 983s ok 1 /proxy/direct_sync 983s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 983s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x35fa72209c0 and GSocketClientAsyncConnectData 0x35fa7216260 983s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 983s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 983s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x35fa72213d0 for GSocketClientAsyncConnectData 0x35fa7216260 983s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 983s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 983s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 983s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 983s ok 2 /proxy/direct_async 983s ok 3 /proxy/single_sync 983s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 983s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x35fa7222cd0 and GSocketClientAsyncConnectData 0x35fa7221e20 983s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 983s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 983s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x35fa7223830 for GSocketClientAsyncConnectData 0x35fa7221e20 983s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 983s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 983s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 983s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 983s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 983s ok 4 /proxy/single_async 983s ok 5 /proxy/multiple_sync 983s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 983s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x35fa7223560 and GSocketClientAsyncConnectData 0x35fa7223330 983s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 983s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 983s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x35fa7223eb0 for GSocketClientAsyncConnectData 0x35fa7223330 983s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 983s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 983s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 983s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 983s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 983s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 983s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x35fa72238c0 for GSocketClientAsyncConnectData 0x35fa7223330 983s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 983s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 983s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 983s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 983s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 983s ok 6 /proxy/multiple_async 983s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 983s ok 7 /proxy/invalid-uris-sync 983s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 983s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 983s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x35fa7223c40 and GSocketClientAsyncConnectData 0x35fa7223140 983s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 983s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 983s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 983s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 983s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 983s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x35fa7222cd0 and GSocketClientAsyncConnectData 0x35fa7223140 983s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 983s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 983s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 983s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 983s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 983s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x35fa7222cd0 and GSocketClientAsyncConnectData 0x35fa7223140 983s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 983s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 983s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x35fa7221930 for GSocketClientAsyncConnectData 0x35fa7223140 983s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 983s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 983s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 983s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 983s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 983s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x35fa7223560 and GSocketClientAsyncConnectData 0x35fa7223620 983s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 983s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 983s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x35fa7221be0 for GSocketClientAsyncConnectData 0x35fa7223620 983s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 983s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 983s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 983s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 983s ok 8 /proxy/invalid-uris-async 983s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 983s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x35fa7222cd0 and GSocketClientAsyncConnectData 0x35fa72232b0 983s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 983s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 983s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 983s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 983s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 983s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 983s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 983s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x35fa72232b0 and GSocketClientAsyncConnectData 0x35fa7223620 983s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 983s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 983s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x35fa72245e0 for GSocketClientAsyncConnectData 0x35fa7223620 983s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 983s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 983s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 983s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 983s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 983s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 983s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 983s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 983s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 983s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x35fa7222cd0 and GSocketClientAsyncConnectData 0x35fa7223140 983s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 983s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 983s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x35fa7223310 for GSocketClientAsyncConnectData 0x35fa7223140 983s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 983s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 983s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 983s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 983s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 983s ok 9 /proxy/dns 983s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 983s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x35fa7221810 and GSocketClientAsyncConnectData 0x35fa7223900 983s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 983s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 983s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x35fa72245e0 for GSocketClientAsyncConnectData 0x35fa7223900 983s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 983s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 983s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 983s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 983s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 983s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 983s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 983s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 983s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 983s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x35fa72229e0 and GSocketClientAsyncConnectData 0x35fa7222c10 983s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 983s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 983s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x35fa7221be0 for GSocketClientAsyncConnectData 0x35fa7222c10 983s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 983s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 983s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 983s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 983s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 983s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 983s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x35fa72232b0 and GSocketClientAsyncConnectData 0x35fa7223900 983s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 983s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 983s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x35fa7224600 for GSocketClientAsyncConnectData 0x35fa7223900 983s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 983s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 983s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 983s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 983s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 983s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 983s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 983s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 983s ok 10 /proxy/override 983s ok 11 /proxy/enumerator-ports 983s # End of proxy tests 983s ok - glib/proxy-test.test 983s # Running test: glib/gdbus-exit-on-close.test 983s TAP version 14 983s # random seed: R02Sbd5cf0952ee73f2ae146f13f92ac2457 983s 1..4 983s # Start of gdbus tests 983s # Start of exit-on-close tests 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_ZKRTZ2/gdbus/exit-on-close/default/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_ZKRTZ2/gdbus/exit-on-close/default/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_ZKRTZ2/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_ZKRTZ2/gdbus/exit-on-close/default/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_ZKRTZ2/gdbus/exit-on-close/default/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_ZKRTZ2/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_ZKRTZ2/gdbus/exit-on-close/default/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_ZKRTZ2/gdbus/exit-on-close/default/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_ZKRTZ2/gdbus/exit-on-close/default/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_ZKRTZ2/gdbus/exit-on-close/default/.dirs/runtime 983s ok 1 /gdbus/exit-on-close/default 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_ZKRTZ2/gdbus/exit-on-close/true/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_ZKRTZ2/gdbus/exit-on-close/true/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_ZKRTZ2/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_ZKRTZ2/gdbus/exit-on-close/true/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_ZKRTZ2/gdbus/exit-on-close/true/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_ZKRTZ2/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_ZKRTZ2/gdbus/exit-on-close/true/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_ZKRTZ2/gdbus/exit-on-close/true/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_ZKRTZ2/gdbus/exit-on-close/true/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_ZKRTZ2/gdbus/exit-on-close/true/.dirs/runtime 983s ok 2 /gdbus/exit-on-close/true 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_ZKRTZ2/gdbus/exit-on-close/false/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_ZKRTZ2/gdbus/exit-on-close/false/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_ZKRTZ2/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_ZKRTZ2/gdbus/exit-on-close/false/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_ZKRTZ2/gdbus/exit-on-close/false/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_ZKRTZ2/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_ZKRTZ2/gdbus/exit-on-close/false/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_ZKRTZ2/gdbus/exit-on-close/false/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_ZKRTZ2/gdbus/exit-on-close/false/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_ZKRTZ2/gdbus/exit-on-close/false/.dirs/runtime 983s ok 3 /gdbus/exit-on-close/false 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_ZKRTZ2/gdbus/exit-on-close/we-close/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_ZKRTZ2/gdbus/exit-on-close/we-close/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_ZKRTZ2/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_ZKRTZ2/gdbus/exit-on-close/we-close/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_ZKRTZ2/gdbus/exit-on-close/we-close/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_ZKRTZ2/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_ZKRTZ2/gdbus/exit-on-close/we-close/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_ZKRTZ2/gdbus/exit-on-close/we-close/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_ZKRTZ2/gdbus/exit-on-close/we-close/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_ZKRTZ2/gdbus/exit-on-close/we-close/.dirs/runtime 983s ok 4 /gdbus/exit-on-close/we-close 983s # Start of default tests 983s # End of default tests 983s # Start of true tests 983s # End of true tests 983s # Start of false tests 983s # End of false tests 983s # Start of we-close tests 983s # End of we-close tests 983s # End of exit-on-close tests 983s # End of gdbus tests 983s ok - glib/gdbus-exit-on-close.test 983s # Running test: glib/type-flags.test 983s TAP version 14 983s # random seed: R02Sefd3faa4d38e0143c63f8b7bfcec1675 983s 1..4 983s # Start of type tests 983s # Start of flags tests 983s ok 1 /type/flags/interface 983s ok 2 /type/flags/final 983s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 983s ok 3 /type/flags/deprecated 983s # Start of final tests 983s ok 4 /type/flags/final/instance-check 983s # End of final tests 983s # End of flags tests 983s # End of type tests 983s ok - glib/type-flags.test 983s # Running test: glib/inet-address.test 983s TAP version 14 983s # random seed: R02S8ba41532ca9f7e08bbed6fb6adad3ed6 983s 1..11 983s # Start of inet-address tests 983s ok 1 /inet-address/parse 983s ok 2 /inet-address/any 983s ok 3 /inet-address/loopback 983s ok 4 /inet-address/bytes 983s ok 5 /inet-address/property 983s # End of inet-address tests 983s # Start of socket-address tests 983s ok 6 /socket-address/basic 983s ok 7 /socket-address/to-string 983s # End of socket-address tests 983s # Start of address-mask tests 983s ok 8 /address-mask/parse 983s ok 9 /address-mask/property 983s ok 10 /address-mask/equal 983s ok 11 /address-mask/match 983s # End of address-mask tests 983s ok - glib/inet-address.test 983s # Running test: glib/gdbus-proxy-threads.test 983s TAP version 14 983s # random seed: R02Sf873c5be58f0c1ddec3b85319b016569 983s 1..1 983s # Start of gdbus tests 983s # Start of proxy tests 983s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_2K3LZ2/gdbus/proxy/vs-threads/.dirs/home 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_2K3LZ2/gdbus/proxy/vs-threads/.dirs/cache 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_2K3LZ2/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_2K3LZ2/gdbus/proxy/vs-threads/.dirs/system-config2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_2K3LZ2/gdbus/proxy/vs-threads/.dirs/config 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_2K3LZ2/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_2K3LZ2/gdbus/proxy/vs-threads/.dirs/system-data2 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_2K3LZ2/gdbus/proxy/vs-threads/.dirs/data 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_2K3LZ2/gdbus/proxy/vs-threads/.dirs/state 983s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_2K3LZ2/gdbus/proxy/vs-threads/.dirs/runtime 983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 984s # Executing: glib/gdbus-proxy-threads.test 986s ok 1 /gdbus/proxy/vs-threads 986s # slow test /gdbus/proxy/vs-threads executed in 2.53 secs 986s # End of proxy tests 986s # End of gdbus tests 986s cleaning up pid 12003 986s ok - glib/gdbus-proxy-threads.test 986s # Running test: glib/autoptr.test 986s TAP version 14 986s # random seed: R02S4ed21b12c93d62d056c7f0ef0dfb7076 986s 1..6 986s # Start of autoptr tests 986s ok 1 /autoptr/autoptr 986s ok 2 /autoptr/autoptr_steal 986s ok 3 /autoptr/autolist 986s ok 4 /autoptr/autoslist 986s ok 5 /autoptr/autoqueue 986s ok 6 /autoptr/autoclass 986s # End of autoptr tests 986s ok - glib/autoptr.test 986s # Running test: glib/overflow-fallback.test 986s TAP version 14 986s # random seed: R02S5bab488f101c43e8aaf19f176717e956 986s 1..6 986s # Start of glib tests 986s # Start of checked-math tests 986s ok 1 /glib/checked-math/guint-add 986s ok 2 /glib/checked-math/guint-mul 986s ok 3 /glib/checked-math/guint64-add 986s ok 4 /glib/checked-math/guint64-mul 986s ok 5 /glib/checked-math/gsize-add 986s ok 6 /glib/checked-math/gsize-mul 986s # End of checked-math tests 986s # End of glib tests 986s ok - glib/overflow-fallback.test 986s # Running test: glib/application-command-line.test 986s TAP version 14 986s # random seed: R02S702d4270ad1c26d28c9d8d5006ff994a 986s 1..1 986s # Start of application-command-line tests 986s ok 1 /application-command-line/basic-properties 986s # End of application-command-line tests 986s ok - glib/application-command-line.test 986s # Running test: glib/gapplication.test 986s TAP version 14 986s # random seed: R02Sea023f3266b10a15ad0ba111219ad9da 986s 1..24 986s # Start of gapplication tests 986s ok 1 /gapplication/no-dbus 986s ok 2 /gapplication/no-appid 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s ok 3 /gapplication/properties 986s ok 4 /gapplication/app-id 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s ok 5 /gapplication/quit 986s ok 6 /gapplication/registered 986s ok 7 /gapplication/local-actions 986s ok 8 /gapplication/local-command-line 986s ok 9 /gapplication/resource-path 986s ok 10 /gapplication/test-help 986s ok 11 /gapplication/command-line-done 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s ok 12 /gapplication/test-busy 986s ok 13 /gapplication/test-handle-local-options1 986s ok 14 /gapplication/test-handle-local-options2 986s ok 15 /gapplication/test-handle-local-options3 986s ok 16 /gapplication/api 986s ok 17 /gapplication/version 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # launching subprocess 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s ok 18 /gapplication/replace 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # launching subprocess 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s ok 19 /gapplication/no-replace 986s # slow test /gapplication/no-replace executed in 0.51 secs 986s # Start of dbus tests 986s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 986s # Message 0 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # Message 1 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # Message 2 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s ok 20 /gapplication/dbus/activate 986s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 986s # Message 0 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 986s # Message 1 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # Message 2 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # Message 3 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 987s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 987s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 987s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 987s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 987s ok 21 /gapplication/dbus/open 987s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 987s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 987s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 987s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 987s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 987s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 987s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 987s # Message 0 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # Message 1 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # Message 2 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 987s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 987s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 987s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 987s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 987s ok 22 /gapplication/dbus/command-line 987s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 987s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 987s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 987s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 987s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 987s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 987s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 987s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 987s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 987s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 987s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 987s ok 23 /gapplication/dbus/command-line-done 987s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 987s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 987s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 987s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 987s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 987s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 987s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 987s # Message 0 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # Message 1 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # Message 2 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # Message 3 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # Message 4 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # Message 5 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # Message 6 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # Message 7 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # Message 8 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # Message 9 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # Message 10 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # Message 11 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 987s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 987s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 987s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 987s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 987s ok 24 /gapplication/dbus/activate-action 987s # End of dbus tests 987s # End of gapplication tests 987s ok - glib/gapplication.test 987s # Running test: glib/markup-subparser.test 987s TAP version 14 987s # random seed: R02Sfdd6888b3478cc7d513bf98b0dd3ff9e 987s 1..14 987s # Start of glib tests 987s # Start of markup tests 987s # Start of subparser tests 987s # Start of success tests 987s ok 1 /glib/markup/subparser/success/0 987s ok 2 /glib/markup/subparser/success/1 987s ok 3 /glib/markup/subparser/success/2 987s ok 4 /glib/markup/subparser/success/3 987s ok 5 /glib/markup/subparser/success/4 987s ok 6 /glib/markup/subparser/success/5 987s ok 7 /glib/markup/subparser/success/6 987s # End of success tests 987s # Start of failure tests 987s ok 8 /glib/markup/subparser/failure/0 987s ok 9 /glib/markup/subparser/failure/1 987s ok 10 /glib/markup/subparser/failure/2 987s ok 11 /glib/markup/subparser/failure/3 987s ok 12 /glib/markup/subparser/failure/4 987s ok 13 /glib/markup/subparser/failure/5 987s ok 14 /glib/markup/subparser/failure/6 987s # End of failure tests 987s # End of subparser tests 987s # End of markup tests 987s # End of glib tests 987s ok - glib/markup-subparser.test 987s # Running test: glib/gdbus-error.test 987s TAP version 14 987s # random seed: R02Sbd9ba952ebe86b97467869acf019906b 987s 1..4 987s # Start of gdbus tests 987s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_AJ53Z2/gdbus/registered-errors/.dirs/home 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_AJ53Z2/gdbus/registered-errors/.dirs/cache 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_AJ53Z2/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_AJ53Z2/gdbus/registered-errors/.dirs/system-config2 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_AJ53Z2/gdbus/registered-errors/.dirs/config 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_AJ53Z2/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_AJ53Z2/gdbus/registered-errors/.dirs/system-data2 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_AJ53Z2/gdbus/registered-errors/.dirs/data 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_AJ53Z2/gdbus/registered-errors/.dirs/state 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_AJ53Z2/gdbus/registered-errors/.dirs/runtime 987s ok 1 /gdbus/registered-errors 987s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_AJ53Z2/gdbus/unregistered-errors/.dirs/home 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_AJ53Z2/gdbus/unregistered-errors/.dirs/cache 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_AJ53Z2/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_AJ53Z2/gdbus/unregistered-errors/.dirs/system-config2 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_AJ53Z2/gdbus/unregistered-errors/.dirs/config 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_AJ53Z2/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_AJ53Z2/gdbus/unregistered-errors/.dirs/system-data2 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_AJ53Z2/gdbus/unregistered-errors/.dirs/data 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_AJ53Z2/gdbus/unregistered-errors/.dirs/state 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_AJ53Z2/gdbus/unregistered-errors/.dirs/runtime 987s ok 2 /gdbus/unregistered-errors 987s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_AJ53Z2/gdbus/transparent-gerror/.dirs/home 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_AJ53Z2/gdbus/transparent-gerror/.dirs/cache 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_AJ53Z2/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_AJ53Z2/gdbus/transparent-gerror/.dirs/system-config2 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_AJ53Z2/gdbus/transparent-gerror/.dirs/config 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_AJ53Z2/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_AJ53Z2/gdbus/transparent-gerror/.dirs/system-data2 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_AJ53Z2/gdbus/transparent-gerror/.dirs/data 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_AJ53Z2/gdbus/transparent-gerror/.dirs/state 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_AJ53Z2/gdbus/transparent-gerror/.dirs/runtime 987s ok 3 /gdbus/transparent-gerror 987s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_AJ53Z2/gdbus/register-error/.dirs/home 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_AJ53Z2/gdbus/register-error/.dirs/cache 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_AJ53Z2/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_AJ53Z2/gdbus/register-error/.dirs/system-config2 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_AJ53Z2/gdbus/register-error/.dirs/config 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_AJ53Z2/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_AJ53Z2/gdbus/register-error/.dirs/system-data2 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_AJ53Z2/gdbus/register-error/.dirs/data 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_AJ53Z2/gdbus/register-error/.dirs/state 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_AJ53Z2/gdbus/register-error/.dirs/runtime 987s ok 4 /gdbus/register-error 987s # End of gdbus tests 987s ok - glib/gdbus-error.test 987s # Running test: glib/macros-c-11.test 987s TAP version 14 987s # random seed: R02S049f275b236b643fa8fc1a543ccecfd1 987s 1..4 987s # Start of C tests 987s ok 1 /C/standard-11 987s # End of C tests 987s # Start of alignof tests 987s ok 2 /alignof/fallback 987s # End of alignof tests 987s # Start of assert tests 987s ok 3 /assert/static 987s # End of assert tests 987s # Start of struct tests 987s ok 4 /struct/sizeof_member 987s # End of struct tests 987s ok - glib/macros-c-11.test 987s # Running test: glib/network-monitor-race.test 987s TAP version 14 987s # random seed: R02Sf43bed0147ecaad8d3f640f2cfd20949 987s 1..1 987s # Start of network-monitor tests 987s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 989s # Executing: glib/network-monitor-race.test 989s ok 1 /network-monitor/create-in-thread 989s # slow test /network-monitor/create-in-thread executed in 2.19 secs 989s # End of network-monitor tests 989s ok - glib/network-monitor-race.test 989s # Running test: glib/objects-refcount1.test 989s TAP version 14 989s # random seed: R02Sf1f020ece14aac62eaa774a77ff36768 989s 1..1 989s # Start of gobject tests 989s # Start of refcount tests 989s # init 0x1b3c250ce740 989s # 989s # init 0x1b3c250ce8d0 989s # 994s # Executing: glib/objects-refcount1.test 994s # dispose 0x1b3c250ce740! 994s # 994s # dispose 0x1b3c250ce8d0! 994s # 994s ok 1 /gobject/refcount/object-basics 994s # slow test /gobject/refcount/object-basics executed in 5.01 secs 994s # End of refcount tests 994s # End of gobject tests 994s ok - glib/objects-refcount1.test 994s # Running test: glib/task.test 994s TAP version 14 994s # random seed: R02Seb9285b4c205e30b12eaf84d84645c1d 994s 1..36 994s # Start of gtask tests 994s ok 1 /gtask/basic 994s ok 2 /gtask/error 994s ok 3 /gtask/error-literal 994s ok 4 /gtask/error-literal-from-variable 994s ok 5 /gtask/return-from-same-iteration 994s ok 6 /gtask/return-from-toplevel 994s ok 7 /gtask/return-from-anon-thread 994s ok 8 /gtask/return-from-wrong-thread 994s ok 9 /gtask/no-callback 994s ok 10 /gtask/report-error 994s ok 11 /gtask/priority 994s ok 12 /gtask/name 994s ok 13 /gtask/static-name 994s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 994s ok 14 /gtask/asynchronous-cancellation 994s ok 15 /gtask/check-cancellable 994s ok 16 /gtask/return-if-cancelled 994s ok 17 /gtask/run-in-thread 994s ok 18 /gtask/run-in-thread-sync 994s ok 19 /gtask/run-in-thread-priority 994s ok 20 /gtask/run-in-thread-nested 995s ok 21 /gtask/run-in-thread-overflow 995s # slow test /gtask/run-in-thread-overflow executed in 0.52 secs 995s # GLib-GIO-DEBUG: GTask 0x12eca6212a70 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 995s ok 22 /gtask/return-on-cancel 995s # GLib-GIO-DEBUG: GTask 0x12eca6212db0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 995s # GLib-GIO-DEBUG: GTask 0x12eca62775d0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 995s # GLib-GIO-DEBUG: GTask 0x12eca6213470 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 995s ok 23 /gtask/return-on-cancel-sync 995s ok 24 /gtask/return-on-cancel-atomic 995s ok 25 /gtask/return-pointer 995s ok 26 /gtask/return-value 995s ok 27 /gtask/return-prefixed-error 995s ok 28 /gtask/object-keepalive 995s ok 29 /gtask/legacy-error 995s ok 30 /gtask/finalize-without-return 995s # Start of name tests 995s ok 31 /gtask/name/macro-wrapper 995s # End of name tests 995s # Start of return tests 995s ok 32 /gtask/return/error-first 995s ok 33 /gtask/return/value-first 995s # Start of in-idle tests 995s ok 34 /gtask/return/in-idle/error-first 995s ok 35 /gtask/return/in-idle/value-first 995s # End of in-idle tests 995s # End of return tests 995s # Start of attach-source tests 995s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source?s name if unset 995s ok 36 /gtask/attach-source/set-name 995s # End of attach-source tests 995s # End of gtask tests 995s ok - glib/task.test 995s # Running test: glib/fdo-notification-backend.test 995s TAP version 14 995s # random seed: R02Scf4b634a7800045e32df7c64cd774aa8 995s 1..2 995s # Start of fdo-notification-backend tests 995s # Test constructing a GFdoNotificationBackend 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s ok 1 /fdo-notification-backend/construction 995s # Start of dbus tests 995s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 995s ok 2 /fdo-notification-backend/dbus/activate-action 995s # End of dbus tests 995s # End of fdo-notification-backend tests 995s ok - glib/fdo-notification-backend.test 995s # Running test: glib/resources.test 995s TAP version 14 995s # random seed: R02Sd4abd44504a8916b18ec9c2db6fd57fb 995s 1..17 995s # Start of resource tests 995s ok 1 /resource/file 995s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 995s ok 2 /resource/file-path 995s ok 3 /resource/data 995s ok 4 /resource/data_unaligned 995s ok 5 /resource/data-corrupt 995s ok 6 /resource/data-empty 995s ok 7 /resource/registered 995s ok 8 /resource/manual 995s ok 9 /resource/manual2 995s ok 10 /resource/automatic 995s ok 11 /resource/module 995s ok 12 /resource/binary-linked 995s ok 13 /resource/64k 995s GLib-GIO-Message: 15:59:51.240: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 995s ok 14 /resource/overlay 995s ok 15 /resource/digits 995s # Start of uri tests 995s ok 16 /resource/uri/query-info 995s ok 17 /resource/uri/file 995s # End of uri tests 995s # End of resource tests 995s ok - glib/resources.test 995s # Running test: glib/gsocketclient-slow.test 995s TAP version 14 995s # random seed: R02S48b94ecfb8733bca8b3cb00568466cfb 995s 1..4 995s # Start of socket-client tests 995s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3184 995s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 995s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x34127eab280 and GSocketClientAsyncConnectData 0x34127ea3b90 995s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 995s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 995s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x34127ead160 for GSocketClientAsyncConnectData 0x34127ea3b90 995s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 995s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 995s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 995s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 995s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 995s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 995s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x34127eae2c0 for GSocketClientAsyncConnectData 0x34127ea3b90 995s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 996s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 996s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 996s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Could not connect to localhost: Connection refused 996s ok 1 /socket-client/connection-fail 996s # slow test /socket-client/connection-fail executed in 1.20 secs 996s # Start of happy-eyeballs tests 996s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x34127eb0c50 and GSocketClientAsyncConnectData 0x34127eaef00 996s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 996s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 996s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x34127eb15d0 for GSocketClientAsyncConnectData 0x34127eaef00 996s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 997s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 997s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 997s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 997s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 997s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 997s ok 2 /socket-client/happy-eyeballs/slow 997s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 997s # Start of cancellation tests 997s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x34127eb2240 and GSocketClientAsyncConnectData 0x34127eb1160 997s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 997s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 997s ok 3 /socket-client/happy-eyeballs/cancellation/instant 997s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x34127eb0c90 and GSocketClientAsyncConnectData 0x34127eb24d0 997s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 997s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 997s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x34127eb2ca0 for GSocketClientAsyncConnectData 0x34127eb24d0 997s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 997s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 997s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 997s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 997s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 997s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 997s ok 4 /socket-client/happy-eyeballs/cancellation/delayed 997s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 997s # End of cancellation tests 997s # End of happy-eyeballs tests 997s # End of socket-client tests 997s ok - glib/gsocketclient-slow.test 997s # Running test: glib/once.test 997s TAP version 14 997s # random seed: R02S112ba6c1907c25cc4a717dbafd35ffd5 997s 1..5 997s # Start of once tests 997s # /once/single-threaded summary: Test g_once() usage from a single thread 997s ok 1 /once/single-threaded 997s # /once/multi-threaded summary: Test g_once() usage from multiple threads 997s ok 2 /once/multi-threaded 997s # End of once tests 997s # Start of once-init tests 997s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 997s ok 3 /once-init/single-threaded 997s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 997s ok 4 /once-init/multi-threaded 997s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 997s ok 5 /once-init/string 997s # End of once-init tests 997s ok - glib/once.test 997s # Running test: glib/unix.test 997s TAP version 14 997s # random seed: R02S6e40b192927764a199483ba54783612e 997s 1..20 997s # Start of glib-unix tests 997s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 997s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 997s ok 1 /glib-unix/closefrom 997s ok 2 /glib-unix/pipe 997s # /glib-unix/pipe-stdio-overwrite summary: Test that g_unix_open_pipe() will use the first available FD, even if it?s stdin/stdout/stderr 997s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 997s ok 3 /glib-unix/pipe-stdio-overwrite 997s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 997s ok 4 /glib-unix/pipe-struct 997s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 997s ok 5 /glib-unix/pipe-struct-auto 997s ok 6 /glib-unix/error 997s ok 7 /glib-unix/nonblocking 998s ok 8 /glib-unix/sighup 998s # slow test /glib-unix/sighup executed in 0.50 secs 998s ok 9 /glib-unix/sigterm 998s # slow test /glib-unix/sigterm executed in 0.50 secs 999s ok 10 /glib-unix/sighup_again 999s # slow test /glib-unix/sighup_again executed in 0.50 secs 999s ok 11 /glib-unix/sighup_add_remove 999s ok 12 /glib-unix/sighup_nested 999s # Executing: glib/unix.test 1001s ok 13 /glib-unix/callback_after_signal 1001s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 1001s ok 14 /glib-unix/child-wait 1001s # Start of closefrom tests 1001s # Start of subprocess tests 1001s # End of subprocess tests 1001s # End of closefrom tests 1001s # Start of pipe tests 1001s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 1001s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 1001s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 1001s ok 15 /glib-unix/pipe/fd-cloexec 1001s # End of pipe tests 1001s # Start of sighup tests 1002s ok 16 /glib-unix/sighup/alternate-stack 1002s # slow test /glib-unix/sighup/alternate-stack executed in 1.00 secs 1002s # End of sighup tests 1002s # Start of sigterm tests 1003s ok 17 /glib-unix/sigterm/alternate-stack 1003s # slow test /glib-unix/sigterm/alternate-stack executed in 1.00 secs 1003s # End of sigterm tests 1003s # Start of sighup_again tests 1004s # Executing: glib/unix.test 1004s ok 18 /glib-unix/sighup_again/alternate-stack 1004s # slow test /glib-unix/sighup_again/alternate-stack executed in 1.00 secs 1004s # End of sighup_again tests 1004s # Start of get-passwd-entry tests 1004s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 1004s ok 19 /glib-unix/get-passwd-entry/root 1004s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 1004s ok 20 /glib-unix/get-passwd-entry/nonexistent 1004s # End of get-passwd-entry tests 1004s # End of glib-unix tests 1004s ok - glib/unix.test 1004s # Running test: glib/credentials.test 1004s TAP version 14 1004s # random seed: R02S138aa1895527b97eb656e893148f1219 1004s 1..1 1004s # Start of credentials tests 1004s # GCredentials:linux-ucred:pid=12431,uid=1000,gid=1000 1004s # GCredentials:linux-ucred:pid=12431,uid=0,gid=1000 1004s ok 1 /credentials/basic 1004s # End of credentials tests 1004s ok - glib/credentials.test 1004s # Running test: glib/network-monitor.test 1004s TAP version 14 1004s # random seed: R02S1b0b81de0554378e2a0c9322d354b671 1004s 1..4 1004s # Start of network-monitor tests 1004s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 1004s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1004s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 1004s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ?gio-network-monitor? 1004s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1004s ok 1 /network-monitor/default 1004s ok 2 /network-monitor/remove_default 1004s ok 3 /network-monitor/add_networks 1004s ok 4 /network-monitor/remove_networks 1004s # End of network-monitor tests 1004s ok - glib/network-monitor.test 1004s # Running test: glib/hostutils.test 1004s TAP version 14 1004s # random seed: R02S84a92f38f527cc548981a41914aad53f 1004s 1..3 1004s # Start of hostutils tests 1004s ok 1 /hostutils/to_ascii 1004s ok 2 /hostutils/to_unicode 1004s ok 3 /hostutils/is_ip_addr 1004s # End of hostutils tests 1004s ok - glib/hostutils.test 1004s # Running test: glib/object-info.test 1004s TAP version 14 1004s # random seed: R02S67811c25815742312312924538c1567a 1004s 1..2 1004s # Start of object-info tests 1004s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_8MTXZ2/object-info/find-method-using-interfaces/.dirs/home 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_8MTXZ2/object-info/find-method-using-interfaces/.dirs/cache 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_8MTXZ2/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_8MTXZ2/object-info/find-method-using-interfaces/.dirs/system-config2 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_8MTXZ2/object-info/find-method-using-interfaces/.dirs/config 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_8MTXZ2/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_8MTXZ2/object-info/find-method-using-interfaces/.dirs/system-data2 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_8MTXZ2/object-info/find-method-using-interfaces/.dirs/data 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_8MTXZ2/object-info/find-method-using-interfaces/.dirs/state 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_8MTXZ2/object-info/find-method-using-interfaces/.dirs/runtime 1004s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1004s ok 1 /object-info/find-method-using-interfaces 1004s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_8MTXZ2/object-info/find-vfunc-using-interfaces/.dirs/home 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_8MTXZ2/object-info/find-vfunc-using-interfaces/.dirs/cache 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_8MTXZ2/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_8MTXZ2/object-info/find-vfunc-using-interfaces/.dirs/system-config2 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_8MTXZ2/object-info/find-vfunc-using-interfaces/.dirs/config 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_8MTXZ2/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_8MTXZ2/object-info/find-vfunc-using-interfaces/.dirs/system-data2 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_8MTXZ2/object-info/find-vfunc-using-interfaces/.dirs/data 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_8MTXZ2/object-info/find-vfunc-using-interfaces/.dirs/state 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_8MTXZ2/object-info/find-vfunc-using-interfaces/.dirs/runtime 1004s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1004s ok 2 /object-info/find-vfunc-using-interfaces 1004s # End of object-info tests 1004s ok - glib/object-info.test 1004s # Running test: glib/gdbus-message.test 1004s TAP version 14 1004s # random seed: R02Se269612a2f860f03ed03ae77b09cc261 1004s 1..3 1004s # Start of gdbus tests 1004s # Start of message tests 1004s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_3BMXZ2/gdbus/message/lock/.dirs/home 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_3BMXZ2/gdbus/message/lock/.dirs/cache 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_3BMXZ2/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_3BMXZ2/gdbus/message/lock/.dirs/system-config2 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_3BMXZ2/gdbus/message/lock/.dirs/config 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_3BMXZ2/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_3BMXZ2/gdbus/message/lock/.dirs/system-data2 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_3BMXZ2/gdbus/message/lock/.dirs/data 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_3BMXZ2/gdbus/message/lock/.dirs/state 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_3BMXZ2/gdbus/message/lock/.dirs/runtime 1004s ok 1 /gdbus/message/lock 1004s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_3BMXZ2/gdbus/message/copy/.dirs/home 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_3BMXZ2/gdbus/message/copy/.dirs/cache 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_3BMXZ2/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_3BMXZ2/gdbus/message/copy/.dirs/system-config2 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_3BMXZ2/gdbus/message/copy/.dirs/config 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_3BMXZ2/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_3BMXZ2/gdbus/message/copy/.dirs/system-data2 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_3BMXZ2/gdbus/message/copy/.dirs/data 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_3BMXZ2/gdbus/message/copy/.dirs/state 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_3BMXZ2/gdbus/message/copy/.dirs/runtime 1004s ok 2 /gdbus/message/copy 1004s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_3BMXZ2/gdbus/message/bytes-needed/.dirs/home 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_3BMXZ2/gdbus/message/bytes-needed/.dirs/cache 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_3BMXZ2/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_3BMXZ2/gdbus/message/bytes-needed/.dirs/system-config2 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_3BMXZ2/gdbus/message/bytes-needed/.dirs/config 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_3BMXZ2/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_3BMXZ2/gdbus/message/bytes-needed/.dirs/system-data2 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_3BMXZ2/gdbus/message/bytes-needed/.dirs/data 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_3BMXZ2/gdbus/message/bytes-needed/.dirs/state 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_3BMXZ2/gdbus/message/bytes-needed/.dirs/runtime 1004s # Vector: 0 1004s # Vector: 1 1004s # Vector: 2 1004s # Vector: 3 1004s # Vector: 4 1004s # Vector: 5 1004s ok 3 /gdbus/message/bytes-needed 1004s # End of message tests 1004s # End of gdbus tests 1004s ok - glib/gdbus-message.test 1004s # Running test: glib/node.test 1004s TAP version 14 1004s # random seed: R02S946c60b56c11eb77c05eeae54e8fedf0 1004s 1..6 1004s # Start of node tests 1004s ok 1 /node/allocation 1004s ok 2 /node/construction 1004s ok 3 /node/traversal 1004s ok 4 /node/misc 1004s ok 5 /node/unlink 1004s ok 6 /node/copy 1004s # End of node tests 1004s ok - glib/node.test 1004s # Running test: glib/mutex.test 1004s TAP version 14 1004s # random seed: R02S5e156336b09b61f748b03116ce8da37c 1004s 1..17 1004s # Start of thread tests 1004s ok 1 /thread/mutex1 1004s ok 2 /thread/mutex2 1004s ok 3 /thread/mutex3 1004s ok 4 /thread/mutex4 1009s ok 5 /thread/mutex5 1009s # slow test /thread/mutex5 executed in 4.73 secs 1009s # Start of mutex tests 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1009s # Executing: glib/mutex.test 1009s ok 6 /thread/mutex/errno 1009s # Start of perf tests 1009s # max perf: inf mips 1009s ok 7 /thread/mutex/perf/uncontended 1009s # Start of contended tests 1009s # max perf: inf mips 1009s ok 8 /thread/mutex/perf/contended/1 1009s # max perf: inf mips 1009s ok 9 /thread/mutex/perf/contended/2 1009s # max perf: inf mips 1009s ok 10 /thread/mutex/perf/contended/3 1009s # max perf: inf mips 1009s ok 11 /thread/mutex/perf/contended/4 1009s # max perf: 6.000000 mips 1009s ok 12 /thread/mutex/perf/contended/5 1009s # max perf: 7.000000 mips 1009s ok 13 /thread/mutex/perf/contended/6 1009s # max perf: 8.000000 mips 1009s ok 14 /thread/mutex/perf/contended/7 1009s # max perf: 2.250000 mips 1009s ok 15 /thread/mutex/perf/contended/8 1009s # max perf: 0.131579 mips 1009s ok 16 /thread/mutex/perf/contended/9 1009s # max perf: 2.750000 mips 1009s ok 17 /thread/mutex/perf/contended/10 1009s # End of contended tests 1009s # End of perf tests 1009s # End of mutex tests 1009s # End of thread tests 1009s ok - glib/mutex.test 1009s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 1009s TAP version 14 1009s # random seed: R02S436cefacc249071aa039230164ee2845 1009s 1..8 1009s # Start of gdbus tests 1009s # Start of codegen tests 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/annotations/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/annotations/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/annotations/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/annotations/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/annotations/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/annotations/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/annotations/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/annotations/.dirs/runtime 1009s ok 1 /gdbus/codegen/annotations 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/interface_stability/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/interface_stability/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/interface_stability/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/interface_stability/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/interface_stability/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/interface_stability/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/interface_stability/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/interface_stability/.dirs/runtime 1009s ok 2 /gdbus/codegen/interface_stability 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/object-manager/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/object-manager/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/object-manager/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/object-manager/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/object-manager/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/object-manager/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/object-manager/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/object-manager/.dirs/runtime 1009s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1009s ok 3 /gdbus/codegen/object-manager 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/property-naming/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/property-naming/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/property-naming/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/property-naming/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/property-naming/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/property-naming/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/property-naming/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/property-naming/.dirs/runtime 1009s ok 4 /gdbus/codegen/property-naming 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/autocleanups/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/autocleanups/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/autocleanups/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/autocleanups/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/autocleanups/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/autocleanups/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/autocleanups/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/autocleanups/.dirs/runtime 1009s ok 5 /gdbus/codegen/autocleanups 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/deprecations/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/deprecations/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/deprecations/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/deprecations/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/deprecations/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/deprecations/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/deprecations/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/deprecations/.dirs/runtime 1009s ok 6 /gdbus/codegen/deprecations 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/standalone-interface-info/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/standalone-interface-info/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/standalone-interface-info/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/standalone-interface-info/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/standalone-interface-info/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/standalone-interface-info/.dirs/runtime 1009s ok 7 /gdbus/codegen/standalone-interface-info 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/unix-fd-list/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/unix-fd-list/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/unix-fd-list/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/unix-fd-list/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/unix-fd-list/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/unix-fd-list/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/unix-fd-list/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_MO2VZ2/gdbus/codegen/unix-fd-list/.dirs/runtime 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1009s ok 8 /gdbus/codegen/unix-fd-list 1009s # End of codegen tests 1009s # End of gdbus tests 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s ok - glib/gdbus-test-codegen-min-required-2-64.test 1009s # Running test: glib/contenttype.test 1009s TAP version 14 1009s # random seed: R02S868c0bfecd9ee1e1c91e8715dd2cffee 1009s 1..13 1009s # Start of contenttype tests 1009s ok 1 /contenttype/guess 1009s ok 2 /contenttype/guess_svg_from_data 1009s ok 3 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 1009s ok 4 /contenttype/unknown 1009s ok 5 /contenttype/subtype 1009s ok 6 /contenttype/list 1009s ok 7 /contenttype/executable 1009s ok 8 /contenttype/description 1009s ok 9 /contenttype/icon 1009s ok 10 /contenttype/symbolic-icon 1009s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1009s ok 11 /contenttype/tree 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 1009s ok 12 /contenttype/tree_invalid_encoding 1009s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 1009s ok 13 /contenttype/test_type_is_a_special_case 1009s # End of contenttype tests 1009s ok - glib/contenttype.test 1009s # Running test: glib/defaultvalue.test 1009s TAP version 14 1009s # random seed: R02S78bfca78b89b69d8d956a1ff11385a75 1009s 1..84 1009s # Start of Default Values tests 1009s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 1009s ok 2 /Default Values/GAppLaunchContext 1009s ok 3 /Default Values/GApplicationCommandLine 1009s # skipping GApplication:is-remote 1009s ok 4 /Default Values/GApplication 1009s ok 5 /Default Values/GBinding # SKIP mandatory construct params 1009s ok 6 /Default Values/GBindingGroup 1009s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 1009s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 1009s ok 9 /Default Values/GBytesIcon 1009s ok 10 /Default Values/GCancellable 1009s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 1009s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 1009s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 1009s ok 14 /Default Values/GCredentials 1009s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 1009s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 1009s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 1009s ok 18 /Default Values/GDBusAuthObserver 1009s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 1009s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 1009s ok 21 /Default Values/GDBusMessage 1009s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 1009s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 1009s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 1009s ok 25 /Default Values/GDBusObjectProxy 1009s ok 26 /Default Values/GDBusObjectSkeleton 1009s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 1009s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 1009s ok 29 /Default Values/GEmblem 1009s ok 30 /Default Values/GEmblemedIcon 1009s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 1009s ok 32 /Default Values/GFileInfo 1009s ok 33 /Default Values/GFileInputStream 1009s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 1009s ok 35 /Default Values/GFileOutputStream 1009s ok 36 /Default Values/GFilenameCompleter 1009s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 1009s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 1009s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 1009s ok 40 /Default Values/GInitiallyUnowned 1009s ok 41 /Default Values/GIOModule 1009s ok 42 /Default Values/GListStore 1009s ok 43 /Default Values/GMemoryInputStream 1009s ok 44 /Default Values/GMemoryOutputStream 1009s ok 45 /Default Values/GMenu 1009s ok 46 /Default Values/GMenuItem 1009s ok 47 /Default Values/GMountOperation 1009s ok 48 /Default Values/GNativeSocketAddress 1009s ok 49 /Default Values/GNetworkAddress 1009s ok 50 /Default Values/GNetworkService 1009s ok 51 /Default Values/GNotification 1009s ok 52 /Default Values/GObject 1009s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 1009s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1009s # skipping GProxyAddressEnumerator:proxy-resolver 1009s ok 54 /Default Values/GProxyAddressEnumerator 1009s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 1009s ok 56 /Default Values/GSettings # SKIP mandatory construct params 1009s ok 57 /Default Values/GSignalGroup 1009s ok 58 /Default Values/GSimpleAction 1009s ok 59 /Default Values/GSimpleActionGroup 1009s ok 60 /Default Values/GSimpleAsyncResult 1009s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 1009s ok 62 /Default Values/GSimplePermission 1009s ok 63 /Default Values/GSimpleProxyResolver 1009s # skipping GSocketClient:proxy-resolver 1009s ok 64 /Default Values/GSocketClient 1009s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 1009s ok 66 /Default Values/GSocket # SKIP initialization failed 1009s ok 67 /Default Values/GSocketListener 1009s ok 68 /Default Values/GSocketService 1009s ok 69 /Default Values/GSubprocess # SKIP initialization failed 1009s ok 70 /Default Values/GSubprocessLauncher 1009s # GLib-GIO-DEBUG: GTask 0x11628b156010 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1009s ok 71 /Default Values/GTask 1009s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 1009s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 1009s ok 74 /Default Values/GTestDBus 1009s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 1009s ok 76 /Default Values/GThreadedSocketService 1009s ok 77 /Default Values/GTlsInteraction 1009s ok 78 /Default Values/GTlsPassword 1009s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 1009s ok 80 /Default Values/GUnixFDList 1009s ok 81 /Default Values/GVfs 1009s ok 82 /Default Values/GVolumeMonitor 1009s ok 83 /Default Values/GZlibCompressor 1009s ok 84 /Default Values/GZlibDecompressor 1009s # End of Default Values tests 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s ok - glib/defaultvalue.test 1009s # Running test: glib/mimeapps.test 1009s TAP version 14 1009s # random seed: R02S51c531fbc0e48207d11436380ccf6c7f 1009s 1..7 1009s # Start of appinfo tests 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_CDFTZ2/appinfo/all/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_CDFTZ2/appinfo/all/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_CDFTZ2/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_CDFTZ2/appinfo/all/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_CDFTZ2/appinfo/all/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_CDFTZ2/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_CDFTZ2/appinfo/all/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_CDFTZ2/appinfo/all/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_CDFTZ2/appinfo/all/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_CDFTZ2/appinfo/all/.dirs/runtime 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/all/.dirs/system-data1/applications' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/all/.dirs/data/applications' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/all/.dirs/data/applications/myapp.desktop' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/all/.dirs/data/applications/myapp2.desktop' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/all/.dirs/data/applications/myapp3.desktop' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/all/.dirs/data/applications/myapp4.desktop' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/all/.dirs/data/applications/myapp5.desktop' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 1009s # removing '/tmp/test_mimeapps_CDFTZ2/appinfo/all/.dirs/data/applications/mimeapps.list' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/all/.dirs/data/applications/mimeinfo.cache' 1009s ok 1 /appinfo/all 1009s # Start of mime tests 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/api/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/api/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_CDFTZ2/appinfo/mime/api/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/api/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_CDFTZ2/appinfo/mime/api/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/api/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/api/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/api/.dirs/runtime 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/api/.dirs/system-data1/applications' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/api/.dirs/data/applications' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 1009s # removing '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 1009s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CDFTZ2/appinfo/mime/api/.dirs/config 1009s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_CDFTZ2/appinfo/all/.dirs/config to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/api/.dirs/config 1009s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CDFTZ2/appinfo/mime/api/.dirs/config 1009s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CDFTZ2/appinfo/mime/api/.dirs/config 1009s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CDFTZ2/appinfo/mime/api/.dirs/config 1009s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CDFTZ2/appinfo/mime/api/.dirs/config 1009s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CDFTZ2/appinfo/mime/api/.dirs/config 1009s ok 2 /appinfo/mime/api 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/default/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/default/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_CDFTZ2/appinfo/mime/default/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/default/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_CDFTZ2/appinfo/mime/default/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/default/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/default/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/default/.dirs/runtime 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/default/.dirs/system-data1/applications' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/default/.dirs/data/applications' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 1009s # removing '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 1009s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CDFTZ2/appinfo/mime/default/.dirs/config 1009s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_CDFTZ2/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/default/.dirs/config 1009s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CDFTZ2/appinfo/mime/default/.dirs/config 1009s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CDFTZ2/appinfo/mime/default/.dirs/config 1009s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CDFTZ2/appinfo/mime/default/.dirs/config 1009s ok 3 /appinfo/mime/default 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/file/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/file/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_CDFTZ2/appinfo/mime/file/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/file/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_CDFTZ2/appinfo/mime/file/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/file/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/file/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/file/.dirs/runtime 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/file/.dirs/system-data1/applications' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/file/.dirs/data/applications' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 1009s # removing '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 1009s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CDFTZ2/appinfo/mime/file/.dirs/config 1009s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_CDFTZ2/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/file/.dirs/config 1009s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CDFTZ2/appinfo/mime/file/.dirs/config 1009s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CDFTZ2/appinfo/mime/file/.dirs/config 1009s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CDFTZ2/appinfo/mime/file/.dirs/config 1009s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CDFTZ2/appinfo/mime/file/.dirs/config 1009s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CDFTZ2/appinfo/mime/file/.dirs/config 1009s ok 4 /appinfo/mime/file 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/scheme-handler/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/scheme-handler/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_CDFTZ2/appinfo/mime/scheme-handler/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/scheme-handler/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_CDFTZ2/appinfo/mime/scheme-handler/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/scheme-handler/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/scheme-handler/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/scheme-handler/.dirs/runtime 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/scheme-handler/.dirs/data/applications' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 1009s # removing '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 1009s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_CDFTZ2/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/scheme-handler/.dirs/config 1009s ok 5 /appinfo/mime/scheme-handler 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/default-last-used/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/default-last-used/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_CDFTZ2/appinfo/mime/default-last-used/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/default-last-used/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_CDFTZ2/appinfo/mime/default-last-used/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/default-last-used/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/default-last-used/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/default-last-used/.dirs/runtime 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/default-last-used/.dirs/system-data1/applications' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/default-last-used/.dirs/data/applications' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 1009s # removing '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 1009s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CDFTZ2/appinfo/mime/default-last-used/.dirs/config 1009s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_CDFTZ2/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/default-last-used/.dirs/config 1009s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CDFTZ2/appinfo/mime/default-last-used/.dirs/config 1009s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CDFTZ2/appinfo/mime/default-last-used/.dirs/config 1009s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CDFTZ2/appinfo/mime/default-last-used/.dirs/config 1009s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CDFTZ2/appinfo/mime/default-last-used/.dirs/config 1009s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CDFTZ2/appinfo/mime/default-last-used/.dirs/config 1009s ok 6 /appinfo/mime/default-last-used 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/ignore-nonexisting/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/ignore-nonexisting/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_CDFTZ2/appinfo/mime/ignore-nonexisting/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/ignore-nonexisting/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_CDFTZ2/appinfo/mime/ignore-nonexisting/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/ignore-nonexisting/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/ignore-nonexisting/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/ignore-nonexisting/.dirs/runtime 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 1009s # removing '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 1009s # creating '/tmp/test_mimeapps_CDFTZ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 1009s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_CDFTZ2/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_CDFTZ2/appinfo/mime/ignore-nonexisting/.dirs/config 1009s ok 7 /appinfo/mime/ignore-nonexisting 1009s # End of mime tests 1009s # End of appinfo tests 1009s ok - glib/mimeapps.test 1009s # Running test: glib/gdbus-method-invocation.test 1009s TAP version 14 1009s # random seed: R02S323dc27e7bc7acbdd4331069f6268578 1009s 1..1 1009s # Start of gdbus tests 1009s # Start of method-invocation tests 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_AVLQZ2/gdbus/method-invocation/return/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_AVLQZ2/gdbus/method-invocation/return/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_AVLQZ2/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_AVLQZ2/gdbus/method-invocation/return/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_AVLQZ2/gdbus/method-invocation/return/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_AVLQZ2/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_AVLQZ2/gdbus/method-invocation/return/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_AVLQZ2/gdbus/method-invocation/return/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_AVLQZ2/gdbus/method-invocation/return/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_AVLQZ2/gdbus/method-invocation/return/.dirs/runtime 1009s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 1009s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1009s # Calling org.freedesktop.DBus.Properties.Get 1009s # Calling org.freedesktop.DBus.Properties.Get 1009s # Calling org.freedesktop.DBus.Properties.Get 1009s # Calling org.freedesktop.DBus.Properties.Set 1009s # Calling org.freedesktop.DBus.Properties.GetAll 1009s # Calling org.example.Foo.WrongReturnType 1009s # Calling org.example.Foo.GetFDs 1009s # Calling org.example.Foo.GetFDs 1009s # Calling org.example.Foo.ReturnError 1009s # Calling org.example.Foo.CloseBeforeReturning 1009s ok 1 /gdbus/method-invocation/return 1009s # End of method-invocation tests 1009s # End of gdbus tests 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1009s ok - glib/gdbus-method-invocation.test 1009s # Running test: glib/closure-refcount.test 1009s TAP version 14 1009s # random seed: R02Sf8dcfcaf4414a89c0c562cc8197721c8 1009s 1..1 1009s # Start of closure tests 1009s # Init 0x198bab9f1d0 1009s # Yielding from main thread 1009s # Yielding from main thread 1009s # Yielding from main thread 1009s # Yielding from main thread 1009s # Yielding from main thread 1010s # Yielding from thread2 1010s # Yielding from main thread 1010s # Yielding from thread1 1010s # Yielding from main thread 1010s # Yielding from main thread 1010s # Yielding from main thread 1010s # Yielding from main thread 1010s # Yielding from main thread 1010s # Yielding from thread2 1010s # Yielding from main thread 1010s # Yielding from thread1 1010s # Yielding from main thread 1010s # Yielding from main thread 1010s # Yielding from main thread 1010s # Yielding from main thread 1010s # Yielding from main thread 1010s # Yielding from thread2 1010s # Yielding from thread1 1010s # Yielding from main thread 1010s # Yielding from main thread 1010s # Yielding from main thread 1010s # Yielding from main thread 1011s # Yielding from thread2 1011s # Yielding from main thread 1011s # Yielding from main thread 1011s # Yielding from thread1 1011s # Yielding from main thread 1011s # Yielding from main thread 1011s # Yielding from main thread 1011s # Yielding from main thread 1011s # Yielding from thread2 1011s # Yielding from main thread 1011s # Yielding from main thread 1011s # Yielding from thread1 1011s # Yielding from main thread 1011s # Yielding from main thread 1011s # Yielding from main thread 1011s # Yielding from main thread 1011s # Yielding from main thread 1011s # Yielding from thread2 1011s # Yielding from thread1 1011s # Yielding from main thread 1011s # Yielding from main thread 1011s # Yielding from main thread 1011s # Yielding from main thread 1012s # Yielding from main thread 1012s # Yielding from thread1 1012s # Yielding from main thread 1012s # Yielding from main thread 1012s # Yielding from thread2 1012s # Yielding from main thread 1012s # Yielding from main thread 1012s # Yielding from main thread 1012s # Yielding from thread1 1012s # Yielding from main thread 1012s # Yielding from main thread 1012s # Yielding from main thread 1012s # Yielding from main thread 1012s # Yielding from main thread 1012s # Yielding from thread2 1012s # Yielding from main thread 1012s # Yielding from main thread 1012s # Yielding from main thread 1012s # Yielding from thread1 1012s # Yielding from main thread 1012s # Yielding from thread2 1012s # Yielding from main thread 1012s # Yielding from main thread 1013s # Yielding from main thread 1013s # Yielding from main thread 1013s # Yielding from main thread 1013s # Yielding from thread1 1013s # Yielding from thread2 1013s # Yielding from main thread 1013s # Yielding from main thread 1013s # Yielding from main thread 1013s # Yielding from main thread 1013s # Yielding from main thread 1013s # Yielding from main thread 1013s # Yielding from thread1 1013s # Yielding from main thread 1013s # Yielding from thread2 1013s # Yielding from main thread 1013s # Yielding from main thread 1013s # Yielding from main thread 1013s # Yielding from main thread 1013s # Yielding from main thread 1013s # Yielding from main thread 1013s # Yielding from thread1 1013s # Yielding from thread2 1013s # Yielding from main thread 1013s # Yielding from main thread 1013s # Yielding from main thread 1014s # Yielding from main thread 1014s # Yielding from main thread 1014s # Yielding from thread2 1014s # Yielding from main thread 1014s # Executing: glib/closure-refcount.test 1014s # Yielding from thread1 1014s # Yielding from main thread 1014s # Yielding from main thread 1014s # Yielding from main thread 1014s # Yielding from main thread 1014s # Yielding from thread2 1014s # Yielding from main thread 1014s # Yielding from thread1 1014s # Yielding from main thread 1014s # Yielding from main thread 1014s # Yielding from main thread 1014s # Yielding from main thread 1014s # Yielding from thread2 1014s # Yielding from main thread 1014s # Yielding from main thread 1014s # Yielding from main thread 1015s # Yielding from thread1 1015s # Yielding from main thread 1015s # Yielding from main thread 1015s # Yielding from thread2 1015s # Yielding from main thread 1015s # Yielding from main thread 1015s # Yielding from main thread 1015s # Yielding from main thread 1015s # Yielding from main thread 1015s # Yielding from thread1 1015s # Yielding from main thread 1015s # Yielding from thread2 1015s # Yielding from main thread 1015s # Yielding from main thread 1015s # Stopping 1015s # Stopped 1015s ok 1 /closure/refcount 1015s # slow test /closure/refcount executed in 5.87 secs 1015s # End of closure tests 1015s ok - glib/closure-refcount.test 1015s # Running test: glib/keyfile.test 1015s TAP version 14 1015s # random seed: R02S52fd761a934f0feb3a92bb5073d94c98 1015s 1..36 1015s # Start of keyfile tests 1015s ok 1 /keyfile/line-ends 1015s ok 2 /keyfile/whitespace 1015s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1015s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 1015s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1015s ok 3 /keyfile/comments 1015s ok 4 /keyfile/listing 1015s ok 5 /keyfile/string 1015s ok 6 /keyfile/boolean 1015s ok 7 /keyfile/number 1015s ok 8 /keyfile/locale-string 1015s ok 9 /keyfile/lists 1015s ok 10 /keyfile/lists-set-get 1015s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 1015s ok 11 /keyfile/group-remove 1015s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 1015s ok 12 /keyfile/key-remove 1015s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 1015s ok 13 /keyfile/groups 1015s ok 14 /keyfile/duplicate-keys 1015s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 1015s ok 15 /keyfile/duplicate-groups 1015s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 1015s ok 16 /keyfile/duplicate-groups2 1015s ok 17 /keyfile/group-names 1015s ok 18 /keyfile/key-names 1015s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 1015s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 1015s ok 19 /keyfile/reload 1015s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 1015s ok 20 /keyfile/int64 1015s ok 21 /keyfile/load 1015s ok 22 /keyfile/save 1015s ok 23 /keyfile/load-fail 1015s ok 24 /keyfile/non-utf8 1015s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 1015s ok 25 /keyfile/page-boundary 1015s ok 26 /keyfile/ref 1015s ok 27 /keyfile/replace-value 1015s ok 28 /keyfile/list-separator 1015s ok 29 /keyfile/empty-string 1015s ok 30 /keyfile/limbo 1015s # Testing invalid encoding ?non-UTF-8? 1015s # Testing invalid encoding ?UTF? 1015s # Testing invalid encoding ?UTF-9? 1015s ok 31 /keyfile/utf8 1015s ok 32 /keyfile/roundtrip 1015s ok 33 /keyfile/bytes 1015s ok 34 /keyfile/get-locale 1015s ok 35 /keyfile/free-when-not-last-ref 1015s # Start of locale-string tests 1015s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 1015s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 1015s ok 36 /keyfile/locale-string/multiple-loads 1015s # End of locale-string tests 1015s # End of keyfile tests 1015s ok - glib/keyfile.test 1015s # Running test: glib/thread-pool-slow.test 1015s TAP version 14 1015s # random seed: R02S76a764bcd7f86c6f307842def9dd464d 1015s 1..7 1015s # Start of threadpool tests 1015s ok 1 /threadpool/functions 1016s ok 2 /threadpool/stop-unused 1016s # slow test /threadpool/stop-unused executed in 0.51 secs 1016s ok 3 /threadpool/pools 1016s # [unsorted] ===> pushed new thread with id:42, number of threads:1, unprocessed:0 1016s # [unsorted] ===> pushed new thread with id:85, number of threads:2, unprocessed:1 1016s # [unsorted] ===> pushed new thread with id:89, number of threads:3, unprocessed:2 1016s # [unsorted] ===> pushed new thread with id:72, number of threads:4, unprocessed:3 1016s # [unsorted] ===> pushed new thread with id:55, number of threads:5, unprocessed:4 1016s # [unsorted] ===> pushed new thread with id:55, number of threads:6, unprocessed:5 1016s # [unsorted] ===> pushed new thread with id:75, number of threads:7, unprocessed:6 1016s # [unsorted] ===> pushed new thread with id:29, number of threads:8, unprocessed:7 1016s # [unsorted] ===> pushed new thread with id:76, number of threads:9, unprocessed:8 1016s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:9 1016s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:4 1016s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:2 1016s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:3 1016s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:4 1016s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:5 1016s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:6 1016s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:7 1016s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:8 1016s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:9 1016s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:10 1016s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:11 1016s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:12 1016s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:13 1016s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:14 1016s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:15 1016s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:16 1016s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:17 1016s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:18 1016s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:19 1016s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:20 1016s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:21 1016s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:22 1016s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:23 1016s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:24 1016s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:25 1016s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:26 1016s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:27 1016s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:28 1016s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:29 1016s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:30 1016s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:31 1016s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:32 1016s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:33 1016s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:34 1016s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:35 1016s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:36 1016s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:37 1016s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:38 1016s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:39 1016s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:40 1016s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:41 1016s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:42 1016s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:43 1016s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:44 1016s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:45 1016s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:46 1016s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:47 1016s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:48 1016s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:49 1016s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:50 1016s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:51 1016s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:52 1016s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:53 1016s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:54 1016s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:55 1016s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:56 1016s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:57 1016s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:58 1016s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:59 1016s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:60 1016s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:61 1016s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:62 1016s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:63 1016s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:64 1016s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:65 1016s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:66 1016s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:67 1016s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:68 1016s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:69 1016s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:70 1016s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:71 1016s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:72 1016s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:73 1016s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:74 1016s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:75 1016s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:76 1016s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:77 1016s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:78 1016s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:79 1016s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:80 1016s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:81 1016s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:82 1016s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:83 1016s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:84 1016s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:85 1016s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:86 1016s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:87 1016s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:88 1016s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:89 1016s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:90 1016s ok 4 /threadpool/no-sort 1016s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:1 1016s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:2 1016s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:3 1016s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:4 1016s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:5 1016s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:6 1016s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:7 1016s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:8 1016s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:9 1016s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:10 1016s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:11 1016s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:12 1016s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:13 1016s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:14 1016s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:15 1016s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:16 1016s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:17 1016s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:18 1016s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:19 1016s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:20 1016s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:21 1016s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:22 1016s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:23 1016s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:24 1016s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:25 1016s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:26 1016s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:27 1016s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:28 1016s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:29 1016s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:30 1016s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:31 1016s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:32 1016s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:33 1016s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:34 1016s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:35 1016s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:36 1016s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:37 1016s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:38 1016s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:39 1016s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:40 1016s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:41 1016s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:42 1016s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:43 1016s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:44 1016s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:45 1016s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:46 1016s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:47 1016s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:48 1016s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:49 1016s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:50 1016s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:51 1016s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:52 1016s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:53 1016s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:54 1016s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:55 1016s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:56 1016s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:57 1016s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:58 1016s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:59 1016s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:60 1016s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:61 1016s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:62 1016s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:63 1016s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:64 1016s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:65 1016s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:66 1016s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:67 1016s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:68 1016s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:69 1016s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:70 1016s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:71 1016s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:72 1016s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:73 1016s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:74 1016s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:75 1016s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:76 1016s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:77 1016s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:78 1016s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:79 1016s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:80 1016s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:81 1016s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:82 1016s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:83 1016s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:84 1016s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:85 1016s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:86 1016s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:87 1016s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:88 1016s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:89 1016s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:90 1016s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:91 1016s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:92 1016s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:93 1016s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:94 1016s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:95 1016s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:96 1016s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:97 1016s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:98 1016s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:99 1016s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:100 1016s # Starting thread pool processing 1016s ok 5 /threadpool/sort 1016s ok 6 /threadpool/stop-unused-multiple 1016s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 1016s # Pool idle thread count: 0, unprocessed jobs: 40 1017s # Pool idle thread count: 0, unprocessed jobs: 0 1017s # Pool idle thread count: 0, unprocessed jobs: 0 1017s # Pool idle thread count: 10, unprocessed jobs: 0 1017s # Pool idle thread count: 10, unprocessed jobs: 0 1018s # Pool idle thread count: 10, unprocessed jobs: 0 1018s # Pool idle thread count: 10, unprocessed jobs: 0 1018s # Pool idle thread count: 10, unprocessed jobs: 0 1018s # Pool idle thread count: 10, unprocessed jobs: 0 1019s # Executing: glib/thread-pool-slow.test 1019s # Pool idle thread count: 10, unprocessed jobs: 0 1019s # Pool idle thread count: 10, unprocessed jobs: 0 1019s # Pool idle thread count: 10, unprocessed jobs: 0 1019s # Pool idle thread count: 10, unprocessed jobs: 0 1020s # Pool idle thread count: 10, unprocessed jobs: 0 1020s # Pool idle thread count: 10, unprocessed jobs: 0 1020s # Pool idle thread count: 10, unprocessed jobs: 0 1020s # Pool idle thread count: 10, unprocessed jobs: 0 1021s # Pool idle thread count: 10, unprocessed jobs: 0 1021s # Pool idle thread count: 10, unprocessed jobs: 0 1021s # Pool idle thread count: 10, unprocessed jobs: 0 1021s # Pool idle thread count: 10, unprocessed jobs: 0 1022s # Pool idle thread count: 10, unprocessed jobs: 0 1022s # Pool idle thread count: 10, unprocessed jobs: 0 1022s # Pool idle thread count: 10, unprocessed jobs: 0 1022s # Pool idle thread count: 10, unprocessed jobs: 0 1023s # Pool idle thread count: 10, unprocessed jobs: 0 1023s # Pool idle thread count: 10, unprocessed jobs: 0 1023s # Pool idle thread count: 10, unprocessed jobs: 0 1023s # Pool idle thread count: 10, unprocessed jobs: 0 1024s # Executing: glib/thread-pool-slow.test 1024s # Pool idle thread count: 10, unprocessed jobs: 0 1024s # Pool idle thread count: 10, unprocessed jobs: 0 1024s # Pool idle thread count: 10, unprocessed jobs: 0 1024s # Pool idle thread count: 10, unprocessed jobs: 0 1025s # Pool idle thread count: 10, unprocessed jobs: 0 1025s # Pool idle thread count: 10, unprocessed jobs: 0 1025s # Pool idle thread count: 10, unprocessed jobs: 2 1025s # Pool idle thread count: 10, unprocessed jobs: 2 1025s # Pool idle thread count: 8, unprocessed jobs: 0 1025s # Pool idle thread count: 8, unprocessed jobs: 0 1026s # Pool idle thread count: 10, unprocessed jobs: 0 1026s # Pool idle thread count: 10, unprocessed jobs: 0 1026s # Pool idle thread count: 10, unprocessed jobs: 0 1026s # Pool idle thread count: 10, unprocessed jobs: 0 1027s # Pool idle thread count: 10, unprocessed jobs: 0 1027s # Pool idle thread count: 10, unprocessed jobs: 0 1027s # Pool idle thread count: 2, unprocessed jobs: 0 1027s # Pool idle thread count: 2, unprocessed jobs: 0 1028s # Pool idle thread count: 2, unprocessed jobs: 0 1028s # Pool idle thread count: 2, unprocessed jobs: 0 1028s # Pool idle thread count: 2, unprocessed jobs: 0 1028s # Pool idle thread count: 2, unprocessed jobs: 0 1029s # Executing: glib/thread-pool-slow.test 1029s # Pool idle thread count: 2, unprocessed jobs: 0 1029s # Pool idle thread count: 2, unprocessed jobs: 0 1029s # Pool idle thread count: 2, unprocessed jobs: 0 1029s # Pool idle thread count: 2, unprocessed jobs: 0 1030s # Pool idle thread count: 2, unprocessed jobs: 0 1030s # Pool idle thread count: 2, unprocessed jobs: 0 1030s # Pool idle thread count: 2, unprocessed jobs: 0 1030s # Pool idle thread count: 2, unprocessed jobs: 0 1031s # Pool idle thread count: 2, unprocessed jobs: 0 1031s # Pool idle thread count: 2, unprocessed jobs: 0 1031s # Pool idle thread count: 2, unprocessed jobs: 0 1031s # Pool idle thread count: 2, unprocessed jobs: 0 1032s # Pool idle thread count: 2, unprocessed jobs: 0 1032s # Pool idle thread count: 2, unprocessed jobs: 0 1032s # Pool idle thread count: 2, unprocessed jobs: 0 1032s # Pool idle thread count: 2, unprocessed jobs: 0 1033s # Pool idle thread count: 2, unprocessed jobs: 0 1033s # Pool idle thread count: 2, unprocessed jobs: 0 1033s # Pool idle thread count: 2, unprocessed jobs: 0 1033s # Pool idle thread count: 2, unprocessed jobs: 0 1034s # Executing: glib/thread-pool-slow.test 1034s # Pool idle thread count: 2, unprocessed jobs: 0 1034s # Pool idle thread count: 2, unprocessed jobs: 0 1034s # Pool idle thread count: 2, unprocessed jobs: 0 1034s # Pool idle thread count: 2, unprocessed jobs: 0 1035s # Pool idle thread count: 2, unprocessed jobs: 0 1035s # Pool idle thread count: 2, unprocessed jobs: 0 1035s # Pool idle thread count: 2, unprocessed jobs: 0 1035s # Pool idle thread count: 2, unprocessed jobs: 0 1036s ok 7 /threadpool/idle-time 1036s # slow test /threadpool/idle-time executed in 19.53 secs 1036s # End of threadpool tests 1036s ok - glib/thread-pool-slow.test 1036s # Running test: glib/buffered-output-stream.test 1036s TAP version 14 1036s # random seed: R02S793839095d76e3dd8913746ff7862102 1036s 1..5 1036s # Start of buffered-output-stream tests 1036s ok 1 /buffered-output-stream/write 1036s ok 2 /buffered-output-stream/grow 1036s ok 3 /buffered-output-stream/seek 1036s ok 4 /buffered-output-stream/truncate 1036s # End of buffered-output-stream tests 1036s # Start of filter-output-stream tests 1036s ok 5 /filter-output-stream/close 1036s # End of filter-output-stream tests 1036s ok - glib/buffered-output-stream.test 1036s # Running test: glib/refcount-macro.test 1036s TAP version 14 1036s # random seed: R02S45696e7301b152003acdd57536fe0162 1036s 1..4 1036s # Start of refcount tests 1036s ok 1 /refcount/grefcount 1036s ok 2 /refcount/gatomicrefcount 1036s # Start of grefcount tests 1036s ok 3 /refcount/grefcount/saturation 1036s # End of grefcount tests 1036s # Start of gatomicrefcount tests 1036s ok 4 /refcount/gatomicrefcount/saturation 1036s # End of gatomicrefcount tests 1036s # End of refcount tests 1036s ok - glib/refcount-macro.test 1036s # Running test: glib/singleton.test 1036s TAP version 14 1036s # random seed: R02Sa3fea0a25579796d30556f8297630b00 1036s 1..2 1036s # Start of gobject tests 1036s # Start of singleton tests 1036s ok 1 /gobject/singleton/construction 1036s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 1036s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 1036s ok 2 /gobject/singleton/construct-property 1036s # End of singleton tests 1036s # End of gobject tests 1036s ok - glib/singleton.test 1036s # Running test: glib/include.test 1036s TAP version 14 1036s # random seed: R02S5f8570631dca24835f0f5269a2fd8fdd 1036s 1..1 1036s # Start of include tests 1036s ok 1 /include/rwlock 1036s # End of include tests 1036s ok - glib/include.test 1036s # Running test: glib/gdbus-connection-loss.test 1036s TAP version 14 1036s # random seed: R02S930528ac26b365617186ed30c6000272 1036s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1036s 1..1 1036s # Start of gdbus tests 1036s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_NZRYZ2/gdbus/connection-loss/.dirs/home 1036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_NZRYZ2/gdbus/connection-loss/.dirs/cache 1036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_NZRYZ2/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_NZRYZ2/gdbus/connection-loss/.dirs/system-config2 1036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_NZRYZ2/gdbus/connection-loss/.dirs/config 1036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_NZRYZ2/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_NZRYZ2/gdbus/connection-loss/.dirs/system-data2 1036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_NZRYZ2/gdbus/connection-loss/.dirs/data 1036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_NZRYZ2/gdbus/connection-loss/.dirs/state 1036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_NZRYZ2/gdbus/connection-loss/.dirs/runtime 1036s ok 1 /gdbus/connection-loss 1036s # End of gdbus tests 1036s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1036s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1036s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1036s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1036s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1036s ok - glib/gdbus-connection-loss.test 1036s # Running test: glib/relation.test 1036s TAP version 14 1036s # random seed: R02S6275f9fbdb319e93c5e6f62251aaf4b5 1036s 1..1 1036s # Start of glib tests 1036s ok 1 /glib/relation 1036s # End of glib tests 1036s ok - glib/relation.test 1036s # Running test: glib/cxx-20.test 1036s TAP version 14 1036s # random seed: R02S041b2187c18d71fa7cfc267a8deb516c 1036s 1..2 1036s # Start of gtask tests 1036s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1036s ok 1 /gtask/name 1036s # Start of name tests 1036s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1036s ok 2 /gtask/name/macro-wrapper 1036s # End of name tests 1036s # End of gtask tests 1036s ok - glib/cxx-20.test 1036s # Running test: glib/spawn-test.test 1036s TAP version 14 1036s # random seed: R02S33811d219beba012eb925396cd62b3e8 1036s 1..2 1036s # Start of spawn tests 1036s ok 1 /spawn/basics 1036s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 1036s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 1036s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 1036s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 1036s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 1036s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 1036s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 1036s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 1036s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 1036s # Fetching GSpawn result output with stdin open, stdout open, stderr open 1036s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 1036s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 1036s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 1036s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 1036s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 1036s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 1036s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 1036s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 1036s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 1036s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 1036s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 1036s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 1036s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 1036s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 1036s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 1036s # Fetching GSpawn result with stdin open, stdout open, stderr open 1036s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 1036s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 1036s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 1036s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 1036s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 1036s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 1036s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 1036s ok 2 /spawn/stdio-overwrite 1036s # End of spawn tests 1036s ok - glib/spawn-test.test 1036s # Running test: glib/cxx-17.test 1036s TAP version 14 1036s # random seed: R02S3711671eecb830fc60ff24a8b6b8f38e 1036s 1..2 1036s # Start of gtask tests 1036s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1036s ok 1 /gtask/name 1036s # Start of name tests 1036s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1036s ok 2 /gtask/name/macro-wrapper 1036s # End of name tests 1036s # End of gtask tests 1036s ok - glib/cxx-17.test 1036s # Running test: glib/bindinggroup.test 1036s TAP version 14 1036s # random seed: R02S3d4ebd86d072610fd29cf8891807dbd7 1036s 1..11 1036s # Start of GObject tests 1036s # Start of BindingGroup tests 1036s ok 1 /GObject/BindingGroup/invalid 1036s ok 2 /GObject/BindingGroup/default 1036s ok 3 /GObject/BindingGroup/bidirectional 1036s ok 4 /GObject/BindingGroup/transform 1036s ok 5 /GObject/BindingGroup/transform-closures 1036s ok 6 /GObject/BindingGroup/same-object 1036s ok 7 /GObject/BindingGroup/weak-ref-source 1036s ok 8 /GObject/BindingGroup/weak-ref-target 1036s ok 9 /GObject/BindingGroup/properties 1036s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 1036s ok 11 /GObject/BindingGroup/empty-closures 1036s # End of BindingGroup tests 1036s # End of GObject tests 1036s ok - glib/bindinggroup.test 1036s # Running test: glib/gdbus-connection-slow.test 1036s TAP version 14 1036s # random seed: R02Se378b9a11827ed5a245aa9fcf4c6d6da 1036s 1..2 1036s # Start of gdbus tests 1036s # Start of connection tests 1036s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_5BZUZ2/gdbus/connection/flush/.dirs/home 1036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_5BZUZ2/gdbus/connection/flush/.dirs/cache 1036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_5BZUZ2/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_5BZUZ2/gdbus/connection/flush/.dirs/system-config2 1036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_5BZUZ2/gdbus/connection/flush/.dirs/config 1036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_5BZUZ2/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_5BZUZ2/gdbus/connection/flush/.dirs/system-data2 1036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_5BZUZ2/gdbus/connection/flush/.dirs/data 1036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_5BZUZ2/gdbus/connection/flush/.dirs/state 1036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_5BZUZ2/gdbus/connection/flush/.dirs/runtime 1036s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1036s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1036s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1036s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1036s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1036s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1036s ok 1 /gdbus/connection/flush 1036s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_5BZUZ2/gdbus/connection/large_message/.dirs/home 1036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_5BZUZ2/gdbus/connection/large_message/.dirs/cache 1036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_5BZUZ2/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_5BZUZ2/gdbus/connection/large_message/.dirs/system-config2 1036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_5BZUZ2/gdbus/connection/large_message/.dirs/config 1036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_5BZUZ2/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_5BZUZ2/gdbus/connection/large_message/.dirs/system-data2 1036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_5BZUZ2/gdbus/connection/large_message/.dirs/data 1036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_5BZUZ2/gdbus/connection/large_message/.dirs/state 1036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_5BZUZ2/gdbus/connection/large_message/.dirs/runtime 1036s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1036s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1036s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1036s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1036s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1036s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1036s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1037s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1037s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1037s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1037s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1037s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1037s ok 2 /gdbus/connection/large_message 1037s # End of connection tests 1037s # End of gdbus tests 1037s ok - glib/gdbus-connection-slow.test 1037s # Running test: glib/timeout.test 1037s TAP version 14 1037s # random seed: R02S1e5375c42d67e635b8a796a419c56c92 1037s 1..5 1037s # Start of timeout tests 1037s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1039s ok 1 /timeout/seconds 1039s # slow test /timeout/seconds executed in 2.10 secs 1039s # Executing: glib/timeout.test 1041s ok 2 /timeout/seconds-once 1041s # slow test /timeout/seconds-once executed in 2.10 secs 1041s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1043s ok 3 /timeout/weeks-overflow 1043s # slow test /timeout/weeks-overflow executed in 2.10 secs 1043s ok 4 /timeout/far-future-ready-time 1044s # Executing: glib/timeout.test 1049s # Executing: glib/timeout.test 1053s ok 5 /timeout/rounding 1053s # slow test /timeout/rounding executed in 9.91 secs 1053s # End of timeout tests 1053s ok - glib/timeout.test 1053s # Running test: glib/power-profile-monitor-portal.test 1053s TAP version 13 1053s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 1053s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 1053s 1..2 1053s ok - glib/power-profile-monitor-portal.test 1053s # Running test: glib/signals-refcount4.test 1053s TAP version 14 1053s # random seed: R02Sefca889788178e875931bd895d4b18cf 1053s 1..1 1053s # Start of gobject tests 1053s # Start of refcount tests 1053s # init 0x1773b539f420 1053s # 1053s # init 0x1773b539f5c0 1053s # 1054s # Executing: glib/signals-refcount4.test 1058s # dispose 0x1773b539f420! 1058s # 1058s # dispose 0x1773b539f5c0! 1058s # 1058s ok 1 /gobject/refcount/signals 1058s # slow test /gobject/refcount/signals executed in 5.00 secs 1058s # End of refcount tests 1058s # End of gobject tests 1058s ok - glib/signals-refcount4.test 1058s # Running test: glib/checksum.test 1058s TAP version 14 1058s # random seed: R02S9486e0c706388b8b24680973723cd114 1058s 1..1851 1058s # Start of checksum tests 1058s ok 1 /checksum/unsupported 1058s # Start of MD5 tests 1058s ok 2 /checksum/MD5/0 1058s ok 3 /checksum/MD5/1 1058s ok 4 /checksum/MD5/2 1058s ok 5 /checksum/MD5/3 1058s ok 6 /checksum/MD5/4 1058s ok 7 /checksum/MD5/5 1058s ok 8 /checksum/MD5/6 1058s ok 9 /checksum/MD5/7 1058s ok 10 /checksum/MD5/8 1058s ok 11 /checksum/MD5/9 1058s ok 12 /checksum/MD5/10 1058s ok 13 /checksum/MD5/11 1058s ok 14 /checksum/MD5/12 1058s ok 15 /checksum/MD5/13 1058s ok 16 /checksum/MD5/14 1058s ok 17 /checksum/MD5/15 1058s ok 18 /checksum/MD5/16 1058s ok 19 /checksum/MD5/17 1058s ok 20 /checksum/MD5/18 1058s ok 21 /checksum/MD5/19 1058s ok 22 /checksum/MD5/20 1058s ok 23 /checksum/MD5/21 1058s ok 24 /checksum/MD5/22 1058s ok 25 /checksum/MD5/23 1058s ok 26 /checksum/MD5/24 1058s ok 27 /checksum/MD5/25 1058s ok 28 /checksum/MD5/26 1058s ok 29 /checksum/MD5/27 1058s ok 30 /checksum/MD5/28 1058s ok 31 /checksum/MD5/29 1058s ok 32 /checksum/MD5/30 1058s ok 33 /checksum/MD5/31 1058s ok 34 /checksum/MD5/32 1058s ok 35 /checksum/MD5/33 1058s ok 36 /checksum/MD5/34 1058s ok 37 /checksum/MD5/35 1058s ok 38 /checksum/MD5/36 1058s ok 39 /checksum/MD5/37 1058s ok 40 /checksum/MD5/38 1058s ok 41 /checksum/MD5/39 1058s ok 42 /checksum/MD5/40 1058s ok 43 /checksum/MD5/41 1058s ok 44 /checksum/MD5/42 1058s ok 45 /checksum/MD5/43 1058s ok 46 /checksum/MD5/44 1058s ok 47 /checksum/MD5/45 1058s ok 48 /checksum/MD5/46 1058s ok 49 /checksum/MD5/47 1058s ok 50 /checksum/MD5/48 1058s ok 51 /checksum/MD5/49 1058s ok 52 /checksum/MD5/50 1058s ok 53 /checksum/MD5/51 1058s ok 54 /checksum/MD5/52 1058s ok 55 /checksum/MD5/53 1058s ok 56 /checksum/MD5/54 1058s ok 57 /checksum/MD5/55 1058s ok 58 /checksum/MD5/56 1058s ok 59 /checksum/MD5/57 1058s ok 60 /checksum/MD5/58 1058s ok 61 /checksum/MD5/59 1058s ok 62 /checksum/MD5/60 1058s ok 63 /checksum/MD5/61 1058s ok 64 /checksum/MD5/62 1058s ok 65 /checksum/MD5/63 1058s ok 66 /checksum/MD5/64 1058s ok 67 /checksum/MD5/65 1058s ok 68 /checksum/MD5/66 1058s ok 69 /checksum/MD5/67 1058s ok 70 /checksum/MD5/68 1058s ok 71 /checksum/MD5/69 1058s ok 72 /checksum/MD5/70 1058s ok 73 /checksum/MD5/71 1058s ok 74 /checksum/MD5/72 1058s ok 75 /checksum/MD5/73 1058s ok 76 /checksum/MD5/74 1058s ok 77 /checksum/MD5/75 1058s ok 78 /checksum/MD5/76 1058s ok 79 /checksum/MD5/77 1058s ok 80 /checksum/MD5/78 1058s ok 81 /checksum/MD5/79 1058s ok 82 /checksum/MD5/80 1058s ok 83 /checksum/MD5/81 1058s ok 84 /checksum/MD5/82 1058s ok 85 /checksum/MD5/83 1058s ok 86 /checksum/MD5/84 1058s ok 87 /checksum/MD5/85 1058s ok 88 /checksum/MD5/86 1058s ok 89 /checksum/MD5/87 1058s ok 90 /checksum/MD5/88 1058s ok 91 /checksum/MD5/89 1058s ok 92 /checksum/MD5/90 1058s ok 93 /checksum/MD5/91 1058s ok 94 /checksum/MD5/92 1058s ok 95 /checksum/MD5/93 1058s ok 96 /checksum/MD5/94 1058s ok 97 /checksum/MD5/95 1058s ok 98 /checksum/MD5/96 1058s ok 99 /checksum/MD5/97 1058s ok 100 /checksum/MD5/98 1058s ok 101 /checksum/MD5/99 1058s ok 102 /checksum/MD5/100 1058s ok 103 /checksum/MD5/101 1058s ok 104 /checksum/MD5/102 1058s ok 105 /checksum/MD5/103 1058s ok 106 /checksum/MD5/104 1058s ok 107 /checksum/MD5/105 1058s ok 108 /checksum/MD5/106 1058s ok 109 /checksum/MD5/107 1058s ok 110 /checksum/MD5/108 1058s ok 111 /checksum/MD5/109 1058s ok 112 /checksum/MD5/110 1058s ok 113 /checksum/MD5/111 1058s ok 114 /checksum/MD5/112 1058s ok 115 /checksum/MD5/113 1058s ok 116 /checksum/MD5/114 1058s ok 117 /checksum/MD5/115 1058s ok 118 /checksum/MD5/116 1058s ok 119 /checksum/MD5/117 1058s ok 120 /checksum/MD5/118 1058s ok 121 /checksum/MD5/119 1058s ok 122 /checksum/MD5/120 1058s ok 123 /checksum/MD5/121 1058s ok 124 /checksum/MD5/122 1058s ok 125 /checksum/MD5/123 1058s ok 126 /checksum/MD5/124 1058s ok 127 /checksum/MD5/125 1058s ok 128 /checksum/MD5/126 1058s ok 129 /checksum/MD5/127 1058s ok 130 /checksum/MD5/128 1058s ok 131 /checksum/MD5/129 1058s ok 132 /checksum/MD5/130 1058s ok 133 /checksum/MD5/131 1058s ok 134 /checksum/MD5/132 1058s ok 135 /checksum/MD5/133 1058s ok 136 /checksum/MD5/134 1058s ok 137 /checksum/MD5/135 1058s ok 138 /checksum/MD5/136 1058s ok 139 /checksum/MD5/137 1058s ok 140 /checksum/MD5/138 1058s ok 141 /checksum/MD5/139 1058s ok 142 /checksum/MD5/140 1058s ok 143 /checksum/MD5/141 1058s ok 144 /checksum/MD5/142 1058s ok 145 /checksum/MD5/143 1058s ok 146 /checksum/MD5/144 1058s ok 147 /checksum/MD5/145 1058s ok 148 /checksum/MD5/146 1058s ok 149 /checksum/MD5/147 1058s ok 150 /checksum/MD5/148 1058s ok 151 /checksum/MD5/149 1058s ok 152 /checksum/MD5/150 1058s ok 153 /checksum/MD5/151 1058s ok 154 /checksum/MD5/152 1058s ok 155 /checksum/MD5/153 1058s ok 156 /checksum/MD5/154 1058s ok 157 /checksum/MD5/155 1058s ok 158 /checksum/MD5/156 1058s ok 159 /checksum/MD5/157 1058s ok 160 /checksum/MD5/158 1058s ok 161 /checksum/MD5/159 1058s ok 162 /checksum/MD5/160 1058s ok 163 /checksum/MD5/161 1058s ok 164 /checksum/MD5/162 1058s ok 165 /checksum/MD5/163 1058s ok 166 /checksum/MD5/164 1058s ok 167 /checksum/MD5/165 1058s ok 168 /checksum/MD5/166 1058s ok 169 /checksum/MD5/167 1058s ok 170 /checksum/MD5/168 1058s ok 171 /checksum/MD5/169 1058s ok 172 /checksum/MD5/170 1058s ok 173 /checksum/MD5/171 1058s ok 174 /checksum/MD5/172 1058s ok 175 /checksum/MD5/173 1058s ok 176 /checksum/MD5/174 1058s ok 177 /checksum/MD5/175 1058s ok 178 /checksum/MD5/176 1058s ok 179 /checksum/MD5/177 1058s ok 180 /checksum/MD5/178 1058s ok 181 /checksum/MD5/179 1058s ok 182 /checksum/MD5/180 1058s ok 183 /checksum/MD5/181 1058s ok 184 /checksum/MD5/182 1058s ok 185 /checksum/MD5/183 1058s ok 186 /checksum/MD5/string 1058s ok 187 /checksum/MD5/bytes 1058s # Start of reset tests 1058s ok 188 /checksum/MD5/reset/0 1058s ok 189 /checksum/MD5/reset/1 1058s ok 190 /checksum/MD5/reset/2 1058s ok 191 /checksum/MD5/reset/3 1058s ok 192 /checksum/MD5/reset/4 1058s ok 193 /checksum/MD5/reset/5 1058s ok 194 /checksum/MD5/reset/6 1058s ok 195 /checksum/MD5/reset/7 1058s ok 196 /checksum/MD5/reset/8 1058s ok 197 /checksum/MD5/reset/9 1058s ok 198 /checksum/MD5/reset/10 1058s ok 199 /checksum/MD5/reset/11 1058s ok 200 /checksum/MD5/reset/12 1058s ok 201 /checksum/MD5/reset/13 1058s ok 202 /checksum/MD5/reset/14 1058s ok 203 /checksum/MD5/reset/15 1058s ok 204 /checksum/MD5/reset/16 1058s ok 205 /checksum/MD5/reset/17 1058s ok 206 /checksum/MD5/reset/18 1058s ok 207 /checksum/MD5/reset/19 1058s ok 208 /checksum/MD5/reset/20 1058s ok 209 /checksum/MD5/reset/21 1058s ok 210 /checksum/MD5/reset/22 1058s ok 211 /checksum/MD5/reset/23 1058s ok 212 /checksum/MD5/reset/24 1058s ok 213 /checksum/MD5/reset/25 1058s ok 214 /checksum/MD5/reset/26 1058s ok 215 /checksum/MD5/reset/27 1058s ok 216 /checksum/MD5/reset/28 1058s ok 217 /checksum/MD5/reset/29 1058s ok 218 /checksum/MD5/reset/30 1058s ok 219 /checksum/MD5/reset/31 1058s ok 220 /checksum/MD5/reset/32 1058s ok 221 /checksum/MD5/reset/33 1058s ok 222 /checksum/MD5/reset/34 1058s ok 223 /checksum/MD5/reset/35 1058s ok 224 /checksum/MD5/reset/36 1058s ok 225 /checksum/MD5/reset/37 1058s ok 226 /checksum/MD5/reset/38 1058s ok 227 /checksum/MD5/reset/39 1058s ok 228 /checksum/MD5/reset/40 1058s ok 229 /checksum/MD5/reset/41 1058s ok 230 /checksum/MD5/reset/42 1058s ok 231 /checksum/MD5/reset/43 1058s ok 232 /checksum/MD5/reset/44 1058s ok 233 /checksum/MD5/reset/45 1058s ok 234 /checksum/MD5/reset/46 1058s ok 235 /checksum/MD5/reset/47 1058s ok 236 /checksum/MD5/reset/48 1058s ok 237 /checksum/MD5/reset/49 1058s ok 238 /checksum/MD5/reset/50 1058s ok 239 /checksum/MD5/reset/51 1058s ok 240 /checksum/MD5/reset/52 1058s ok 241 /checksum/MD5/reset/53 1058s ok 242 /checksum/MD5/reset/54 1058s ok 243 /checksum/MD5/reset/55 1058s ok 244 /checksum/MD5/reset/56 1058s ok 245 /checksum/MD5/reset/57 1058s ok 246 /checksum/MD5/reset/58 1058s ok 247 /checksum/MD5/reset/59 1058s ok 248 /checksum/MD5/reset/60 1058s ok 249 /checksum/MD5/reset/61 1058s ok 250 /checksum/MD5/reset/62 1058s ok 251 /checksum/MD5/reset/63 1058s ok 252 /checksum/MD5/reset/64 1058s ok 253 /checksum/MD5/reset/65 1058s ok 254 /checksum/MD5/reset/66 1058s ok 255 /checksum/MD5/reset/67 1058s ok 256 /checksum/MD5/reset/68 1058s ok 257 /checksum/MD5/reset/69 1058s ok 258 /checksum/MD5/reset/70 1058s ok 259 /checksum/MD5/reset/71 1058s ok 260 /checksum/MD5/reset/72 1058s ok 261 /checksum/MD5/reset/73 1058s ok 262 /checksum/MD5/reset/74 1058s ok 263 /checksum/MD5/reset/75 1058s ok 264 /checksum/MD5/reset/76 1058s ok 265 /checksum/MD5/reset/77 1058s ok 266 /checksum/MD5/reset/78 1058s ok 267 /checksum/MD5/reset/79 1058s ok 268 /checksum/MD5/reset/80 1058s ok 269 /checksum/MD5/reset/81 1058s ok 270 /checksum/MD5/reset/82 1058s ok 271 /checksum/MD5/reset/83 1058s ok 272 /checksum/MD5/reset/84 1058s ok 273 /checksum/MD5/reset/85 1058s ok 274 /checksum/MD5/reset/86 1058s ok 275 /checksum/MD5/reset/87 1058s ok 276 /checksum/MD5/reset/88 1058s ok 277 /checksum/MD5/reset/89 1058s ok 278 /checksum/MD5/reset/90 1058s ok 279 /checksum/MD5/reset/91 1058s ok 280 /checksum/MD5/reset/92 1058s ok 281 /checksum/MD5/reset/93 1058s ok 282 /checksum/MD5/reset/94 1058s ok 283 /checksum/MD5/reset/95 1058s ok 284 /checksum/MD5/reset/96 1058s ok 285 /checksum/MD5/reset/97 1058s ok 286 /checksum/MD5/reset/98 1058s ok 287 /checksum/MD5/reset/99 1058s ok 288 /checksum/MD5/reset/100 1058s ok 289 /checksum/MD5/reset/101 1058s ok 290 /checksum/MD5/reset/102 1058s ok 291 /checksum/MD5/reset/103 1058s ok 292 /checksum/MD5/reset/104 1058s ok 293 /checksum/MD5/reset/105 1058s ok 294 /checksum/MD5/reset/106 1058s ok 295 /checksum/MD5/reset/107 1058s ok 296 /checksum/MD5/reset/108 1058s ok 297 /checksum/MD5/reset/109 1058s ok 298 /checksum/MD5/reset/110 1058s ok 299 /checksum/MD5/reset/111 1058s ok 300 /checksum/MD5/reset/112 1058s ok 301 /checksum/MD5/reset/113 1058s ok 302 /checksum/MD5/reset/114 1058s ok 303 /checksum/MD5/reset/115 1058s ok 304 /checksum/MD5/reset/116 1058s ok 305 /checksum/MD5/reset/117 1058s ok 306 /checksum/MD5/reset/118 1058s ok 307 /checksum/MD5/reset/119 1058s ok 308 /checksum/MD5/reset/120 1058s ok 309 /checksum/MD5/reset/121 1058s ok 310 /checksum/MD5/reset/122 1058s ok 311 /checksum/MD5/reset/123 1058s ok 312 /checksum/MD5/reset/124 1058s ok 313 /checksum/MD5/reset/125 1058s ok 314 /checksum/MD5/reset/126 1058s ok 315 /checksum/MD5/reset/127 1058s ok 316 /checksum/MD5/reset/128 1058s ok 317 /checksum/MD5/reset/129 1058s ok 318 /checksum/MD5/reset/130 1058s ok 319 /checksum/MD5/reset/131 1058s ok 320 /checksum/MD5/reset/132 1058s ok 321 /checksum/MD5/reset/133 1058s ok 322 /checksum/MD5/reset/134 1058s ok 323 /checksum/MD5/reset/135 1058s ok 324 /checksum/MD5/reset/136 1058s ok 325 /checksum/MD5/reset/137 1058s ok 326 /checksum/MD5/reset/138 1058s ok 327 /checksum/MD5/reset/139 1058s ok 328 /checksum/MD5/reset/140 1058s ok 329 /checksum/MD5/reset/141 1058s ok 330 /checksum/MD5/reset/142 1058s ok 331 /checksum/MD5/reset/143 1058s ok 332 /checksum/MD5/reset/144 1058s ok 333 /checksum/MD5/reset/145 1058s ok 334 /checksum/MD5/reset/146 1058s ok 335 /checksum/MD5/reset/147 1058s ok 336 /checksum/MD5/reset/148 1058s ok 337 /checksum/MD5/reset/149 1058s ok 338 /checksum/MD5/reset/150 1058s ok 339 /checksum/MD5/reset/151 1058s ok 340 /checksum/MD5/reset/152 1058s ok 341 /checksum/MD5/reset/153 1058s ok 342 /checksum/MD5/reset/154 1058s ok 343 /checksum/MD5/reset/155 1058s ok 344 /checksum/MD5/reset/156 1058s ok 345 /checksum/MD5/reset/157 1058s ok 346 /checksum/MD5/reset/158 1058s ok 347 /checksum/MD5/reset/159 1058s ok 348 /checksum/MD5/reset/160 1058s ok 349 /checksum/MD5/reset/161 1058s ok 350 /checksum/MD5/reset/162 1058s ok 351 /checksum/MD5/reset/163 1058s ok 352 /checksum/MD5/reset/164 1058s ok 353 /checksum/MD5/reset/165 1058s ok 354 /checksum/MD5/reset/166 1058s ok 355 /checksum/MD5/reset/167 1058s ok 356 /checksum/MD5/reset/168 1058s ok 357 /checksum/MD5/reset/169 1058s ok 358 /checksum/MD5/reset/170 1058s ok 359 /checksum/MD5/reset/171 1058s ok 360 /checksum/MD5/reset/172 1058s ok 361 /checksum/MD5/reset/173 1058s ok 362 /checksum/MD5/reset/174 1058s ok 363 /checksum/MD5/reset/175 1058s ok 364 /checksum/MD5/reset/176 1058s ok 365 /checksum/MD5/reset/177 1058s ok 366 /checksum/MD5/reset/178 1058s ok 367 /checksum/MD5/reset/179 1058s ok 368 /checksum/MD5/reset/180 1058s ok 369 /checksum/MD5/reset/181 1058s ok 370 /checksum/MD5/reset/182 1058s ok 371 /checksum/MD5/reset/183 1058s # End of reset tests 1058s # End of MD5 tests 1058s # Start of SHA1 tests 1058s ok 372 /checksum/SHA1/0 1058s ok 373 /checksum/SHA1/1 1058s ok 374 /checksum/SHA1/2 1058s ok 375 /checksum/SHA1/3 1058s ok 376 /checksum/SHA1/4 1058s ok 377 /checksum/SHA1/5 1058s ok 378 /checksum/SHA1/6 1058s ok 379 /checksum/SHA1/7 1058s ok 380 /checksum/SHA1/8 1058s ok 381 /checksum/SHA1/9 1058s ok 382 /checksum/SHA1/10 1058s ok 383 /checksum/SHA1/11 1058s ok 384 /checksum/SHA1/12 1058s ok 385 /checksum/SHA1/13 1058s ok 386 /checksum/SHA1/14 1058s ok 387 /checksum/SHA1/15 1058s ok 388 /checksum/SHA1/16 1058s ok 389 /checksum/SHA1/17 1058s ok 390 /checksum/SHA1/18 1058s ok 391 /checksum/SHA1/19 1058s ok 392 /checksum/SHA1/20 1058s ok 393 /checksum/SHA1/21 1058s ok 394 /checksum/SHA1/22 1058s ok 395 /checksum/SHA1/23 1058s ok 396 /checksum/SHA1/24 1058s ok 397 /checksum/SHA1/25 1058s ok 398 /checksum/SHA1/26 1058s ok 399 /checksum/SHA1/27 1058s ok 400 /checksum/SHA1/28 1058s ok 401 /checksum/SHA1/29 1058s ok 402 /checksum/SHA1/30 1058s ok 403 /checksum/SHA1/31 1058s ok 404 /checksum/SHA1/32 1058s ok 405 /checksum/SHA1/33 1058s ok 406 /checksum/SHA1/34 1058s ok 407 /checksum/SHA1/35 1058s ok 408 /checksum/SHA1/36 1058s ok 409 /checksum/SHA1/37 1058s ok 410 /checksum/SHA1/38 1058s ok 411 /checksum/SHA1/39 1058s ok 412 /checksum/SHA1/40 1058s ok 413 /checksum/SHA1/41 1058s ok 414 /checksum/SHA1/42 1058s ok 415 /checksum/SHA1/43 1058s ok 416 /checksum/SHA1/44 1058s ok 417 /checksum/SHA1/45 1058s ok 418 /checksum/SHA1/46 1058s ok 419 /checksum/SHA1/47 1058s ok 420 /checksum/SHA1/48 1058s ok 421 /checksum/SHA1/49 1058s ok 422 /checksum/SHA1/50 1058s ok 423 /checksum/SHA1/51 1058s ok 424 /checksum/SHA1/52 1058s ok 425 /checksum/SHA1/53 1058s ok 426 /checksum/SHA1/54 1058s ok 427 /checksum/SHA1/55 1058s ok 428 /checksum/SHA1/56 1058s ok 429 /checksum/SHA1/57 1058s ok 430 /checksum/SHA1/58 1058s ok 431 /checksum/SHA1/59 1058s ok 432 /checksum/SHA1/60 1058s ok 433 /checksum/SHA1/61 1058s ok 434 /checksum/SHA1/62 1058s ok 435 /checksum/SHA1/63 1058s ok 436 /checksum/SHA1/64 1058s ok 437 /checksum/SHA1/65 1058s ok 438 /checksum/SHA1/66 1058s ok 439 /checksum/SHA1/67 1058s ok 440 /checksum/SHA1/68 1058s ok 441 /checksum/SHA1/69 1058s ok 442 /checksum/SHA1/70 1058s ok 443 /checksum/SHA1/71 1058s ok 444 /checksum/SHA1/72 1058s ok 445 /checksum/SHA1/73 1058s ok 446 /checksum/SHA1/74 1058s ok 447 /checksum/SHA1/75 1058s ok 448 /checksum/SHA1/76 1058s ok 449 /checksum/SHA1/77 1058s ok 450 /checksum/SHA1/78 1058s ok 451 /checksum/SHA1/79 1058s ok 452 /checksum/SHA1/80 1058s ok 453 /checksum/SHA1/81 1058s ok 454 /checksum/SHA1/82 1058s ok 455 /checksum/SHA1/83 1058s ok 456 /checksum/SHA1/84 1058s ok 457 /checksum/SHA1/85 1058s ok 458 /checksum/SHA1/86 1058s ok 459 /checksum/SHA1/87 1058s ok 460 /checksum/SHA1/88 1058s ok 461 /checksum/SHA1/89 1058s ok 462 /checksum/SHA1/90 1058s ok 463 /checksum/SHA1/91 1058s ok 464 /checksum/SHA1/92 1058s ok 465 /checksum/SHA1/93 1058s ok 466 /checksum/SHA1/94 1058s ok 467 /checksum/SHA1/95 1058s ok 468 /checksum/SHA1/96 1058s ok 469 /checksum/SHA1/97 1058s ok 470 /checksum/SHA1/98 1058s ok 471 /checksum/SHA1/99 1058s ok 472 /checksum/SHA1/100 1058s ok 473 /checksum/SHA1/101 1058s ok 474 /checksum/SHA1/102 1058s ok 475 /checksum/SHA1/103 1058s ok 476 /checksum/SHA1/104 1058s ok 477 /checksum/SHA1/105 1058s ok 478 /checksum/SHA1/106 1058s ok 479 /checksum/SHA1/107 1058s ok 480 /checksum/SHA1/108 1058s ok 481 /checksum/SHA1/109 1058s ok 482 /checksum/SHA1/110 1058s ok 483 /checksum/SHA1/111 1058s ok 484 /checksum/SHA1/112 1058s ok 485 /checksum/SHA1/113 1058s ok 486 /checksum/SHA1/114 1058s ok 487 /checksum/SHA1/115 1058s ok 488 /checksum/SHA1/116 1058s ok 489 /checksum/SHA1/117 1058s ok 490 /checksum/SHA1/118 1058s ok 491 /checksum/SHA1/119 1058s ok 492 /checksum/SHA1/120 1058s ok 493 /checksum/SHA1/121 1058s ok 494 /checksum/SHA1/122 1058s ok 495 /checksum/SHA1/123 1058s ok 496 /checksum/SHA1/124 1058s ok 497 /checksum/SHA1/125 1058s ok 498 /checksum/SHA1/126 1058s ok 499 /checksum/SHA1/127 1058s ok 500 /checksum/SHA1/128 1058s ok 501 /checksum/SHA1/129 1058s ok 502 /checksum/SHA1/130 1058s ok 503 /checksum/SHA1/131 1058s ok 504 /checksum/SHA1/132 1058s ok 505 /checksum/SHA1/133 1058s ok 506 /checksum/SHA1/134 1058s ok 507 /checksum/SHA1/135 1058s ok 508 /checksum/SHA1/136 1058s ok 509 /checksum/SHA1/137 1058s ok 510 /checksum/SHA1/138 1058s ok 511 /checksum/SHA1/139 1058s ok 512 /checksum/SHA1/140 1058s ok 513 /checksum/SHA1/141 1058s ok 514 /checksum/SHA1/142 1058s ok 515 /checksum/SHA1/143 1058s ok 516 /checksum/SHA1/144 1058s ok 517 /checksum/SHA1/145 1058s ok 518 /checksum/SHA1/146 1058s ok 519 /checksum/SHA1/147 1058s ok 520 /checksum/SHA1/148 1058s ok 521 /checksum/SHA1/149 1058s ok 522 /checksum/SHA1/150 1058s ok 523 /checksum/SHA1/151 1058s ok 524 /checksum/SHA1/152 1058s ok 525 /checksum/SHA1/153 1058s ok 526 /checksum/SHA1/154 1058s ok 527 /checksum/SHA1/155 1058s ok 528 /checksum/SHA1/156 1058s ok 529 /checksum/SHA1/157 1058s ok 530 /checksum/SHA1/158 1059s ok 531 /checksum/SHA1/159 1059s ok 532 /checksum/SHA1/160 1059s ok 533 /checksum/SHA1/161 1059s ok 534 /checksum/SHA1/162 1059s ok 535 /checksum/SHA1/163 1059s ok 536 /checksum/SHA1/164 1059s ok 537 /checksum/SHA1/165 1059s ok 538 /checksum/SHA1/166 1059s ok 539 /checksum/SHA1/167 1059s ok 540 /checksum/SHA1/168 1059s ok 541 /checksum/SHA1/169 1059s ok 542 /checksum/SHA1/170 1059s ok 543 /checksum/SHA1/171 1059s ok 544 /checksum/SHA1/172 1059s ok 545 /checksum/SHA1/173 1059s ok 546 /checksum/SHA1/174 1059s ok 547 /checksum/SHA1/175 1059s ok 548 /checksum/SHA1/176 1059s ok 549 /checksum/SHA1/177 1059s ok 550 /checksum/SHA1/178 1059s ok 551 /checksum/SHA1/179 1059s ok 552 /checksum/SHA1/180 1059s ok 553 /checksum/SHA1/181 1059s ok 554 /checksum/SHA1/182 1059s ok 555 /checksum/SHA1/183 1059s ok 556 /checksum/SHA1/string 1059s ok 557 /checksum/SHA1/bytes 1059s # Start of reset tests 1059s ok 558 /checksum/SHA1/reset/0 1059s ok 559 /checksum/SHA1/reset/1 1059s ok 560 /checksum/SHA1/reset/2 1059s ok 561 /checksum/SHA1/reset/3 1059s ok 562 /checksum/SHA1/reset/4 1059s ok 563 /checksum/SHA1/reset/5 1059s ok 564 /checksum/SHA1/reset/6 1059s ok 565 /checksum/SHA1/reset/7 1059s ok 566 /checksum/SHA1/reset/8 1059s ok 567 /checksum/SHA1/reset/9 1059s ok 568 /checksum/SHA1/reset/10 1059s ok 569 /checksum/SHA1/reset/11 1059s ok 570 /checksum/SHA1/reset/12 1059s ok 571 /checksum/SHA1/reset/13 1059s ok 572 /checksum/SHA1/reset/14 1059s ok 573 /checksum/SHA1/reset/15 1059s ok 574 /checksum/SHA1/reset/16 1059s ok 575 /checksum/SHA1/reset/17 1059s ok 576 /checksum/SHA1/reset/18 1059s ok 577 /checksum/SHA1/reset/19 1059s ok 578 /checksum/SHA1/reset/20 1059s ok 579 /checksum/SHA1/reset/21 1059s ok 580 /checksum/SHA1/reset/22 1059s ok 581 /checksum/SHA1/reset/23 1059s ok 582 /checksum/SHA1/reset/24 1059s ok 583 /checksum/SHA1/reset/25 1059s ok 584 /checksum/SHA1/reset/26 1059s ok 585 /checksum/SHA1/reset/27 1059s ok 586 /checksum/SHA1/reset/28 1059s ok 587 /checksum/SHA1/reset/29 1059s ok 588 /checksum/SHA1/reset/30 1059s ok 589 /checksum/SHA1/reset/31 1059s ok 590 /checksum/SHA1/reset/32 1059s ok 591 /checksum/SHA1/reset/33 1059s ok 592 /checksum/SHA1/reset/34 1059s ok 593 /checksum/SHA1/reset/35 1059s ok 594 /checksum/SHA1/reset/36 1059s ok 595 /checksum/SHA1/reset/37 1059s ok 596 /checksum/SHA1/reset/38 1059s ok 597 /checksum/SHA1/reset/39 1059s ok 598 /checksum/SHA1/reset/40 1059s ok 599 /checksum/SHA1/reset/41 1059s ok 600 /checksum/SHA1/reset/42 1059s ok 601 /checksum/SHA1/reset/43 1059s ok 602 /checksum/SHA1/reset/44 1059s ok 603 /checksum/SHA1/reset/45 1059s ok 604 /checksum/SHA1/reset/46 1059s ok 605 /checksum/SHA1/reset/47 1059s ok 606 /checksum/SHA1/reset/48 1059s ok 607 /checksum/SHA1/reset/49 1059s ok 608 /checksum/SHA1/reset/50 1059s ok 609 /checksum/SHA1/reset/51 1059s ok 610 /checksum/SHA1/reset/52 1059s ok 611 /checksum/SHA1/reset/53 1059s ok 612 /checksum/SHA1/reset/54 1059s ok 613 /checksum/SHA1/reset/55 1059s ok 614 /checksum/SHA1/reset/56 1059s ok 615 /checksum/SHA1/reset/57 1059s ok 616 /checksum/SHA1/reset/58 1059s ok 617 /checksum/SHA1/reset/59 1059s ok 618 /checksum/SHA1/reset/60 1059s ok 619 /checksum/SHA1/reset/61 1059s ok 620 /checksum/SHA1/reset/62 1059s ok 621 /checksum/SHA1/reset/63 1059s ok 622 /checksum/SHA1/reset/64 1059s ok 623 /checksum/SHA1/reset/65 1059s ok 624 /checksum/SHA1/reset/66 1059s ok 625 /checksum/SHA1/reset/67 1059s ok 626 /checksum/SHA1/reset/68 1059s ok 627 /checksum/SHA1/reset/69 1059s ok 628 /checksum/SHA1/reset/70 1059s ok 629 /checksum/SHA1/reset/71 1059s ok 630 /checksum/SHA1/reset/72 1059s ok 631 /checksum/SHA1/reset/73 1059s ok 632 /checksum/SHA1/reset/74 1059s ok 633 /checksum/SHA1/reset/75 1059s ok 634 /checksum/SHA1/reset/76 1059s ok 635 /checksum/SHA1/reset/77 1059s ok 636 /checksum/SHA1/reset/78 1059s ok 637 /checksum/SHA1/reset/79 1059s ok 638 /checksum/SHA1/reset/80 1059s ok 639 /checksum/SHA1/reset/81 1059s ok 640 /checksum/SHA1/reset/82 1059s ok 641 /checksum/SHA1/reset/83 1059s ok 642 /checksum/SHA1/reset/84 1059s ok 643 /checksum/SHA1/reset/85 1059s ok 644 /checksum/SHA1/reset/86 1059s ok 645 /checksum/SHA1/reset/87 1059s ok 646 /checksum/SHA1/reset/88 1059s ok 647 /checksum/SHA1/reset/89 1059s ok 648 /checksum/SHA1/reset/90 1059s ok 649 /checksum/SHA1/reset/91 1059s ok 650 /checksum/SHA1/reset/92 1059s ok 651 /checksum/SHA1/reset/93 1059s ok 652 /checksum/SHA1/reset/94 1059s ok 653 /checksum/SHA1/reset/95 1059s ok 654 /checksum/SHA1/reset/96 1059s ok 655 /checksum/SHA1/reset/97 1059s ok 656 /checksum/SHA1/reset/98 1059s ok 657 /checksum/SHA1/reset/99 1059s ok 658 /checksum/SHA1/reset/100 1059s ok 659 /checksum/SHA1/reset/101 1059s ok 660 /checksum/SHA1/reset/102 1059s ok 661 /checksum/SHA1/reset/103 1059s ok 662 /checksum/SHA1/reset/104 1059s ok 663 /checksum/SHA1/reset/105 1059s ok 664 /checksum/SHA1/reset/106 1059s ok 665 /checksum/SHA1/reset/107 1059s ok 666 /checksum/SHA1/reset/108 1059s ok 667 /checksum/SHA1/reset/109 1059s ok 668 /checksum/SHA1/reset/110 1059s ok 669 /checksum/SHA1/reset/111 1059s ok 670 /checksum/SHA1/reset/112 1059s ok 671 /checksum/SHA1/reset/113 1059s ok 672 /checksum/SHA1/reset/114 1059s ok 673 /checksum/SHA1/reset/115 1059s ok 674 /checksum/SHA1/reset/116 1059s ok 675 /checksum/SHA1/reset/117 1059s ok 676 /checksum/SHA1/reset/118 1059s ok 677 /checksum/SHA1/reset/119 1059s ok 678 /checksum/SHA1/reset/120 1059s ok 679 /checksum/SHA1/reset/121 1059s ok 680 /checksum/SHA1/reset/122 1059s ok 681 /checksum/SHA1/reset/123 1059s ok 682 /checksum/SHA1/reset/124 1059s ok 683 /checksum/SHA1/reset/125 1059s ok 684 /checksum/SHA1/reset/126 1059s ok 685 /checksum/SHA1/reset/127 1059s ok 686 /checksum/SHA1/reset/128 1059s ok 687 /checksum/SHA1/reset/129 1059s ok 688 /checksum/SHA1/reset/130 1059s ok 689 /checksum/SHA1/reset/131 1059s ok 690 /checksum/SHA1/reset/132 1059s ok 691 /checksum/SHA1/reset/133 1059s ok 692 /checksum/SHA1/reset/134 1059s ok 693 /checksum/SHA1/reset/135 1059s ok 694 /checksum/SHA1/reset/136 1059s ok 695 /checksum/SHA1/reset/137 1059s ok 696 /checksum/SHA1/reset/138 1059s ok 697 /checksum/SHA1/reset/139 1059s ok 698 /checksum/SHA1/reset/140 1059s ok 699 /checksum/SHA1/reset/141 1059s ok 700 /checksum/SHA1/reset/142 1059s ok 701 /checksum/SHA1/reset/143 1059s ok 702 /checksum/SHA1/reset/144 1059s ok 703 /checksum/SHA1/reset/145 1059s ok 704 /checksum/SHA1/reset/146 1059s ok 705 /checksum/SHA1/reset/147 1059s ok 706 /checksum/SHA1/reset/148 1059s ok 707 /checksum/SHA1/reset/149 1059s ok 708 /checksum/SHA1/reset/150 1059s ok 709 /checksum/SHA1/reset/151 1059s ok 710 /checksum/SHA1/reset/152 1059s ok 711 /checksum/SHA1/reset/153 1059s ok 712 /checksum/SHA1/reset/154 1059s ok 713 /checksum/SHA1/reset/155 1059s ok 714 /checksum/SHA1/reset/156 1059s ok 715 /checksum/SHA1/reset/157 1059s ok 716 /checksum/SHA1/reset/158 1059s ok 717 /checksum/SHA1/reset/159 1059s ok 718 /checksum/SHA1/reset/160 1059s ok 719 /checksum/SHA1/reset/161 1059s ok 720 /checksum/SHA1/reset/162 1059s ok 721 /checksum/SHA1/reset/163 1059s ok 722 /checksum/SHA1/reset/164 1059s ok 723 /checksum/SHA1/reset/165 1059s ok 724 /checksum/SHA1/reset/166 1059s ok 725 /checksum/SHA1/reset/167 1059s ok 726 /checksum/SHA1/reset/168 1059s ok 727 /checksum/SHA1/reset/169 1059s ok 728 /checksum/SHA1/reset/170 1059s ok 729 /checksum/SHA1/reset/171 1059s ok 730 /checksum/SHA1/reset/172 1059s ok 731 /checksum/SHA1/reset/173 1059s ok 732 /checksum/SHA1/reset/174 1059s ok 733 /checksum/SHA1/reset/175 1059s ok 734 /checksum/SHA1/reset/176 1059s ok 735 /checksum/SHA1/reset/177 1059s ok 736 /checksum/SHA1/reset/178 1059s ok 737 /checksum/SHA1/reset/179 1059s ok 738 /checksum/SHA1/reset/180 1059s ok 739 /checksum/SHA1/reset/181 1059s ok 740 /checksum/SHA1/reset/182 1059s ok 741 /checksum/SHA1/reset/183 1059s # End of reset tests 1059s # End of SHA1 tests 1059s # Start of SHA256 tests 1059s ok 742 /checksum/SHA256/0 1059s ok 743 /checksum/SHA256/1 1059s ok 744 /checksum/SHA256/2 1059s ok 745 /checksum/SHA256/3 1059s ok 746 /checksum/SHA256/4 1059s ok 747 /checksum/SHA256/5 1059s ok 748 /checksum/SHA256/6 1059s ok 749 /checksum/SHA256/7 1059s ok 750 /checksum/SHA256/8 1059s ok 751 /checksum/SHA256/9 1059s ok 752 /checksum/SHA256/10 1059s ok 753 /checksum/SHA256/11 1059s ok 754 /checksum/SHA256/12 1059s ok 755 /checksum/SHA256/13 1059s ok 756 /checksum/SHA256/14 1059s ok 757 /checksum/SHA256/15 1059s ok 758 /checksum/SHA256/16 1059s ok 759 /checksum/SHA256/17 1059s ok 760 /checksum/SHA256/18 1059s ok 761 /checksum/SHA256/19 1059s ok 762 /checksum/SHA256/20 1059s ok 763 /checksum/SHA256/21 1059s ok 764 /checksum/SHA256/22 1059s ok 765 /checksum/SHA256/23 1059s ok 766 /checksum/SHA256/24 1059s ok 767 /checksum/SHA256/25 1059s ok 768 /checksum/SHA256/26 1059s ok 769 /checksum/SHA256/27 1059s ok 770 /checksum/SHA256/28 1059s ok 771 /checksum/SHA256/29 1059s ok 772 /checksum/SHA256/30 1059s ok 773 /checksum/SHA256/31 1059s ok 774 /checksum/SHA256/32 1059s ok 775 /checksum/SHA256/33 1059s ok 776 /checksum/SHA256/34 1059s ok 777 /checksum/SHA256/35 1059s ok 778 /checksum/SHA256/36 1059s ok 779 /checksum/SHA256/37 1059s ok 780 /checksum/SHA256/38 1059s ok 781 /checksum/SHA256/39 1059s ok 782 /checksum/SHA256/40 1059s ok 783 /checksum/SHA256/41 1059s ok 784 /checksum/SHA256/42 1059s ok 785 /checksum/SHA256/43 1059s ok 786 /checksum/SHA256/44 1059s ok 787 /checksum/SHA256/45 1059s ok 788 /checksum/SHA256/46 1059s ok 789 /checksum/SHA256/47 1059s ok 790 /checksum/SHA256/48 1059s ok 791 /checksum/SHA256/49 1059s ok 792 /checksum/SHA256/50 1059s ok 793 /checksum/SHA256/51 1059s ok 794 /checksum/SHA256/52 1059s ok 795 /checksum/SHA256/53 1059s ok 796 /checksum/SHA256/54 1059s ok 797 /checksum/SHA256/55 1059s ok 798 /checksum/SHA256/56 1059s ok 799 /checksum/SHA256/57 1059s ok 800 /checksum/SHA256/58 1059s ok 801 /checksum/SHA256/59 1059s ok 802 /checksum/SHA256/60 1059s ok 803 /checksum/SHA256/61 1059s ok 804 /checksum/SHA256/62 1059s ok 805 /checksum/SHA256/63 1059s ok 806 /checksum/SHA256/64 1059s ok 807 /checksum/SHA256/65 1059s ok 808 /checksum/SHA256/66 1059s ok 809 /checksum/SHA256/67 1059s ok 810 /checksum/SHA256/68 1059s ok 811 /checksum/SHA256/69 1059s ok 812 /checksum/SHA256/70 1059s ok 813 /checksum/SHA256/71 1059s ok 814 /checksum/SHA256/72 1059s ok 815 /checksum/SHA256/73 1059s ok 816 /checksum/SHA256/74 1059s ok 817 /checksum/SHA256/75 1059s ok 818 /checksum/SHA256/76 1059s ok 819 /checksum/SHA256/77 1059s ok 820 /checksum/SHA256/78 1059s ok 821 /checksum/SHA256/79 1059s ok 822 /checksum/SHA256/80 1059s ok 823 /checksum/SHA256/81 1059s ok 824 /checksum/SHA256/82 1059s ok 825 /checksum/SHA256/83 1059s ok 826 /checksum/SHA256/84 1059s ok 827 /checksum/SHA256/85 1059s ok 828 /checksum/SHA256/86 1059s ok 829 /checksum/SHA256/87 1059s ok 830 /checksum/SHA256/88 1059s ok 831 /checksum/SHA256/89 1059s ok 832 /checksum/SHA256/90 1059s ok 833 /checksum/SHA256/91 1059s ok 834 /checksum/SHA256/92 1059s ok 835 /checksum/SHA256/93 1059s ok 836 /checksum/SHA256/94 1059s ok 837 /checksum/SHA256/95 1059s ok 838 /checksum/SHA256/96 1059s ok 839 /checksum/SHA256/97 1059s ok 840 /checksum/SHA256/98 1059s ok 841 /checksum/SHA256/99 1059s ok 842 /checksum/SHA256/100 1059s ok 843 /checksum/SHA256/101 1059s ok 844 /checksum/SHA256/102 1059s ok 845 /checksum/SHA256/103 1059s ok 846 /checksum/SHA256/104 1059s ok 847 /checksum/SHA256/105 1059s ok 848 /checksum/SHA256/106 1059s ok 849 /checksum/SHA256/107 1059s ok 850 /checksum/SHA256/108 1059s ok 851 /checksum/SHA256/109 1059s ok 852 /checksum/SHA256/110 1059s ok 853 /checksum/SHA256/111 1059s ok 854 /checksum/SHA256/112 1059s ok 855 /checksum/SHA256/113 1059s ok 856 /checksum/SHA256/114 1059s ok 857 /checksum/SHA256/115 1059s ok 858 /checksum/SHA256/116 1059s ok 859 /checksum/SHA256/117 1059s ok 860 /checksum/SHA256/118 1059s ok 861 /checksum/SHA256/119 1059s ok 862 /checksum/SHA256/120 1059s ok 863 /checksum/SHA256/121 1059s ok 864 /checksum/SHA256/122 1059s ok 865 /checksum/SHA256/123 1059s ok 866 /checksum/SHA256/124 1059s ok 867 /checksum/SHA256/125 1059s ok 868 /checksum/SHA256/126 1059s ok 869 /checksum/SHA256/127 1059s ok 870 /checksum/SHA256/128 1059s ok 871 /checksum/SHA256/129 1059s ok 872 /checksum/SHA256/130 1059s ok 873 /checksum/SHA256/131 1059s ok 874 /checksum/SHA256/132 1059s ok 875 /checksum/SHA256/133 1059s ok 876 /checksum/SHA256/134 1059s ok 877 /checksum/SHA256/135 1059s ok 878 /checksum/SHA256/136 1059s ok 879 /checksum/SHA256/137 1059s ok 880 /checksum/SHA256/138 1059s ok 881 /checksum/SHA256/139 1059s ok 882 /checksum/SHA256/140 1059s ok 883 /checksum/SHA256/141 1059s ok 884 /checksum/SHA256/142 1059s ok 885 /checksum/SHA256/143 1059s ok 886 /checksum/SHA256/144 1059s ok 887 /checksum/SHA256/145 1059s ok 888 /checksum/SHA256/146 1059s ok 889 /checksum/SHA256/147 1059s ok 890 /checksum/SHA256/148 1059s ok 891 /checksum/SHA256/149 1059s ok 892 /checksum/SHA256/150 1059s ok 893 /checksum/SHA256/151 1059s ok 894 /checksum/SHA256/152 1059s ok 895 /checksum/SHA256/153 1059s ok 896 /checksum/SHA256/154 1059s ok 897 /checksum/SHA256/155 1059s ok 898 /checksum/SHA256/156 1059s ok 899 /checksum/SHA256/157 1059s ok 900 /checksum/SHA256/158 1059s ok 901 /checksum/SHA256/159 1059s ok 902 /checksum/SHA256/160 1059s ok 903 /checksum/SHA256/161 1059s ok 904 /checksum/SHA256/162 1059s ok 905 /checksum/SHA256/163 1059s ok 906 /checksum/SHA256/164 1059s ok 907 /checksum/SHA256/165 1059s ok 908 /checksum/SHA256/166 1059s ok 909 /checksum/SHA256/167 1059s ok 910 /checksum/SHA256/168 1059s ok 911 /checksum/SHA256/169 1059s ok 912 /checksum/SHA256/170 1059s ok 913 /checksum/SHA256/171 1059s ok 914 /checksum/SHA256/172 1059s ok 915 /checksum/SHA256/173 1059s ok 916 /checksum/SHA256/174 1059s ok 917 /checksum/SHA256/175 1059s ok 918 /checksum/SHA256/176 1059s ok 919 /checksum/SHA256/177 1059s ok 920 /checksum/SHA256/178 1059s ok 921 /checksum/SHA256/179 1059s ok 922 /checksum/SHA256/180 1059s ok 923 /checksum/SHA256/181 1059s ok 924 /checksum/SHA256/182 1059s ok 925 /checksum/SHA256/183 1059s ok 926 /checksum/SHA256/string 1059s ok 927 /checksum/SHA256/bytes 1059s # Start of reset tests 1059s ok 928 /checksum/SHA256/reset/0 1059s ok 929 /checksum/SHA256/reset/1 1059s ok 930 /checksum/SHA256/reset/2 1059s ok 931 /checksum/SHA256/reset/3 1059s ok 932 /checksum/SHA256/reset/4 1059s ok 933 /checksum/SHA256/reset/5 1059s ok 934 /checksum/SHA256/reset/6 1059s ok 935 /checksum/SHA256/reset/7 1059s ok 936 /checksum/SHA256/reset/8 1059s ok 937 /checksum/SHA256/reset/9 1059s ok 938 /checksum/SHA256/reset/10 1059s ok 939 /checksum/SHA256/reset/11 1059s ok 940 /checksum/SHA256/reset/12 1059s ok 941 /checksum/SHA256/reset/13 1059s ok 942 /checksum/SHA256/reset/14 1059s ok 943 /checksum/SHA256/reset/15 1059s ok 944 /checksum/SHA256/reset/16 1059s ok 945 /checksum/SHA256/reset/17 1059s ok 946 /checksum/SHA256/reset/18 1059s ok 947 /checksum/SHA256/reset/19 1059s ok 948 /checksum/SHA256/reset/20 1059s ok 949 /checksum/SHA256/reset/21 1059s ok 950 /checksum/SHA256/reset/22 1059s ok 951 /checksum/SHA256/reset/23 1059s ok 952 /checksum/SHA256/reset/24 1059s ok 953 /checksum/SHA256/reset/25 1059s ok 954 /checksum/SHA256/reset/26 1059s ok 955 /checksum/SHA256/reset/27 1059s ok 956 /checksum/SHA256/reset/28 1059s ok 957 /checksum/SHA256/reset/29 1059s ok 958 /checksum/SHA256/reset/30 1059s ok 959 /checksum/SHA256/reset/31 1059s ok 960 /checksum/SHA256/reset/32 1059s ok 961 /checksum/SHA256/reset/33 1059s ok 962 /checksum/SHA256/reset/34 1059s ok 963 /checksum/SHA256/reset/35 1059s ok 964 /checksum/SHA256/reset/36 1059s ok 965 /checksum/SHA256/reset/37 1059s ok 966 /checksum/SHA256/reset/38 1059s ok 967 /checksum/SHA256/reset/39 1059s ok 968 /checksum/SHA256/reset/40 1059s ok 969 /checksum/SHA256/reset/41 1059s ok 970 /checksum/SHA256/reset/42 1059s ok 971 /checksum/SHA256/reset/43 1059s ok 972 /checksum/SHA256/reset/44 1059s ok 973 /checksum/SHA256/reset/45 1059s ok 974 /checksum/SHA256/reset/46 1059s ok 975 /checksum/SHA256/reset/47 1059s ok 976 /checksum/SHA256/reset/48 1059s ok 977 /checksum/SHA256/reset/49 1059s ok 978 /checksum/SHA256/reset/50 1059s ok 979 /checksum/SHA256/reset/51 1059s ok 980 /checksum/SHA256/reset/52 1059s ok 981 /checksum/SHA256/reset/53 1059s ok 982 /checksum/SHA256/reset/54 1059s ok 983 /checksum/SHA256/reset/55 1059s ok 984 /checksum/SHA256/reset/56 1059s ok 985 /checksum/SHA256/reset/57 1059s ok 986 /checksum/SHA256/reset/58 1059s ok 987 /checksum/SHA256/reset/59 1059s ok 988 /checksum/SHA256/reset/60 1059s ok 989 /checksum/SHA256/reset/61 1059s ok 990 /checksum/SHA256/reset/62 1059s ok 991 /checksum/SHA256/reset/63 1059s ok 992 /checksum/SHA256/reset/64 1059s ok 993 /checksum/SHA256/reset/65 1059s ok 994 /checksum/SHA256/reset/66 1059s ok 995 /checksum/SHA256/reset/67 1059s ok 996 /checksum/SHA256/reset/68 1059s ok 997 /checksum/SHA256/reset/69 1059s ok 998 /checksum/SHA256/reset/70 1059s ok 999 /checksum/SHA256/reset/71 1059s ok 1000 /checksum/SHA256/reset/72 1059s ok 1001 /checksum/SHA256/reset/73 1059s ok 1002 /checksum/SHA256/reset/74 1059s ok 1003 /checksum/SHA256/reset/75 1059s ok 1004 /checksum/SHA256/reset/76 1059s ok 1005 /checksum/SHA256/reset/77 1059s ok 1006 /checksum/SHA256/reset/78 1059s ok 1007 /checksum/SHA256/reset/79 1059s ok 1008 /checksum/SHA256/reset/80 1059s ok 1009 /checksum/SHA256/reset/81 1059s ok 1010 /checksum/SHA256/reset/82 1059s ok 1011 /checksum/SHA256/reset/83 1059s ok 1012 /checksum/SHA256/reset/84 1059s ok 1013 /checksum/SHA256/reset/85 1059s ok 1014 /checksum/SHA256/reset/86 1059s ok 1015 /checksum/SHA256/reset/87 1059s ok 1016 /checksum/SHA256/reset/88 1059s ok 1017 /checksum/SHA256/reset/89 1059s ok 1018 /checksum/SHA256/reset/90 1059s ok 1019 /checksum/SHA256/reset/91 1059s ok 1020 /checksum/SHA256/reset/92 1059s ok 1021 /checksum/SHA256/reset/93 1059s ok 1022 /checksum/SHA256/reset/94 1059s ok 1023 /checksum/SHA256/reset/95 1059s ok 1024 /checksum/SHA256/reset/96 1059s ok 1025 /checksum/SHA256/reset/97 1059s ok 1026 /checksum/SHA256/reset/98 1059s ok 1027 /checksum/SHA256/reset/99 1059s ok 1028 /checksum/SHA256/reset/100 1059s ok 1029 /checksum/SHA256/reset/101 1059s ok 1030 /checksum/SHA256/reset/102 1059s ok 1031 /checksum/SHA256/reset/103 1059s ok 1032 /checksum/SHA256/reset/104 1059s ok 1033 /checksum/SHA256/reset/105 1059s ok 1034 /checksum/SHA256/reset/106 1059s ok 1035 /checksum/SHA256/reset/107 1059s ok 1036 /checksum/SHA256/reset/108 1059s ok 1037 /checksum/SHA256/reset/109 1059s ok 1038 /checksum/SHA256/reset/110 1059s ok 1039 /checksum/SHA256/reset/111 1059s ok 1040 /checksum/SHA256/reset/112 1059s ok 1041 /checksum/SHA256/reset/113 1059s ok 1042 /checksum/SHA256/reset/114 1059s ok 1043 /checksum/SHA256/reset/115 1059s ok 1044 /checksum/SHA256/reset/116 1059s ok 1045 /checksum/SHA256/reset/117 1059s ok 1046 /checksum/SHA256/reset/118 1059s ok 1047 /checksum/SHA256/reset/119 1059s ok 1048 /checksum/SHA256/reset/120 1059s ok 1049 /checksum/SHA256/reset/121 1059s ok 1050 /checksum/SHA256/reset/122 1059s ok 1051 /checksum/SHA256/reset/123 1059s ok 1052 /checksum/SHA256/reset/124 1059s ok 1053 /checksum/SHA256/reset/125 1059s ok 1054 /checksum/SHA256/reset/126 1059s ok 1055 /checksum/SHA256/reset/127 1059s ok 1056 /checksum/SHA256/reset/128 1059s ok 1057 /checksum/SHA256/reset/129 1059s ok 1058 /checksum/SHA256/reset/130 1059s ok 1059 /checksum/SHA256/reset/131 1059s ok 1060 /checksum/SHA256/reset/132 1059s ok 1061 /checksum/SHA256/reset/133 1059s ok 1062 /checksum/SHA256/reset/134 1059s ok 1063 /checksum/SHA256/reset/135 1059s ok 1064 /checksum/SHA256/reset/136 1059s ok 1065 /checksum/SHA256/reset/137 1059s ok 1066 /checksum/SHA256/reset/138 1059s ok 1067 /checksum/SHA256/reset/139 1059s ok 1068 /checksum/SHA256/reset/140 1059s ok 1069 /checksum/SHA256/reset/141 1059s ok 1070 /checksum/SHA256/reset/142 1059s ok 1071 /checksum/SHA256/reset/143 1059s ok 1072 /checksum/SHA256/reset/144 1059s ok 1073 /checksum/SHA256/reset/145 1059s ok 1074 /checksum/SHA256/reset/146 1059s ok 1075 /checksum/SHA256/reset/147 1059s ok 1076 /checksum/SHA256/reset/148 1059s ok 1077 /checksum/SHA256/reset/149 1059s ok 1078 /checksum/SHA256/reset/150 1059s ok 1079 /checksum/SHA256/reset/151 1059s ok 1080 /checksum/SHA256/reset/152 1059s ok 1081 /checksum/SHA256/reset/153 1059s ok 1082 /checksum/SHA256/reset/154 1059s ok 1083 /checksum/SHA256/reset/155 1059s ok 1084 /checksum/SHA256/reset/156 1059s ok 1085 /checksum/SHA256/reset/157 1059s ok 1086 /checksum/SHA256/reset/158 1059s ok 1087 /checksum/SHA256/reset/159 1059s ok 1088 /checksum/SHA256/reset/160 1059s ok 1089 /checksum/SHA256/reset/161 1059s ok 1090 /checksum/SHA256/reset/162 1059s ok 1091 /checksum/SHA256/reset/163 1059s ok 1092 /checksum/SHA256/reset/164 1059s ok 1093 /checksum/SHA256/reset/165 1059s ok 1094 /checksum/SHA256/reset/166 1059s ok 1095 /checksum/SHA256/reset/167 1059s ok 1096 /checksum/SHA256/reset/168 1059s ok 1097 /checksum/SHA256/reset/169 1059s ok 1098 /checksum/SHA256/reset/170 1059s ok 1099 /checksum/SHA256/reset/171 1059s ok 1100 /checksum/SHA256/reset/172 1059s ok 1101 /checksum/SHA256/reset/173 1059s ok 1102 /checksum/SHA256/reset/174 1059s ok 1103 /checksum/SHA256/reset/175 1059s ok 1104 /checksum/SHA256/reset/176 1059s ok 1105 /checksum/SHA256/reset/177 1059s ok 1106 /checksum/SHA256/reset/178 1059s ok 1107 /checksum/SHA256/reset/179 1059s ok 1108 /checksum/SHA256/reset/180 1059s ok 1109 /checksum/SHA256/reset/181 1059s ok 1110 /checksum/SHA256/reset/182 1059s ok 1111 /checksum/SHA256/reset/183 1059s # End of reset tests 1059s # End of SHA256 tests 1059s # Start of SHA384 tests 1059s ok 1112 /checksum/SHA384/0 1059s ok 1113 /checksum/SHA384/1 1059s ok 1114 /checksum/SHA384/2 1059s ok 1115 /checksum/SHA384/3 1059s ok 1116 /checksum/SHA384/4 1059s ok 1117 /checksum/SHA384/5 1059s ok 1118 /checksum/SHA384/6 1059s ok 1119 /checksum/SHA384/7 1059s ok 1120 /checksum/SHA384/8 1059s ok 1121 /checksum/SHA384/9 1059s ok 1122 /checksum/SHA384/10 1059s ok 1123 /checksum/SHA384/11 1059s ok 1124 /checksum/SHA384/12 1059s ok 1125 /checksum/SHA384/13 1059s ok 1126 /checksum/SHA384/14 1059s ok 1127 /checksum/SHA384/15 1059s ok 1128 /checksum/SHA384/16 1059s ok 1129 /checksum/SHA384/17 1059s ok 1130 /checksum/SHA384/18 1059s ok 1131 /checksum/SHA384/19 1059s ok 1132 /checksum/SHA384/20 1059s ok 1133 /checksum/SHA384/21 1059s ok 1134 /checksum/SHA384/22 1059s ok 1135 /checksum/SHA384/23 1059s ok 1136 /checksum/SHA384/24 1059s ok 1137 /checksum/SHA384/25 1059s ok 1138 /checksum/SHA384/26 1059s ok 1139 /checksum/SHA384/27 1059s ok 1140 /checksum/SHA384/28 1059s ok 1141 /checksum/SHA384/29 1059s ok 1142 /checksum/SHA384/30 1059s ok 1143 /checksum/SHA384/31 1059s ok 1144 /checksum/SHA384/32 1059s ok 1145 /checksum/SHA384/33 1059s ok 1146 /checksum/SHA384/34 1059s ok 1147 /checksum/SHA384/35 1059s ok 1148 /checksum/SHA384/36 1059s ok 1149 /checksum/SHA384/37 1059s ok 1150 /checksum/SHA384/38 1059s ok 1151 /checksum/SHA384/39 1059s ok 1152 /checksum/SHA384/40 1059s ok 1153 /checksum/SHA384/41 1059s ok 1154 /checksum/SHA384/42 1059s ok 1155 /checksum/SHA384/43 1059s ok 1156 /checksum/SHA384/44 1059s ok 1157 /checksum/SHA384/45 1059s ok 1158 /checksum/SHA384/46 1059s ok 1159 /checksum/SHA384/47 1059s ok 1160 /checksum/SHA384/48 1059s ok 1161 /checksum/SHA384/49 1059s ok 1162 /checksum/SHA384/50 1059s ok 1163 /checksum/SHA384/51 1059s ok 1164 /checksum/SHA384/52 1059s ok 1165 /checksum/SHA384/53 1059s ok 1166 /checksum/SHA384/54 1059s ok 1167 /checksum/SHA384/55 1059s ok 1168 /checksum/SHA384/56 1059s ok 1169 /checksum/SHA384/57 1059s ok 1170 /checksum/SHA384/58 1059s ok 1171 /checksum/SHA384/59 1059s ok 1172 /checksum/SHA384/60 1059s ok 1173 /checksum/SHA384/61 1059s ok 1174 /checksum/SHA384/62 1059s ok 1175 /checksum/SHA384/63 1059s ok 1176 /checksum/SHA384/64 1059s ok 1177 /checksum/SHA384/65 1059s ok 1178 /checksum/SHA384/66 1059s ok 1179 /checksum/SHA384/67 1059s ok 1180 /checksum/SHA384/68 1059s ok 1181 /checksum/SHA384/69 1059s ok 1182 /checksum/SHA384/70 1059s ok 1183 /checksum/SHA384/71 1059s ok 1184 /checksum/SHA384/72 1059s ok 1185 /checksum/SHA384/73 1059s ok 1186 /checksum/SHA384/74 1059s ok 1187 /checksum/SHA384/75 1059s ok 1188 /checksum/SHA384/76 1059s ok 1189 /checksum/SHA384/77 1059s ok 1190 /checksum/SHA384/78 1059s ok 1191 /checksum/SHA384/79 1059s ok 1192 /checksum/SHA384/80 1059s ok 1193 /checksum/SHA384/81 1059s ok 1194 /checksum/SHA384/82 1059s ok 1195 /checksum/SHA384/83 1059s ok 1196 /checksum/SHA384/84 1059s ok 1197 /checksum/SHA384/85 1059s ok 1198 /checksum/SHA384/86 1059s ok 1199 /checksum/SHA384/87 1059s ok 1200 /checksum/SHA384/88 1059s ok 1201 /checksum/SHA384/89 1059s ok 1202 /checksum/SHA384/90 1059s ok 1203 /checksum/SHA384/91 1059s ok 1204 /checksum/SHA384/92 1059s ok 1205 /checksum/SHA384/93 1059s ok 1206 /checksum/SHA384/94 1059s ok 1207 /checksum/SHA384/95 1059s ok 1208 /checksum/SHA384/96 1059s ok 1209 /checksum/SHA384/97 1059s ok 1210 /checksum/SHA384/98 1059s ok 1211 /checksum/SHA384/99 1059s ok 1212 /checksum/SHA384/100 1059s ok 1213 /checksum/SHA384/101 1059s ok 1214 /checksum/SHA384/102 1059s ok 1215 /checksum/SHA384/103 1059s ok 1216 /checksum/SHA384/104 1059s ok 1217 /checksum/SHA384/105 1059s ok 1218 /checksum/SHA384/106 1059s ok 1219 /checksum/SHA384/107 1059s ok 1220 /checksum/SHA384/108 1059s ok 1221 /checksum/SHA384/109 1059s ok 1222 /checksum/SHA384/110 1059s ok 1223 /checksum/SHA384/111 1059s ok 1224 /checksum/SHA384/112 1059s ok 1225 /checksum/SHA384/113 1059s ok 1226 /checksum/SHA384/114 1059s ok 1227 /checksum/SHA384/115 1059s ok 1228 /checksum/SHA384/116 1059s ok 1229 /checksum/SHA384/117 1059s ok 1230 /checksum/SHA384/118 1059s ok 1231 /checksum/SHA384/119 1059s ok 1232 /checksum/SHA384/120 1059s ok 1233 /checksum/SHA384/121 1059s ok 1234 /checksum/SHA384/122 1059s ok 1235 /checksum/SHA384/123 1059s ok 1236 /checksum/SHA384/124 1059s ok 1237 /checksum/SHA384/125 1059s ok 1238 /checksum/SHA384/126 1059s ok 1239 /checksum/SHA384/127 1059s ok 1240 /checksum/SHA384/128 1059s ok 1241 /checksum/SHA384/129 1059s ok 1242 /checksum/SHA384/130 1059s ok 1243 /checksum/SHA384/131 1059s ok 1244 /checksum/SHA384/132 1059s ok 1245 /checksum/SHA384/133 1059s ok 1246 /checksum/SHA384/134 1059s ok 1247 /checksum/SHA384/135 1059s ok 1248 /checksum/SHA384/136 1059s ok 1249 /checksum/SHA384/137 1059s ok 1250 /checksum/SHA384/138 1059s ok 1251 /checksum/SHA384/139 1059s ok 1252 /checksum/SHA384/140 1059s ok 1253 /checksum/SHA384/141 1059s ok 1254 /checksum/SHA384/142 1059s ok 1255 /checksum/SHA384/143 1059s ok 1256 /checksum/SHA384/144 1059s ok 1257 /checksum/SHA384/145 1059s ok 1258 /checksum/SHA384/146 1059s ok 1259 /checksum/SHA384/147 1059s ok 1260 /checksum/SHA384/148 1059s ok 1261 /checksum/SHA384/149 1059s ok 1262 /checksum/SHA384/150 1059s ok 1263 /checksum/SHA384/151 1059s ok 1264 /checksum/SHA384/152 1059s ok 1265 /checksum/SHA384/153 1059s ok 1266 /checksum/SHA384/154 1059s ok 1267 /checksum/SHA384/155 1059s ok 1268 /checksum/SHA384/156 1059s ok 1269 /checksum/SHA384/157 1059s ok 1270 /checksum/SHA384/158 1059s ok 1271 /checksum/SHA384/159 1059s ok 1272 /checksum/SHA384/160 1059s ok 1273 /checksum/SHA384/161 1059s ok 1274 /checksum/SHA384/162 1059s ok 1275 /checksum/SHA384/163 1059s ok 1276 /checksum/SHA384/164 1059s ok 1277 /checksum/SHA384/165 1059s ok 1278 /checksum/SHA384/166 1059s ok 1279 /checksum/SHA384/167 1059s ok 1280 /checksum/SHA384/168 1059s ok 1281 /checksum/SHA384/169 1059s ok 1282 /checksum/SHA384/170 1059s ok 1283 /checksum/SHA384/171 1059s ok 1284 /checksum/SHA384/172 1059s ok 1285 /checksum/SHA384/173 1059s ok 1286 /checksum/SHA384/174 1059s ok 1287 /checksum/SHA384/175 1059s ok 1288 /checksum/SHA384/176 1059s ok 1289 /checksum/SHA384/177 1059s ok 1290 /checksum/SHA384/178 1059s ok 1291 /checksum/SHA384/179 1059s ok 1292 /checksum/SHA384/180 1059s ok 1293 /checksum/SHA384/181 1059s ok 1294 /checksum/SHA384/182 1059s ok 1295 /checksum/SHA384/183 1059s ok 1296 /checksum/SHA384/string 1059s ok 1297 /checksum/SHA384/bytes 1059s # Start of reset tests 1059s ok 1298 /checksum/SHA384/reset/0 1059s ok 1299 /checksum/SHA384/reset/1 1059s ok 1300 /checksum/SHA384/reset/2 1059s ok 1301 /checksum/SHA384/reset/3 1059s ok 1302 /checksum/SHA384/reset/4 1059s ok 1303 /checksum/SHA384/reset/5 1059s ok 1304 /checksum/SHA384/reset/6 1059s ok 1305 /checksum/SHA384/reset/7 1059s ok 1306 /checksum/SHA384/reset/8 1059s ok 1307 /checksum/SHA384/reset/9 1059s ok 1308 /checksum/SHA384/reset/10 1059s ok 1309 /checksum/SHA384/reset/11 1059s ok 1310 /checksum/SHA384/reset/12 1059s ok 1311 /checksum/SHA384/reset/13 1059s ok 1312 /checksum/SHA384/reset/14 1059s ok 1313 /checksum/SHA384/reset/15 1059s ok 1314 /checksum/SHA384/reset/16 1059s ok 1315 /checksum/SHA384/reset/17 1059s ok 1316 /checksum/SHA384/reset/18 1059s ok 1317 /checksum/SHA384/reset/19 1059s ok 1318 /checksum/SHA384/reset/20 1059s ok 1319 /checksum/SHA384/reset/21 1059s ok 1320 /checksum/SHA384/reset/22 1059s ok 1321 /checksum/SHA384/reset/23 1059s ok 1322 /checksum/SHA384/reset/24 1059s ok 1323 /checksum/SHA384/reset/25 1059s ok 1324 /checksum/SHA384/reset/26 1059s ok 1325 /checksum/SHA384/reset/27 1059s ok 1326 /checksum/SHA384/reset/28 1059s ok 1327 /checksum/SHA384/reset/29 1059s ok 1328 /checksum/SHA384/reset/30 1059s ok 1329 /checksum/SHA384/reset/31 1059s ok 1330 /checksum/SHA384/reset/32 1059s ok 1331 /checksum/SHA384/reset/33 1059s ok 1332 /checksum/SHA384/reset/34 1059s ok 1333 /checksum/SHA384/reset/35 1059s ok 1334 /checksum/SHA384/reset/36 1059s ok 1335 /checksum/SHA384/reset/37 1059s ok 1336 /checksum/SHA384/reset/38 1059s ok 1337 /checksum/SHA384/reset/39 1059s ok 1338 /checksum/SHA384/reset/40 1059s ok 1339 /checksum/SHA384/reset/41 1059s ok 1340 /checksum/SHA384/reset/42 1059s ok 1341 /checksum/SHA384/reset/43 1059s ok 1342 /checksum/SHA384/reset/44 1059s ok 1343 /checksum/SHA384/reset/45 1059s ok 1344 /checksum/SHA384/reset/46 1059s ok 1345 /checksum/SHA384/reset/47 1059s ok 1346 /checksum/SHA384/reset/48 1059s ok 1347 /checksum/SHA384/reset/49 1059s ok 1348 /checksum/SHA384/reset/50 1059s ok 1349 /checksum/SHA384/reset/51 1059s ok 1350 /checksum/SHA384/reset/52 1059s ok 1351 /checksum/SHA384/reset/53 1059s ok 1352 /checksum/SHA384/reset/54 1059s ok 1353 /checksum/SHA384/reset/55 1059s ok 1354 /checksum/SHA384/reset/56 1059s ok 1355 /checksum/SHA384/reset/57 1059s ok 1356 /checksum/SHA384/reset/58 1059s ok 1357 /checksum/SHA384/reset/59 1059s ok 1358 /checksum/SHA384/reset/60 1059s ok 1359 /checksum/SHA384/reset/61 1059s ok 1360 /checksum/SHA384/reset/62 1059s ok 1361 /checksum/SHA384/reset/63 1059s ok 1362 /checksum/SHA384/reset/64 1059s ok 1363 /checksum/SHA384/reset/65 1059s ok 1364 /checksum/SHA384/reset/66 1059s ok 1365 /checksum/SHA384/reset/67 1059s ok 1366 /checksum/SHA384/reset/68 1059s ok 1367 /checksum/SHA384/reset/69 1059s ok 1368 /checksum/SHA384/reset/70 1059s ok 1369 /checksum/SHA384/reset/71 1059s ok 1370 /checksum/SHA384/reset/72 1059s ok 1371 /checksum/SHA384/reset/73 1059s ok 1372 /checksum/SHA384/reset/74 1059s ok 1373 /checksum/SHA384/reset/75 1059s ok 1374 /checksum/SHA384/reset/76 1059s ok 1375 /checksum/SHA384/reset/77 1059s ok 1376 /checksum/SHA384/reset/78 1059s ok 1377 /checksum/SHA384/reset/79 1059s ok 1378 /checksum/SHA384/reset/80 1059s ok 1379 /checksum/SHA384/reset/81 1059s ok 1380 /checksum/SHA384/reset/82 1059s ok 1381 /checksum/SHA384/reset/83 1059s ok 1382 /checksum/SHA384/reset/84 1059s ok 1383 /checksum/SHA384/reset/85 1059s ok 1384 /checksum/SHA384/reset/86 1059s ok 1385 /checksum/SHA384/reset/87 1059s ok 1386 /checksum/SHA384/reset/88 1059s ok 1387 /checksum/SHA384/reset/89 1059s ok 1388 /checksum/SHA384/reset/90 1059s ok 1389 /checksum/SHA384/reset/91 1059s ok 1390 /checksum/SHA384/reset/92 1059s ok 1391 /checksum/SHA384/reset/93 1059s ok 1392 /checksum/SHA384/reset/94 1059s ok 1393 /checksum/SHA384/reset/95 1059s ok 1394 /checksum/SHA384/reset/96 1059s ok 1395 /checksum/SHA384/reset/97 1059s ok 1396 /checksum/SHA384/reset/98 1059s ok 1397 /checksum/SHA384/reset/99 1059s ok 1398 /checksum/SHA384/reset/100 1059s ok 1399 /checksum/SHA384/reset/101 1059s ok 1400 /checksum/SHA384/reset/102 1059s ok 1401 /checksum/SHA384/reset/103 1059s ok 1402 /checksum/SHA384/reset/104 1059s ok 1403 /checksum/SHA384/reset/105 1059s ok 1404 /checksum/SHA384/reset/106 1059s ok 1405 /checksum/SHA384/reset/107 1059s ok 1406 /checksum/SHA384/reset/108 1059s ok 1407 /checksum/SHA384/reset/109 1059s ok 1408 /checksum/SHA384/reset/110 1059s ok 1409 /checksum/SHA384/reset/111 1059s ok 1410 /checksum/SHA384/reset/112 1059s ok 1411 /checksum/SHA384/reset/113 1059s ok 1412 /checksum/SHA384/reset/114 1059s ok 1413 /checksum/SHA384/reset/115 1059s ok 1414 /checksum/SHA384/reset/116 1059s ok 1415 /checksum/SHA384/reset/117 1059s ok 1416 /checksum/SHA384/reset/118 1059s ok 1417 /checksum/SHA384/reset/119 1059s ok 1418 /checksum/SHA384/reset/120 1059s ok 1419 /checksum/SHA384/reset/121 1059s ok 1420 /checksum/SHA384/reset/122 1059s ok 1421 /checksum/SHA384/reset/123 1059s ok 1422 /checksum/SHA384/reset/124 1059s ok 1423 /checksum/SHA384/reset/125 1059s ok 1424 /checksum/SHA384/reset/126 1059s ok 1425 /checksum/SHA384/reset/127 1059s ok 1426 /checksum/SHA384/reset/128 1059s ok 1427 /checksum/SHA384/reset/129 1059s ok 1428 /checksum/SHA384/reset/130 1059s ok 1429 /checksum/SHA384/reset/131 1059s ok 1430 /checksum/SHA384/reset/132 1059s ok 1431 /checksum/SHA384/reset/133 1059s ok 1432 /checksum/SHA384/reset/134 1059s ok 1433 /checksum/SHA384/reset/135 1059s ok 1434 /checksum/SHA384/reset/136 1059s ok 1435 /checksum/SHA384/reset/137 1059s ok 1436 /checksum/SHA384/reset/138 1059s ok 1437 /checksum/SHA384/reset/139 1059s ok 1438 /checksum/SHA384/reset/140 1059s ok 1439 /checksum/SHA384/reset/141 1059s ok 1440 /checksum/SHA384/reset/142 1059s ok 1441 /checksum/SHA384/reset/143 1059s ok 1442 /checksum/SHA384/reset/144 1059s ok 1443 /checksum/SHA384/reset/145 1059s ok 1444 /checksum/SHA384/reset/146 1059s ok 1445 /checksum/SHA384/reset/147 1059s ok 1446 /checksum/SHA384/reset/148 1059s ok 1447 /checksum/SHA384/reset/149 1059s ok 1448 /checksum/SHA384/reset/150 1059s ok 1449 /checksum/SHA384/reset/151 1059s ok 1450 /checksum/SHA384/reset/152 1059s ok 1451 /checksum/SHA384/reset/153 1059s ok 1452 /checksum/SHA384/reset/154 1059s ok 1453 /checksum/SHA384/reset/155 1059s ok 1454 /checksum/SHA384/reset/156 1059s ok 1455 /checksum/SHA384/reset/157 1059s ok 1456 /checksum/SHA384/reset/158 1059s ok 1457 /checksum/SHA384/reset/159 1059s ok 1458 /checksum/SHA384/reset/160 1059s ok 1459 /checksum/SHA384/reset/161 1059s ok 1460 /checksum/SHA384/reset/162 1059s ok 1461 /checksum/SHA384/reset/163 1059s ok 1462 /checksum/SHA384/reset/164 1059s ok 1463 /checksum/SHA384/reset/165 1059s ok 1464 /checksum/SHA384/reset/166 1059s ok 1465 /checksum/SHA384/reset/167 1059s ok 1466 /checksum/SHA384/reset/168 1059s ok 1467 /checksum/SHA384/reset/169 1059s ok 1468 /checksum/SHA384/reset/170 1059s ok 1469 /checksum/SHA384/reset/171 1059s ok 1470 /checksum/SHA384/reset/172 1059s ok 1471 /checksum/SHA384/reset/173 1059s ok 1472 /checksum/SHA384/reset/174 1059s ok 1473 /checksum/SHA384/reset/175 1059s ok 1474 /checksum/SHA384/reset/176 1059s ok 1475 /checksum/SHA384/reset/177 1059s ok 1476 /checksum/SHA384/reset/178 1059s ok 1477 /checksum/SHA384/reset/179 1059s ok 1478 /checksum/SHA384/reset/180 1059s ok 1479 /checksum/SHA384/reset/181 1059s ok 1480 /checksum/SHA384/reset/182 1059s ok 1481 /checksum/SHA384/reset/183 1059s # End of reset tests 1059s # End of SHA384 tests 1059s # Start of SHA512 tests 1059s ok 1482 /checksum/SHA512/0 1059s ok 1483 /checksum/SHA512/1 1059s ok 1484 /checksum/SHA512/2 1059s ok 1485 /checksum/SHA512/3 1059s ok 1486 /checksum/SHA512/4 1059s ok 1487 /checksum/SHA512/5 1059s ok 1488 /checksum/SHA512/6 1059s ok 1489 /checksum/SHA512/7 1059s ok 1490 /checksum/SHA512/8 1059s ok 1491 /checksum/SHA512/9 1059s ok 1492 /checksum/SHA512/10 1059s ok 1493 /checksum/SHA512/11 1059s ok 1494 /checksum/SHA512/12 1059s ok 1495 /checksum/SHA512/13 1059s ok 1496 /checksum/SHA512/14 1059s ok 1497 /checksum/SHA512/15 1059s ok 1498 /checksum/SHA512/16 1059s ok 1499 /checksum/SHA512/17 1059s ok 1500 /checksum/SHA512/18 1059s ok 1501 /checksum/SHA512/19 1059s ok 1502 /checksum/SHA512/20 1059s ok 1503 /checksum/SHA512/21 1059s ok 1504 /checksum/SHA512/22 1059s ok 1505 /checksum/SHA512/23 1059s ok 1506 /checksum/SHA512/24 1059s ok 1507 /checksum/SHA512/25 1059s ok 1508 /checksum/SHA512/26 1059s ok 1509 /checksum/SHA512/27 1059s ok 1510 /checksum/SHA512/28 1059s ok 1511 /checksum/SHA512/29 1059s ok 1512 /checksum/SHA512/30 1059s ok 1513 /checksum/SHA512/31 1059s ok 1514 /checksum/SHA512/32 1059s ok 1515 /checksum/SHA512/33 1059s ok 1516 /checksum/SHA512/34 1059s ok 1517 /checksum/SHA512/35 1059s ok 1518 /checksum/SHA512/36 1059s ok 1519 /checksum/SHA512/37 1059s ok 1520 /checksum/SHA512/38 1059s ok 1521 /checksum/SHA512/39 1059s ok 1522 /checksum/SHA512/40 1059s ok 1523 /checksum/SHA512/41 1059s ok 1524 /checksum/SHA512/42 1059s ok 1525 /checksum/SHA512/43 1059s ok 1526 /checksum/SHA512/44 1059s ok 1527 /checksum/SHA512/45 1059s ok 1528 /checksum/SHA512/46 1059s ok 1529 /checksum/SHA512/47 1059s ok 1530 /checksum/SHA512/48 1059s ok 1531 /checksum/SHA512/49 1059s ok 1532 /checksum/SHA512/50 1059s ok 1533 /checksum/SHA512/51 1059s ok 1534 /checksum/SHA512/52 1059s ok 1535 /checksum/SHA512/53 1059s ok 1536 /checksum/SHA512/54 1059s ok 1537 /checksum/SHA512/55 1059s ok 1538 /checksum/SHA512/56 1059s ok 1539 /checksum/SHA512/57 1059s ok 1540 /checksum/SHA512/58 1059s ok 1541 /checksum/SHA512/59 1059s ok 1542 /checksum/SHA512/60 1059s ok 1543 /checksum/SHA512/61 1059s ok 1544 /checksum/SHA512/62 1059s ok 1545 /checksum/SHA512/63 1059s ok 1546 /checksum/SHA512/64 1059s ok 1547 /checksum/SHA512/65 1059s ok 1548 /checksum/SHA512/66 1059s ok 1549 /checksum/SHA512/67 1059s ok 1550 /checksum/SHA512/68 1059s ok 1551 /checksum/SHA512/69 1059s ok 1552 /checksum/SHA512/70 1059s ok 1553 /checksum/SHA512/71 1059s ok 1554 /checksum/SHA512/72 1059s ok 1555 /checksum/SHA512/73 1059s ok 1556 /checksum/SHA512/74 1059s ok 1557 /checksum/SHA512/75 1059s ok 1558 /checksum/SHA512/76 1059s ok 1559 /checksum/SHA512/77 1059s ok 1560 /checksum/SHA512/78 1059s ok 1561 /checksum/SHA512/79 1059s ok 1562 /checksum/SHA512/80 1059s ok 1563 /checksum/SHA512/81 1059s ok 1564 /checksum/SHA512/82 1059s ok 1565 /checksum/SHA512/83 1059s ok 1566 /checksum/SHA512/84 1059s ok 1567 /checksum/SHA512/85 1059s ok 1568 /checksum/SHA512/86 1059s ok 1569 /checksum/SHA512/87 1059s ok 1570 /checksum/SHA512/88 1059s ok 1571 /checksum/SHA512/89 1059s ok 1572 /checksum/SHA512/90 1059s ok 1573 /checksum/SHA512/91 1059s ok 1574 /checksum/SHA512/92 1059s ok 1575 /checksum/SHA512/93 1059s ok 1576 /checksum/SHA512/94 1059s ok 1577 /checksum/SHA512/95 1059s ok 1578 /checksum/SHA512/96 1059s ok 1579 /checksum/SHA512/97 1059s ok 1580 /checksum/SHA512/98 1059s ok 1581 /checksum/SHA512/99 1059s ok 1582 /checksum/SHA512/100 1059s ok 1583 /checksum/SHA512/101 1059s ok 1584 /checksum/SHA512/102 1059s ok 1585 /checksum/SHA512/103 1059s ok 1586 /checksum/SHA512/104 1059s ok 1587 /checksum/SHA512/105 1059s ok 1588 /checksum/SHA512/106 1059s ok 1589 /checksum/SHA512/107 1059s ok 1590 /checksum/SHA512/108 1059s ok 1591 /checksum/SHA512/109 1059s ok 1592 /checksum/SHA512/110 1059s ok 1593 /checksum/SHA512/111 1059s ok 1594 /checksum/SHA512/112 1059s ok 1595 /checksum/SHA512/113 1059s ok 1596 /checksum/SHA512/114 1059s ok 1597 /checksum/SHA512/115 1059s ok 1598 /checksum/SHA512/116 1059s ok 1599 /checksum/SHA512/117 1059s ok 1600 /checksum/SHA512/118 1059s ok 1601 /checksum/SHA512/119 1059s ok 1602 /checksum/SHA512/120 1059s ok 1603 /checksum/SHA512/121 1059s ok 1604 /checksum/SHA512/122 1059s ok 1605 /checksum/SHA512/123 1059s ok 1606 /checksum/SHA512/124 1059s ok 1607 /checksum/SHA512/125 1059s ok 1608 /checksum/SHA512/126 1059s ok 1609 /checksum/SHA512/127 1059s ok 1610 /checksum/SHA512/128 1059s ok 1611 /checksum/SHA512/129 1059s ok 1612 /checksum/SHA512/130 1059s ok 1613 /checksum/SHA512/131 1059s ok 1614 /checksum/SHA512/132 1059s ok 1615 /checksum/SHA512/133 1059s ok 1616 /checksum/SHA512/134 1059s ok 1617 /checksum/SHA512/135 1059s ok 1618 /checksum/SHA512/136 1059s ok 1619 /checksum/SHA512/137 1059s ok 1620 /checksum/SHA512/138 1059s ok 1621 /checksum/SHA512/139 1059s ok 1622 /checksum/SHA512/140 1059s ok 1623 /checksum/SHA512/141 1059s ok 1624 /checksum/SHA512/142 1059s ok 1625 /checksum/SHA512/143 1059s ok 1626 /checksum/SHA512/144 1059s ok 1627 /checksum/SHA512/145 1059s ok 1628 /checksum/SHA512/146 1059s ok 1629 /checksum/SHA512/147 1059s ok 1630 /checksum/SHA512/148 1059s ok 1631 /checksum/SHA512/149 1059s ok 1632 /checksum/SHA512/150 1059s ok 1633 /checksum/SHA512/151 1059s ok 1634 /checksum/SHA512/152 1059s ok 1635 /checksum/SHA512/153 1059s ok 1636 /checksum/SHA512/154 1059s ok 1637 /checksum/SHA512/155 1059s ok 1638 /checksum/SHA512/156 1059s ok 1639 /checksum/SHA512/157 1059s ok 1640 /checksum/SHA512/158 1059s ok 1641 /checksum/SHA512/159 1059s ok 1642 /checksum/SHA512/160 1059s ok 1643 /checksum/SHA512/161 1059s ok 1644 /checksum/SHA512/162 1059s ok 1645 /checksum/SHA512/163 1059s ok 1646 /checksum/SHA512/164 1059s ok 1647 /checksum/SHA512/165 1059s ok 1648 /checksum/SHA512/166 1059s ok 1649 /checksum/SHA512/167 1059s ok 1650 /checksum/SHA512/168 1059s ok 1651 /checksum/SHA512/169 1059s ok 1652 /checksum/SHA512/170 1059s ok 1653 /checksum/SHA512/171 1059s ok 1654 /checksum/SHA512/172 1059s ok 1655 /checksum/SHA512/173 1059s ok 1656 /checksum/SHA512/174 1059s ok 1657 /checksum/SHA512/175 1059s ok 1658 /checksum/SHA512/176 1059s ok 1659 /checksum/SHA512/177 1059s ok 1660 /checksum/SHA512/178 1059s ok 1661 /checksum/SHA512/179 1059s ok 1662 /checksum/SHA512/180 1059s ok 1663 /checksum/SHA512/181 1059s ok 1664 /checksum/SHA512/182 1059s ok 1665 /checksum/SHA512/183 1059s ok 1666 /checksum/SHA512/string 1059s ok 1667 /checksum/SHA512/bytes 1059s # Start of reset tests 1059s ok 1668 /checksum/SHA512/reset/0 1059s ok 1669 /checksum/SHA512/reset/1 1059s ok 1670 /checksum/SHA512/reset/2 1059s ok 1671 /checksum/SHA512/reset/3 1059s ok 1672 /checksum/SHA512/reset/4 1059s ok 1673 /checksum/SHA512/reset/5 1059s ok 1674 /checksum/SHA512/reset/6 1059s ok 1675 /checksum/SHA512/reset/7 1059s ok 1676 /checksum/SHA512/reset/8 1059s ok 1677 /checksum/SHA512/reset/9 1059s ok 1678 /checksum/SHA512/reset/10 1059s ok 1679 /checksum/SHA512/reset/11 1059s ok 1680 /checksum/SHA512/reset/12 1059s ok 1681 /checksum/SHA512/reset/13 1059s ok 1682 /checksum/SHA512/reset/14 1059s ok 1683 /checksum/SHA512/reset/15 1059s ok 1684 /checksum/SHA512/reset/16 1059s ok 1685 /checksum/SHA512/reset/17 1059s ok 1686 /checksum/SHA512/reset/18 1059s ok 1687 /checksum/SHA512/reset/19 1059s ok 1688 /checksum/SHA512/reset/20 1059s ok 1689 /checksum/SHA512/reset/21 1059s ok 1690 /checksum/SHA512/reset/22 1059s ok 1691 /checksum/SHA512/reset/23 1059s ok 1692 /checksum/SHA512/reset/24 1059s ok 1693 /checksum/SHA512/reset/25 1059s ok 1694 /checksum/SHA512/reset/26 1059s ok 1695 /checksum/SHA512/reset/27 1059s ok 1696 /checksum/SHA512/reset/28 1059s ok 1697 /checksum/SHA512/reset/29 1059s ok 1698 /checksum/SHA512/reset/30 1059s ok 1699 /checksum/SHA512/reset/31 1059s ok 1700 /checksum/SHA512/reset/32 1059s ok 1701 /checksum/SHA512/reset/33 1059s ok 1702 /checksum/SHA512/reset/34 1059s ok 1703 /checksum/SHA512/reset/35 1059s ok 1704 /checksum/SHA512/reset/36 1059s ok 1705 /checksum/SHA512/reset/37 1059s ok 1706 /checksum/SHA512/reset/38 1059s ok 1707 /checksum/SHA512/reset/39 1059s ok 1708 /checksum/SHA512/reset/40 1059s ok 1709 /checksum/SHA512/reset/41 1059s ok 1710 /checksum/SHA512/reset/42 1059s ok 1711 /checksum/SHA512/reset/43 1059s ok 1712 /checksum/SHA512/reset/44 1059s ok 1713 /checksum/SHA512/reset/45 1059s ok 1714 /checksum/SHA512/reset/46 1059s ok 1715 /checksum/SHA512/reset/47 1059s ok 1716 /checksum/SHA512/reset/48 1059s ok 1717 /checksum/SHA512/reset/49 1059s ok 1718 /checksum/SHA512/reset/50 1059s ok 1719 /checksum/SHA512/reset/51 1059s ok 1720 /checksum/SHA512/reset/52 1059s ok 1721 /checksum/SHA512/reset/53 1059s ok 1722 /checksum/SHA512/reset/54 1059s ok 1723 /checksum/SHA512/reset/55 1059s ok 1724 /checksum/SHA512/reset/56 1059s ok 1725 /checksum/SHA512/reset/57 1059s ok 1726 /checksum/SHA512/reset/58 1059s ok 1727 /checksum/SHA512/reset/59 1059s ok 1728 /checksum/SHA512/reset/60 1059s ok 1729 /checksum/SHA512/reset/61 1059s ok 1730 /checksum/SHA512/reset/62 1059s ok 1731 /checksum/SHA512/reset/63 1059s ok 1732 /checksum/SHA512/reset/64 1059s ok 1733 /checksum/SHA512/reset/65 1059s ok 1734 /checksum/SHA512/reset/66 1059s ok 1735 /checksum/SHA512/reset/67 1059s ok 1736 /checksum/SHA512/reset/68 1059s ok 1737 /checksum/SHA512/reset/69 1059s ok 1738 /checksum/SHA512/reset/70 1059s ok 1739 /checksum/SHA512/reset/71 1059s ok 1740 /checksum/SHA512/reset/72 1059s ok 1741 /checksum/SHA512/reset/73 1059s ok 1742 /checksum/SHA512/reset/74 1059s ok 1743 /checksum/SHA512/reset/75 1059s ok 1744 /checksum/SHA512/reset/76 1059s ok 1745 /checksum/SHA512/reset/77 1059s ok 1746 /checksum/SHA512/reset/78 1059s ok 1747 /checksum/SHA512/reset/79 1059s ok 1748 /checksum/SHA512/reset/80 1059s ok 1749 /checksum/SHA512/reset/81 1059s ok 1750 /checksum/SHA512/reset/82 1059s ok 1751 /checksum/SHA512/reset/83 1059s ok 1752 /checksum/SHA512/reset/84 1059s ok 1753 /checksum/SHA512/reset/85 1059s ok 1754 /checksum/SHA512/reset/86 1059s ok 1755 /checksum/SHA512/reset/87 1059s ok 1756 /checksum/SHA512/reset/88 1059s ok 1757 /checksum/SHA512/reset/89 1059s ok 1758 /checksum/SHA512/reset/90 1059s ok 1759 /checksum/SHA512/reset/91 1059s ok 1760 /checksum/SHA512/reset/92 1059s ok 1761 /checksum/SHA512/reset/93 1059s ok 1762 /checksum/SHA512/reset/94 1059s ok 1763 /checksum/SHA512/reset/95 1059s ok 1764 /checksum/SHA512/reset/96 1059s ok 1765 /checksum/SHA512/reset/97 1059s ok 1766 /checksum/SHA512/reset/98 1059s ok 1767 /checksum/SHA512/reset/99 1059s ok 1768 /checksum/SHA512/reset/100 1059s ok 1769 /checksum/SHA512/reset/101 1059s ok 1770 /checksum/SHA512/reset/102 1059s ok 1771 /checksum/SHA512/reset/103 1059s ok 1772 /checksum/SHA512/reset/104 1059s ok 1773 /checksum/SHA512/reset/105 1059s ok 1774 /checksum/SHA512/reset/106 1059s ok 1775 /checksum/SHA512/reset/107 1059s ok 1776 /checksum/SHA512/reset/108 1059s ok 1777 /checksum/SHA512/reset/109 1059s ok 1778 /checksum/SHA512/reset/110 1059s ok 1779 /checksum/SHA512/reset/111 1059s ok 1780 /checksum/SHA512/reset/112 1059s ok 1781 /checksum/SHA512/reset/113 1059s ok 1782 /checksum/SHA512/reset/114 1059s ok 1783 /checksum/SHA512/reset/115 1059s ok 1784 /checksum/SHA512/reset/116 1059s ok 1785 /checksum/SHA512/reset/117 1059s ok 1786 /checksum/SHA512/reset/118 1059s ok 1787 /checksum/SHA512/reset/119 1059s ok 1788 /checksum/SHA512/reset/120 1059s ok 1789 /checksum/SHA512/reset/121 1059s ok 1790 /checksum/SHA512/reset/122 1059s ok 1791 /checksum/SHA512/reset/123 1059s ok 1792 /checksum/SHA512/reset/124 1059s ok 1793 /checksum/SHA512/reset/125 1059s ok 1794 /checksum/SHA512/reset/126 1059s ok 1795 /checksum/SHA512/reset/127 1059s ok 1796 /checksum/SHA512/reset/128 1059s ok 1797 /checksum/SHA512/reset/129 1059s ok 1798 /checksum/SHA512/reset/130 1059s ok 1799 /checksum/SHA512/reset/131 1059s ok 1800 /checksum/SHA512/reset/132 1059s ok 1801 /checksum/SHA512/reset/133 1059s ok 1802 /checksum/SHA512/reset/134 1059s ok 1803 /checksum/SHA512/reset/135 1059s ok 1804 /checksum/SHA512/reset/136 1059s ok 1805 /checksum/SHA512/reset/137 1059s ok 1806 /checksum/SHA512/reset/138 1059s ok 1807 /checksum/SHA512/reset/139 1059s ok 1808 /checksum/SHA512/reset/140 1059s ok 1809 /checksum/SHA512/reset/141 1059s ok 1810 /checksum/SHA512/reset/142 1059s ok 1811 /checksum/SHA512/reset/143 1059s ok 1812 /checksum/SHA512/reset/144 1059s ok 1813 /checksum/SHA512/reset/145 1059s ok 1814 /checksum/SHA512/reset/146 1059s ok 1815 /checksum/SHA512/reset/147 1059s ok 1816 /checksum/SHA512/reset/148 1059s ok 1817 /checksum/SHA512/reset/149 1059s ok 1818 /checksum/SHA512/reset/150 1059s ok 1819 /checksum/SHA512/reset/151 1059s ok 1820 /checksum/SHA512/reset/152 1059s ok 1821 /checksum/SHA512/reset/153 1059s ok 1822 /checksum/SHA512/reset/154 1059s ok 1823 /checksum/SHA512/reset/155 1059s ok 1824 /checksum/SHA512/reset/156 1059s ok 1825 /checksum/SHA512/reset/157 1059s ok 1826 /checksum/SHA512/reset/158 1059s ok 1827 /checksum/SHA512/reset/159 1059s ok 1828 /checksum/SHA512/reset/160 1059s ok 1829 /checksum/SHA512/reset/161 1059s ok 1830 /checksum/SHA512/reset/162 1059s ok 1831 /checksum/SHA512/reset/163 1059s ok 1832 /checksum/SHA512/reset/164 1059s ok 1833 /checksum/SHA512/reset/165 1059s ok 1834 /checksum/SHA512/reset/166 1059s ok 1835 /checksum/SHA512/reset/167 1059s ok 1836 /checksum/SHA512/reset/168 1059s ok 1837 /checksum/SHA512/reset/169 1059s ok 1838 /checksum/SHA512/reset/170 1059s ok 1839 /checksum/SHA512/reset/171 1059s ok 1840 /checksum/SHA512/reset/172 1059s ok 1841 /checksum/SHA512/reset/173 1059s ok 1842 /checksum/SHA512/reset/174 1059s ok 1843 /checksum/SHA512/reset/175 1059s ok 1844 /checksum/SHA512/reset/176 1059s ok 1845 /checksum/SHA512/reset/177 1059s ok 1846 /checksum/SHA512/reset/178 1059s ok 1847 /checksum/SHA512/reset/179 1059s ok 1848 /checksum/SHA512/reset/180 1059s ok 1849 /checksum/SHA512/reset/181 1059s ok 1850 /checksum/SHA512/reset/182 1059s ok 1851 /checksum/SHA512/reset/183 1059s # End of reset tests 1059s # End of SHA512 tests 1059s # End of checksum tests 1059s ok - glib/checksum.test 1059s # Running test: glib/properties-introspection.test 1059s TAP version 14 1059s # random seed: R02Sb30e1ff7843d11642befeb25044aa44c 1059s 1..2 1059s # Start of properties tests 1059s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 1059s ok 1 /properties/introspection 1059s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 1059s ok 2 /properties/collision 1059s # End of properties tests 1059s ok - glib/properties-introspection.test 1059s # Running test: glib/rec-mutex.test 1059s TAP version 14 1059s # random seed: R02Sa479422cdeb688f443d4dcc7d0bece0e 1059s 1..29 1059s # Start of thread tests 1059s ok 1 /thread/rec-mutex1 1059s ok 2 /thread/rec-mutex2 1059s ok 3 /thread/rec-mutex3 1059s # Executing: glib/rec-mutex.test 1059s ok 4 /thread/rec-mutex4 1059s # Start of rec-mutex tests 1059s # Start of perf tests 1059s # Start of uncontended tests 1059s # max perf: 0.500000 mips 1059s ok 5 /thread/rec-mutex/perf/uncontended/depth1 1059s # max perf: inf mips 1059s ok 6 /thread/rec-mutex/perf/uncontended/depth2 1059s # max perf: inf mips 1059s ok 7 /thread/rec-mutex/perf/uncontended/depth3 1059s # max perf: inf mips 1059s ok 8 /thread/rec-mutex/perf/uncontended/depth4 1059s # max perf: 1.000000 mips 1059s ok 9 /thread/rec-mutex/perf/uncontended/depth5 1059s # End of uncontended tests 1059s # Start of contended1 tests 1059s # max perf: inf mips 1059s ok 10 /thread/rec-mutex/perf/contended1/depth1 1059s # max perf: 2.000000 mips 1059s ok 11 /thread/rec-mutex/perf/contended1/depth2 1059s # max perf: inf mips 1059s ok 12 /thread/rec-mutex/perf/contended1/depth3 1059s # max perf: 2.000000 mips 1059s ok 13 /thread/rec-mutex/perf/contended1/depth4 1059s # max perf: 2.000000 mips 1059s ok 14 /thread/rec-mutex/perf/contended1/depth5 1059s # End of contended1 tests 1059s # Start of contended2 tests 1059s # max perf: inf mips 1059s ok 15 /thread/rec-mutex/perf/contended2/depth1 1059s # max perf: inf mips 1059s ok 16 /thread/rec-mutex/perf/contended2/depth2 1059s # max perf: inf mips 1059s ok 17 /thread/rec-mutex/perf/contended2/depth3 1059s # max perf: 3.000000 mips 1059s ok 18 /thread/rec-mutex/perf/contended2/depth4 1059s # max perf: 3.000000 mips 1059s ok 19 /thread/rec-mutex/perf/contended2/depth5 1059s # End of contended2 tests 1059s # Start of contended3 tests 1059s # max perf: 4.000000 mips 1059s ok 20 /thread/rec-mutex/perf/contended3/depth1 1059s # max perf: 4.000000 mips 1059s ok 21 /thread/rec-mutex/perf/contended3/depth2 1059s # max perf: 4.000000 mips 1059s ok 22 /thread/rec-mutex/perf/contended3/depth3 1059s # max perf: 4.000000 mips 1059s ok 23 /thread/rec-mutex/perf/contended3/depth4 1059s # max perf: 4.000000 mips 1059s ok 24 /thread/rec-mutex/perf/contended3/depth5 1059s # End of contended3 tests 1059s # Start of contended4 tests 1059s # max perf: 1.666667 mips 1059s ok 25 /thread/rec-mutex/perf/contended4/depth1 1059s # max perf: 1.666667 mips 1059s ok 26 /thread/rec-mutex/perf/contended4/depth2 1059s # max perf: 1.250000 mips 1059s ok 27 /thread/rec-mutex/perf/contended4/depth3 1059s # max perf: 1.000000 mips 1059s ok 28 /thread/rec-mutex/perf/contended4/depth4 1059s # max perf: 1.000000 mips 1059s ok 29 /thread/rec-mutex/perf/contended4/depth5 1059s # End of contended4 tests 1059s # End of perf tests 1059s # End of rec-mutex tests 1059s # End of thread tests 1059s ok - glib/rec-mutex.test 1059s # Running test: glib/rcbox.test 1059s TAP version 14 1059s # random seed: R02S480ec9598ceabfa30ca9e13fdf372c28 1059s 1..8 1059s # Start of rcbox tests 1059s ok 1 /rcbox/new 1059s # global_point = 0x1158d25088d0 1059s ok 2 /rcbox/release-full 1059s # global_point_a = 0x1158d25088d0 1059s # global_point_b = 0x1158d2508890 1059s ok 3 /rcbox/dup 1059s ok 4 /rcbox/alignment 1059s # End of rcbox tests 1059s # Start of atomic-rcbox tests 1059s ok 5 /atomic-rcbox/new 1059s # global_point = 0x1158d2508aa0 1059s ok 6 /atomic-rcbox/release-full 1059s # global_point_a = 0x1158d2508aa0 1059s # global_point_b = 0x1158d2508a60 1059s ok 7 /atomic-rcbox/dup 1059s ok 8 /atomic-rcbox/alignment 1059s # End of atomic-rcbox tests 1059s ok - glib/rcbox.test 1059s # Running test: glib/ifaceproperties.test 1059s TAP version 14 1059s # random seed: R02S92e39987c8880c0332ba940265d25b40 1059s 1..7 1059s # Start of interface tests 1059s # Start of properties tests 1059s ok 1 /interface/properties/set 1059s ok 2 /interface/properties/notify 1059s ok 3 /interface/properties/find-overridden 1059s ok 4 /interface/properties/list-overridden 1059s ok 5 /interface/properties/find-interface 1059s ok 6 /interface/properties/list-interface 1059s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 1059s ok 7 /interface/properties/not-overridden 1059s # End of properties tests 1059s # End of interface tests 1059s ok - glib/ifaceproperties.test 1059s # Running test: glib/refstring.test 1059s TAP version 14 1059s # random seed: R02Sf8c893f0a3d32d7f7d5cc6227620f97b 1059s 1..6 1059s # Start of refstring tests 1059s # s = 'hello, world' (0xde470b483b0) 1059s ok 1 /refstring/base 1059s ok 2 /refstring/length 1059s ok 3 /refstring/length-auto 1059s ok 4 /refstring/length-nuls 1059s # s = 'hello, world' (0xde470b48300) 1059s # p = s = 'hello, world' (0xde470b48300) 1059s # releasing p[0xde470b48300] ('hello, world') 1059s # p = 'goodbye, world' (0xde470b483b0) 1059s # releasing p[0xde470b483b0] ('goodbye, world') 1059s # releasing s[0xde470b48300] ('hello, world') 1059s ok 5 /refstring/intern 1061s ok 6 /refstring/intern-thread-safety 1061s # slow test /refstring/intern-thread-safety executed in 1.91 secs 1061s # End of refstring tests 1061s ok - glib/refstring.test 1061s # Running test: glib/pathbuf.test 1061s TAP version 14 1061s # random seed: R02S0fdb1bef68fca691633ff68558d23405 1061s 1..3 1061s # Start of pathbuf tests 1061s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_D3F0Z2/pathbuf/init/.dirs/home 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_D3F0Z2/pathbuf/init/.dirs/cache 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_D3F0Z2/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_D3F0Z2/pathbuf/init/.dirs/system-config2 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_D3F0Z2/pathbuf/init/.dirs/config 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_D3F0Z2/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_D3F0Z2/pathbuf/init/.dirs/system-data2 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_D3F0Z2/pathbuf/init/.dirs/data 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_D3F0Z2/pathbuf/init/.dirs/state 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_D3F0Z2/pathbuf/init/.dirs/runtime 1061s # Initializing empty path buf 1061s # Initializing with empty path 1061s # Initializing with full path 1061s # Initializing with no path 1061s # Allocating GPathBuf on the heap 1061s ok 1 /pathbuf/init 1061s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_D3F0Z2/pathbuf/push-pop/.dirs/home 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_D3F0Z2/pathbuf/push-pop/.dirs/cache 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_D3F0Z2/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_D3F0Z2/pathbuf/push-pop/.dirs/system-config2 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_D3F0Z2/pathbuf/push-pop/.dirs/config 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_D3F0Z2/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_D3F0Z2/pathbuf/push-pop/.dirs/system-data2 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_D3F0Z2/pathbuf/push-pop/.dirs/data 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_D3F0Z2/pathbuf/push-pop/.dirs/state 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_D3F0Z2/pathbuf/push-pop/.dirs/runtime 1061s # Pushing relative path component 1061s # Pushing absolute path component 1061s # Popping a path component 1061s # Can't pop the last element of a path buffer 1061s ok 2 /pathbuf/push-pop 1061s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_D3F0Z2/pathbuf/filename-extension/.dirs/home 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_D3F0Z2/pathbuf/filename-extension/.dirs/cache 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_D3F0Z2/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_D3F0Z2/pathbuf/filename-extension/.dirs/system-config2 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_D3F0Z2/pathbuf/filename-extension/.dirs/config 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_D3F0Z2/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_D3F0Z2/pathbuf/filename-extension/.dirs/system-data2 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_D3F0Z2/pathbuf/filename-extension/.dirs/data 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_D3F0Z2/pathbuf/filename-extension/.dirs/state 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_D3F0Z2/pathbuf/filename-extension/.dirs/runtime 1061s ok 3 /pathbuf/filename-extension 1061s # End of pathbuf tests 1061s ok - glib/pathbuf.test 1061s # Running test: glib/cancellable.test 1061s TAP version 14 1061s # random seed: R02S800e8c6b313461bb91d65222f774f655 1061s 1..10 1061s # Start of cancellable tests 1061s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 1061s ok 2 /cancellable/null 1061s # /cancellable/disconnect-on-cancelled-callback-hangs summary: Tests that trying to disconnect a cancellable from the cancelled signal callback will result in a deadlock as per #GCancellable::cancelled 1061s ok 3 /cancellable/disconnect-on-cancelled-callback-hangs 1061s # /cancellable/resets-on-cancel-callback-hangs summary: Tests that trying to reset a cancellable from the cancelled signal callback will result in a deadlock as per #GCancellable::cancelled 1061s ok 4 /cancellable/resets-on-cancel-callback-hangs 1061s ok 5 /cancellable/poll-fd 1061s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 1061s ok 6 /cancellable/poll-fd-cancelled 1061s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 1061s ok 7 /cancellable/poll-fd-cancelled-threaded 1061s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 1061s ok 8 /cancellable/cancel-reset-races 1061s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 1061s not ok 9 /cancellable/cancel-reset-connect-races # TODO We didn't really checked if callbacks is called properly 1061s # End of cancellable tests 1061s # Start of cancellable-source tests 1061s # /cancellable-source/threaded-dispose summary: Test a thread race between disposing of a GCancellableSource (in one thread) and cancelling the GCancellable it refers to (in another thread) 1061s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 1062s ok 10 /cancellable-source/threaded-dispose 1062s # slow test /cancellable-source/threaded-dispose executed in 0.95 secs 1062s # End of cancellable-source tests 1062s ok - glib/cancellable.test 1062s # Running test: glib/rwlock.test 1062s TAP version 14 1062s # random seed: R02Sa8976bd8958ef42eb36911eb523b501b 1062s 1..8 1062s # Start of thread tests 1062s ok 1 /thread/rwlock1 1062s ok 2 /thread/rwlock2 1062s ok 3 /thread/rwlock3 1062s ok 4 /thread/rwlock4 1062s ok 5 /thread/rwlock5 1062s ok 6 /thread/rwlock6 1064s # Executing: glib/rwlock.test 1068s ok 7 /thread/rwlock7 1068s # slow test /thread/rwlock7 executed in 6.36 secs 1069s ok 8 /thread/rwlock8 1069s # End of thread tests 1069s ok - glib/rwlock.test 1069s # Running test: glib/charset.test 1069s TAP version 14 1069s # random seed: R02S3f2f76da3fda962232138a376d046445 1069s 1..2 1069s # Start of charset tests 1069s # Test 0 1069s # Test 1 1069s # Test 2 1069s # Test 3 1069s ok 1 /charset/language_names_with_category 1069s ok 2 /charset/language_names_with_category_async 1069s # End of charset tests 1069s ok - glib/charset.test 1069s # Running test: glib/notify-init2.test 1069s TAP version 14 1069s # random seed: R02Scacb1371f350a605cca41843c8fa2e86 1069s 1..1 1069s # Start of properties tests 1069s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 1069s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1069s ok 1 /properties/notify-in-init2 1069s # End of properties tests 1069s ok - glib/notify-init2.test 1069s # Running test: glib/g-file-info.test 1069s TAP version 14 1069s # random seed: R02Sce21feb8de11724467da758563e76e87 1069s 1..6 1069s # Start of g-file-info tests 1069s ok 1 /g-file-info/test_g_file_info 1069s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 1069s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1069s ok 2 /g-file-info/xattrs 1069s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 1069s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 1069s ok 3 /g-file-info/set-modified-date-time-precision 1069s # Start of test_g_file_info tests 1069s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 1069s ok 4 /g-file-info/test_g_file_info/modification-time 1069s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 1069s ok 5 /g-file-info/test_g_file_info/access-time 1069s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 1069s ok 6 /g-file-info/test_g_file_info/creation-time 1069s # End of test_g_file_info tests 1069s # End of g-file-info tests 1069s ok - glib/g-file-info.test 1069s # Running test: glib/io-channel-basic.test 1069s TAP version 14 1069s # random seed: R02Sc11d5a2285d823c40ff155fb30e8fd0f 1069s 1..1 1069s # Start of gio tests 1069s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1069s # random seed: R02Scba6eca2142478046bffea84c8d419b4 1069s not ok - Test timed out after 300 seconds 1069s # Executing: glib/io-channel-basic.test 1069s # GLib-DEBUG: io-channel-basic: child writing 8+34 bytes to 6 1069s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1069s # GLib-DEBUG: io-channel-basic: ...from 5: 34 bytes 1069s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1069s # GLib-DEBUG: io-channel-basic: child writing 8+3425 bytes to 6 1069s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1069s # GLib-DEBUG: io-channel-basic: ...from 5: 3425 bytes 1069s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1069s # GLib-DEBUG: io-channel-basic: child writing 8+2910 bytes to 6 1069s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1069s # GLib-DEBUG: io-channel-basic: ...from 5: 2910 bytes 1069s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1070s # GLib-DEBUG: io-channel-basic: child writing 8+4288 bytes to 6 1070s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1070s # GLib-DEBUG: io-channel-basic: ...from 5: 4288 bytes 1070s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1070s # GLib-DEBUG: io-channel-basic: child writing 8+2498 bytes to 6 1070s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1070s # GLib-DEBUG: io-channel-basic: ...from 5: 2498 bytes 1070s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1070s # GLib-DEBUG: io-channel-basic: child writing 8+2124 bytes to 6 1070s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1070s # GLib-DEBUG: io-channel-basic: ...from 5: 2124 bytes 1070s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1070s # GLib-DEBUG: io-channel-basic: child writing 8+3990 bytes to 6 1070s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1070s # GLib-DEBUG: io-channel-basic: ...from 5: 3990 bytes 1070s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1071s # GLib-DEBUG: io-channel-basic: child writing 8+1440 bytes to 6 1071s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1071s # GLib-DEBUG: io-channel-basic: ...from 5: 1440 bytes 1071s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1071s # GLib-DEBUG: io-channel-basic: child writing 8+37 bytes to 6 1071s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1071s # GLib-DEBUG: io-channel-basic: ...from 5: 37 bytes 1071s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1071s # GLib-DEBUG: io-channel-basic: child writing 8+4980 bytes to 6 1071s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1071s # GLib-DEBUG: io-channel-basic: ...from 5: 4980 bytes 1071s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1071s # GLib-DEBUG: io-channel-basic: child writing 8+691 bytes to 6 1071s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1071s # GLib-DEBUG: io-channel-basic: ...from 5: 691 bytes 1071s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1072s # GLib-DEBUG: io-channel-basic: child writing 8+873 bytes to 6 1072s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1072s # GLib-DEBUG: io-channel-basic: ...from 5: 873 bytes 1072s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1072s # GLib-DEBUG: io-channel-basic: child writing 8+1573 bytes to 6 1072s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1072s # GLib-DEBUG: io-channel-basic: ...from 5: 1573 bytes 1072s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1072s # GLib-DEBUG: io-channel-basic: child writing 8+2485 bytes to 6 1072s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1072s # GLib-DEBUG: io-channel-basic: ...from 5: 2485 bytes 1072s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1072s # GLib-DEBUG: io-channel-basic: child writing 8+1937 bytes to 6 1072s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1072s # GLib-DEBUG: io-channel-basic: ...from 5: 1937 bytes 1072s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1073s # GLib-DEBUG: io-channel-basic: child writing 8+1062 bytes to 6 1073s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1073s # GLib-DEBUG: io-channel-basic: ...from 5: 1062 bytes 1073s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1073s # GLib-DEBUG: io-channel-basic: child writing 8+3142 bytes to 6 1073s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1073s # GLib-DEBUG: io-channel-basic: ...from 5: 3142 bytes 1073s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1073s # GLib-DEBUG: io-channel-basic: child writing 8+4716 bytes to 6 1073s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1073s # GLib-DEBUG: io-channel-basic: ...from 5: 4716 bytes 1073s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1074s # GLib-DEBUG: io-channel-basic: child writing 8+4101 bytes to 6 1074s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1074s # GLib-DEBUG: io-channel-basic: ...from 5: 4101 bytes 1074s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1074s # Executing: glib/io-channel-basic.test 1074s # GLib-DEBUG: io-channel-basic: child writing 8+1396 bytes to 6 1074s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1074s # GLib-DEBUG: io-channel-basic: ...from 5: 1396 bytes 1074s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1074s # GLib-DEBUG: io-channel-basic: child writing 8+662 bytes to 6 1074s # GLib-DEBUG: io-channel-basic: child exiting, closing 6 1074s # GLib-DEBUG: io-channel-basic: ...from 5: HUP IN 1074s # GLib-DEBUG: io-channel-basic: ...from 5: 662 bytes 1074s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1074s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1074s # random seed: R02S14268e56beb28adc5bb61b91cf5a1abe 1074s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1074s # random seed: R02Sfe7ee9476bcf3e4c1b436fc331c3f8f0 1074s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1074s # random seed: R02S05740b2196af69ac00808cd935b48323 1074s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1074s # random seed: R02S67bf4912e84d51231e4e7c4a18546acf 1074s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1074s # random seed: R02S6f5970d9a8322111185cc77a990a7858 1074s # GLib-DEBUG: io-channel-basic: child writing 8+4104 bytes to 15 1074s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1074s # GLib-DEBUG: io-channel-basic: ...from 14: 4104 bytes 1074s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1074s # GLib-DEBUG: io-channel-basic: child writing 8+3426 bytes to 9 1074s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1074s # GLib-DEBUG: io-channel-basic: ...from 8: 3426 bytes 1074s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1074s # GLib-DEBUG: io-channel-basic: child writing 8+1355 bytes to 11 1074s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1074s # GLib-DEBUG: io-channel-basic: ...from 10: 1355 bytes 1074s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1074s # GLib-DEBUG: io-channel-basic: child writing 8+4359 bytes to 17 1074s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1074s # GLib-DEBUG: io-channel-basic: ...from 16: 4359 bytes 1074s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1074s # GLib-DEBUG: io-channel-basic: child writing 8+1181 bytes to 13 1074s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1074s # GLib-DEBUG: io-channel-basic: ...from 12: 1181 bytes 1074s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1075s # GLib-DEBUG: io-channel-basic: child writing 8+1117 bytes to 15 1075s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1075s # GLib-DEBUG: io-channel-basic: ...from 14: 1117 bytes 1075s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1075s # GLib-DEBUG: io-channel-basic: child writing 8+1221 bytes to 9 1075s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1075s # GLib-DEBUG: io-channel-basic: ...from 8: 1221 bytes 1075s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1075s # GLib-DEBUG: io-channel-basic: child writing 8+4324 bytes to 17 1075s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1075s # GLib-DEBUG: io-channel-basic: ...from 16: 4324 bytes 1075s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1075s # GLib-DEBUG: io-channel-basic: child writing 8+4200 bytes to 13 1075s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1075s # GLib-DEBUG: io-channel-basic: ...from 12: 4200 bytes 1075s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1075s # GLib-DEBUG: io-channel-basic: child writing 8+2931 bytes to 11 1075s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1075s # GLib-DEBUG: io-channel-basic: ...from 10: 2931 bytes 1075s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1075s # GLib-DEBUG: io-channel-basic: child writing 8+39 bytes to 17 1075s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1075s # GLib-DEBUG: io-channel-basic: ...from 16: 39 bytes 1075s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1075s # GLib-DEBUG: io-channel-basic: child writing 8+3999 bytes to 13 1075s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1075s # GLib-DEBUG: io-channel-basic: ...from 12: 3999 bytes 1075s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1075s # GLib-DEBUG: io-channel-basic: child writing 8+3303 bytes to 15 1075s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1075s # GLib-DEBUG: io-channel-basic: ...from 14: 3303 bytes 1075s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1075s # GLib-DEBUG: io-channel-basic: child writing 8+4985 bytes to 9 1075s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1075s # GLib-DEBUG: io-channel-basic: ...from 8: 4985 bytes 1075s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1075s # GLib-DEBUG: io-channel-basic: child writing 8+1021 bytes to 11 1075s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1075s # GLib-DEBUG: io-channel-basic: ...from 10: 1021 bytes 1075s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1075s # GLib-DEBUG: io-channel-basic: child writing 8+1199 bytes to 13 1075s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1075s # GLib-DEBUG: io-channel-basic: ...from 12: 1199 bytes 1075s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1075s # GLib-DEBUG: io-channel-basic: child writing 8+4954 bytes to 17 1075s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1075s # GLib-DEBUG: io-channel-basic: ...from 16: 4954 bytes 1075s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1075s # GLib-DEBUG: io-channel-basic: child writing 8+3955 bytes to 9 1075s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1075s # GLib-DEBUG: io-channel-basic: ...from 8: 3955 bytes 1075s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1075s # GLib-DEBUG: io-channel-basic: child writing 8+1794 bytes to 15 1075s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1075s # GLib-DEBUG: io-channel-basic: ...from 14: 1794 bytes 1075s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1075s # GLib-DEBUG: io-channel-basic: child writing 8+4492 bytes to 11 1075s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1075s # GLib-DEBUG: io-channel-basic: ...from 10: 4492 bytes 1075s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1075s # GLib-DEBUG: io-channel-basic: child writing 8+3823 bytes to 13 1075s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1075s # GLib-DEBUG: io-channel-basic: ...from 12: 3823 bytes 1075s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1075s # GLib-DEBUG: io-channel-basic: child writing 8+3035 bytes to 17 1075s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1075s # GLib-DEBUG: io-channel-basic: ...from 16: 3035 bytes 1075s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1075s # GLib-DEBUG: io-channel-basic: child writing 8+663 bytes to 15 1075s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1075s # GLib-DEBUG: io-channel-basic: ...from 14: 663 bytes 1075s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1075s # GLib-DEBUG: io-channel-basic: child writing 8+1586 bytes to 9 1075s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1075s # GLib-DEBUG: io-channel-basic: ...from 8: 1586 bytes 1075s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1075s # GLib-DEBUG: io-channel-basic: child writing 8+3214 bytes to 11 1075s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1075s # GLib-DEBUG: io-channel-basic: ...from 10: 3214 bytes 1075s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1076s # GLib-DEBUG: io-channel-basic: child writing 8+1815 bytes to 17 1076s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1076s # GLib-DEBUG: io-channel-basic: ...from 16: 1815 bytes 1076s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1076s # GLib-DEBUG: io-channel-basic: child writing 8+828 bytes to 13 1076s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1076s # GLib-DEBUG: io-channel-basic: ...from 12: 828 bytes 1076s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1076s # GLib-DEBUG: io-channel-basic: child writing 8+3060 bytes to 15 1076s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1076s # GLib-DEBUG: io-channel-basic: ...from 14: 3060 bytes 1076s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1076s # GLib-DEBUG: io-channel-basic: child writing 8+4112 bytes to 9 1076s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1076s # GLib-DEBUG: io-channel-basic: ...from 8: 4112 bytes 1076s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1076s # GLib-DEBUG: io-channel-basic: child writing 8+1066 bytes to 11 1076s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1076s # GLib-DEBUG: io-channel-basic: ...from 10: 1066 bytes 1076s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1076s # GLib-DEBUG: io-channel-basic: child writing 8+688 bytes to 17 1076s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1076s # GLib-DEBUG: io-channel-basic: ...from 16: 688 bytes 1076s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1076s # GLib-DEBUG: io-channel-basic: child writing 8+2942 bytes to 13 1076s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1076s # GLib-DEBUG: io-channel-basic: ...from 12: 2942 bytes 1076s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1076s # GLib-DEBUG: io-channel-basic: child writing 8+2378 bytes to 9 1076s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1076s # GLib-DEBUG: io-channel-basic: ...from 8: 2378 bytes 1076s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1076s # GLib-DEBUG: io-channel-basic: child writing 8+3373 bytes to 15 1076s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1076s # GLib-DEBUG: io-channel-basic: ...from 14: 3373 bytes 1076s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1076s # GLib-DEBUG: io-channel-basic: child writing 8+3085 bytes to 11 1076s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1076s # GLib-DEBUG: io-channel-basic: ...from 10: 3085 bytes 1076s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1076s # GLib-DEBUG: io-channel-basic: child writing 8+880 bytes to 13 1076s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1076s # GLib-DEBUG: io-channel-basic: ...from 12: 880 bytes 1076s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1076s # GLib-DEBUG: io-channel-basic: child writing 8+1865 bytes to 9 1076s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1076s # GLib-DEBUG: io-channel-basic: ...from 8: 1865 bytes 1076s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1076s # GLib-DEBUG: io-channel-basic: child writing 8+4104 bytes to 17 1076s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1076s # GLib-DEBUG: io-channel-basic: ...from 16: 4104 bytes 1076s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1076s # GLib-DEBUG: io-channel-basic: child writing 8+3888 bytes to 15 1076s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1076s # GLib-DEBUG: io-channel-basic: ...from 14: 3888 bytes 1076s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1076s # GLib-DEBUG: io-channel-basic: child writing 8+3772 bytes to 11 1076s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1076s # GLib-DEBUG: io-channel-basic: ...from 10: 3772 bytes 1076s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1076s # GLib-DEBUG: io-channel-basic: child writing 8+3929 bytes to 13 1076s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1076s # GLib-DEBUG: io-channel-basic: ...from 12: 3929 bytes 1076s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1076s # GLib-DEBUG: io-channel-basic: child writing 8+1806 bytes to 17 1076s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1076s # GLib-DEBUG: io-channel-basic: ...from 16: 1806 bytes 1076s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1076s # GLib-DEBUG: io-channel-basic: child writing 8+164 bytes to 15 1076s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1076s # GLib-DEBUG: io-channel-basic: ...from 14: 164 bytes 1076s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1076s # GLib-DEBUG: io-channel-basic: child writing 8+376 bytes to 9 1076s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1076s # GLib-DEBUG: io-channel-basic: ...from 8: 376 bytes 1076s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1076s # GLib-DEBUG: io-channel-basic: child writing 8+2972 bytes to 11 1076s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1076s # GLib-DEBUG: io-channel-basic: ...from 10: 2972 bytes 1076s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1077s # GLib-DEBUG: io-channel-basic: child writing 8+2944 bytes to 13 1077s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1077s # GLib-DEBUG: io-channel-basic: ...from 12: 2944 bytes 1077s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1077s # GLib-DEBUG: io-channel-basic: child writing 8+1880 bytes to 17 1077s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1077s # GLib-DEBUG: io-channel-basic: ...from 16: 1880 bytes 1077s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1077s # GLib-DEBUG: io-channel-basic: child writing 8+542 bytes to 15 1077s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1077s # GLib-DEBUG: io-channel-basic: ...from 14: 542 bytes 1077s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1077s # GLib-DEBUG: io-channel-basic: child writing 8+3598 bytes to 9 1077s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1077s # GLib-DEBUG: io-channel-basic: ...from 8: 3598 bytes 1077s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1077s # GLib-DEBUG: io-channel-basic: child writing 8+2283 bytes to 11 1077s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1077s # GLib-DEBUG: io-channel-basic: ...from 10: 2283 bytes 1077s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1077s # GLib-DEBUG: io-channel-basic: child writing 8+4285 bytes to 13 1077s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1077s # GLib-DEBUG: io-channel-basic: ...from 12: 4285 bytes 1077s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1077s # GLib-DEBUG: io-channel-basic: child writing 8+1088 bytes to 17 1077s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1077s # GLib-DEBUG: io-channel-basic: ...from 16: 1088 bytes 1077s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1077s # GLib-DEBUG: io-channel-basic: child writing 8+4422 bytes to 11 1077s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1077s # GLib-DEBUG: io-channel-basic: ...from 10: 4422 bytes 1077s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1077s # GLib-DEBUG: io-channel-basic: child writing 8+3234 bytes to 9 1077s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1077s # GLib-DEBUG: io-channel-basic: ...from 8: 3234 bytes 1077s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1077s # GLib-DEBUG: io-channel-basic: child writing 8+3075 bytes to 15 1077s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1077s # GLib-DEBUG: io-channel-basic: ...from 14: 3075 bytes 1077s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1077s # GLib-DEBUG: io-channel-basic: child writing 8+2209 bytes to 13 1077s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1077s # GLib-DEBUG: io-channel-basic: ...from 12: 2209 bytes 1077s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1077s # GLib-DEBUG: io-channel-basic: child writing 8+2249 bytes to 17 1077s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1077s # GLib-DEBUG: io-channel-basic: ...from 16: 2249 bytes 1077s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1077s # GLib-DEBUG: io-channel-basic: child writing 8+3341 bytes to 15 1077s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1077s # GLib-DEBUG: io-channel-basic: ...from 14: 3341 bytes 1077s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1077s # GLib-DEBUG: io-channel-basic: child writing 8+1540 bytes to 11 1077s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1077s # GLib-DEBUG: io-channel-basic: ...from 10: 1540 bytes 1077s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1077s # GLib-DEBUG: io-channel-basic: child writing 8+4860 bytes to 9 1077s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1077s # GLib-DEBUG: io-channel-basic: ...from 8: 4860 bytes 1077s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1077s # GLib-DEBUG: io-channel-basic: child writing 8+3051 bytes to 13 1077s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1077s # GLib-DEBUG: io-channel-basic: ...from 12: 3051 bytes 1077s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1077s # GLib-DEBUG: io-channel-basic: child writing 8+1833 bytes to 17 1077s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1077s # GLib-DEBUG: io-channel-basic: ...from 16: 1833 bytes 1077s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1077s # GLib-DEBUG: io-channel-basic: child writing 8+2518 bytes to 15 1077s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1077s # GLib-DEBUG: io-channel-basic: ...from 14: 2518 bytes 1077s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1077s # GLib-DEBUG: io-channel-basic: child writing 8+1288 bytes to 11 1077s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1077s # GLib-DEBUG: io-channel-basic: ...from 10: 1288 bytes 1077s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1077s # GLib-DEBUG: io-channel-basic: child writing 8+1847 bytes to 9 1077s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1077s # GLib-DEBUG: io-channel-basic: ...from 8: 1847 bytes 1077s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1078s # GLib-DEBUG: io-channel-basic: child writing 8+3101 bytes to 13 1078s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1078s # GLib-DEBUG: io-channel-basic: ...from 12: 3101 bytes 1078s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1078s # GLib-DEBUG: io-channel-basic: child writing 8+188 bytes to 17 1078s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1078s # GLib-DEBUG: io-channel-basic: ...from 16: 188 bytes 1078s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1078s # GLib-DEBUG: io-channel-basic: child writing 8+3344 bytes to 15 1078s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1078s # GLib-DEBUG: io-channel-basic: ...from 14: 3344 bytes 1078s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1078s # GLib-DEBUG: io-channel-basic: child writing 8+2660 bytes to 11 1078s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1078s # GLib-DEBUG: io-channel-basic: ...from 10: 2660 bytes 1078s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1078s # GLib-DEBUG: io-channel-basic: child writing 8+1581 bytes to 9 1078s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1078s # GLib-DEBUG: io-channel-basic: ...from 8: 1581 bytes 1078s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1078s # GLib-DEBUG: io-channel-basic: child writing 8+1115 bytes to 13 1078s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1078s # GLib-DEBUG: io-channel-basic: ...from 12: 1115 bytes 1078s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1078s # GLib-DEBUG: io-channel-basic: child writing 8+695 bytes to 17 1078s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1078s # GLib-DEBUG: io-channel-basic: ...from 16: 695 bytes 1078s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1078s # GLib-DEBUG: io-channel-basic: child writing 8+387 bytes to 11 1078s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1078s # GLib-DEBUG: io-channel-basic: ...from 10: 387 bytes 1078s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1078s # GLib-DEBUG: io-channel-basic: child writing 8+610 bytes to 15 1078s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1078s # GLib-DEBUG: io-channel-basic: ...from 14: 610 bytes 1078s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1078s # GLib-DEBUG: io-channel-basic: child writing 8+2338 bytes to 9 1078s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1078s # GLib-DEBUG: io-channel-basic: ...from 8: 2338 bytes 1078s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1078s # GLib-DEBUG: io-channel-basic: child writing 8+4325 bytes to 13 1078s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1078s # GLib-DEBUG: io-channel-basic: ...from 12: 4325 bytes 1078s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1078s # GLib-DEBUG: io-channel-basic: child writing 8+1448 bytes to 17 1078s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1078s # GLib-DEBUG: io-channel-basic: ...from 16: 1448 bytes 1078s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1078s # GLib-DEBUG: io-channel-basic: child writing 8+995 bytes to 9 1078s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1078s # GLib-DEBUG: io-channel-basic: ...from 8: 995 bytes 1078s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1078s # GLib-DEBUG: io-channel-basic: child writing 8+546 bytes to 15 1078s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1078s # GLib-DEBUG: io-channel-basic: ...from 14: 546 bytes 1078s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1078s # GLib-DEBUG: io-channel-basic: child writing 8+198 bytes to 11 1078s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1078s # GLib-DEBUG: io-channel-basic: ...from 10: 198 bytes 1078s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1078s # GLib-DEBUG: io-channel-basic: child writing 8+3243 bytes to 13 1078s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1078s # GLib-DEBUG: io-channel-basic: ...from 12: 3243 bytes 1078s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1078s # GLib-DEBUG: io-channel-basic: child writing 8+1655 bytes to 17 1078s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1078s # GLib-DEBUG: io-channel-basic: ...from 16: 1655 bytes 1078s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1078s # GLib-DEBUG: io-channel-basic: child writing 8+584 bytes to 15 1078s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1078s # GLib-DEBUG: io-channel-basic: ...from 14: 584 bytes 1078s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1079s # GLib-DEBUG: io-channel-basic: child writing 8+1027 bytes to 9 1079s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1079s # GLib-DEBUG: io-channel-basic: ...from 8: 1027 bytes 1079s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1079s # GLib-DEBUG: io-channel-basic: child writing 8+4836 bytes to 11 1079s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1079s # GLib-DEBUG: io-channel-basic: ...from 10: 4836 bytes 1079s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1079s # Executing: glib/io-channel-basic.test 1079s # GLib-DEBUG: io-channel-basic: child writing 8+3603 bytes to 17 1079s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1079s # GLib-DEBUG: io-channel-basic: ...from 16: 3603 bytes 1079s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1079s # GLib-DEBUG: io-channel-basic: child writing 8+2267 bytes to 15 1079s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1079s # GLib-DEBUG: io-channel-basic: ...from 14: 2267 bytes 1079s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1079s # GLib-DEBUG: io-channel-basic: child writing 8+4417 bytes to 13 1079s # GLib-DEBUG: io-channel-basic: child writing 8+4781 bytes to 9 1079s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1079s # GLib-DEBUG: io-channel-basic: ...from 12: 4417 bytes 1079s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1079s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1079s # GLib-DEBUG: io-channel-basic: ...from 8: 4781 bytes 1079s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1079s # GLib-DEBUG: io-channel-basic: child writing 8+940 bytes to 11 1079s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1079s # GLib-DEBUG: io-channel-basic: ...from 10: 940 bytes 1079s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1079s # GLib-DEBUG: io-channel-basic: child writing 8+107 bytes to 17 1079s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1079s # GLib-DEBUG: io-channel-basic: ...from 16: 107 bytes 1079s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1079s # GLib-DEBUG: io-channel-basic: child writing 8+3054 bytes to 15 1079s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1079s # GLib-DEBUG: io-channel-basic: ...from 14: 3054 bytes 1079s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1079s # GLib-DEBUG: io-channel-basic: child writing 8+1772 bytes to 13 1079s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1079s # GLib-DEBUG: io-channel-basic: ...from 12: 1772 bytes 1079s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1079s # GLib-DEBUG: io-channel-basic: child writing 8+3162 bytes to 11 1079s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1079s # GLib-DEBUG: io-channel-basic: ...from 10: 3162 bytes 1079s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1079s # GLib-DEBUG: io-channel-basic: child writing 8+562 bytes to 9 1079s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1079s # GLib-DEBUG: io-channel-basic: ...from 8: 562 bytes 1079s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1079s # GLib-DEBUG: io-channel-basic: child writing 8+3193 bytes to 15 1079s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1079s # GLib-DEBUG: io-channel-basic: ...from 14: 3193 bytes 1079s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1079s # GLib-DEBUG: io-channel-basic: child writing 8+3734 bytes to 17 1079s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1079s # GLib-DEBUG: io-channel-basic: ...from 16: 3734 bytes 1079s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1079s # GLib-DEBUG: io-channel-basic: child writing 8+3963 bytes to 13 1079s # GLib-DEBUG: io-channel-basic: child exiting, closing 13 1079s # GLib-DEBUG: io-channel-basic: ...from 12: HUP IN 1079s # GLib-DEBUG: io-channel-basic: ...from 12: 3963 bytes 1079s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1079s # GLib-DEBUG: io-channel-basic: child writing 8+1938 bytes to 11 1079s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1079s # GLib-DEBUG: io-channel-basic: ...from 10: 1938 bytes 1079s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1079s # GLib-DEBUG: io-channel-basic: child writing 8+3241 bytes to 9 1079s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1079s # GLib-DEBUG: io-channel-basic: ...from 8: 3241 bytes 1079s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1080s # GLib-DEBUG: io-channel-basic: child writing 8+1388 bytes to 17 1080s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1080s # GLib-DEBUG: io-channel-basic: ...from 16: 1388 bytes 1080s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1080s # GLib-DEBUG: io-channel-basic: child writing 8+3634 bytes to 15 1080s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1080s # GLib-DEBUG: io-channel-basic: ...from 14: 3634 bytes 1080s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1080s # GLib-DEBUG: io-channel-basic: child writing 8+3187 bytes to 9 1080s # GLib-DEBUG: io-channel-basic: child exiting, closing 9 1080s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN 1080s # GLib-DEBUG: io-channel-basic: ...from 8: 3187 bytes 1080s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1080s # GLib-DEBUG: io-channel-basic: child writing 8+2430 bytes to 11 1080s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1080s # GLib-DEBUG: io-channel-basic: ...from 10: 2430 bytes 1080s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1080s # GLib-DEBUG: io-channel-basic: child writing 8+1620 bytes to 17 1080s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1080s # GLib-DEBUG: io-channel-basic: ...from 16: 1620 bytes 1080s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1080s # GLib-DEBUG: io-channel-basic: child writing 8+2705 bytes to 15 1080s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1080s # GLib-DEBUG: io-channel-basic: ...from 14: 2705 bytes 1080s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1080s # GLib-DEBUG: io-channel-basic: child exiting, closing 15 1080s # GLib-DEBUG: io-channel-basic: ...from 14: HUP 1080s # GLib-DEBUG: io-channel-basic: child writing 8+1566 bytes to 11 1080s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1080s # GLib-DEBUG: io-channel-basic: ...from 10: 1566 bytes 1080s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1080s # GLib-DEBUG: io-channel-basic: child writing 8+4608 bytes to 17 1080s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1080s # GLib-DEBUG: io-channel-basic: ...from 16: 4608 bytes 1080s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1080s # GLib-DEBUG: io-channel-basic: child writing 8+1039 bytes to 11 1080s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1080s # GLib-DEBUG: io-channel-basic: ...from 10: 1039 bytes 1080s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1080s # GLib-DEBUG: io-channel-basic: child writing 8+807 bytes to 17 1080s # GLib-DEBUG: io-channel-basic: child exiting, closing 17 1080s # GLib-DEBUG: io-channel-basic: ...from 16: HUP IN 1080s # GLib-DEBUG: io-channel-basic: ...from 16: 807 bytes 1080s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1080s # GLib-DEBUG: io-channel-basic: child writing 8+3597 bytes to 11 1080s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1080s # GLib-DEBUG: io-channel-basic: ...from 10: 3597 bytes 1080s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1081s # GLib-DEBUG: io-channel-basic: child writing 8+140 bytes to 11 1081s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1081s # GLib-DEBUG: io-channel-basic: ...from 10: 140 bytes 1081s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1081s # GLib-DEBUG: io-channel-basic: child writing 8+658 bytes to 11 1081s # GLib-DEBUG: io-channel-basic: child exiting, closing 11 1081s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN 1081s # GLib-DEBUG: io-channel-basic: ...from 10: 658 bytes 1081s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1081s ok 1 /gio/io-basics 1081s # slow test /gio/io-basics executed in 12.27 secs 1081s # End of gio tests 1081s ok - glib/io-channel-basic.test 1081s # Running test: glib/gdbus-serialization.test 1081s TAP version 14 1081s # random seed: R02S898e2e814b764ea1dffd1c46f22ceff7 1081s 1..18 1081s # Start of gdbus tests 1081s # Start of message-serialize tests 1081s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/basic/.dirs/home 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/basic/.dirs/cache 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/basic/.dirs/system-config2 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/basic/.dirs/config 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/basic/.dirs/system-data2 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/basic/.dirs/data 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/basic/.dirs/state 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/basic/.dirs/runtime 1081s ok 1 /gdbus/message-serialize/basic 1081s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/complex/.dirs/home 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/complex/.dirs/cache 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/complex/.dirs/system-config2 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/complex/.dirs/config 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/complex/.dirs/system-data2 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/complex/.dirs/data 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/complex/.dirs/state 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/complex/.dirs/runtime 1081s ok 2 /gdbus/message-serialize/complex 1081s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/invalid/.dirs/home 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/invalid/.dirs/cache 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/invalid/.dirs/system-config2 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/invalid/.dirs/config 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/invalid/.dirs/system-data2 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/invalid/.dirs/data 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/invalid/.dirs/state 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/invalid/.dirs/runtime 1081s ok 3 /gdbus/message-serialize/invalid 1081s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/header-checks/.dirs/home 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/header-checks/.dirs/cache 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/header-checks/.dirs/system-config2 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/header-checks/.dirs/config 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/header-checks/.dirs/system-data2 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/header-checks/.dirs/data 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/header-checks/.dirs/state 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/header-checks/.dirs/runtime 1081s ok 4 /gdbus/message-serialize/header-checks 1081s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/double-array/.dirs/home 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/double-array/.dirs/cache 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/double-array/.dirs/system-config2 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/double-array/.dirs/config 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/double-array/.dirs/system-data2 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/double-array/.dirs/data 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/double-array/.dirs/state 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/double-array/.dirs/runtime 1081s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 1081s ok 5 /gdbus/message-serialize/double-array 1081s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/empty-structure/.dirs/home 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/empty-structure/.dirs/cache 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/empty-structure/.dirs/system-config2 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/empty-structure/.dirs/config 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/empty-structure/.dirs/system-data2 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/empty-structure/.dirs/data 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/empty-structure/.dirs/state 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/empty-structure/.dirs/runtime 1081s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 1081s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1081s ok 6 /gdbus/message-serialize/empty-structure 1081s # Start of header-checks tests 1081s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/header-checks/valid/.dirs/home 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/header-checks/valid/.dirs/cache 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/header-checks/valid/.dirs/config 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/header-checks/valid/.dirs/data 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/header-checks/valid/.dirs/state 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-serialize/header-checks/valid/.dirs/runtime 1081s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 1081s ok 7 /gdbus/message-serialize/header-checks/valid 1081s # End of header-checks tests 1081s # End of message-serialize tests 1081s # Start of message-parse tests 1081s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 1081s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 1081s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 1081s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/non-signature-header/.dirs/home 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/non-signature-header/.dirs/cache 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/non-signature-header/.dirs/system-config2 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/non-signature-header/.dirs/config 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/non-signature-header/.dirs/system-data2 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/non-signature-header/.dirs/data 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/non-signature-header/.dirs/state 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/non-signature-header/.dirs/runtime 1081s ok 9 /gdbus/message-parse/non-signature-header 1081s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/empty-signature-header/.dirs/home 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/empty-signature-header/.dirs/cache 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/empty-signature-header/.dirs/system-config2 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/empty-signature-header/.dirs/config 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/empty-signature-header/.dirs/system-data2 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/empty-signature-header/.dirs/data 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/empty-signature-header/.dirs/state 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/empty-signature-header/.dirs/runtime 1081s ok 10 /gdbus/message-parse/empty-signature-header 1081s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/multiple-signature-header/.dirs/home 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/multiple-signature-header/.dirs/cache 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/multiple-signature-header/.dirs/config 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/multiple-signature-header/.dirs/data 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/multiple-signature-header/.dirs/state 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/multiple-signature-header/.dirs/runtime 1081s ok 11 /gdbus/message-parse/multiple-signature-header 1081s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/over-long-signature-header/.dirs/home 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/over-long-signature-header/.dirs/cache 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/over-long-signature-header/.dirs/config 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/over-long-signature-header/.dirs/data 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/over-long-signature-header/.dirs/state 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/over-long-signature-header/.dirs/runtime 1081s ok 12 /gdbus/message-parse/over-long-signature-header 1081s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/deep-header-nesting/.dirs/home 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/deep-header-nesting/.dirs/cache 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/deep-header-nesting/.dirs/config 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/deep-header-nesting/.dirs/data 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/deep-header-nesting/.dirs/state 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/deep-header-nesting/.dirs/runtime 1081s ok 13 /gdbus/message-parse/deep-header-nesting 1081s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/deep-body-nesting/.dirs/home 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/deep-body-nesting/.dirs/cache 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/deep-body-nesting/.dirs/config 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/deep-body-nesting/.dirs/data 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/deep-body-nesting/.dirs/state 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/deep-body-nesting/.dirs/runtime 1081s ok 14 /gdbus/message-parse/deep-body-nesting 1081s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/truncated/.dirs/home 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/truncated/.dirs/cache 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/truncated/.dirs/system-config2 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/truncated/.dirs/config 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/truncated/.dirs/system-data2 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/truncated/.dirs/data 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/truncated/.dirs/state 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/truncated/.dirs/runtime 1081s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 1081s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 1081s ok 15 /gdbus/message-parse/truncated 1081s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/empty-structure/.dirs/home 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/empty-structure/.dirs/cache 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/empty-structure/.dirs/system-config2 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/empty-structure/.dirs/config 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/empty-structure/.dirs/system-data2 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/empty-structure/.dirs/data 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/empty-structure/.dirs/state 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/empty-structure/.dirs/runtime 1081s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 1081s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1081s ok 16 /gdbus/message-parse/empty-structure 1081s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/missing-header/.dirs/home 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/missing-header/.dirs/cache 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/missing-header/.dirs/system-config2 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/missing-header/.dirs/config 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/missing-header/.dirs/system-data2 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/missing-header/.dirs/data 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/missing-header/.dirs/state 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/missing-header/.dirs/runtime 1081s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 1081s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1081s ok 17 /gdbus/message-parse/missing-header 1081s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/invalid-header-type/.dirs/home 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/invalid-header-type/.dirs/cache 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/invalid-header-type/.dirs/system-config2 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/invalid-header-type/.dirs/config 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/invalid-header-type/.dirs/system-data2 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/invalid-header-type/.dirs/data 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/invalid-header-type/.dirs/state 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_IUSWZ2/gdbus/message-parse/invalid-header-type/.dirs/runtime 1081s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 1081s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1081s ok 18 /gdbus/message-parse/invalid-header-type 1081s # End of message-parse tests 1081s # End of gdbus tests 1081s ok - glib/gdbus-serialization.test 1081s # Running test: glib/appmonitor.test 1081s TAP version 14 1081s # random seed: R02S073f383727913b5f72aa51f2ab15cd5c 1081s 1..1 1081s # Start of monitor tests 1081s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_UKHWZ2/monitor/app/.dirs/home 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_UKHWZ2/monitor/app/.dirs/cache 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_UKHWZ2/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_UKHWZ2/monitor/app/.dirs/system-config2 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_UKHWZ2/monitor/app/.dirs/config 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_UKHWZ2/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_UKHWZ2/monitor/app/.dirs/system-data2 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_UKHWZ2/monitor/app/.dirs/data 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_UKHWZ2/monitor/app/.dirs/state 1081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_UKHWZ2/monitor/app/.dirs/runtime 1081s # Using data directory: /tmp/test_appmonitor_UKHWZ2/monitor/app/.dirs/data 1081s ok 1 /monitor/app 1081s # End of monitor tests 1081s ok - glib/appmonitor.test 1081s # Running test: glib/mainloop.test 1081s TAP version 14 1081s # random seed: R02S7500dd03c9453b9242e01ed2566f7170 1081s 1..45 1081s # Start of maincontext tests 1081s ok 1 /maincontext/basic 1081s # Add same-priority sources: 28 1081s # Find each source: 9 1081s # Remove in random order: 37 1081s ok 2 /maincontext/nsources_same_priority 1081s # Add different-priority sources: 28 1081s # Find each source: 7 1081s # Remove in random order: 43 1081s ok 3 /maincontext/nsources_different_priority 1081s # Add sources from threads: 194 1082s # Remove sources from threads: 70 1082s ok 4 /maincontext/nsources_threadpool 1082s ok 5 /maincontext/source_finalization 1082s # /maincontext/idle-once summary: Test g_idle_add_once() works 1082s ok 6 /maincontext/idle-once 1082s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1082s ok 7 /maincontext/timeout-once 1082s # Start of source_finalization_from_source tests 1082s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1082s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1082s ok 8 /maincontext/source_finalization_from_source/0 1082s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1082s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1082s ok 9 /maincontext/source_finalization_from_source/1 1082s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1082s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1082s ok 10 /maincontext/source_finalization_from_source/2 1082s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1082s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1082s ok 11 /maincontext/source_finalization_from_source/3 1082s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1082s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1082s ok 12 /maincontext/source_finalization_from_source/4 1082s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1082s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1082s ok 13 /maincontext/source_finalization_from_source/5 1082s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1082s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1082s ok 14 /maincontext/source_finalization_from_source/6 1082s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1082s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1082s ok 15 /maincontext/source_finalization_from_source/7 1082s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1082s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1082s ok 16 /maincontext/source_finalization_from_source/8 1082s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1082s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1082s ok 17 /maincontext/source_finalization_from_source/9 1082s # End of source_finalization_from_source tests 1082s # Start of source_finalization_from_dispatch tests 1082s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1082s ok 18 /maincontext/source_finalization_from_dispatch/0 1082s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1082s ok 19 /maincontext/source_finalization_from_dispatch/1 1082s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1082s ok 20 /maincontext/source_finalization_from_dispatch/2 1082s # End of source_finalization_from_dispatch tests 1082s # End of maincontext tests 1082s # Start of mainloop tests 1082s ok 21 /mainloop/basic 1082s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1082s ok 23 /mainloop/priorities 1082s ok 24 /mainloop/invoke 1082s # slow test /mainloop/invoke executed in 0.50 secs 1083s ok 25 /mainloop/child_sources 1083s # slow test /mainloop/child_sources executed in 1.21 secs 1084s # Executing: glib/mainloop.test 1085s ok 26 /mainloop/recursive_child_sources 1085s # slow test /mainloop/recursive_child_sources executed in 2.19 secs 1085s ok 27 /mainloop/recursive_loop_child_sources 1086s ok 28 /mainloop/swapping_child_sources 1086s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1086s ok 29 /mainloop/blocked_child_sources 1087s ok 30 /mainloop/source_time 1087s # slow test /mainloop/source_time executed in 1.00 secs 1087s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1087s ok 31 /mainloop/overflow 1087s ok 32 /mainloop/ready-time 1087s # slow test /mainloop/ready-time executed in 0.50 secs 1087s ok 33 /mainloop/wakeup 1087s ok 34 /mainloop/remove-invalid 1087s ok 35 /mainloop/unref-while-pending 1088s ok 36 /mainloop/unix-fd 1088s # slow test /mainloop/unix-fd executed in 1.39 secs 1088s ok 37 /mainloop/unix-fd-source 1088s ok 38 /mainloop/source-unix-fd-api 1089s ok 39 /mainloop/wait 1089s ok 40 /mainloop/unix-file-poll 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1089s ok 41 /mainloop/unix-fd-priority 1089s ok 42 /mainloop/nfds 1089s ok 43 /mainloop/steal-fd 1089s # Start of ownerless-polling tests 1089s ok 44 /mainloop/ownerless-polling/attach-first 1089s ok 45 /mainloop/ownerless-polling/pop-first 1089s # End of ownerless-polling tests 1089s # End of mainloop tests 1089s ok - glib/mainloop.test 1089s # Running test: glib/guuid.test 1089s TAP version 14 1089s # random seed: R02Se4eca60df9d0b8bfcda2061a02089c23 1089s 1..2 1089s # Start of uuid tests 1089s ok 1 /uuid/string 1089s ok 2 /uuid/random 1089s # End of uuid tests 1089s ok - glib/guuid.test 1089s # Running test: glib/contexts.test 1089s TAP version 14 1089s # random seed: R02Sa15f212df63b3dcbb24511eff0ff0821 1089s 1..5 1089s # Start of gio tests 1089s # Start of contexts tests 1089s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1089s ok 1 /gio/contexts/thread-independence 1089s ok 2 /gio/contexts/context-independence 1089s # Start of context-specific tests 1089s ok 3 /gio/contexts/context-specific/identity 1089s # Executing: glib/contexts.test 1089s ok 4 /gio/contexts/context-specific/emit 1089s ok 5 /gio/contexts/context-specific/emit-and-unref 1089s # End of context-specific tests 1089s # End of contexts tests 1089s # End of gio tests 1089s ok - glib/contexts.test 1089s # Running test: glib/trash.test 1089s TAP version 14 1089s # random seed: R02Sb5bc69e65f7ea82ec90da8c02457e55a 1089s 1..3 1089s # Start of trash tests 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 1089s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1089s # File: /tmp/test-trash5RKYZ2 (parent st_dev: 64769) 1089s # Home: /home/ubuntu (st_dev: 64769) 1089s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 1089s # Target: /home/ubuntu/.local (mount: /) 1089s # Tmp: /tmp/test-trash4ULYZ2 (mount: /) 1089s ok 2 /trash/symlinks # SKIP The tmp has to be on another mount than the home to run this test 1089s ok 3 /trash/long-filename 1089s # End of trash tests 1089s ok - glib/trash.test 1089s # Running test: glib/socket-listener.test 1089s TAP version 14 1089s # random seed: R02Sc2e824f5aec4e8919e48f8b8dcc9f2e0 1089s 1..1 1089s # Start of socket-listener tests 1089s ok 1 /socket-listener/event-signal 1089s # End of socket-listener tests 1089s ok - glib/socket-listener.test 1089s # Running test: glib/gdbus-connection.test 1089s TAP version 14 1089s # random seed: R02Sa686f3347f5e1352a3092718a2d2fe25 1089s 1..9 1089s # Start of gdbus tests 1089s # Start of connection tests 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/bus-failure/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/bus-failure/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/bus-failure/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/bus-failure/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/bus-failure/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/bus-failure/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/bus-failure/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/bus-failure/.dirs/runtime 1089s ok 1 /gdbus/connection/bus-failure 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/basic/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/basic/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/basic/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/basic/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/basic/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/basic/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/basic/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/basic/.dirs/runtime 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1089s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s ok 2 /gdbus/connection/basic 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/life-cycle/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/life-cycle/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/life-cycle/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/life-cycle/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/life-cycle/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/life-cycle/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/life-cycle/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/life-cycle/.dirs/runtime 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1089s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s ok 3 /gdbus/connection/life-cycle 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/send/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/send/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/send/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/send/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/send/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/send/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/send/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/send/.dirs/runtime 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1089s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s ok 4 /gdbus/connection/send 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/signals/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/signals/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/signals/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/signals/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/signals/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/signals/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/signals/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/signals/.dirs/runtime 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1089s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s ok 5 /gdbus/connection/signals 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/signal-match-rules/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/signal-match-rules/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/signal-match-rules/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/signal-match-rules/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/signal-match-rules/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/signal-match-rules/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/signal-match-rules/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/signal-match-rules/.dirs/runtime 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1089s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s ok 6 /gdbus/connection/signal-match-rules 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/filter/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/filter/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/filter/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/filter/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/filter/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/filter/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/filter/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/filter/.dirs/runtime 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1089s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s ok 7 /gdbus/connection/filter 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/serials/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/serials/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/serials/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/serials/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/serials/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/serials/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/serials/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/serials/.dirs/runtime 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1089s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s ok 8 /gdbus/connection/serials 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/cancel/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/cancel/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/cancel/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/cancel/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/cancel/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/cancel/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/cancel/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_SIBYZ2/gdbus/connection/cancel/.dirs/runtime 1089s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1089s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1089s ok 9 /gdbus/connection/cancel 1089s # End of connection tests 1089s # End of gdbus tests 1089s ok - glib/gdbus-connection.test 1089s # Running test: glib/registered-type-info.test 1089s TAP version 14 1089s # random seed: R02S58195b820f1039dad33ffe57aeaa0343 1089s 1..1 1089s # Start of registered-type-info tests 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_P0DWZ2/registered-type-info/boxed/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_P0DWZ2/registered-type-info/boxed/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_P0DWZ2/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_P0DWZ2/registered-type-info/boxed/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_P0DWZ2/registered-type-info/boxed/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_P0DWZ2/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_P0DWZ2/registered-type-info/boxed/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_P0DWZ2/registered-type-info/boxed/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_P0DWZ2/registered-type-info/boxed/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_P0DWZ2/registered-type-info/boxed/.dirs/runtime 1089s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1089s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 1089s # Expecting CClosure to not be boxed 1089s # Expecting TypeCValue to not be boxed 1089s # Expecting InitiallyUnownedClass to not be boxed 1089s # Expecting BookmarkFile to be boxed 1089s # Expecting Closure to be boxed 1089s # Expecting Object to not be boxed 1089s ok 1 /registered-type-info/boxed 1089s # End of registered-type-info tests 1089s ok - glib/registered-type-info.test 1089s # Running test: glib/throws.test 1089s TAP version 14 1089s # random seed: R02Sa16ac11ad525b77323768c63504a7d4a 1089s 1..3 1089s # Start of throws tests 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_JPCWZ2/throws/invoke-gerror/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_JPCWZ2/throws/invoke-gerror/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_JPCWZ2/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_JPCWZ2/throws/invoke-gerror/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_JPCWZ2/throws/invoke-gerror/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_JPCWZ2/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_JPCWZ2/throws/invoke-gerror/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_JPCWZ2/throws/invoke-gerror/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_JPCWZ2/throws/invoke-gerror/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_JPCWZ2/throws/invoke-gerror/.dirs/runtime 1089s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1089s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 1089s ok 1 /throws/invoke-gerror 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_JPCWZ2/throws/vfunc-can-throw-gerror/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_JPCWZ2/throws/vfunc-can-throw-gerror/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_JPCWZ2/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_JPCWZ2/throws/vfunc-can-throw-gerror/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_JPCWZ2/throws/vfunc-can-throw-gerror/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_JPCWZ2/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_JPCWZ2/throws/vfunc-can-throw-gerror/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_JPCWZ2/throws/vfunc-can-throw-gerror/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_JPCWZ2/throws/vfunc-can-throw-gerror/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_JPCWZ2/throws/vfunc-can-throw-gerror/.dirs/runtime 1089s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1089s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 1089s ok 2 /throws/vfunc-can-throw-gerror 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_JPCWZ2/throws/callback-can-throw-gerror/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_JPCWZ2/throws/callback-can-throw-gerror/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_JPCWZ2/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_JPCWZ2/throws/callback-can-throw-gerror/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_JPCWZ2/throws/callback-can-throw-gerror/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_JPCWZ2/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_JPCWZ2/throws/callback-can-throw-gerror/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_JPCWZ2/throws/callback-can-throw-gerror/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_JPCWZ2/throws/callback-can-throw-gerror/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_JPCWZ2/throws/callback-can-throw-gerror/.dirs/runtime 1089s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1089s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 1089s ok 3 /throws/callback-can-throw-gerror 1089s # End of throws tests 1089s ok - glib/throws.test 1089s # Running test: glib/properties-refcount1.test 1089s TAP version 14 1089s # random seed: R02S9ae997d72271e6b2d29a25705f4f0834 1089s 1..1 1089s # Start of gobject tests 1089s # Start of refcount tests 1089s # .f 1089s # .c 1089s # .e 1089s # .d 1089s # .b 1089s # .d 1089s # .e 1089s # .c 1089s # .f 1089s # .b 1090s # .d 1090s # .e 1090s # .c 1090s # .b 1090s # .f 1090s # .f 1090s # .d 1090s # .c 1090s # .e 1090s # .d 1090s # .b 1090s # .f 1090s # .d 1090s # .c 1090s # .e 1090s # .b 1090s # .d 1090s # .f 1090s # .c 1090s # .c 1090s # .e 1090s # .d 1090s # .f 1090s # .b 1090s # .c 1090s # .e 1090s # .d 1091s # .f 1091s # .c 1091s # .b 1091s # .e 1091s # .d 1091s # .f 1091s # .c 1091s # .e 1091s # .b 1091s # .f 1091s # .d 1091s # .c 1091s # .e 1091s # .b 1091s # .f 1091s # .d 1091s # .c 1091s # .e 1091s # .b 1091s # .f 1091s # .c 1091s # .d 1091s # .e 1092s # .b 1092s # .f 1092s # .d 1092s # .e 1092s # .c 1092s # .f 1092s # .b 1092s # .e 1092s # .d 1092s # .c 1092s # .f 1092s ok 1 /gobject/refcount/properties-1 1092s # slow test /gobject/refcount/properties-1 executed in 3.00 secs 1092s # End of refcount tests 1092s # End of gobject tests 1092s ok - glib/properties-refcount1.test 1092s # Running test: glib/fileutils.test 1092s TAP version 14 1092s # random seed: R02Saa51d62b1af49e36cf09f0dc42ff0aad 1092s 1..27 1092s # Start of fileutils tests 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_U9XVZ2/fileutils/paths/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/paths/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_U9XVZ2/fileutils/paths/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/paths/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_U9XVZ2/fileutils/paths/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/paths/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/paths/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_U9XVZ2/fileutils/paths/.dirs/runtime 1092s ok 1 /fileutils/paths 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_U9XVZ2/fileutils/build-path/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/build-path/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_U9XVZ2/fileutils/build-path/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/build-path/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_U9XVZ2/fileutils/build-path/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/build-path/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/build-path/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_U9XVZ2/fileutils/build-path/.dirs/runtime 1092s ok 2 /fileutils/build-path 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_U9XVZ2/fileutils/build-pathv/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/build-pathv/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_U9XVZ2/fileutils/build-pathv/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/build-pathv/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_U9XVZ2/fileutils/build-pathv/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/build-pathv/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/build-pathv/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_U9XVZ2/fileutils/build-pathv/.dirs/runtime 1092s ok 3 /fileutils/build-pathv 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_U9XVZ2/fileutils/build-filename/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/build-filename/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_U9XVZ2/fileutils/build-filename/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/build-filename/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_U9XVZ2/fileutils/build-filename/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/build-filename/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/build-filename/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_U9XVZ2/fileutils/build-filename/.dirs/runtime 1092s ok 4 /fileutils/build-filename 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_U9XVZ2/fileutils/build-filenamev/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/build-filenamev/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_U9XVZ2/fileutils/build-filenamev/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/build-filenamev/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_U9XVZ2/fileutils/build-filenamev/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/build-filenamev/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/build-filenamev/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_U9XVZ2/fileutils/build-filenamev/.dirs/runtime 1092s ok 5 /fileutils/build-filenamev 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_U9XVZ2/fileutils/mkdir-with-parents/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/mkdir-with-parents/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_U9XVZ2/fileutils/mkdir-with-parents/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/mkdir-with-parents/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_U9XVZ2/fileutils/mkdir-with-parents/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/mkdir-with-parents/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/mkdir-with-parents/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_U9XVZ2/fileutils/mkdir-with-parents/.dirs/runtime 1092s # We do not have CAP_DAC_OVERRIDE or equivalent 1092s ok 6 /fileutils/mkdir-with-parents 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_U9XVZ2/fileutils/mkdir-with-parents-permission/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/mkdir-with-parents-permission/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_U9XVZ2/fileutils/mkdir-with-parents-permission/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/mkdir-with-parents-permission/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_U9XVZ2/fileutils/mkdir-with-parents-permission/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/mkdir-with-parents-permission/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/mkdir-with-parents-permission/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_U9XVZ2/fileutils/mkdir-with-parents-permission/.dirs/runtime 1092s # We do not have CAP_DAC_OVERRIDE or equivalent 1092s ok 7 /fileutils/mkdir-with-parents-permission 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_U9XVZ2/fileutils/format-size-for-display/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/format-size-for-display/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_U9XVZ2/fileutils/format-size-for-display/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/format-size-for-display/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_U9XVZ2/fileutils/format-size-for-display/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/format-size-for-display/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/format-size-for-display/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_U9XVZ2/fileutils/format-size-for-display/.dirs/runtime 1092s ok 8 /fileutils/format-size-for-display 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_U9XVZ2/fileutils/errors/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/errors/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_U9XVZ2/fileutils/errors/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/errors/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_U9XVZ2/fileutils/errors/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/errors/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/errors/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_U9XVZ2/fileutils/errors/.dirs/runtime 1092s ok 9 /fileutils/errors 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_U9XVZ2/fileutils/basename/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/basename/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_U9XVZ2/fileutils/basename/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/basename/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_U9XVZ2/fileutils/basename/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/basename/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/basename/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_U9XVZ2/fileutils/basename/.dirs/runtime 1092s ok 10 /fileutils/basename 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_U9XVZ2/fileutils/get-basename/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/get-basename/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_U9XVZ2/fileutils/get-basename/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/get-basename/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_U9XVZ2/fileutils/get-basename/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/get-basename/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/get-basename/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_U9XVZ2/fileutils/get-basename/.dirs/runtime 1092s ok 11 /fileutils/get-basename 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_U9XVZ2/fileutils/dirname/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/dirname/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_U9XVZ2/fileutils/dirname/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/dirname/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_U9XVZ2/fileutils/dirname/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/dirname/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/dirname/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_U9XVZ2/fileutils/dirname/.dirs/runtime 1092s ok 12 /fileutils/dirname 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_U9XVZ2/fileutils/dir-make-tmp/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/dir-make-tmp/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_U9XVZ2/fileutils/dir-make-tmp/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/dir-make-tmp/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_U9XVZ2/fileutils/dir-make-tmp/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/dir-make-tmp/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/dir-make-tmp/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_U9XVZ2/fileutils/dir-make-tmp/.dirs/runtime 1092s ok 13 /fileutils/dir-make-tmp 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_U9XVZ2/fileutils/file-open-tmp/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/file-open-tmp/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_U9XVZ2/fileutils/file-open-tmp/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/file-open-tmp/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_U9XVZ2/fileutils/file-open-tmp/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/file-open-tmp/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/file-open-tmp/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_U9XVZ2/fileutils/file-open-tmp/.dirs/runtime 1092s ok 14 /fileutils/file-open-tmp 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_U9XVZ2/fileutils/file-test/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/file-test/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_U9XVZ2/fileutils/file-test/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/file-test/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_U9XVZ2/fileutils/file-test/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/file-test/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/file-test/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_U9XVZ2/fileutils/file-test/.dirs/runtime 1092s ok 15 /fileutils/file-test 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_U9XVZ2/fileutils/mkstemp/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/mkstemp/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_U9XVZ2/fileutils/mkstemp/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/mkstemp/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_U9XVZ2/fileutils/mkstemp/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/mkstemp/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/mkstemp/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_U9XVZ2/fileutils/mkstemp/.dirs/runtime 1092s ok 16 /fileutils/mkstemp 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_U9XVZ2/fileutils/mkdtemp/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/mkdtemp/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_U9XVZ2/fileutils/mkdtemp/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/mkdtemp/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_U9XVZ2/fileutils/mkdtemp/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/mkdtemp/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/mkdtemp/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_U9XVZ2/fileutils/mkdtemp/.dirs/runtime 1092s ok 17 /fileutils/mkdtemp 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_U9XVZ2/fileutils/get-contents/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/get-contents/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_U9XVZ2/fileutils/get-contents/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/get-contents/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_U9XVZ2/fileutils/get-contents/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/get-contents/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/get-contents/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_U9XVZ2/fileutils/get-contents/.dirs/runtime 1092s ok 18 /fileutils/get-contents 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_U9XVZ2/fileutils/get-contents-large-file/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/get-contents-large-file/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_U9XVZ2/fileutils/get-contents-large-file/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/get-contents-large-file/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_U9XVZ2/fileutils/get-contents-large-file/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/get-contents-large-file/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/get-contents-large-file/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_U9XVZ2/fileutils/get-contents-large-file/.dirs/runtime 1092s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_U9XVZ2/fileutils/set-contents/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/set-contents/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_U9XVZ2/fileutils/set-contents/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/set-contents/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_U9XVZ2/fileutils/set-contents/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/set-contents/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/set-contents/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_U9XVZ2/fileutils/set-contents/.dirs/runtime 1092s ok 20 /fileutils/set-contents 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_U9XVZ2/fileutils/set-contents-full/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/set-contents-full/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_U9XVZ2/fileutils/set-contents-full/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/set-contents-full/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_U9XVZ2/fileutils/set-contents-full/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/set-contents-full/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/set-contents-full/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_U9XVZ2/fileutils/set-contents-full/.dirs/runtime 1092s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 1092s # Flags 0 and test 0 1092s # Flags 0 and test 1 1092s # Flags 0 and test 2 1092s # Flags 0 and test 3 1092s # Flags 0 and test 4 1092s # Flags 0 and test 5 1092s # Flags 1 and test 0 1092s # Flags 1 and test 1 1092s # Flags 1 and test 2 1092s # Flags 1 and test 3 1092s # Flags 1 and test 4 1092s # Flags 1 and test 5 1092s # Flags 2 and test 0 1092s # Flags 2 and test 1 1092s # Flags 2 and test 2 1092s # Flags 2 and test 3 1092s # Flags 2 and test 4 1092s # Flags 2 and test 5 1092s # Flags 3 and test 0 1092s # Flags 3 and test 1 1092s # Flags 3 and test 2 1092s # Flags 3 and test 3 1092s # Flags 3 and test 4 1092s # Flags 3 and test 5 1092s # Flags 4 and test 0 1092s # Flags 4 and test 1 1092s # Flags 4 and test 2 1092s # Flags 4 and test 3 1092s # Flags 4 and test 4 1092s # Flags 4 and test 5 1092s # Flags 5 and test 0 1092s # Flags 5 and test 1 1092s # Flags 5 and test 2 1092s # Flags 5 and test 3 1092s # Flags 5 and test 4 1092s # Flags 5 and test 5 1092s # Flags 6 and test 0 1092s # Flags 6 and test 1 1092s # Flags 6 and test 2 1092s # Flags 6 and test 3 1092s # Flags 6 and test 4 1092s # Flags 6 and test 5 1092s ok 21 /fileutils/set-contents-full 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_U9XVZ2/fileutils/read-link/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/read-link/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_U9XVZ2/fileutils/read-link/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/read-link/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_U9XVZ2/fileutils/read-link/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/read-link/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/read-link/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_U9XVZ2/fileutils/read-link/.dirs/runtime 1092s ok 22 /fileutils/read-link 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_U9XVZ2/fileutils/stdio-wrappers/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/stdio-wrappers/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_U9XVZ2/fileutils/stdio-wrappers/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/stdio-wrappers/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_U9XVZ2/fileutils/stdio-wrappers/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/stdio-wrappers/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/stdio-wrappers/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_U9XVZ2/fileutils/stdio-wrappers/.dirs/runtime 1092s # We do not have CAP_DAC_OVERRIDE or equivalent 1092s ok 23 /fileutils/stdio-wrappers 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_U9XVZ2/fileutils/fopen-modes/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/fopen-modes/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_U9XVZ2/fileutils/fopen-modes/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/fopen-modes/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_U9XVZ2/fileutils/fopen-modes/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/fopen-modes/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/fopen-modes/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_U9XVZ2/fileutils/fopen-modes/.dirs/runtime 1092s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 1092s # Testing fopen() mode 'w' 1092s # Testing fopen() mode 'r' 1092s # Testing fopen() mode 'a' 1092s # Testing fopen() mode 'w+' 1092s # Testing fopen() mode 'r+' 1092s # Testing fopen() mode 'a+' 1092s # Testing fopen() mode 'wb' 1092s # Testing fopen() mode 'rb' 1092s # Testing fopen() mode 'ab' 1092s # Testing fopen() mode 'w+b' 1092s # Testing fopen() mode 'r+b' 1092s # Testing fopen() mode 'a+b' 1092s # Testing fopen() mode 'wb+' 1092s # Testing fopen() mode 'rb+' 1092s # Testing fopen() mode 'ab+' 1092s ok 24 /fileutils/fopen-modes 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_U9XVZ2/fileutils/clear-fd/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/clear-fd/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_U9XVZ2/fileutils/clear-fd/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/clear-fd/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_U9XVZ2/fileutils/clear-fd/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/clear-fd/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/clear-fd/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_U9XVZ2/fileutils/clear-fd/.dirs/runtime 1092s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 1092s # Will be closed by autocleanup: 3, -42 1092s # Testing error handling 1092s ok 25 /fileutils/clear-fd 1092s # Start of set-contents-full tests 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_U9XVZ2/fileutils/set-contents-full/read-only-file/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/set-contents-full/read-only-file/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_U9XVZ2/fileutils/set-contents-full/read-only-file/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/set-contents-full/read-only-file/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_U9XVZ2/fileutils/set-contents-full/read-only-file/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/set-contents-full/read-only-file/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/set-contents-full/read-only-file/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_U9XVZ2/fileutils/set-contents-full/read-only-file/.dirs/runtime 1092s # We do not have CAP_DAC_OVERRIDE or equivalent 1092s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 1092s ok 26 /fileutils/set-contents-full/read-only-file 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_U9XVZ2/fileutils/set-contents-full/read-only-directory/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/set-contents-full/read-only-directory/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_U9XVZ2/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/set-contents-full/read-only-directory/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_U9XVZ2/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_U9XVZ2/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/set-contents-full/read-only-directory/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_U9XVZ2/fileutils/set-contents-full/read-only-directory/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_U9XVZ2/fileutils/set-contents-full/read-only-directory/.dirs/runtime 1092s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 1092s # Flags 0 1092s # We do not have CAP_DAC_OVERRIDE or equivalent 1092s # Flags 1 1092s # We do not have CAP_DAC_OVERRIDE or equivalent 1092s # Flags 2 1092s # We do not have CAP_DAC_OVERRIDE or equivalent 1092s # Flags 3 1092s # We do not have CAP_DAC_OVERRIDE or equivalent 1092s # Flags 4 1092s # We do not have CAP_DAC_OVERRIDE or equivalent 1092s # Flags 5 1092s # We do not have CAP_DAC_OVERRIDE or equivalent 1092s # Flags 6 1092s # We do not have CAP_DAC_OVERRIDE or equivalent 1092s ok 27 /fileutils/set-contents-full/read-only-directory 1092s # End of set-contents-full tests 1092s # Start of clear-fd tests 1092s # Start of subprocess tests 1092s # End of subprocess tests 1092s # End of clear-fd tests 1092s # End of fileutils tests 1092s Unable to clean up temporary directory /tmp/test_fileutils_U9XVZ2/glib-file-set-contents-full-rodir-JYMTZ2: Directory not empty 1092s Unable to clean up temporary directory /tmp/test_fileutils_U9XVZ2/glib-file-set-contents-full-rodir-EVHTZ2: Directory not empty 1092s Unable to clean up temporary directory /tmp/test_fileutils_U9XVZ2/glib-file-set-contents-full-rodir-I5KTZ2: Directory not empty 1092s Unable to clean up temporary directory /tmp/test_fileutils_U9XVZ2/glib-file-set-contents-full-rodir-25OTZ2: Directory not empty 1092s Unable to clean up temporary directory /tmp/test_fileutils_U9XVZ2/glib-file-set-contents-full-rodir-HBSTZ2: Directory not empty 1092s Unable to clean up temporary directory /tmp/test_fileutils_U9XVZ2/glib-file-set-contents-full-rodir-HSNTZ2: Directory not empty 1092s Unable to clean up temporary directory /tmp/test_fileutils_U9XVZ2/glib-file-set-contents-full-rodir-ZUPTZ2: Directory not empty 1092s Unable to clean up temporary directory /tmp/test_fileutils_U9XVZ2: Directory not empty 1092s ok - glib/fileutils.test 1092s # Running test: glib/portal-support-flatpak-network-only.test 1092s TAP version 14 1092s # random seed: R02S67254dded9c7af373b97f5e3fc164f50 1092s 1..1 1092s # Start of portal-support tests 1092s # Start of flatpak tests 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_HVATZ2/portal-support/flatpak/network/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_HVATZ2/portal-support/flatpak/network/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_HVATZ2/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_HVATZ2/portal-support/flatpak/network/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_HVATZ2/portal-support/flatpak/network/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_HVATZ2/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_HVATZ2/portal-support/flatpak/network/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_HVATZ2/portal-support/flatpak/network/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_HVATZ2/portal-support/flatpak/network/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_HVATZ2/portal-support/flatpak/network/.dirs/runtime 1092s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_HVATZ2/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 1092s ok 1 /portal-support/flatpak/network 1092s # End of flatpak tests 1092s # End of portal-support tests 1092s ok - glib/portal-support-flatpak-network-only.test 1092s # Running test: glib/signal-handler.test 1092s TAP version 14 1092s # random seed: R02S1f66c4edb9b796b0b8d08704d9e0d359 1092s 1..7 1092s # Start of signal tests 1092s # Start of handler tests 1092s # min perf: connected 1 handlers in 0.000 seconds 1092s ok 1 /signal/handler/connect-many 1092s # min perf: disconnected 1 handlers in 0.000 seconds 1092s ok 2 /signal/handler/disconnect-many-ordered 1092s # min perf: disconnected 1 handlers in 0.000 seconds 1092s ok 3 /signal/handler/disconnect-many-inverse 1092s # min perf: disconnected 1 handlers in 0.000 seconds 1092s ok 4 /signal/handler/disconnect-many-random 1092s # min perf: disconnected 1 handlers in 0.000 seconds 1092s ok 5 /signal/handler/disconnect-2-signals 1092s # min perf: disconnected 1 handlers in 0.000 seconds 1092s ok 6 /signal/handler/disconnect-2-objects 1092s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 1092s ok 7 /signal/handler/block-many 1092s # End of handler tests 1092s # End of signal tests 1092s ok - glib/signal-handler.test 1092s # Running test: glib/portal-support-none.test 1092s TAP version 14 1092s # random seed: R02S7ca51c89bc3a49fa8f9fe9683474277b 1092s 1..1 1092s # Start of portal-support tests 1092s ok 1 /portal-support/none 1092s # End of portal-support tests 1092s ok - glib/portal-support-none.test 1092s # Running test: glib/dump.test 1092s TAP version 14 1092s # random seed: R02S59afa63cf582e56573d8aac424f2a409 1092s 1..4 1092s # Start of dump tests 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_XX3SZ2/dump/empty-file/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_XX3SZ2/dump/empty-file/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_XX3SZ2/dump/empty-file/.dirs/system-config1:/tmp/test_dump_XX3SZ2/dump/empty-file/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_XX3SZ2/dump/empty-file/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_XX3SZ2/dump/empty-file/.dirs/system-data1:/tmp/test_dump_XX3SZ2/dump/empty-file/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_XX3SZ2/dump/empty-file/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_XX3SZ2/dump/empty-file/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_XX3SZ2/dump/empty-file/.dirs/runtime 1092s ok 1 /dump/empty-file 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_XX3SZ2/dump/missing-get-type/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_XX3SZ2/dump/missing-get-type/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_XX3SZ2/dump/missing-get-type/.dirs/system-config1:/tmp/test_dump_XX3SZ2/dump/missing-get-type/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_XX3SZ2/dump/missing-get-type/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_XX3SZ2/dump/missing-get-type/.dirs/system-data1:/tmp/test_dump_XX3SZ2/dump/missing-get-type/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_XX3SZ2/dump/missing-get-type/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_XX3SZ2/dump/missing-get-type/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_XX3SZ2/dump/missing-get-type/.dirs/runtime 1092s Invalid GType function: 'does_not_exist_get_type' 1092s ok 2 /dump/missing-get-type 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_XX3SZ2/dump/missing-quark/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_XX3SZ2/dump/missing-quark/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_XX3SZ2/dump/missing-quark/.dirs/system-config1:/tmp/test_dump_XX3SZ2/dump/missing-quark/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_XX3SZ2/dump/missing-quark/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_XX3SZ2/dump/missing-quark/.dirs/system-data1:/tmp/test_dump_XX3SZ2/dump/missing-quark/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_XX3SZ2/dump/missing-quark/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_XX3SZ2/dump/missing-quark/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_XX3SZ2/dump/missing-quark/.dirs/runtime 1092s Invalid error quark function: 'does_not_exist_error' 1092s ok 3 /dump/missing-quark 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_XX3SZ2/dump/basic/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_XX3SZ2/dump/basic/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_XX3SZ2/dump/basic/.dirs/system-config1:/tmp/test_dump_XX3SZ2/dump/basic/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_XX3SZ2/dump/basic/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_XX3SZ2/dump/basic/.dirs/system-data1:/tmp/test_dump_XX3SZ2/dump/basic/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_XX3SZ2/dump/basic/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_XX3SZ2/dump/basic/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_XX3SZ2/dump/basic/.dirs/runtime 1092s ok 4 /dump/basic 1092s # End of dump tests 1092s ok - glib/dump.test 1092s # Running test: glib/module-test-plugin.test 1092s TAP version 14 1092s # random seed: R02Sb676f9020585aad73a7e9acf90635525 1092s 1..3 1092s # Start of module tests 1092s ok 1 /module/basics 1092s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1092s ok 2 /module/invalid-libtool-archive 1092s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 1092s ok 3 /module/local-binding 1092s # End of module tests 1092s ok - glib/module-test-plugin.test 1092s # Running test: glib/repository-search-paths.test 1092s TAP version 14 1092s # random seed: R02Sc22d1a1b2534efcc0b442a3f44da3b5a 1092s 1..4 1092s # Start of repository tests 1092s # Start of search-paths tests 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_RDNSZ2/repository/search-paths/default/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_RDNSZ2/repository/search-paths/default/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_RDNSZ2/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_RDNSZ2/repository/search-paths/default/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_RDNSZ2/repository/search-paths/default/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_RDNSZ2/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_RDNSZ2/repository/search-paths/default/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_RDNSZ2/repository/search-paths/default/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_RDNSZ2/repository/search-paths/default/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_RDNSZ2/repository/search-paths/default/.dirs/runtime 1092s ok 1 /repository/search-paths/default 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_RDNSZ2/repository/search-paths/prepend/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_RDNSZ2/repository/search-paths/prepend/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_RDNSZ2/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_RDNSZ2/repository/search-paths/prepend/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_RDNSZ2/repository/search-paths/prepend/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_RDNSZ2/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_RDNSZ2/repository/search-paths/prepend/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_RDNSZ2/repository/search-paths/prepend/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_RDNSZ2/repository/search-paths/prepend/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_RDNSZ2/repository/search-paths/prepend/.dirs/runtime 1092s ok 2 /repository/search-paths/prepend 1092s # End of search-paths tests 1092s # Start of library-paths tests 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_RDNSZ2/repository/library-paths/default/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_RDNSZ2/repository/library-paths/default/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_RDNSZ2/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_RDNSZ2/repository/library-paths/default/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_RDNSZ2/repository/library-paths/default/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_RDNSZ2/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_RDNSZ2/repository/library-paths/default/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_RDNSZ2/repository/library-paths/default/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_RDNSZ2/repository/library-paths/default/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_RDNSZ2/repository/library-paths/default/.dirs/runtime 1092s ok 3 /repository/library-paths/default 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_RDNSZ2/repository/library-paths/prepend/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_RDNSZ2/repository/library-paths/prepend/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_RDNSZ2/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_RDNSZ2/repository/library-paths/prepend/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_RDNSZ2/repository/library-paths/prepend/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_RDNSZ2/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_RDNSZ2/repository/library-paths/prepend/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_RDNSZ2/repository/library-paths/prepend/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_RDNSZ2/repository/library-paths/prepend/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_RDNSZ2/repository/library-paths/prepend/.dirs/runtime 1092s ok 4 /repository/library-paths/prepend 1092s # End of library-paths tests 1092s # End of repository tests 1092s ok - glib/repository-search-paths.test 1092s # Running test: glib/cond.test 1092s TAP version 14 1092s # random seed: R02S61decf6166da965cbe86be474bce8c0e 1092s 1..4 1092s # Start of thread tests 1092s ok 1 /thread/cond1 1092s ok 2 /thread/cond2 1092s # Start of cond tests 1093s ok 3 /thread/cond/wait-until 1093s # slow test /thread/cond/wait-until executed in 1.02 secs 1093s # Start of wait-until tests 1093s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 1093s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 1094s # Executing: glib/cond.test 1094s ok 4 /thread/cond/wait-until/contended-and-interrupted 1094s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 1094s # End of wait-until tests 1094s # End of cond tests 1094s # End of thread tests 1094s ok - glib/cond.test 1094s # Running test: glib/converter.test 1094s TAP version 14 1094s # random seed: R02Seb0c7690736d04c6c13bc4e3d4e406b6 1094s 1..1 1094s # Start of converter tests 1094s ok 1 /converter/bytes 1094s # End of converter tests 1094s ok - glib/converter.test 1094s # Running test: glib/power-profile-monitor.test 1094s TAP version 14 1094s # random seed: R02Sbd735845f75be1a58092a89ca6e7f8d7 1094s 1..1 1094s # Start of power-profile-monitor tests 1094s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 1094s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor? 1094s ok 1 /power-profile-monitor/default 1094s # End of power-profile-monitor tests 1094s ok - glib/power-profile-monitor.test 1094s # Running test: glib/unicode-encoding.test 1094s TAP version 14 1094s # random seed: R02S73786006aa36cd8a202e0ba6aee4d2a8 1094s 1..1 1094s # Start of unicode tests 1094s ok 1 /unicode/encoding 1094s # End of unicode tests 1094s ok - glib/unicode-encoding.test 1094s # Running test: glib/gdatetime.test 1094s TAP version 14 1094s # random seed: R02Sa809518b861eaad26ee89003201b76ff 1094s 1..68 1094s # Start of GDateTime tests 1094s # Bug Reference: http://bugzilla.gnome.org/702674 1094s ok 1 /GDateTime/invalid 1094s ok 2 /GDateTime/add_days 1094s ok 3 /GDateTime/add_full 1094s ok 4 /GDateTime/add_hours 1094s ok 5 /GDateTime/add_minutes 1094s ok 6 /GDateTime/add_months 1094s ok 7 /GDateTime/add_seconds 1094s ok 8 /GDateTime/add_weeks 1094s ok 9 /GDateTime/add_years 1094s ok 10 /GDateTime/compare 1094s ok 11 /GDateTime/diff 1094s ok 12 /GDateTime/equal 1094s ok 13 /GDateTime/get_day_of_week 1094s ok 14 /GDateTime/get_day_of_month 1094s ok 15 /GDateTime/get_day_of_year 1094s ok 16 /GDateTime/get_hour 1094s ok 17 /GDateTime/get_microsecond 1094s ok 18 /GDateTime/get_minute 1094s ok 19 /GDateTime/get_month 1094s ok 20 /GDateTime/get_second 1094s ok 21 /GDateTime/get_utc_offset 1094s ok 22 /GDateTime/get_year 1094s ok 23 /GDateTime/hash 1094s ok 24 /GDateTime/new_from_unix 1094s ok 25 /GDateTime/new_from_unix_utc 1094s ok 26 /GDateTime/new_from_timeval 1094s ok 27 /GDateTime/new_from_timeval_utc 1094s ok 28 /GDateTime/new_from_iso8601 1094s ok 29 /GDateTime/new_full 1094s ok 30 /GDateTime/now 1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 1094s ok 31 /GDateTime/test-6-days-until-end-of-the-month 1094s # %a -> expected: Sat 1094s # %a -> actual: Sat 1094s # %A -> expected: Saturday 1094s # %A -> actual: Saturday 1094s # %b -> expected: Oct 1094s # %b -> actual: Oct 1094s # %B -> expected: October 1094s # %B -> actual: October 1094s # %d -> expected: 24 1094s # %d -> actual: 24 1094s # %d -> expected: 01 1094s # %d -> actual: 01 1094s # %e -> expected: 24 1094s # %e -> actual: 24 1094s # %e -> expected:  1 1094s # %e -> actual:  1 1094s # %f -> expected: 001000 1094s # %f -> actual: 001000 1094s # %h -> expected: Oct 1094s # %h -> actual: Oct 1094s # %H -> expected: 00 1094s # %H -> actual: 00 1094s # %H -> expected: 15 1094s # %H -> actual: 15 1094s # %I -> expected: 12 1094s # %I -> actual: 12 1094s # %I -> expected: 12 1094s # %I -> actual: 12 1094s # %I -> expected: 03 1094s # %I -> actual: 03 1094s # %j -> expected: 297 1094s # %j -> actual: 297 1094s # %k -> expected:  0 1094s # %k -> actual:  0 1094s # %k -> expected: 13 1094s # %k -> actual: 13 1094s # %l -> expected: 12 1094s # %l -> actual: 12 1094s # %I -> expected: 12 1094s # %I -> actual: 12 1094s # %l -> expected:  1 1094s # %l -> actual:  1 1094s # %l -> expected: 10 1094s # %l -> actual: 10 1094s # %m -> expected: 10 1094s # %m -> actual: 10 1094s # %M -> expected: 00 1094s # %M -> actual: 00 1094s # %p -> expected: AM 1094s # %p -> actual: AM 1094s # %p -> expected: PM 1094s # %p -> actual: PM 1094s # %P -> expected: am 1094s # %P -> actual: am 1094s # %P -> expected: pm 1094s # %P -> actual: pm 1094s # %r -> expected: 12:00:00 AM 1094s # %r -> actual: 12:00:00 AM 1094s # %r -> expected: 01:13:13 PM 1094s # %r -> actual: 01:13:13 PM 1094s # %R -> expected: 00:00 1094s # %R -> actual: 00:00 1094s # %R -> expected: 13:13 1094s # %R -> actual: 13:13 1094s # %S -> expected: 00 1094s # %S -> actual: 00 1094s # %t -> expected: 1094s # %t -> actual: 1094s # %u -> expected: 6 1094s # %u -> actual: 6 1094s # %x -> expected: 10/24/09 1094s # %x -> actual: 10/24/09 1094s # %X -> expected: 00:00:00 1094s # %X -> actual: 00:00:00 1094s # %X -> expected: 13:14:15 1094s # %X -> actual: 13:14:15 1094s # %y -> expected: 09 1094s # %y -> actual: 09 1094s # %Y -> expected: 2009 1094s # %Y -> actual: 2009 1094s # %% -> expected: % 1094s # %% -> actual: % 1094s # % -> expected: 1094s # % -> actual: 1094s # %9 -> expected: (null) 1094s # %9 -> actual: (null) 1094s # %Z -> expected: UTC 1094s # %Z -> actual: UTC 1094s ok 32 /GDateTime/printf 1094s # %a -> expected: ÅÚ 1094s # %a -> actual: ÅÚ 1094s # %A -> expected: ÅÚÍËÆü 1094s # %A -> actual: ÅÚÍËÆü 1094s # %b -> expected: 10·î 1094s # %b -> actual: 10·î 1094s # %B -> expected: 10·î 1094s # %B -> actual: 10·î 1094s # %c -> expected: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 1094s # %c -> actual: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 1094s # %C -> expected: 20 1094s # %C -> actual: 20 1094s # %d -> expected: 24 1094s # %d -> actual: 24 1094s # %d -> expected: 01 1094s # %d -> actual: 01 1094s # %e -> expected: 24 1094s # %e -> actual: 24 1094s # %h -> expected: 10·î 1094s # %h -> actual: 10·î 1094s # %H -> expected: 00 1094s # %H -> actual: 00 1094s # %H -> expected: 15 1094s # %H -> actual: 15 1094s # %I -> expected: 12 1094s # %I -> actual: 12 1094s # %I -> expected: 12 1094s # %I -> actual: 12 1094s # %I -> expected: 03 1094s # %I -> actual: 03 1094s # %j -> expected: 297 1094s # %j -> actual: 297 1094s # %k -> expected: ?0 1094s # %k -> actual: ?0 1094s # %k -> expected: 13 1094s # %k -> actual: 13 1094s # %l -> expected: 12 1094s # %l -> actual: 12 1094s # %I -> expected: 12 1094s # %I -> actual: 12 1094s # %l -> expected: ?1 1094s # %l -> actual: ?1 1094s # %l -> expected: 10 1094s # %l -> actual: 10 1094s # %m -> expected: 10 1094s # %m -> actual: 10 1094s # %M -> expected: 00 1094s # %M -> actual: 00 1094s # %p -> expected: ¸áÁ° 1094s # %p -> actual: ¸áÁ° 1094s # %p -> expected: ¸á¸å 1094s # %p -> actual: ¸á¸å 1094s # %P -> expected: ¸áÁ° 1094s # %P -> actual: ¸áÁ° 1094s # %P -> expected: ¸á¸å 1094s # %P -> actual: ¸á¸å 1094s # %r -> expected: ¸áÁ°12»þ00ʬ00Éà 1094s # %r -> actual: ¸áÁ°12»þ00ʬ00Éà 1094s # %r -> expected: ¸á¸å01»þ13ʬ13Éà 1094s # %r -> actual: ¸á¸å01»þ13ʬ13Éà 1094s # %R -> expected: 00:00 1094s # %R -> actual: 00:00 1094s # %R -> expected: 13:13 1094s # %R -> actual: 13:13 1094s # %S -> expected: 00 1094s # %S -> actual: 00 1094s # %t -> expected: 1094s # %t -> actual: 1094s # %u -> expected: 6 1094s # %u -> actual: 6 1094s # %x -> expected: 2009ǯ10·î24Æü 1094s # %x -> actual: 2009ǯ10·î24Æü 1094s # %X -> expected: 00»þ00ʬ00Éà 1094s # %X -> actual: 00»þ00ʬ00Éà 1094s # %X -> expected: 13»þ14ʬ15Éà 1094s # %X -> actual: 13»þ14ʬ15Éà 1094s # %y -> expected: 09 1094s # %y -> actual: 09 1094s # %Y -> expected: 2009 1094s # %Y -> actual: 2009 1094s # %% -> expected: % 1094s # %% -> actual: % 1094s # % -> expected: 1094s # % -> actual: 1094s # %9 -> expected: (null) 1094s # %9 -> actual: (null) 1094s # %Ec -> expected: Ê¿À®21ǯ10·î24Æü 00»þ00ʬ00Éà 1094s # %Ec -> actual: Ê¿À®21ǯ10·î24Æü 00»þ00ʬ00Éà 1094s # %EC -> expected: Ê¿À® 1094s # %EC -> actual: Ê¿À® 1094s # %Ex -> expected: Ê¿À®21ǯ10·î24Æü 1094s # %Ex -> actual: Ê¿À®21ǯ10·î24Æü 1094s # %EX -> expected: 00»þ00ʬ00Éà 1094s # %EX -> actual: 00»þ00ʬ00Éà 1094s # %Ey -> expected: 21 1094s # %Ey -> actual: 21 1094s # %EY -> expected: Ê¿À®21ǯ 1094s # %EY -> actual: Ê¿À®21ǯ 1094s ok 33 /GDateTime/non_utf8_printf 1094s # ???? -> expected: ???? 1094s # ???? -> actual: ???? 1094s # %H?%M -> expected: 23?15 1094s # %H?%M -> actual: 23?15 1094s # %H?%M -> expected: 23?15 1094s # %H?%M -> actual: 23?15 1094s ok 34 /GDateTime/format_unrepresentable 1094s ok 35 /GDateTime/format_iso8601 1095s ok 36 /GDateTime/strftime 1095s # %d -> expected: 01 1095s # %d -> actual: 01 1095s # %_d -> expected: 1 1095s # %_d -> actual: 1 1095s # %-d -> expected: 1 1095s # %-d -> actual: 1 1095s # %0d -> expected: 01 1095s # %0d -> actual: 01 1095s # %d -> expected: 21 1095s # %d -> actual: 21 1095s # %_d -> expected: 21 1095s # %_d -> actual: 21 1095s # %-d -> expected: 21 1095s # %-d -> actual: 21 1095s # %0d -> expected: 21 1095s # %0d -> actual: 21 1095s # %e -> expected:  1 1095s # %e -> actual:  1 1095s # %_e -> expected: 1 1095s # %_e -> actual: 1 1095s # %-e -> expected: 1 1095s # %-e -> actual: 1 1095s # %0e -> expected: 01 1095s # %0e -> actual: 01 1095s # %e -> expected: 21 1095s # %e -> actual: 21 1095s # %_e -> expected: 21 1095s # %_e -> actual: 21 1095s # %-e -> expected: 21 1095s # %-e -> actual: 21 1095s # %0e -> expected: 21 1095s # %0e -> actual: 21 1095s # %a -> expected: Thu 1095s # %a -> actual: Thu 1095s # %^a -> expected: THU 1095s # %^a -> actual: THU 1095s # %#a -> expected: THU 1095s # %#a -> actual: THU 1095s # %A -> expected: Thursday 1095s # %A -> actual: Thursday 1095s # %^A -> expected: THURSDAY 1095s # %^A -> actual: THURSDAY 1095s # %#A -> expected: THURSDAY 1095s # %#A -> actual: THURSDAY 1095s # %b -> expected: Jan 1095s # %b -> actual: Jan 1095s # %^b -> expected: JAN 1095s # %^b -> actual: JAN 1095s # %#b -> expected: JAN 1095s # %#b -> actual: JAN 1095s # %B -> expected: January 1095s # %B -> actual: January 1095s # %^B -> expected: JANUARY 1095s # %^B -> actual: JANUARY 1095s # %#B -> expected: JANUARY 1095s # %#B -> actual: JANUARY 1095s # %h -> expected: Jan 1095s # %h -> actual: Jan 1095s # %^h -> expected: JAN 1095s # %^h -> actual: JAN 1095s # %#h -> expected: JAN 1095s # %#h -> actual: JAN 1095s # %Z -> expected: UTC 1095s # %Z -> actual: UTC 1095s # %^Z -> expected: UTC 1095s # %^Z -> actual: UTC 1095s # %#Z -> expected: utc 1095s # %#Z -> actual: utc 1095s # %H -> expected: 01 1095s # %H -> actual: 01 1095s # %_H -> expected: 1 1095s # %_H -> actual: 1 1095s # %-H -> expected: 1 1095s # %-H -> actual: 1 1095s # %0H -> expected: 01 1095s # %0H -> actual: 01 1095s # %H -> expected: 21 1095s # %H -> actual: 21 1095s # %_H -> expected: 21 1095s # %_H -> actual: 21 1095s # %-H -> expected: 21 1095s # %-H -> actual: 21 1095s # %0H -> expected: 21 1095s # %0H -> actual: 21 1095s # %I -> expected: 01 1095s # %I -> actual: 01 1095s # %_I -> expected: 1 1095s # %_I -> actual: 1 1095s # %-I -> expected: 1 1095s # %-I -> actual: 1 1095s # %0I -> expected: 01 1095s # %0I -> actual: 01 1095s # %I -> expected: 11 1095s # %I -> actual: 11 1095s # %_I -> expected: 11 1095s # %_I -> actual: 11 1095s # %-I -> expected: 11 1095s # %-I -> actual: 11 1095s # %0I -> expected: 11 1095s # %0I -> actual: 11 1095s # %k -> expected:  1 1095s # %k -> actual:  1 1095s # %_k -> expected: 1 1095s # %_k -> actual: 1 1095s # %-k -> expected: 1 1095s # %-k -> actual: 1 1095s # %0k -> expected: 01 1095s # %0k -> actual: 01 1095s # %l -> expected:  1 1095s # %l -> actual:  1 1095s # %_l -> expected: 1 1095s # %_l -> actual: 1 1095s # %-l -> expected: 1 1095s # %-l -> actual: 1 1095s # %0l -> expected: 01 1095s # %0l -> actual: 01 1095s # %l -> expected: 11 1095s # %l -> actual: 11 1095s # %_l -> expected: 11 1095s # %_l -> actual: 11 1095s # %-l -> expected: 11 1095s # %-l -> actual: 11 1095s # %0l -> expected: 11 1095s # %0l -> actual: 11 1095s # %p -> expected: AM 1095s # %p -> actual: AM 1095s # %^p -> expected: AM 1095s # %^p -> actual: AM 1095s # %#p -> expected: am 1095s # %#p -> actual: am 1095s # %P -> expected: am 1095s # %P -> actual: am 1095s # %^P -> expected: AM 1095s # %^P -> actual: AM 1095s # %#P -> expected: am 1095s # %#P -> actual: am 1095s # %OH -> expected: Û²Û³ 1095s # %OH -> actual: Û²Û³ 1095s # %OI -> expected: Û±Û± 1095s # %OI -> actual: Û±Û± 1095s # %OM -> expected: Û°Û° 1095s # %OM -> actual: Û°Û° 1095s # %Om -> expected: Û°Û· 1095s # %Om -> actual: Û°Û· 1095s # %0Om -> expected: Û°Û· 1095s # %0Om -> actual: Û°Û· 1095s # %-Om -> expected: Û· 1095s # %-Om -> actual: Û· 1095s # %_Om -> expected: Û· 1095s # %_Om -> actual: Û· 1095s # %c -> expected: thu 01 jan 2009 00:00:00 utc 1095s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC 1095s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc 1095s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC 1095s # %C -> expected: 20 1095s # %C -> actual: 20 1095s # %EC -> expected: 20 1095s # %EC -> actual: 20 1095s # %x -> expected: 02/01/09 1095s # %x -> actual: 02/01/09 1095s # %Ex -> expected: 02/01/09 1095s # %Ex -> actual: 02/01/09 1095s # %X -> expected: 01:02:03 1095s # %X -> actual: 01:02:03 1095s # %EX -> expected: 01:02:03 1095s # %EX -> actual: 01:02:03 1095s # %y -> expected: 09 1095s # %y -> actual: 09 1095s # %Ey -> expected: 09 1095s # %Ey -> actual: 09 1095s # %Y -> expected: 2009 1095s # %Y -> actual: 2009 1095s # %EY -> expected: 2009 1095s # %EY -> actual: 2009 1095s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 1095s # Bug Reference: http://bugzilla.gnome.org/749206 1095s # %B -> expected: January 1095s # %B -> actual: January 1095s # %OB -> expected: February 1095s # %OB -> actual: February 1095s # %b -> expected: Mar 1095s # %b -> actual: Mar 1095s # %Ob -> expected: Apr 1095s # %Ob -> actual: Apr 1095s # %h -> expected: May 1095s # %h -> actual: May 1095s # %Oh -> expected: Jun 1095s # %Oh -> actual: Jun 1095s # %B -> expected: Juli 1095s # %B -> actual: Juli 1095s # %OB -> expected: August 1095s # %OB -> actual: August 1095s # %b -> expected: Sep 1095s # %b -> actual: Sep 1095s # %Ob -> expected: Okt 1095s # %Ob -> actual: Okt 1095s # %h -> expected: Nov 1095s # %h -> actual: Nov 1095s # %Oh -> expected: Dez 1095s # %Oh -> actual: Dez 1095s # %B -> expected: enero 1095s # %B -> actual: enero 1095s # %OB -> expected: febrero 1095s # %OB -> actual: febrero 1095s # %b -> expected: mar 1095s # %b -> actual: mar 1095s # %Ob -> expected: abr 1095s # %Ob -> actual: abr 1095s # %h -> expected: may 1095s # %h -> actual: may 1095s # %Oh -> expected: jun 1095s # %Oh -> actual: jun 1095s # %B -> expected: juillet 1095s # %B -> actual: juillet 1095s # %OB -> expected: août 1095s # %OB -> actual: août 1095s # %b -> expected: sept. 1095s # %b -> actual: sept. 1095s # %Ob -> expected: oct. 1095s # %Ob -> actual: oct. 1095s # %h -> expected: nov. 1095s # %h -> actual: nov. 1095s # %Oh -> expected: déc. 1095s # %Oh -> actual: déc. 1095s # %B -> expected: ΙανουαÏίου 1095s # %B -> actual: ΙανουαÏίου 1095s # %B -> expected: ΦεβÏουαÏίου 1095s # %B -> actual: ΦεβÏουαÏίου 1095s # %B -> expected: ΜαÏτίου 1095s # %B -> actual: ΜαÏτίου 1095s # %OB -> expected: ΑπÏίλιος 1095s # %OB -> actual: ΑπÏίλιος 1095s # %OB -> expected: Μάιος 1095s # %OB -> actual: Μάιος 1095s # %OB -> expected: ΙοÏνιος 1095s # %OB -> actual: ΙοÏνιος 1095s # %b -> expected: Ιουλ 1095s # %b -> actual: Ιουλ 1095s # %Ob -> expected: ΑÏγ 1095s # %Ob -> actual: ΑÏγ 1095s # %B -> expected: svibnja 1095s # %B -> actual: svibnja 1095s # %B -> expected: lipnja 1095s # %B -> actual: lipnja 1095s # %B -> expected: srpnja 1095s # %B -> actual: srpnja 1095s # %OB -> expected: Kolovoz 1095s # %OB -> actual: kolovoz 1095s # %OB -> expected: Rujan 1095s # %OB -> actual: rujan 1095s # %OB -> expected: Listopad 1095s # %OB -> actual: listopad 1095s # %b -> expected: Stu 1095s # %b -> actual: stu 1095s # %Ob -> expected: Pro 1095s # %Ob -> actual: pro 1095s # %B -> expected: sausio 1095s # %B -> actual: sausio 1095s # %B -> expected: vasario 1095s # %B -> actual: vasario 1095s # %B -> expected: kovo 1095s # %B -> actual: kovo 1095s # %OB -> expected: balandis 1095s # %OB -> actual: balandis 1095s # %OB -> expected: gegužė 1095s # %OB -> actual: gegužė 1095s # %OB -> expected: birželis 1095s # %OB -> actual: birželis 1095s # %b -> expected: liep. 1095s # %b -> actual: liep. 1095s # %Ob -> expected: rugp. 1095s # %Ob -> actual: rugp. 1095s # %B -> expected: maja 1095s # %B -> actual: maja 1095s # %B -> expected: czerwca 1095s # %B -> actual: czerwca 1095s # %B -> expected: lipca 1095s # %B -> actual: lipca 1095s # %OB -> expected: sierpieÅ„ 1095s # %OB -> actual: sierpieÅ„ 1095s # %OB -> expected: wrzesieÅ„ 1095s # %OB -> actual: wrzesieÅ„ 1095s # %OB -> expected: październik 1095s # %OB -> actual: październik 1095s # %b -> expected: lis 1095s # %b -> actual: lis 1095s # %Ob -> expected: gru 1095s # %Ob -> actual: gru 1095s # %B -> expected: ÑÐ½Ð²Ð°Ñ€Ñ 1095s # %B -> actual: ÑÐ½Ð²Ð°Ñ€Ñ 1095s # %B -> expected: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 1095s # %B -> actual: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 1095s # %B -> expected: марта 1095s # %B -> actual: марта 1095s # %OB -> expected: Ðпрель 1095s # %OB -> actual: Ðпрель 1095s # %OB -> expected: Май 1095s # %OB -> actual: Май 1095s # %OB -> expected: Июнь 1095s # %OB -> actual: Июнь 1095s # %b -> expected: июл 1095s # %b -> actual: июл 1095s # %Ob -> expected: авг 1095s # %Ob -> actual: авг 1095s # %b -> expected: Ð¼Ð°Ñ 1095s # %b -> actual: Ð¼Ð°Ñ 1095s # %Ob -> expected: май 1095s # %Ob -> actual: май 1095s ok 38 /GDateTime/month_names 1095s ok 39 /GDateTime/to_local 1095s ok 40 /GDateTime/to_unix 1095s ok 41 /GDateTime/to_timeval 1095s ok 42 /GDateTime/to_utc 1095s ok 43 /GDateTime/now_utc 1095s ok 44 /GDateTime/dst 1095s # Bug Reference: http://bugzilla.gnome.org/642935 1095s ok 45 /GDateTime/test_z 1096s ok 46 /GDateTime/test-all-dates 1096s # slow test /GDateTime/test-all-dates executed in 1.39 secs 1096s ok 47 /GDateTime/unix_usec 1096s # Start of new_from_unix tests 1096s # Bug Reference: http://bugzilla.gnome.org/782089 1096s ok 48 /GDateTime/new_from_unix/overflow 1096s # End of new_from_unix tests 1096s # Start of new_from_timeval tests 1096s # Bug Reference: http://bugzilla.gnome.org/782089 1096s # Maximum supported GTimeVal.tv_sec = 253402300799 1096s ok 49 /GDateTime/new_from_timeval/overflow 1096s # End of new_from_timeval tests 1096s # Start of new_from_iso8601 tests 1096s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 1096s # Vector 0: 1990-11-01T10:21:17Z 1096s # Vector 1: 19901101T102117Z 1096s # Vector 2: 1970-01-01T00:00:17.12Z 1096s # Vector 3: 1970-01-01T00:00:17.1234Z 1096s # Vector 4: 1970-01-01T00:00:17.123456Z 1096s # Vector 5: 1980-02-22T12:36:00+02:00 1096s # Vector 6: 1990-12-31T15:59:60-08:00 1096s # Vector 7: 1096s # Vector 8: x 1096s # Vector 9: 123x 1096s # Vector 10: 2001-10+x 1096s # Vector 11: 1980-02-22T 1096s # Vector 12: 2001-10-08Tx 1096s # Vector 13: 2001-10-08T10:11x 1096s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 1096s # Vector 15: 1980-02-22T10:36:00Zulu 1096s # Vector 16: 2T0+819855292164632335 1096s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 1096s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 1096s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 1096s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 1096s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 1096s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 1096s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 1096s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 1096s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 1096s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 1096s # Vector 27: 20180803T140805.446178377+0100 1096s # Vector 28: 21474836480803T140805.446178377+0100 1096s # Vector 29: 20181303T140805.446178377+0100 1096s # Vector 30: 20180003T140805.446178377+0100 1096s # Vector 31: 20180800T140805.446178377+0100 1096s # Vector 32: 20180832T140805.446178377+0100 1096s # Vector 33: 20180803T240805.446178377+0100 1096s # Vector 34: 20180803T146005.446178377+0100 1096s # Vector 35: 20180803T140863.446178377+0100 1096s # Vector 36: 20180803T140805.446178377+10000 1096s # Vector 37: -0005-01-01T00:00:00Z 1096s # Vector 38: 2018-08-06 1096s # Vector 39: 20180803T140805,446178377+0100 1096s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 1096s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 1096s # Vector 42: 1990-11-01T10:21:17 1096s # Vector 43: 1719W462 407777-07 1096s # Vector 44: 4011090 260528Z 1096s # Vector 45: 0000W011 228214-22 1096s ok 50 /GDateTime/new_from_iso8601/2 1096s # End of new_from_iso8601 tests 1096s # Start of format_mixed tests 1096s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1096s # %b -> expected: mar 1096s # %b -> actual: Mar 1096s # %B -> expected: march 1096s # %B -> actual: March 1096s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 1096s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1096s # %b -> expected: mar 1096s # %b -> actual: Mar 1096s # %B -> expected: march 1096s # %B -> actual: March 1096s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 1096s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1096s # %b -> expected: Mär 1096s # %b -> actual: Mär 1096s # %B -> expected: März 1096s # %B -> actual: März 1096s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 1096s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1096s # %b -> expected: Mär 1096s # %b -> actual: Mär 1096s # %B -> expected: März 1096s # %B -> actual: März 1096s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 1096s # End of format_mixed tests 1096s # Start of strftime tests 1096s # %r -> expected: (null) 1096s # %r -> actual: (null) 1096s ok 55 /GDateTime/strftime/error_handling 1096s # End of strftime tests 1096s # Start of eras tests 1096s # %Ec -> expected: 令和05å¹´06月01æ—¥ 00時00分00秒 1096s # %Ec -> actual: 令和05å¹´06月01æ—¥ 00時00分00秒 1096s # %EC -> expected: 令和 1096s # %EC -> actual: 令和 1096s # %Ex -> expected: 令和05å¹´06月01æ—¥ 1096s # %Ex -> actual: 令和05å¹´06月01æ—¥ 1096s # %EX -> expected: 00時00分00秒 1096s # %EX -> actual: 00時00分00秒 1096s # %Ey -> expected: 05 1096s # %Ey -> actual: 05 1096s # %EY -> expected: 令和05å¹´ 1096s # %EY -> actual: 令和05å¹´ 1096s # %Ec -> expected: å¹³æˆ31å¹´04月30æ—¥ 00時00分00秒 1096s # %Ec -> actual: å¹³æˆ31å¹´04月30æ—¥ 00時00分00秒 1096s # %EC -> expected: å¹³æˆ 1096s # %EC -> actual: å¹³æˆ 1096s # %Ex -> expected: å¹³æˆ31å¹´04月30æ—¥ 1096s # %Ex -> actual: å¹³æˆ31å¹´04月30æ—¥ 1096s # %EX -> expected: 00時00分00秒 1096s # %EX -> actual: 00時00分00秒 1096s # %Ey -> expected: 31 1096s # %Ey -> actual: 31 1096s # %EY -> expected: å¹³æˆ31å¹´ 1096s # %EY -> actual: å¹³æˆ31å¹´ 1096s # %Ec -> expected: 昭和元年12月25æ—¥ 00時00分00秒 1096s # %Ec -> actual: 昭和元年12月25æ—¥ 00時00分00秒 1096s # %EC -> expected: 昭和 1096s # %EC -> actual: 昭和 1096s # %Ex -> expected: 昭和元年12月25æ—¥ 1096s # %Ex -> actual: 昭和元年12月25æ—¥ 1096s # %EX -> expected: 00時00分00秒 1096s # %EX -> actual: 00時00分00秒 1096s # %Ey -> expected: 01 1096s # %Ey -> actual: 01 1096s # %EY -> expected: 昭和元年 1096s # %EY -> actual: 昭和元年 1096s ok 56 /GDateTime/eras/japan 1096s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests 1096s # Vector 0: 1096s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 1096s # Vector 2: +:2:2020/01/01:+*:令和:%EC%Eyå¹´;+:1:2019/05/01:2019/12/31:令和:%EC元年;+:2:1990/01/01:2019/04/30:å¹³æˆ:%EC%Eyå¹´;+:1:1989/01/08:1989/12/31:å¹³æˆ:%EC元年;+:2:1927/01/01:1989/01/07:昭和:%EC%Eyå¹´;+:1:1926/12/25:1926/12/31:昭和:%EC元年;+:2:1913/01/01:1926/12/24:大正:%EC%Eyå¹´;+:1:1912/07/30:1912/12/31:大正:%EC元年;+:6:1873/01/01:1912/07/29:明治:%EC%Eyå¹´;+:1:0001/01/01:1872/12/31:西暦:%EC%Eyå¹´;+:1:-0001/12/31:-*:紀元å‰:%EC%Eyå¹´ 1096s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Eyå¹´ 1096s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Eyå¹´ 1096s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Eyå¹´ 1096s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Eyå¹´ 1096s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Eyå¹´ 1096s # Vector 8: + 1096s # Vector 9: +: 1096s # Vector 10: +:: 1096s # Vector 11: +:200 1096s # Vector 12: +:2nonsense 1096s # Vector 13: +:2nonsense: 1096s # Vector 14: +:2: 1096s # Vector 15: +:2:: 1096s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Eyå¹´ 1096s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Eyå¹´ 1096s # Vector 18: +:2:2020:+*:令和:%EC%Eyå¹´ 1096s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Eyå¹´ 1096s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Eyå¹´ 1096s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Eyå¹´ 1096s # Vector 22: +:2:2020/01:+*:令和:%EC%Eyå¹´ 1096s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Eyå¹´ 1096s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Eyå¹´ 1096s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Eyå¹´ 1096s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Eyå¹´ 1096s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Eyå¹´ 1096s # Vector 28: +:2:2020/01/01 1096s # Vector 29: +:2:2020/01/01: 1096s # Vector 30: +:2:2020/01/01:: 1096s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Eyå¹´ 1096s # Vector 32: +:2:2020/01/01:+* 1096s # Vector 33: +:2:2020/01/01:+*: 1096s # Vector 34: +:2:2020/01/01:+*:: 1096s # Vector 35: +:2:2020/01/01:+*:令和 1096s # Vector 36: +:2:2020/01/01:+*:令和: 1096s # Vector 37: +:2:2020/01/01:+*:令和:; 1096s ok 58 /GDateTime/eras/parsing 1096s # End of eras tests 1096s # End of GDateTime tests 1096s # Start of GTimeZone tests 1096s ok 59 /GTimeZone/find-interval 1096s ok 60 /GTimeZone/adjust-time 1096s ok 61 /GTimeZone/no-header 1096s ok 62 /GTimeZone/no-header-identifier 1096s ok 63 /GTimeZone/posix-parse 1096s # Bug Reference: http://bugzilla.gnome.org/697715 1096s ok 64 /GTimeZone/floating-point 1096s # System time zone identifier: Etc/UTC 1096s ok 65 /GTimeZone/identifier 1096s # Vector 0: -158400 1096s # Vector 1: -10000 1096s # Vector 2: -3600 1096s # Vector 3: -61 1096s # Vector 4: -60 1096s # Vector 5: -59 1096s # Vector 6: 0 1096s # Vector 7: 59 1096s # Vector 8: 60 1096s # Vector 9: 61 1096s # Vector 10: 3600 1096s # Vector 11: 10000 1096s # Vector 12: 158400 1096s ok 66 /GTimeZone/new-offset 1096s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 1096s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 1096s ok 67 /GTimeZone/parse-rfc8536 1096s # /GTimeZone/caching summary: GTimeZone instances are cached 1096s ok 68 /GTimeZone/caching 1096s # End of GTimeZone tests 1096s ok - glib/gdatetime.test 1096s # Running test: glib/gdbus-connection-flush.test 1096s TAP version 14 1096s # random seed: R02Sfdc38b67e247eedcf11935150cc4dc8c 1096s 1..2 1096s # Start of gdbus tests 1096s # Start of connection tests 1096s # Start of flush tests 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_ZVRVZ2/gdbus/connection/flush/busy/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_ZVRVZ2/gdbus/connection/flush/busy/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_ZVRVZ2/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_ZVRVZ2/gdbus/connection/flush/busy/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_ZVRVZ2/gdbus/connection/flush/busy/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_ZVRVZ2/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_ZVRVZ2/gdbus/connection/flush/busy/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_ZVRVZ2/gdbus/connection/flush/busy/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_ZVRVZ2/gdbus/connection/flush/busy/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_ZVRVZ2/gdbus/connection/flush/busy/.dirs/runtime 1096s ok 1 /gdbus/connection/flush/busy 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_ZVRVZ2/gdbus/connection/flush/idle/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_ZVRVZ2/gdbus/connection/flush/idle/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_ZVRVZ2/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_ZVRVZ2/gdbus/connection/flush/idle/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_ZVRVZ2/gdbus/connection/flush/idle/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_ZVRVZ2/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_ZVRVZ2/gdbus/connection/flush/idle/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_ZVRVZ2/gdbus/connection/flush/idle/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_ZVRVZ2/gdbus/connection/flush/idle/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_ZVRVZ2/gdbus/connection/flush/idle/.dirs/runtime 1096s ok 2 /gdbus/connection/flush/idle 1096s # End of flush tests 1096s # End of connection tests 1096s # End of gdbus tests 1096s ok - glib/gdbus-connection-flush.test 1096s # Running test: glib/gdbus-proxy-unique-name.test 1096s TAP version 14 1096s # random seed: R02Sc091b71e9a7968435e694f1c4bc2b1ea 1096s 1..1 1096s # Start of gdbus tests 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_I89UZ2/gdbus/proxy-unique-name/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_I89UZ2/gdbus/proxy-unique-name/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_I89UZ2/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_I89UZ2/gdbus/proxy-unique-name/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_I89UZ2/gdbus/proxy-unique-name/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_I89UZ2/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_I89UZ2/gdbus/proxy-unique-name/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_I89UZ2/gdbus/proxy-unique-name/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_I89UZ2/gdbus/proxy-unique-name/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_I89UZ2/gdbus/proxy-unique-name/.dirs/runtime 1096s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s ok 1 /gdbus/proxy-unique-name 1096s # End of gdbus tests 1096s ok - glib/gdbus-proxy-unique-name.test 1096s # Running test: glib/custom-dispatch.test 1096s TAP version 14 1096s # random seed: R02S0ab5d2e6caf95e83e6f61ebf37ff4bde 1096s 1..2 1096s # Start of properties tests 1096s # Start of custom-dispatch tests 1096s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 1096s ok 1 /properties/custom-dispatch/init 1096s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 1096s ok 2 /properties/custom-dispatch/set 1096s # End of custom-dispatch tests 1096s # End of properties tests 1096s ok - glib/custom-dispatch.test 1096s # Running test: glib/init.test 1096s TAP version 14 1096s # random seed: R02S0de3b3d341f79e33b960d0e52127d44b 1096s 1..2 1096s # Start of thread tests 1096s # Start of deprecated tests 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_PLHUZ2/thread/deprecated/init/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_PLHUZ2/thread/deprecated/init/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_PLHUZ2/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_PLHUZ2/thread/deprecated/init/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_PLHUZ2/thread/deprecated/init/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_PLHUZ2/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_PLHUZ2/thread/deprecated/init/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_PLHUZ2/thread/deprecated/init/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_PLHUZ2/thread/deprecated/init/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_PLHUZ2/thread/deprecated/init/.dirs/runtime 1096s ok 1 /thread/deprecated/init 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_PLHUZ2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_PLHUZ2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_PLHUZ2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_PLHUZ2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_PLHUZ2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_PLHUZ2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_PLHUZ2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_PLHUZ2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_PLHUZ2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_PLHUZ2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 1096s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 1096s # End of deprecated tests 1096s # End of thread tests 1096s ok - glib/init.test 1096s # Running test: glib/memory-settings-backend.test 1096s TAP version 14 1096s # random seed: R02Sb3673226100b7244944788cda92ce379 1096s 1..1 1096s # Start of memory-settings-backend tests 1096s ok 1 /memory-settings-backend/extension-point-registered 1096s # End of memory-settings-backend tests 1096s ok - glib/memory-settings-backend.test 1096s # Running test: glib/references.test 1096s TAP version 14 1096s # random seed: R02S1f3149aed58263b17a03ff52ca692874 1096s 1..1 1096s # Start of gobject tests 1096s ok 1 /gobject/references 1096s # End of gobject tests 1096s ok - glib/references.test 1096s # Running test: glib/gdbus-test-codegen-old.test 1096s TAP version 14 1096s # random seed: R02Sf90231f63b68f9f13b4de3e0fd162631 1096s 1..8 1096s # Start of gdbus tests 1096s # Start of codegen tests 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/annotations/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/annotations/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/annotations/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/annotations/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/annotations/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/annotations/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/annotations/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/annotations/.dirs/runtime 1096s ok 1 /gdbus/codegen/annotations 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/interface_stability/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/interface_stability/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/interface_stability/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/interface_stability/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/interface_stability/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/interface_stability/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/interface_stability/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/interface_stability/.dirs/runtime 1096s ok 2 /gdbus/codegen/interface_stability 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/object-manager/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/object-manager/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/object-manager/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/object-manager/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/object-manager/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/object-manager/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/object-manager/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/object-manager/.dirs/runtime 1096s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1096s ok 3 /gdbus/codegen/object-manager 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/property-naming/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/property-naming/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/property-naming/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/property-naming/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/property-naming/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/property-naming/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/property-naming/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/property-naming/.dirs/runtime 1096s ok 4 /gdbus/codegen/property-naming 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/autocleanups/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/autocleanups/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/autocleanups/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/autocleanups/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/autocleanups/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/autocleanups/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/autocleanups/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/autocleanups/.dirs/runtime 1096s ok 5 /gdbus/codegen/autocleanups 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/deprecations/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/deprecations/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/deprecations/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/deprecations/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/deprecations/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/deprecations/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/deprecations/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/deprecations/.dirs/runtime 1096s ok 6 /gdbus/codegen/deprecations 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/standalone-interface-info/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/standalone-interface-info/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/standalone-interface-info/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/standalone-interface-info/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/standalone-interface-info/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/standalone-interface-info/.dirs/runtime 1096s ok 7 /gdbus/codegen/standalone-interface-info 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/unix-fd-list/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/unix-fd-list/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/unix-fd-list/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/unix-fd-list/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/unix-fd-list/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/unix-fd-list/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/unix-fd-list/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_FG1TZ2/gdbus/codegen/unix-fd-list/.dirs/runtime 1096s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1096s ok 8 /gdbus/codegen/unix-fd-list 1096s # End of codegen tests 1096s # End of gdbus tests 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s ok - glib/gdbus-test-codegen-old.test 1096s # Running test: glib/atomic-c-89.test 1096s TAP version 14 1096s # random seed: R02S47293d42415d0a157619cf2e1b86b0f4 1096s 1..2 1096s # Start of atomic tests 1096s ok 1 /atomic/types 1096s ok 2 /atomic/threaded 1096s # End of atomic tests 1096s ok - glib/atomic-c-89.test 1096s # Running test: glib/mount-operation.test 1096s TAP version 14 1096s # random seed: R02S65d2efe7fa582bf33f30746cc63eca06 1096s 1..2 1096s # Start of mount-operation tests 1096s ok 1 /mount-operation/construction 1096s ok 2 /mount-operation/properties 1096s # End of mount-operation tests 1096s ok - glib/mount-operation.test 1096s # Running test: glib/macros-c-99.test 1096s TAP version 14 1096s # random seed: R02S3f65943ba240b74e91a891556f651a0d 1096s 1..4 1096s # Start of C tests 1096s ok 1 /C/standard-99 1096s # End of C tests 1096s # Start of alignof tests 1096s ok 2 /alignof/fallback 1096s # End of alignof tests 1096s # Start of assert tests 1096s ok 3 /assert/static 1096s # End of assert tests 1096s # Start of struct tests 1096s ok 4 /struct/sizeof_member 1096s # End of struct tests 1096s ok - glib/macros-c-99.test 1096s # Running test: glib/gdbus-subscribe.test 1096s TAP version 14 1096s # random seed: R02Sc6971c326accfc2d2b3203b5732e81ad 1096s 1..24 1096s # Start of gdbus tests 1096s # Start of subscribe tests 1096s # Start of conn tests 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/simple/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/simple/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/simple/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/simple/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/simple/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/simple/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/simple/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/simple/.dirs/runtime 1096s # subscriber is :1.0 1096s # service is :1.1 1096s # service 2 is :1.2 1096s # attacker is :1.3 1096s # Waiting for AddMatch to be processed 1096s # /gdbus/subscribe/conn/simple summary: A broadcast is only received after subscribing to it 1096s # Step 0: emitting signal 1096s # Sender: service 1096s # Destination: (broadcast) 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Waiting for signal to reach message bus 1096s # Step 1: adding subscription 1096s # Sender: (any) 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: (any) 1096s # String argument 0: (any) 1096s # Flags: 0 1096s # Subscribing via connection 1096s # Waiting for AddMatch to be processed 1096s # Step 2: emitting signal 1096s # Sender: service 1096s # Destination: (broadcast) 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Waiting for signal to reach message bus 1096s # Signal received from service :1.1 1096s # Signal received from service :1.1 via connection 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Sent in step: 2 1096s # Received Finished signal from subscriber :1.0 1096s # Received Finished signal from service :1.1 1096s # Received Finished signal from service 2 :1.2 1096s # Received Finished signal from attacker :1.3 1096s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 1096s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s ok 1 /gdbus/subscribe/conn/simple 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/runtime 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1096s # subscriber is :1.0 1096s # service is :1.1 1096s # service 2 is :1.2 1096s # attacker is :1.3 1096s # Waiting for AddMatch to be processed 1096s # /gdbus/subscribe/conn/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1096s # Step 0: adding subscription 1096s # Sender: (any) 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: (any) 1096s # String argument 0: (any) 1096s # Flags: 0 1096s # Subscribing via connection 1096s # Waiting for AddMatch to be processed 1096s # Step 1: emitting signal 1096s # Sender: service 1096s # Destination: (broadcast) 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Waiting for signal to reach message bus 1096s # Step 2: emitting signal 1096s # Sender: service 2 1096s # Destination: (broadcast) 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Waiting for signal to reach message bus 1096s # Step 3: emitting signal 1096s # Sender: service 1096s # Destination: subscriber :1.0 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Waiting for signal to reach message bus 1096s # Step 4: emitting signal 1096s # Sender: service 2 1096s # Destination: subscriber :1.0 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Waiting for signal to reach message bus 1096s # Signal received from service :1.1 1096s # Signal received from service :1.1 via connection 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Sent in step: 1 1096s # Signal received from service 2 :1.2 1096s # Signal received from service 2 :1.2 via connection 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Sent in step: 2 1096s # Signal received from service :1.1 1096s # Signal received from service :1.1 via connection 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Sent in step: 3 1096s # Signal received from service 2 :1.2 1096s # Signal received from service 2 :1.2 via connection 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Sent in step: 4 1096s # Received Finished signal from subscriber :1.0 1096s # Received Finished signal from service :1.1 1096s # Received Finished signal from service 2 :1.2 1096s # Received Finished signal from attacker :1.3 1096s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 1096s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1096s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1096s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s ok 2 /gdbus/subscribe/conn/broadcast_from_anyone 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/match_twice/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/match_twice/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/match_twice/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/match_twice/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/match_twice/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/match_twice/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/match_twice/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/match_twice/.dirs/runtime 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1096s # subscriber is :1.0 1096s # service is :1.1 1096s # service 2 is :1.2 1096s # attacker is :1.3 1096s # Waiting for AddMatch to be processed 1096s # /gdbus/subscribe/conn/match_twice summary: A message matching more than one subscription is received once per subscription 1096s # Step 0: adding subscription 1096s # Sender: service :1.1 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: (any) 1096s # String argument 0: (any) 1096s # Flags: 0 1096s # Subscribing via connection 1096s # Waiting for AddMatch to be processed 1096s # Step 1: adding subscription 1096s # Sender: (any) 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: (any) 1096s # Member: (any) 1096s # String argument 0: (any) 1096s # Flags: 0 1096s # Subscribing via connection 1096s # Waiting for AddMatch to be processed 1096s # Step 2: adding subscription 1096s # Sender: (any) 1096s # Path: (any) 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: (any) 1096s # String argument 0: (any) 1096s # Flags: 0 1096s # Subscribing via connection 1096s # Waiting for AddMatch to be processed 1096s # Step 3: adding subscription 1096s # Sender: service :1.1 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: (any) 1096s # String argument 0: (any) 1096s # Flags: 0 1096s # Subscribing via connection 1096s # Waiting for AddMatch to be processed 1096s # Step 4: emitting signal 1096s # Sender: service 1096s # Destination: (broadcast) 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Waiting for signal to reach message bus 1096s # Signal received from service :1.1 1096s # Signal received from service :1.1 via connection 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Sent in step: 4 1096s # Signal received from service :1.1 1096s # Signal received from service :1.1 via connection 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Sent in step: 4 1096s # Signal received from service :1.1 1096s # Signal received from service :1.1 via connection 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Sent in step: 4 1096s # Signal received from service :1.1 1096s # Signal received from service :1.1 via connection 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Sent in step: 4 1096s # Received Finished signal from subscriber :1.0 1096s # Received Finished signal from service :1.1 1096s # Received Finished signal from service 2 :1.2 1096s # Received Finished signal from attacker :1.3 1096s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s ok 3 /gdbus/subscribe/conn/match_twice 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/runtime 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1096s # subscriber is :1.0 1096s # service is :1.1 1096s # service 2 is :1.2 1096s # attacker is :1.3 1096s # Waiting for AddMatch to be processed 1096s # /gdbus/subscribe/conn/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1096s # Step 0: adding subscription 1096s # Sender: service :1.1 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: (any) 1096s # String argument 0: (any) 1096s # Flags: 0 1096s # Subscribing via connection 1096s # Waiting for AddMatch to be processed 1096s # Step 1: emitting signal 1096s # Sender: attacker 1096s # Destination: (broadcast) 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Waiting for signal to reach message bus 1096s # Step 2: emitting signal 1096s # Sender: attacker 1096s # Destination: subscriber :1.0 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Waiting for signal to reach message bus 1096s # Step 3: emitting signal 1096s # Sender: service 1096s # Destination: (broadcast) 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Waiting for signal to reach message bus 1096s # Signal received from service :1.1 1096s # Signal received from service :1.1 via connection 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Sent in step: 3 1096s # Received Finished signal from subscriber :1.0 1096s # Received Finished signal from service :1.1 1096s # Received Finished signal from service 2 :1.2 1096s # Received Finished signal from attacker :1.3 1096s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1096s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1096s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s ok 4 /gdbus/subscribe/conn/limit_by_unique_name 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/runtime 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1096s # subscriber is :1.0 1096s # service is :1.1 1096s # service 2 is :1.2 1096s # attacker is :1.3 1096s # Waiting for AddMatch to be processed 1096s # /gdbus/subscribe/conn/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1096s # Step 0: adding subscription 1096s # Sender: :0.this.had.better.not.exist 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: (any) 1096s # String argument 0: (any) 1096s # Flags: 0 1096s # Subscribing via connection 1096s # Waiting for AddMatch to be processed 1096s # Step 1: emitting signal 1096s # Sender: attacker 1096s # Destination: (broadcast) 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Waiting for signal to reach message bus 1096s # Step 2: emitting signal 1096s # Sender: attacker 1096s # Destination: subscriber :1.0 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Waiting for signal to reach message bus 1096s # Received Finished signal from subscriber :1.0 1096s # Received Finished signal from service :1.1 1096s # Received Finished signal from service 2 :1.2 1096s # Received Finished signal from attacker :1.3 1096s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1096s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s ok 5 /gdbus/subscribe/conn/nonexistent_unique_name 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/runtime 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1096s # subscriber is :1.0 1096s # service is :1.1 1096s # service 2 is :1.2 1096s # attacker is :1.3 1096s # Waiting for AddMatch to be processed 1096s # /gdbus/subscribe/conn/limit_by_well_known_name summary: A subscription via a well-known name only accepts messages sent by the owner of that well-known name 1096s # Step 0: claiming bus name 1096s # Name: org.gtk.Test.AlreadyOwned 1096s # Owner: service 1096s # Step 1: adding subscription 1096s # Sender: org.gtk.Test.AlreadyOwned 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: (any) 1096s # String argument 0: (any) 1096s # Flags: 0 1096s # Subscribing via connection 1096s # Waiting for AddMatch to be processed 1096s # Step 2: adding subscription 1096s # Sender: org.gtk.Test.OwnedLater 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: (any) 1096s # String argument 0: (any) 1096s # Flags: 0 1096s # Subscribing via connection 1096s # Waiting for AddMatch to be processed 1096s # Step 3: emitting signal 1096s # Sender: attacker 1096s # Destination: (broadcast) 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Waiting for signal to reach message bus 1096s # Step 4: emitting signal 1096s # Sender: attacker 1096s # Destination: subscriber :1.0 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Waiting for signal to reach message bus 1096s # Step 5: emitting signal 1096s # Sender: service 1096s # Destination: (broadcast) 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Waiting for signal to reach message bus 1096s # Step 6: claiming bus name 1096s # Name: org.gtk.Test.OwnedLater 1096s # Owner: service 1096s # Step 7: emitting signal 1096s # Sender: service 1096s # Destination: (broadcast) 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Waiting for signal to reach message bus 1096s # Signal received from service :1.1 1096s # Signal received from service :1.1 via connection 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Sent in step: 5 1096s # Signal received from service :1.1 1096s # Signal received from service :1.1 via connection 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Sent in step: 7 1096s # Signal received from service :1.1 1096s # Signal received from service :1.1 via connection 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Sent in step: 7 1096s # Received Finished signal from subscriber :1.0 1096s # Received Finished signal from service :1.1 1096s # Received Finished signal from service 2 :1.2 1096s # Received Finished signal from attacker :1.3 1096s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1096s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 1096s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 1096s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 1096s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 1096s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s ok 6 /gdbus/subscribe/conn/limit_by_well_known_name 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/runtime 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1096s # subscriber is :1.0 1096s # service is :1.1 1096s # service 2 is :1.2 1096s # attacker is :1.3 1096s # Waiting for AddMatch to be processed 1096s # /gdbus/subscribe/conn/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1096s # Step 0: adding subscription 1096s # Sender: org.freedesktop.DBus 1096s # Path: /org/freedesktop/DBus 1096s # Interface: org.freedesktop.DBus 1096s # Member: (any) 1096s # String argument 0: (any) 1096s # Flags: 0 1096s # Subscribing via connection 1096s # Waiting for AddMatch to be processed 1096s # Step 1: emitting signal 1096s # Sender: attacker 1096s # Destination: (broadcast) 1096s # Path: /org/freedesktop/DBus 1096s # Interface: org.freedesktop.DBus 1096s # Member: NameOwnerChanged 1096s # String argument 0: would I lie to you? 1096s # Waiting for signal to reach message bus 1096s # Step 2: emitting signal 1096s # Sender: attacker 1096s # Destination: subscriber :1.0 1096s # Path: /org/freedesktop/DBus 1096s # Interface: org.freedesktop.DBus 1096s # Member: NameOwnerChanged 1096s # Waiting for signal to reach message bus 1096s # Step 3: claiming bus name 1096s # Name: org.gtk.Test.OwnedLater 1096s # Owner: service 1096s # Signal received from message bus org.freedesktop.DBus 1096s # Signal received from (unused) org.freedesktop.DBus via connection 1096s # Path: /org/freedesktop/DBus 1096s # Interface: org.freedesktop.DBus 1096s # Member: NameOwnerChanged 1096s # Received Finished signal from subscriber :1.0 1096s # Received Finished signal from service :1.1 1096s # Received Finished signal from service 2 :1.2 1096s # Received Finished signal from attacker :1.3 1096s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1096s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1096s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s ok 7 /gdbus/subscribe/conn/limit_to_message_bus 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/runtime 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1096s # subscriber is :1.0 1096s # service is :1.1 1096s # service 2 is :1.2 1096s # attacker is :1.3 1096s # Waiting for AddMatch to be processed 1096s # /gdbus/subscribe/conn/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1096s # Step 0: claiming bus name 1096s # Name: org.gtk.Test.AlreadyOwned 1096s # Owner: service 1096s # Step 1: adding subscription 1096s # Sender: org.gtk.Test.AlreadyOwned 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: (any) 1096s # String argument 0: (any) 1096s # Flags: 0 1096s # Subscribing via connection 1096s # Immediately unsubscribing 1096s # Waiting for AddMatch to be processed 1096s # Step 2: emitting signal 1096s # Sender: service 1096s # Destination: (broadcast) 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Waiting for signal to reach message bus 1096s # Received Finished signal from subscriber :1.0 1096s # Received Finished signal from service :1.1 1096s # Received Finished signal from service 2 :1.2 1096s # Received Finished signal from attacker :1.3 1096s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1096s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s ok 8 /gdbus/subscribe/conn/unsubscribe_immediately 1096s # End of conn tests 1096s # Start of proxy tests 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/simple/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/simple/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/simple/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/simple/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/simple/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/simple/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/simple/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/simple/.dirs/runtime 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1096s # subscriber is :1.0 1096s # service is :1.1 1096s # service 2 is :1.2 1096s # attacker is :1.3 1096s # Waiting for AddMatch to be processed 1096s # /gdbus/subscribe/proxy/simple summary: A broadcast is only received after subscribing to it 1096s # Step 0: emitting signal 1096s # Sender: service 1096s # Destination: (broadcast) 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Waiting for signal to reach message bus 1096s # Step 1: adding subscription 1096s # Sender: (any) 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: (any) 1096s # String argument 0: (any) 1096s # Flags: 0 1096s # Cannot subscribe via proxy: no bus name 1096s # Waiting for AddMatch to be processed 1096s # Step 2: emitting signal 1096s # Sender: service 1096s # Destination: (broadcast) 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Waiting for signal to reach message bus 1096s # Received Finished signal from subscriber :1.0 1096s # Received Finished signal from service :1.1 1096s # Received Finished signal from service 2 :1.2 1096s # Received Finished signal from attacker :1.3 1096s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 1096s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s ok 9 /gdbus/subscribe/proxy/simple 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/runtime 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1096s # subscriber is :1.0 1096s # service is :1.1 1096s # service 2 is :1.2 1096s # attacker is :1.3 1096s # Waiting for AddMatch to be processed 1096s # /gdbus/subscribe/proxy/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1096s # Step 0: adding subscription 1096s # Sender: (any) 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: (any) 1096s # String argument 0: (any) 1096s # Flags: 0 1096s # Cannot subscribe via proxy: no bus name 1096s # Waiting for AddMatch to be processed 1096s # Step 1: emitting signal 1096s # Sender: service 1096s # Destination: (broadcast) 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Waiting for signal to reach message bus 1096s # Step 2: emitting signal 1096s # Sender: service 2 1096s # Destination: (broadcast) 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Waiting for signal to reach message bus 1096s # Step 3: emitting signal 1096s # Sender: service 1096s # Destination: subscriber :1.0 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Waiting for signal to reach message bus 1096s # Step 4: emitting signal 1096s # Sender: service 2 1096s # Destination: subscriber :1.0 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Waiting for signal to reach message bus 1096s # Received Finished signal from subscriber :1.0 1096s # Received Finished signal from service :1.1 1096s # Received Finished signal from service 2 :1.2 1096s # Received Finished signal from attacker :1.3 1096s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1096s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1096s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1096s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s ok 10 /gdbus/subscribe/proxy/broadcast_from_anyone 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/match_twice/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/match_twice/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/match_twice/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/match_twice/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/match_twice/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/match_twice/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/match_twice/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/match_twice/.dirs/runtime 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1096s # subscriber is :1.0 1096s # service is :1.1 1096s # service 2 is :1.2 1096s # attacker is :1.3 1096s # Waiting for AddMatch to be processed 1096s # /gdbus/subscribe/proxy/match_twice summary: A message matching more than one subscription is received once per subscription 1096s # Step 0: adding subscription 1096s # Sender: service :1.1 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: (any) 1096s # String argument 0: (any) 1096s # Flags: 0 1096s # Subscribing via proxy 1096s # Waiting for AddMatch to be processed 1096s # Step 1: adding subscription 1096s # Sender: (any) 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: (any) 1096s # Member: (any) 1096s # String argument 0: (any) 1096s # Flags: 0 1096s # Cannot subscribe via proxy: no bus name 1096s # Waiting for AddMatch to be processed 1096s # Step 2: adding subscription 1096s # Sender: (any) 1096s # Path: (any) 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: (any) 1096s # String argument 0: (any) 1096s # Flags: 0 1096s # Cannot subscribe via proxy: no bus name 1096s # Waiting for AddMatch to be processed 1096s # Step 3: adding subscription 1096s # Sender: service :1.1 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: (any) 1096s # String argument 0: (any) 1096s # Flags: 0 1096s # Subscribing via proxy 1096s # Waiting for AddMatch to be processed 1096s # Step 4: emitting signal 1096s # Sender: service 1096s # Destination: (broadcast) 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Waiting for signal to reach message bus 1096s # Signal received from service :1.1 1096s # Signal received from service :1.1 via proxy 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Sent in step: 4 1096s # Signal received from service :1.1 1096s # Signal received from service :1.1 via proxy 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Sent in step: 4 1096s # Received Finished signal from subscriber :1.0 1096s # Received Finished signal from service :1.1 1096s # Received Finished signal from service 2 :1.2 1096s # Received Finished signal from attacker :1.3 1096s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s ok 11 /gdbus/subscribe/proxy/match_twice 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/runtime 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1096s # subscriber is :1.0 1096s # service is :1.1 1096s # service 2 is :1.2 1096s # attacker is :1.3 1096s # Waiting for AddMatch to be processed 1096s # /gdbus/subscribe/proxy/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1096s # Step 0: adding subscription 1096s # Sender: service :1.1 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: (any) 1096s # String argument 0: (any) 1096s # Flags: 0 1096s # Subscribing via proxy 1096s # Waiting for AddMatch to be processed 1096s # Step 1: emitting signal 1096s # Sender: attacker 1096s # Destination: (broadcast) 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Waiting for signal to reach message bus 1096s # Step 2: emitting signal 1096s # Sender: attacker 1096s # Destination: subscriber :1.0 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Waiting for signal to reach message bus 1096s # Step 3: emitting signal 1096s # Sender: service 1096s # Destination: (broadcast) 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Waiting for signal to reach message bus 1096s # Signal received from service :1.1 1096s # Signal received from service :1.1 via proxy 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Sent in step: 3 1096s # Received Finished signal from subscriber :1.0 1096s # Received Finished signal from service :1.1 1096s # Received Finished signal from service 2 :1.2 1096s # Received Finished signal from attacker :1.3 1096s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1096s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1096s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s ok 12 /gdbus/subscribe/proxy/limit_by_unique_name 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/runtime 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1096s # subscriber is :1.0 1096s # service is :1.1 1096s # service 2 is :1.2 1096s # attacker is :1.3 1096s # Waiting for AddMatch to be processed 1096s # /gdbus/subscribe/proxy/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1096s # Step 0: adding subscription 1096s # Sender: :0.this.had.better.not.exist 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: (any) 1096s # String argument 0: (any) 1096s # Flags: 0 1096s # Subscribing via proxy 1096s # Waiting for AddMatch to be processed 1096s # Step 1: emitting signal 1096s # Sender: attacker 1096s # Destination: (broadcast) 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Waiting for signal to reach message bus 1096s # Step 2: emitting signal 1096s # Sender: attacker 1096s # Destination: subscriber :1.0 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Waiting for signal to reach message bus 1096s # Received Finished signal from subscriber :1.0 1096s # Received Finished signal from service :1.1 1096s # Received Finished signal from service 2 :1.2 1096s # Received Finished signal from attacker :1.3 1096s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1096s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s ok 13 /gdbus/subscribe/proxy/nonexistent_unique_name 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/runtime 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1096s # subscriber is :1.0 1096s # service is :1.1 1096s # service 2 is :1.2 1096s # attacker is :1.3 1096s # Waiting for AddMatch to be processed 1096s # /gdbus/subscribe/proxy/limit_by_well_known_name summary: A subscription via a well-known name only accepts messages sent by the owner of that well-known name 1096s # Step 0: claiming bus name 1096s # Name: org.gtk.Test.AlreadyOwned 1096s # Owner: service 1096s # Step 1: adding subscription 1096s # Sender: org.gtk.Test.AlreadyOwned 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: (any) 1096s # String argument 0: (any) 1096s # Flags: 0 1096s # Subscribing via proxy 1096s # Waiting for AddMatch to be processed 1096s # Step 2: adding subscription 1096s # Sender: org.gtk.Test.OwnedLater 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: (any) 1096s # String argument 0: (any) 1096s # Flags: 0 1096s # Subscribing via proxy 1096s # Waiting for AddMatch to be processed 1096s # Step 3: emitting signal 1096s # Sender: attacker 1096s # Destination: (broadcast) 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Waiting for signal to reach message bus 1096s # Step 4: emitting signal 1096s # Sender: attacker 1096s # Destination: subscriber :1.0 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Waiting for signal to reach message bus 1096s # Step 5: emitting signal 1096s # Sender: service 1096s # Destination: (broadcast) 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Waiting for signal to reach message bus 1096s # Step 6: claiming bus name 1096s # Name: org.gtk.Test.OwnedLater 1096s # Owner: service 1096s # Step 7: emitting signal 1096s # Sender: service 1096s # Destination: (broadcast) 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Waiting for signal to reach message bus 1096s # Signal received from service :1.1 1096s # Signal received from service :1.1 via proxy 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Sent in step: 5 1096s # Signal received from service :1.1 1096s # Signal received from service :1.1 via proxy 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Sent in step: 7 1096s # Signal received from service :1.1 1096s # Signal received from service :1.1 via proxy 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Sent in step: 7 1096s # Received Finished signal from subscriber :1.0 1096s # Received Finished signal from service :1.1 1096s # Received Finished signal from service 2 :1.2 1096s # Received Finished signal from attacker :1.3 1096s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1096s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1096s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1096s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 1096s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 1096s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s ok 14 /gdbus/subscribe/proxy/limit_by_well_known_name 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/runtime 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1096s # subscriber is :1.0 1096s # service is :1.1 1096s # service 2 is :1.2 1096s # attacker is :1.3 1096s # Waiting for AddMatch to be processed 1096s # /gdbus/subscribe/proxy/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1096s # Step 0: adding subscription 1096s # Sender: org.freedesktop.DBus 1096s # Path: /org/freedesktop/DBus 1096s # Interface: org.freedesktop.DBus 1096s # Member: (any) 1096s # String argument 0: (any) 1096s # Flags: 0 1096s # Subscribing via proxy 1096s # Waiting for AddMatch to be processed 1096s # Step 1: emitting signal 1096s # Sender: attacker 1096s # Destination: (broadcast) 1096s # Path: /org/freedesktop/DBus 1096s # Interface: org.freedesktop.DBus 1096s # Member: NameOwnerChanged 1096s # String argument 0: would I lie to you? 1096s # Waiting for signal to reach message bus 1096s # Step 2: emitting signal 1096s # Sender: attacker 1096s # Destination: subscriber :1.0 1096s # Path: /org/freedesktop/DBus 1096s # Interface: org.freedesktop.DBus 1096s # Member: NameOwnerChanged 1096s # Waiting for signal to reach message bus 1096s # Step 3: claiming bus name 1096s # Name: org.gtk.Test.OwnedLater 1096s # Owner: service 1096s # Signal received from message bus org.freedesktop.DBus 1096s # Signal received from (unused) org.freedesktop.DBus via proxy 1096s # Path: /org/freedesktop/DBus 1096s # Interface: org.freedesktop.DBus 1096s # Member: NameOwnerChanged 1096s # Received Finished signal from subscriber :1.0 1096s # Received Finished signal from service :1.1 1096s # Received Finished signal from service 2 :1.2 1096s # Received Finished signal from attacker :1.3 1096s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1096s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1096s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s ok 15 /gdbus/subscribe/proxy/limit_to_message_bus 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/runtime 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1096s # subscriber is :1.0 1096s # service is :1.1 1096s # service 2 is :1.2 1096s # attacker is :1.3 1096s # Waiting for AddMatch to be processed 1096s # /gdbus/subscribe/proxy/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1096s # Step 0: claiming bus name 1096s # Name: org.gtk.Test.AlreadyOwned 1096s # Owner: service 1096s # Step 1: adding subscription 1096s # Sender: org.gtk.Test.AlreadyOwned 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: (any) 1096s # String argument 0: (any) 1096s # Flags: 0 1096s # Subscribing via proxy 1096s # Waiting for AddMatch to be processed 1096s # Step 2: emitting signal 1096s # Sender: service 1096s # Destination: (broadcast) 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Waiting for signal to reach message bus 1096s # Signal received from service :1.1 1096s # Signal received from service :1.1 via proxy 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Sent in step: 2 1096s # Received Finished signal from subscriber :1.0 1096s # Received Finished signal from service :1.1 1096s # Received Finished signal from service 2 :1.2 1096s # Received Finished signal from attacker :1.3 1096s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1096s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s ok 16 /gdbus/subscribe/proxy/unsubscribe_immediately 1096s # End of proxy tests 1096s # Start of parallel tests 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/simple/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/simple/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/simple/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/simple/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/simple/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/simple/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/simple/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/simple/.dirs/runtime 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1096s # subscriber is :1.0 1096s # service is :1.1 1096s # service 2 is :1.2 1096s # attacker is :1.3 1096s # Waiting for AddMatch to be processed 1096s # /gdbus/subscribe/parallel/simple summary: A broadcast is only received after subscribing to it 1096s # Step 0: emitting signal 1096s # Sender: service 1096s # Destination: (broadcast) 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Waiting for signal to reach message bus 1096s # Step 1: adding subscription 1096s # Sender: (any) 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: (any) 1096s # String argument 0: (any) 1096s # Flags: 0 1096s # Subscribing via connection 1096s # Cannot subscribe via proxy: no bus name 1096s # Waiting for AddMatch to be processed 1096s # Step 2: emitting signal 1096s # Sender: service 1096s # Destination: (broadcast) 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Waiting for signal to reach message bus 1096s # Signal received from service :1.1 1096s # Signal received from service :1.1 via connection 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Sent in step: 2 1096s # Received Finished signal from subscriber :1.0 1096s # Received Finished signal from service :1.1 1096s # Received Finished signal from service 2 :1.2 1096s # Received Finished signal from attacker :1.3 1096s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 1096s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 1096s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1096s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s ok 17 /gdbus/subscribe/parallel/simple 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/runtime 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1096s # subscriber is :1.0 1096s # service is :1.1 1096s # service 2 is :1.2 1096s # attacker is :1.3 1096s # Waiting for AddMatch to be processed 1096s # /gdbus/subscribe/parallel/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1096s # Step 0: adding subscription 1096s # Sender: (any) 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: (any) 1096s # String argument 0: (any) 1096s # Flags: 0 1096s # Subscribing via connection 1096s # Cannot subscribe via proxy: no bus name 1096s # Waiting for AddMatch to be processed 1096s # Step 1: emitting signal 1096s # Sender: service 1096s # Destination: (broadcast) 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Waiting for signal to reach message bus 1096s # Step 2: emitting signal 1096s # Sender: service 2 1096s # Destination: (broadcast) 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Waiting for signal to reach message bus 1096s # Step 3: emitting signal 1096s # Sender: service 1096s # Destination: subscriber :1.0 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Waiting for signal to reach message bus 1096s # Step 4: emitting signal 1096s # Sender: service 2 1096s # Destination: subscriber :1.0 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Waiting for signal to reach message bus 1096s # Signal received from service :1.1 1096s # Signal received from service :1.1 via connection 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Sent in step: 1 1096s # Signal received from service 2 :1.2 1096s # Signal received from service 2 :1.2 via connection 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Sent in step: 2 1096s # Signal received from service :1.1 1096s # Signal received from service :1.1 via connection 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Sent in step: 3 1096s # Signal received from service 2 :1.2 1096s # Signal received from service 2 :1.2 via connection 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Sent in step: 4 1096s # Received Finished signal from subscriber :1.0 1096s # Received Finished signal from service :1.1 1096s # Received Finished signal from service 2 :1.2 1096s # Received Finished signal from attacker :1.3 1096s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 1096s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1096s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1096s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1096s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1096s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1096s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 1096s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s ok 18 /gdbus/subscribe/parallel/broadcast_from_anyone 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/match_twice/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/match_twice/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/match_twice/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/match_twice/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/match_twice/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/match_twice/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/match_twice/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/match_twice/.dirs/runtime 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1096s # subscriber is :1.0 1096s # service is :1.1 1096s # service 2 is :1.2 1096s # attacker is :1.3 1096s # Waiting for AddMatch to be processed 1096s # /gdbus/subscribe/parallel/match_twice summary: A message matching more than one subscription is received once per subscription 1096s # Step 0: adding subscription 1096s # Sender: service :1.1 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: (any) 1096s # String argument 0: (any) 1096s # Flags: 0 1096s # Subscribing via connection 1096s # Subscribing via proxy 1096s # Waiting for AddMatch to be processed 1096s # Step 1: adding subscription 1096s # Sender: (any) 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: (any) 1096s # Member: (any) 1096s # String argument 0: (any) 1096s # Flags: 0 1096s # Subscribing via connection 1096s # Cannot subscribe via proxy: no bus name 1096s # Waiting for AddMatch to be processed 1096s # Step 2: adding subscription 1096s # Sender: (any) 1096s # Path: (any) 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: (any) 1096s # String argument 0: (any) 1096s # Flags: 0 1096s # Subscribing via connection 1096s # Cannot subscribe via proxy: no bus name 1096s # Waiting for AddMatch to be processed 1096s # Step 3: adding subscription 1096s # Sender: service :1.1 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: (any) 1096s # String argument 0: (any) 1096s # Flags: 0 1096s # Subscribing via connection 1096s # Subscribing via proxy 1096s # Waiting for AddMatch to be processed 1096s # Step 4: emitting signal 1096s # Sender: service 1096s # Destination: (broadcast) 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Waiting for signal to reach message bus 1096s # Signal received from service :1.1 1096s # Signal received from service :1.1 via connection 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Sent in step: 4 1096s # Signal received from service :1.1 1096s # Signal received from service :1.1 via proxy 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Sent in step: 4 1096s # Signal received from service :1.1 1096s # Signal received from service :1.1 via connection 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Sent in step: 4 1096s # Signal received from service :1.1 1096s # Signal received from service :1.1 via proxy 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Sent in step: 4 1096s # Signal received from service :1.1 1096s # Signal received from service :1.1 via connection 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Sent in step: 4 1096s # Signal received from service :1.1 1096s # Signal received from service :1.1 via connection 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Sent in step: 4 1096s # Received Finished signal from subscriber :1.0 1096s # Received Finished signal from service :1.1 1096s # Received Finished signal from service 2 :1.2 1096s # Received Finished signal from attacker :1.3 1096s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 1096s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s ok 19 /gdbus/subscribe/parallel/match_twice 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/runtime 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1096s # subscriber is :1.0 1096s # service is :1.1 1096s # service 2 is :1.2 1096s # attacker is :1.3 1096s # Waiting for AddMatch to be processed 1096s # /gdbus/subscribe/parallel/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1096s # Step 0: adding subscription 1096s # Sender: service :1.1 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: (any) 1096s # String argument 0: (any) 1096s # Flags: 0 1096s # Subscribing via connection 1096s # Subscribing via proxy 1096s # Waiting for AddMatch to be processed 1096s # Step 1: emitting signal 1096s # Sender: attacker 1096s # Destination: (broadcast) 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Waiting for signal to reach message bus 1096s # Step 2: emitting signal 1096s # Sender: attacker 1096s # Destination: subscriber :1.0 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Waiting for signal to reach message bus 1096s # Step 3: emitting signal 1096s # Sender: service 1096s # Destination: (broadcast) 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Waiting for signal to reach message bus 1096s # Signal received from service :1.1 1096s # Signal received from service :1.1 via connection 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Sent in step: 3 1096s # Signal received from service :1.1 1096s # Signal received from service :1.1 via proxy 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Sent in step: 3 1096s # Received Finished signal from subscriber :1.0 1096s # Received Finished signal from service :1.1 1096s # Received Finished signal from service 2 :1.2 1096s # Received Finished signal from attacker :1.3 1096s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1096s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1096s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1096s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1096s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1096s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s ok 20 /gdbus/subscribe/parallel/limit_by_unique_name 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/runtime 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1096s # subscriber is :1.0 1096s # service is :1.1 1096s # service 2 is :1.2 1096s # attacker is :1.3 1096s # Waiting for AddMatch to be processed 1096s # /gdbus/subscribe/parallel/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1096s # Step 0: adding subscription 1096s # Sender: :0.this.had.better.not.exist 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: (any) 1096s # String argument 0: (any) 1096s # Flags: 0 1096s # Subscribing via connection 1096s # Subscribing via proxy 1096s # Waiting for AddMatch to be processed 1096s # Step 1: emitting signal 1096s # Sender: attacker 1096s # Destination: (broadcast) 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Waiting for signal to reach message bus 1096s # Step 2: emitting signal 1096s # Sender: attacker 1096s # Destination: subscriber :1.0 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Waiting for signal to reach message bus 1096s # Received Finished signal from subscriber :1.0 1096s # Received Finished signal from service :1.1 1096s # Received Finished signal from service 2 :1.2 1096s # Received Finished signal from attacker :1.3 1096s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1096s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1096s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1096s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s ok 21 /gdbus/subscribe/parallel/nonexistent_unique_name 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/runtime 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1096s # subscriber is :1.0 1096s # service is :1.1 1096s # service 2 is :1.2 1096s # attacker is :1.3 1096s # Waiting for AddMatch to be processed 1096s # /gdbus/subscribe/parallel/limit_by_well_known_name summary: A subscription via a well-known name only accepts messages sent by the owner of that well-known name 1096s # Step 0: claiming bus name 1096s # Name: org.gtk.Test.AlreadyOwned 1096s # Owner: service 1096s # Step 1: adding subscription 1096s # Sender: org.gtk.Test.AlreadyOwned 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: (any) 1096s # String argument 0: (any) 1096s # Flags: 0 1096s # Subscribing via connection 1096s # Subscribing via proxy 1096s # Waiting for AddMatch to be processed 1096s # Step 2: adding subscription 1096s # Sender: org.gtk.Test.OwnedLater 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: (any) 1096s # String argument 0: (any) 1096s # Flags: 0 1096s # Subscribing via connection 1096s # Subscribing via proxy 1096s # Waiting for AddMatch to be processed 1096s # Step 3: emitting signal 1096s # Sender: attacker 1096s # Destination: (broadcast) 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Waiting for signal to reach message bus 1096s # Step 4: emitting signal 1096s # Sender: attacker 1096s # Destination: subscriber :1.0 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Waiting for signal to reach message bus 1096s # Step 5: emitting signal 1096s # Sender: service 1096s # Destination: (broadcast) 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Waiting for signal to reach message bus 1096s # Step 6: claiming bus name 1096s # Name: org.gtk.Test.OwnedLater 1096s # Owner: service 1096s # Step 7: emitting signal 1096s # Sender: service 1096s # Destination: (broadcast) 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Waiting for signal to reach message bus 1096s # Signal received from service :1.1 1096s # Signal received from service :1.1 via connection 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Sent in step: 5 1096s # Signal received from service :1.1 1096s # Signal received from service :1.1 via proxy 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Sent in step: 5 1096s # Signal received from service :1.1 1096s # Signal received from service :1.1 via connection 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Sent in step: 7 1096s # Signal received from service :1.1 1096s # Signal received from service :1.1 via proxy 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Sent in step: 7 1096s # Signal received from service :1.1 1096s # Signal received from service :1.1 via connection 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Sent in step: 7 1096s # Signal received from service :1.1 1096s # Signal received from service :1.1 via proxy 1096s # Path: /org/gtk/GDBus/ExampleInterface 1096s # Interface: org.gtk.GDBus.ExampleInterface 1096s # Member: Foo 1096s # Argument 0: (not a string) 1096s # Sent in step: 7 1096s # Received Finished signal from subscriber :1.0 1096s # Received Finished signal from service :1.1 1096s # Received Finished signal from service 2 :1.2 1096s # Received Finished signal from attacker :1.3 1096s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1096s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1096s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 1096s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1096s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 1096s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1096s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 1096s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 1096s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 1096s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 1096s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 1096s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s ok 22 /gdbus/subscribe/parallel/limit_by_well_known_name 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/runtime 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1096s # subscriber is :1.0 1096s # service is :1.1 1096s # service 2 is :1.2 1096s # attacker is :1.3 1096s # Waiting for AddMatch to be processed 1096s # /gdbus/subscribe/parallel/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1096s # Step 0: adding subscription 1096s # Sender: org.freedesktop.DBus 1096s # Path: /org/freedesktop/DBus 1096s # Interface: org.freedesktop.DBus 1096s # Member: (any) 1096s # String argument 0: (any) 1096s # Flags: 0 1096s # Subscribing via connection 1096s # Subscribing via proxy 1096s # Waiting for AddMatch to be processed 1096s # Step 1: emitting signal 1096s # Sender: attacker 1096s # Destination: (broadcast) 1096s # Path: /org/freedesktop/DBus 1096s # Interface: org.freedesktop.DBus 1096s # Member: NameOwnerChanged 1096s # String argument 0: would I lie to you? 1096s # Waiting for signal to reach message bus 1096s # Step 2: emitting signal 1096s # Sender: attacker 1096s # Destination: subscriber :1.0 1096s # Path: /org/freedesktop/DBus 1096s # Interface: org.freedesktop.DBus 1096s # Member: NameOwnerChanged 1096s # Waiting for signal to reach message bus 1096s # Step 3: claiming bus name 1096s # Name: org.gtk.Test.OwnedLater 1096s # Owner: service 1096s # Signal received from message bus org.freedesktop.DBus 1096s # Signal received from (unused) org.freedesktop.DBus via connection 1096s # Path: /org/freedesktop/DBus 1096s # Interface: org.freedesktop.DBus 1096s # Member: NameOwnerChanged 1096s # Signal received from message bus org.freedesktop.DBus 1096s # Signal received from (unused) org.freedesktop.DBus via proxy 1096s # Path: /org/freedesktop/DBus 1096s # Interface: org.freedesktop.DBus 1096s # Member: NameOwnerChanged 1096s # Received Finished signal from subscriber :1.0 1096s # Received Finished signal from service :1.1 1096s # Received Finished signal from service 2 :1.2 1096s # Received Finished signal from attacker :1.3 1096s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1096s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1096s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1096s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1096s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 1096s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s ok 23 /gdbus/subscribe/parallel/limit_to_message_bus 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PXQPZ2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/runtime 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1096s # subscriber is :1.0 1096s # service is :1.1 1096s # service 2 is :1.2 1096s # attacker is :1.3 1096s # Waiting for AddMatch to be processed 1096s # /gdbus/subscribe/parallel/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1096s # Step 0: claiming bus name 1096s # Name: org.gtk.Test.AlreadyOwned 1097s # Owner: service 1097s # Step 1: adding subscription 1097s # Sender: org.gtk.Test.AlreadyOwned 1097s # Path: /org/gtk/GDBus/ExampleInterface 1097s # Interface: org.gtk.GDBus.ExampleInterface 1097s # Member: (any) 1097s # String argument 0: (any) 1097s # Flags: 0 1097s # Subscribing via connection 1097s # Immediately unsubscribing 1097s # Subscribing via proxy 1097s # Waiting for AddMatch to be processed 1097s # Step 2: emitting signal 1097s # Sender: service 1097s # Destination: (broadcast) 1097s # Path: /org/gtk/GDBus/ExampleInterface 1097s # Interface: org.gtk.GDBus.ExampleInterface 1097s # Member: Foo 1097s # Argument 0: (not a string) 1097s # Waiting for signal to reach message bus 1097s # Signal received from service :1.1 1097s # Signal received from service :1.1 via proxy 1097s # Path: /org/gtk/GDBus/ExampleInterface 1097s # Interface: org.gtk.GDBus.ExampleInterface 1097s # Member: Foo 1097s # Argument 0: (not a string) 1097s # Sent in step: 2 1097s # Received Finished signal from subscriber :1.0 1097s # Received Finished signal from service :1.1 1097s # Received Finished signal from service 2 :1.2 1097s # Received Finished signal from attacker :1.3 1097s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1097s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1097s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1097s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1097s ok 24 /gdbus/subscribe/parallel/unsubscribe_immediately 1097s # End of parallel tests 1097s # End of subscribe tests 1097s # End of gdbus tests 1097s ok - glib/gdbus-subscribe.test 1097s # Running test: glib/list.test 1097s TAP version 14 1097s # random seed: R02S118ab167d420e03435ab4859c8b08e37 1097s 1..20 1097s # Start of list tests 1097s ok 1 /list/sort 1097s ok 2 /list/sort-with-data 1097s ok 3 /list/insert-before-link 1097s ok 4 /list/insert-sorted 1097s ok 5 /list/insert-sorted-with-data 1097s ok 6 /list/reverse 1097s ok 7 /list/nth 1097s ok 8 /list/concat 1097s ok 9 /list/remove 1097s ok 10 /list/remove-all 1097s ok 11 /list/first-last 1097s ok 12 /list/insert 1097s ok 13 /list/free-full 1097s ok 14 /list/copy 1097s ok 15 /list/copy-deep 1097s ok 16 /list/delete-link 1097s ok 17 /list/prepend 1097s ok 18 /list/position 1097s ok 19 /list/double-free 1097s # Start of sort tests 1097s ok 20 /list/sort/stable 1097s # End of sort tests 1097s # End of list tests 1097s ok - glib/list.test 1097s # Running test: glib/spawn-path-search.test 1097s TAP version 14 1097s # random seed: R02S4318886b40b936b3bb38c33dc6a08e96 1097s 1..7 1097s # Start of spawn tests 1097s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 1097s # 1097s # this is spawn-test-helper from glib/tests 1097s # 1097s ok 1 /spawn/do-not-search 1097s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 1097s # 1097s # this is spawn-test-helper from path-test-subdir 1097s # 1097s ok 2 /spawn/search-path 1097s # /spawn/search-path-from-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP, spawn-test-helper means $PATH/spawn-test-helper with $PATH from envp. 1097s # 1097s # this is spawn-test-helper from path-test-subdir 1097s # 1097s ok 3 /spawn/search-path-from-envp 1097s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 1097s # 1097s # this is spawn-test-helper from path-test-subdir 1097s # 1097s ok 4 /spawn/search-path-ambiguous 1097s # 1097s # this is spawn-test-helper from path-test-subdir 1097s # 1097s ok 5 /spawn/search-path-heap-allocation 1097s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 1097s # 1097s # this is spawn-test-helper from glib/tests 1097s # 1097s ok 6 /spawn/search-path-fallback-in-environ 1097s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 1097s # 1097s # this is spawn-test-helper from glib/tests 1097s # 1097s ok 7 /spawn/search-path-fallback-in-envp 1097s # End of spawn tests 1097s ok - glib/spawn-path-search.test 1097s # Running test: glib/tls-interaction.test 1097s TAP version 14 1097s # random seed: R02Sfaf6da85e07e18e969a9d4571d0e58a3 1097s 1..42 1097s # Start of tls-interaction tests 1097s # Start of ask-password tests 1097s # Start of invoke-with-loop tests 1097s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 1097s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 1097s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 1097s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 1097s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 1097s # End of invoke-with-loop tests 1097s # Start of invoke-without-loop tests 1097s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 1097s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 1097s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 1097s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 1097s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 1097s # End of invoke-without-loop tests 1097s # Start of invoke-in-loop tests 1097s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 1097s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 1097s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 1097s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 1097s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 1097s # End of invoke-in-loop tests 1097s # Start of sync tests 1097s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 1097s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 1097s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 1097s # End of sync tests 1097s # Start of async tests 1097s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 1097s ok 20 /tls-interaction/ask-password/async/async-implementation-success 1097s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 1097s # End of async tests 1097s # End of ask-password tests 1097s # Start of request-certificate tests 1097s # Start of invoke-with-loop tests 1097s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 1097s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 1097s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 1097s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 1097s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 1097s # End of invoke-with-loop tests 1097s # Start of invoke-without-loop tests 1097s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 1097s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 1097s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 1097s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 1097s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 1097s # End of invoke-without-loop tests 1097s # Start of invoke-in-loop tests 1097s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 1097s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 1097s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 1097s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 1097s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 1097s # End of invoke-in-loop tests 1097s # Start of sync tests 1097s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 1097s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 1097s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 1097s # End of sync tests 1097s # Start of async tests 1097s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 1097s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 1097s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 1097s # End of async tests 1097s # End of request-certificate tests 1097s # End of tls-interaction tests 1097s ok - glib/tls-interaction.test 1097s # Running test: glib/environment.test 1097s TAP version 14 1097s # random seed: R02S4d41d7558b628acb9b2af79b54c015b4 1097s 1..6 1097s # Start of environ tests 1097s # /environ/listenv summary: Test g_get_environ() returns an array of unique keys, all of which can be individually queried using g_getenv() to return the same value. 1097s ok 1 /environ/listenv 1097s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 1097s ok 2 /environ/getenv 1097s ok 3 /environ/setenv 1097s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 1097s ok 4 /environ/array 1097s # /environ/null summary: Test getting and setting variables on a NULL envp array. 1097s ok 5 /environ/null 1097s # /environ/case summary: Test that matching environment variables is case-insensitive on Windows and not on other platforms, since envvars were case-insensitive on DOS. 1097s ok 6 /environ/case 1097s # End of environ tests 1097s ok - glib/environment.test 1097s # Running test: glib/1bit-mutex.test 1097s TAP version 14 1097s # random seed: R02Se93bc7dea866020f08f940ee13961c52 1097s 1..2 1097s # Start of glib tests 1097s # Start of 1bit-mutex tests 1099s # Executing: glib/1bit-mutex.test 1102s ok 1 /glib/1bit-mutex/int 1102s # slow test /glib/1bit-mutex/int executed in 5.38 secs 1104s # Executing: glib/1bit-mutex.test 1107s ok 2 /glib/1bit-mutex/pointer 1107s # slow test /glib/1bit-mutex/pointer executed in 5.37 secs 1107s # End of 1bit-mutex tests 1107s # End of glib tests 1107s ok - glib/1bit-mutex.test 1107s # Running test: glib/scannerapi.test 1107s TAP version 14 1107s # random seed: R02Sd0245a75e2f5f7a3e33e4af827f99955 1107s 1..4 1107s # Start of scanner tests 1107s ok 1 /scanner/warn 1107s ok 2 /scanner/error 1107s ok 3 /scanner/symbols 1107s ok 4 /scanner/tokens 1107s # End of scanner tests 1107s ok - glib/scannerapi.test 1107s # Running test: glib/utils.test 1107s TAP version 14 1107s # random seed: R02S85ae783e6517fd01c80d30b823104a0e 1107s 1..40 1107s # Start of utils tests 1107s ok 1 /utils/language-names 1107s ok 2 /utils/locale-variants 1107s ok 3 /utils/version 1107s ok 4 /utils/appname 1107s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1107s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1107s ok 5 /utils/prgname-thread-safety 1107s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1107s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1107s ok 6 /utils/tmpdir 1107s ok 7 /utils/basic_bits 1107s ok 8 /utils/bits 1107s ok 9 /utils/swap 1107s ok 10 /utils/find-program 1107s ok 11 /utils/find-program-for-path 1107s ok 12 /utils/debug 1107s ok 13 /utils/codeset 1107s ok 14 /utils/codeset2 1107s ok 15 /utils/console-charset 1107s ok 16 /utils/gettext 1107s ok 17 /utils/username 1107s ok 18 /utils/realname 1107s ok 19 /utils/hostname 1107s ok 20 /utils/xdgdirs 1107s ok 21 /utils/specialdir 1107s # NAME: Ubuntu 1107s ok 22 /utils/os-info 1107s ok 23 /utils/clear-pointer 1107s ok 24 /utils/clear-pointer-cast 1107s ok 25 /utils/take-pointer 1107s ok 26 /utils/clear-source 1107s ok 27 /utils/misc-mem 1107s # /utils/aligned-mem summary: Aligned memory allocator 1107s # Alignment must not be zero 1107s # Alignment must be a power of two 1107s # Alignment must be a multiple of sizeof(void*) 1107s ok 28 /utils/aligned-mem 1107s # /utils/free-sized summary: Check that g_free_sized() works 1107s ok 29 /utils/free-sized 1107s ok 30 /utils/nullify 1107s ok 31 /utils/atexit 1107s ok 32 /utils/check-setuid 1107s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1107s ok 33 /utils/int-limits 1107s ok 34 /utils/clear-list 1107s ok 35 /utils/clear-slist 1107s # Start of specialdir tests 1107s ok 36 /utils/specialdir/desktop 1107s # End of specialdir tests 1107s # Start of clear-pointer tests 1107s ok 37 /utils/clear-pointer/side-effects 1107s # End of clear-pointer tests 1107s # Start of aligned-mem tests 1107s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1107s ok 38 /utils/aligned-mem/alignment 1107s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1107s ok 39 /utils/aligned-mem/zeroed 1107s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1107s ok 40 /utils/aligned-mem/free-sized 1107s # Start of subprocess tests 1107s # End of subprocess tests 1107s # End of aligned-mem tests 1107s # End of utils tests 1107s ok - glib/utils.test 1107s # Running test: glib/binding.test 1107s TAP version 14 1107s # random seed: R02S8abe737544455cf49092ca0275d5e8ee 1107s 1..19 1107s # Start of binding tests 1107s ok 1 /binding/default 1107s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 1107s ok 2 /binding/canonicalisation 1107s ok 3 /binding/bidirectional 1107s ok 4 /binding/transform 1107s ok 5 /binding/transform-default 1107s ok 6 /binding/transform-closure 1107s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 1107s ok 7 /binding/chain 1107s ok 8 /binding/sync-create 1107s ok 9 /binding/invert-boolean 1107s ok 10 /binding/same-object 1107s ok 11 /binding/unbind 1107s ok 12 /binding/unbind-weak 1107s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 1107s ok 13 /binding/unbind-multiple 1107s ok 14 /binding/fail 1107s ok 15 /binding/interface 1107s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 1107s ok 16 /binding/concurrent-unbind 1107s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 1107s ok 17 /binding/concurrent-finalizing 1107s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1107s ok 18 /binding/dispose-source 1107s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1107s ok 19 /binding/dispose-target 1107s # End of binding tests 1107s ok - glib/binding.test 1107s # Running test: glib/thread.test 1107s TAP version 14 1107s # random seed: R02Sa843be2718975f8eba818b1dd1853743 1107s 1..7 1107s # Start of thread tests 1107s ok 1 /thread/thread1 1107s ok 2 /thread/thread2 1107s ok 3 /thread/thread3 1107s ok 4 /thread/thread4 1107s ok 5 /thread/thread5 1107s ok 6 /thread/thread6 1107s ok 7 /thread/thread7 1107s # End of thread tests 1107s ok - glib/thread.test 1107s # Running test: glib/deftype.test 1107s ok - glib/deftype.test 1107s # Running test: glib/slist.test 1107s TAP version 14 1107s # random seed: R02Sa076e36c9089717493ac1822cba34ad1 1107s 1..14 1107s # Start of slist tests 1107s ok 1 /slist/sort 1107s ok 2 /slist/sort-with-data 1107s ok 3 /slist/insert-sorted 1107s ok 4 /slist/insert-sorted-with-data 1107s ok 5 /slist/reverse 1107s ok 6 /slist/nth 1107s ok 7 /slist/remove 1107s ok 8 /slist/remove-all 1107s ok 9 /slist/insert 1107s ok 10 /slist/position 1107s ok 11 /slist/concat 1107s ok 12 /slist/copy 1107s # Start of sort tests 1107s ok 13 /slist/sort/stable 1107s # End of sort tests 1107s # Start of copy tests 1107s ok 14 /slist/copy/deep 1107s # End of copy tests 1107s # End of slist tests 1107s ok - glib/slist.test 1107s # Running test: glib/thumbnail-verification.test 1107s TAP version 14 1107s # random seed: R02S5e6b55e6e6362139689869460b5efeab 1107s 1..1 1107s # Start of png-thumbs tests 1107s ok 1 /png-thumbs/validity 1107s # End of png-thumbs tests 1107s ok - glib/thumbnail-verification.test 1107s # Running test: glib/portal-support-snap-classic.test 1107s TAP version 14 1107s # random seed: R02S9a7d8609b37d5d28efb5bcb1b1609169 1107s 1..3 1107s # Start of portal-support tests 1107s # Start of snap-classic tests 1107s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_YXALZ2/portal-support/snap-classic/no-snapctl/.dirs/home 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_YXALZ2/portal-support/snap-classic/no-snapctl/.dirs/cache 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_YXALZ2/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_YXALZ2/portal-support/snap-classic/no-snapctl/.dirs/system-config2 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_YXALZ2/portal-support/snap-classic/no-snapctl/.dirs/config 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_YXALZ2/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_YXALZ2/portal-support/snap-classic/no-snapctl/.dirs/system-data2 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_YXALZ2/portal-support/snap-classic/no-snapctl/.dirs/data 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_YXALZ2/portal-support/snap-classic/no-snapctl/.dirs/state 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_YXALZ2/portal-support/snap-classic/no-snapctl/.dirs/runtime 1107s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_YXALZ2/portal-support/snap-classic/no-snapctl: No such file or directory 1107s ok 1 /portal-support/snap-classic/no-snapctl 1107s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_YXALZ2/portal-support/snap-classic/none/.dirs/home 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_YXALZ2/portal-support/snap-classic/none/.dirs/cache 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_YXALZ2/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_YXALZ2/portal-support/snap-classic/none/.dirs/system-config2 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_YXALZ2/portal-support/snap-classic/none/.dirs/config 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_YXALZ2/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_YXALZ2/portal-support/snap-classic/none/.dirs/system-data2 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_YXALZ2/portal-support/snap-classic/none/.dirs/data 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_YXALZ2/portal-support/snap-classic/none/.dirs/state 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_YXALZ2/portal-support/snap-classic/none/.dirs/runtime 1107s # Created snap.yaml in /tmp/test_portal-support-snap-classic_YXALZ2/meta/snap.yaml 1107s # Created snapctl in /tmp/test_portal-support-snap-classic_YXALZ2/portal-support/snap-classic/none/.dirs/runtime/snapctl 1107s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_YXALZ2/portal-support/snap-classic/none: No such file or directory 1107s ok 2 /portal-support/snap-classic/none 1107s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_YXALZ2/portal-support/snap-classic/all/.dirs/home 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_YXALZ2/portal-support/snap-classic/all/.dirs/cache 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_YXALZ2/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_YXALZ2/portal-support/snap-classic/all/.dirs/system-config2 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_YXALZ2/portal-support/snap-classic/all/.dirs/config 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_YXALZ2/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_YXALZ2/portal-support/snap-classic/all/.dirs/system-data2 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_YXALZ2/portal-support/snap-classic/all/.dirs/data 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_YXALZ2/portal-support/snap-classic/all/.dirs/state 1107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_YXALZ2/portal-support/snap-classic/all/.dirs/runtime 1107s # Created snap.yaml in /tmp/test_portal-support-snap-classic_YXALZ2/meta/snap.yaml 1107s # Created snapctl in /tmp/test_portal-support-snap-classic_YXALZ2/portal-support/snap-classic/all/.dirs/runtime/snapctl 1107s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_YXALZ2/portal-support/snap-classic/all: No such file or directory 1107s ok 3 /portal-support/snap-classic/all 1107s # End of snap-classic tests 1107s # End of portal-support tests 1107s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_YXALZ2: No such file or directory 1107s ok - glib/portal-support-snap-classic.test 1107s # Running test: glib/properties-refcount2.test 1107s TAP version 14 1107s # random seed: R02Sa30ec3b1b14bb6fe9711b9f7869b8d5a 1107s 1..1 1107s # Start of gobject tests 1107s # Start of refcount tests 1107s # init 0x2dd02f2e770 1107s # 1107s # . 1107s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1108s # . 1109s # . 1109s # . 1109s # . 1109s # . 1109s # . 1109s # . 1109s # . 1109s # Executing: glib/properties-refcount2.test 1109s # . 1109s # . 1109s # . 1109s # . 1109s # . 1109s # . 1109s # . 1109s # . 1109s # . 1109s # . 1109s # . 1109s # . 1109s # . 1109s # . 1109s # . 1109s # . 1109s # . 1109s # . 1109s # . 1109s # . 1109s # . 1109s # . 1110s # . 1110s # . 1110s # . 1110s # . 1110s # . 1110s # . 1110s # . 1110s # . 1110s # . 1110s # . 1110s # . 1110s # . 1110s # . 1110s # . 1110s # . 1110s # . 1110s # . 1110s # . 1110s # . 1110s # . 1110s # . 1110s # . 1110s # . 1110s # . 1110s # . 1110s # . 1110s # . 1110s # . 1111s # . 1111s # . 1111s # . 1111s # . 1111s # . 1111s # . 1111s # . 1111s # . 1111s # . 1111s # . 1111s # . 1111s # . 1111s # dispose 0x2dd02f2e770! 1111s # 1111s ok 1 /gobject/refcount/properties-2 1111s # slow test /gobject/refcount/properties-2 executed in 3.48 secs 1111s # End of refcount tests 1111s # End of gobject tests 1111s ok - glib/properties-refcount2.test 1111s # Running test: glib/collate.test 1111s TAP version 14 1111s # random seed: R02Sac320ec31299064b17d9187ad75611c4 1111s 1..9 1111s # Start of unicode tests 1111s # Start of collate tests 1111s ok 1 /unicode/collate/0 1111s ok 2 /unicode/collate/1 1111s ok 3 /unicode/collate/2 1111s # End of collate tests 1111s # Start of collate-key tests 1111s ok 4 /unicode/collate-key/0 1111s ok 5 /unicode/collate-key/1 1111s ok 6 /unicode/collate-key/2 1111s # End of collate-key tests 1111s # Start of collate-filename tests 1111s ok 7 /unicode/collate-filename/0 1111s ok 8 /unicode/collate-filename/1 1111s ok 9 /unicode/collate-filename/2 1111s # End of collate-filename tests 1111s # End of unicode tests 1111s ok - glib/collate.test 1111s # Running test: glib/timer.test 1111s TAP version 14 1111s # random seed: R02Sed97832e99627948dc9851920d54214e 1111s 1..10 1111s # Start of timer tests 1111s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 1111s ok 2 /timer/stop 1111s ok 3 /timer/continue 1111s ok 4 /timer/reset 1111s ok 5 /timer/is_active 1111s # End of timer tests 1111s # Start of timeval tests 1111s ok 6 /timeval/add 1111s ok 7 /timeval/from-iso8601 1111s ok 8 /timeval/to-iso8601 1111s # Start of to-iso8601 tests 1111s ok 9 /timeval/to-iso8601/overflow 1111s # End of to-iso8601 tests 1111s # End of timeval tests 1111s # Start of usleep tests 1111s ok 10 /usleep/with-zero-wait 1111s # End of usleep tests 1111s ok - glib/timer.test 1111s # Running test: glib/utf8-pointer.test 1111s TAP version 14 1111s # random seed: R02Saa884629365f4cfccb1fe2688b0eeda5 1111s 1..3 1111s # Start of utf8 tests 1112s ok 1 /utf8/offsets 1112s # slow test /utf8/offsets executed in 0.80 secs 1112s ok 2 /utf8/lengths 1112s ok 3 /utf8/find 1112s # End of utf8 tests 1112s ok - glib/utf8-pointer.test 1112s # Running test: glib/thread-deprecated.test 1112s TAP version 14 1112s # random seed: R02S61aad2f8ff7ad99c060df58a48c44e0d 1112s 1..6 1112s # Start of thread tests 1112s ok 1 /thread/mutex 1112s ok 2 /thread/static-rec-mutex 1114s # Executing: glib/thread-deprecated.test 1117s ok 3 /thread/static-private 1117s # slow test /thread/static-private executed in 4.40 secs 1119s # Executing: glib/thread-deprecated.test 1122s ok 4 /thread/static-rw-lock 1122s # slow test /thread/static-rw-lock executed in 5.00 secs 1122s ok 5 /thread/once 1124s # Executing: glib/thread-deprecated.test 1129s # Executing: glib/thread-deprecated.test 1132s ok 6 /thread/rerun-all 1132s # slow test /thread/rerun-all executed in 10.03 secs 1132s # End of thread tests 1132s ok - glib/thread-deprecated.test 1132s # Running test: glib/volumemonitor.test 1132s TAP version 14 1132s # random seed: R02S041389cebd627ce5028ef6475fe0b48d 1132s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1132s 1..3 1132s # Start of volumemonitor tests 1132s ok 1 /volumemonitor/connected_drives 1132s ok 2 /volumemonitor/volumes 1132s ok 3 /volumemonitor/mounts 1132s # End of volumemonitor tests 1132s ok - glib/volumemonitor.test 1132s # Running test: glib/memory-monitor-portal.test 1132s TAP version 13 1132s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 1132s 1..1 1132s ok - glib/memory-monitor-portal.test 1132s # Running test: glib/socket-service.test 1132s TAP version 14 1132s # random seed: R02Se3e03ca56e3f3f1c091b3d8e91d2985e 1132s 1..4 1132s # Start of socket-service tests 1132s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1132s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc948f05c370 and GSocketClientAsyncConnectData 0xc948f054620 1132s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1132s ok 1 /socket-service/start-stop 1132s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc948f05ded0 and GSocketClientAsyncConnectData 0xc948f05dc70 1132s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1132s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1132s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc948f05e3e0 for GSocketClientAsyncConnectData 0xc948f054620 1132s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1132s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1132s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1132s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1132s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1132s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc948f05f260 for GSocketClientAsyncConnectData 0xc948f05dc70 1132s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1132s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1132s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1132s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1132s ok 2 /socket-service/read_write_async 1132s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc948f061fb0 and GSocketClientAsyncConnectData 0xc948f05f9d0 1132s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1132s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1132s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc948f060190 for GSocketClientAsyncConnectData 0xc948f05f9d0 1132s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1132s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1132s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1132s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1132s ok 3 /socket-service/read_writev_async 1132s # Start of threaded tests 1132s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 1132s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc948f063710 and GSocketClientAsyncConnectData 0xc948f05fd50 1132s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1132s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1132s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc948f063940 for GSocketClientAsyncConnectData 0xc948f05fd50 1132s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1132s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1132s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1132s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1132s ok 4 /socket-service/threaded/712570 1132s # End of threaded tests 1132s # End of socket-service tests 1132s ok - glib/socket-service.test 1132s # Running test: glib/file.test 1132s TAP version 14 1132s # random seed: R02S6e9bdc29691d3506f25357635352fb0c 1132s 1..55 1132s # Start of file tests 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/basic/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/basic/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/basic/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/basic/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/basic/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/basic/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/basic/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/basic/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/basic/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/basic/.dirs/runtime 1132s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1132s ok 1 /file/basic 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/build-filename/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/build-filename/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/build-filename/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/build-filename/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/build-filename/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/build-filename/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/build-filename/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/build-filename/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/build-filename/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/build-filename/.dirs/runtime 1132s ok 2 /file/build-filename 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/build-filenamev/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/build-filenamev/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/build-filenamev/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/build-filenamev/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/build-filenamev/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/build-filenamev/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/build-filenamev/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/build-filenamev/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/build-filenamev/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/build-filenamev/.dirs/runtime 1132s ok 3 /file/build-filenamev 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/parent/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/parent/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/parent/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/parent/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/parent/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/parent/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/parent/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/parent/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/parent/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/parent/.dirs/runtime 1132s ok 4 /file/parent 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/child/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/child/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/child/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/child/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/child/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/child/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/child/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/child/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/child/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/child/.dirs/runtime 1132s ok 5 /file/child 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/empty-path/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/empty-path/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/empty-path/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/empty-path/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/empty-path/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/empty-path/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/empty-path/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/empty-path/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/empty-path/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/empty-path/.dirs/runtime 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 1132s # /file/empty-path summary: Check that creating a file with an empty path results in errors 1132s ok 6 /file/empty-path 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/type/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/type/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/type/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/type/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/type/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/type/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/type/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/type/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/type/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/type/.dirs/runtime 1132s ok 7 /file/type 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/parse-name/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/parse-name/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/parse-name/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/parse-name/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/parse-name/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/parse-name/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/parse-name/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/parse-name/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/parse-name/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/parse-name/.dirs/runtime 1132s ok 8 /file/parse-name 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/replace-load/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/replace-load/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/replace-load/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/replace-load/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/replace-load/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/replace-load/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/replace-load/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/replace-load/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/replace-load/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/replace-load/.dirs/runtime 1132s ok 9 /file/replace-load 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/replace-cancel/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/replace-cancel/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/replace-cancel/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/replace-cancel/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/replace-cancel/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/replace-cancel/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/replace-cancel/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/replace-cancel/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/replace-cancel/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/replace-cancel/.dirs/runtime 1132s # Bug Reference: https://bugzilla.gnome.org/629301 1132s ok 10 /file/replace-cancel 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/replace-symlink/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/replace-symlink/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/replace-symlink/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/replace-symlink/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/replace-symlink/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/replace-symlink/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/replace-symlink/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/replace-symlink/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/replace-symlink/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/replace-symlink/.dirs/runtime 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 1132s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 1132s # Using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_symlink_A1XOZ2 1132s ok 11 /file/replace-symlink 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/async-new-tmp/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/async-new-tmp/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/async-new-tmp/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/async-new-tmp/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/async-new-tmp/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/async-new-tmp/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/async-new-tmp/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/async-new-tmp/.dirs/runtime 1132s ok 12 /file/async-new-tmp 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/async-new-tmp-dir/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/async-new-tmp-dir/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/async-new-tmp-dir/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/async-new-tmp-dir/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/async-new-tmp-dir/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/async-new-tmp-dir/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/async-new-tmp-dir/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/async-new-tmp-dir/.dirs/runtime 1132s ok 13 /file/async-new-tmp-dir 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/async-delete/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/async-delete/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/async-delete/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/async-delete/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/async-delete/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/async-delete/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/async-delete/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/async-delete/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/async-delete/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/async-delete/.dirs/runtime 1132s ok 14 /file/async-delete 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/async-make-symlink/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/async-make-symlink/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/async-make-symlink/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/async-make-symlink/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/async-make-symlink/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/async-make-symlink/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/async-make-symlink/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/async-make-symlink/.dirs/runtime 1132s ok 15 /file/async-make-symlink 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/copy-preserve-mode/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/copy-preserve-mode/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/copy-preserve-mode/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/copy-preserve-mode/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/copy-preserve-mode/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/copy-preserve-mode/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/copy-preserve-mode/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/copy-preserve-mode/.dirs/runtime 1132s # Current umask: 2 1132s # Vector 0 1132s # Vector 1 1132s # Vector 2 1132s # Vector 3 1132s # Vector 4 1132s # Vector 5 1132s # Vector 6 1132s # Vector 7 1132s # Vector 8 1132s # Vector 9 1132s # Vector 10 1132s ok 16 /file/copy-preserve-mode 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/copy-async-with-closures/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/copy-async-with-closures/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/copy-async-with-closures/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/copy-async-with-closures/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/copy-async-with-closures/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/copy-async-with-closures/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/copy-async-with-closures/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/copy-async-with-closures/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/copy-async-with-closures/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/copy-async-with-closures/.dirs/runtime 1132s ok 17 /file/copy-async-with-closures 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/measure/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/measure/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/measure/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/measure/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/measure/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/measure/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/measure/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/measure/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/measure/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/measure/.dirs/runtime 1132s ok 18 /file/measure 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/measure-async/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/measure-async/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/measure-async/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/measure-async/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/measure-async/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/measure-async/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/measure-async/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/measure-async/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/measure-async/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/measure-async/.dirs/runtime 1132s ok 19 /file/measure-async 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/load-bytes/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/load-bytes/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/load-bytes/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/load-bytes/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/load-bytes/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/load-bytes/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/load-bytes/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/load-bytes/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/load-bytes/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/load-bytes/.dirs/runtime 1132s ok 20 /file/load-bytes 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/load-bytes-async/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/load-bytes-async/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/load-bytes-async/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/load-bytes-async/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/load-bytes-async/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/load-bytes-async/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/load-bytes-async/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/load-bytes-async/.dirs/runtime 1132s ok 21 /file/load-bytes-async 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/load-bytes-4gb/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/load-bytes-4gb/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/load-bytes-4gb/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/load-bytes-4gb/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/load-bytes-4gb/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/load-bytes-4gb/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/load-bytes-4gb/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/load-bytes-4gb/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/load-bytes-4gb/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/load-bytes-4gb/.dirs/runtime 1132s ok 22 /file/load-bytes-4gb # SKIP Skipping slow >4GB file test 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/load-contents-4gb/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/load-contents-4gb/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/load-contents-4gb/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/load-contents-4gb/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/load-contents-4gb/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/load-contents-4gb/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/load-contents-4gb/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/load-contents-4gb/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/load-contents-4gb/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/load-contents-4gb/.dirs/runtime 1132s ok 23 /file/load-contents-4gb # SKIP Skipping slow >4GB file test 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/load-contents-4gb-async/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/load-contents-4gb-async/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/load-contents-4gb-async/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/load-contents-4gb-async/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/load-contents-4gb-async/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/load-contents-4gb-async/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/load-contents-4gb-async/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/load-contents-4gb-async/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/load-contents-4gb-async/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/load-contents-4gb-async/.dirs/runtime 1132s ok 24 /file/load-contents-4gb-async # SKIP Skipping slow >4GB file test 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/writev/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/writev/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/writev/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/writev/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/writev/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/writev/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/writev/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/writev/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/writev/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/writev/.dirs/runtime 1132s ok 25 /file/writev 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/build-attribute-list-for-copy/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/build-attribute-list-for-copy/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/build-attribute-list-for-copy/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/build-attribute-list-for-copy/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/build-attribute-list-for-copy/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/build-attribute-list-for-copy/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/build-attribute-list-for-copy/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/build-attribute-list-for-copy/.dirs/runtime 1132s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 1132s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 1132s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,time::modified,time::modified-nsec,time::modified-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 1132s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,time::modified,time::modified-nsec,time::modified-usec,unix::gid,unix::uid,xattr::*,xattr-sys::* 1132s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 1132s # Attributes for copy: standard::size,xattr::* 1132s # Attributes for copy: standard::size,unix::mode,xattr::* 1132s ok 26 /file/build-attribute-list-for-copy 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/move_async/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/move_async/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/move_async/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/move_async/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/move_async/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/move_async/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/move_async/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/move_async/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/move_async/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/move_async/.dirs/runtime 1132s ok 27 /file/move_async 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/move-async-with-closures/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/move-async-with-closures/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/move-async-with-closures/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/move-async-with-closures/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/move-async-with-closures/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/move-async-with-closures/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/move-async-with-closures/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/move-async-with-closures/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/move-async-with-closures/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/move-async-with-closures/.dirs/runtime 1132s ok 28 /file/move-async-with-closures 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/query-zero-length-content-type/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/query-zero-length-content-type/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/query-zero-length-content-type/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/query-zero-length-content-type/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/query-zero-length-content-type/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/query-zero-length-content-type/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/query-zero-length-content-type/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/query-zero-length-content-type/.dirs/runtime 1132s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 1132s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 1132s ok 29 /file/query-zero-length-content-type 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/query-default-handler-file/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/query-default-handler-file/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/query-default-handler-file/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/query-default-handler-file/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/query-default-handler-file/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/query-default-handler-file/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/query-default-handler-file/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/query-default-handler-file/.dirs/runtime 1132s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_7B3OZ2/file/query-default-handler-file/.dirs/data/applications 1132s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_7B3OZ2/file/query-default-handler-file/.dirs/config 1132s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_7B3OZ2/file/query-default-handler-file/.dirs/config 1132s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_7B3OZ2/file/query-default-handler-file/.dirs/config 1132s ok 30 /file/query-default-handler-file 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/query-default-handler-file-async/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/query-default-handler-file-async/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/query-default-handler-file-async/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/query-default-handler-file-async/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/query-default-handler-file-async/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/query-default-handler-file-async/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/query-default-handler-file-async/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/query-default-handler-file-async/.dirs/runtime 1132s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_7B3OZ2/file/query-default-handler-file-async/.dirs/data/applications 1132s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_7B3OZ2/file/query-default-handler-file-async/.dirs/config 1132s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_7B3OZ2/file/query-default-handler-file/.dirs/config to /tmp/test_file_7B3OZ2/file/query-default-handler-file-async/.dirs/config 1132s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_7B3OZ2/file/query-default-handler-file-async/.dirs/config 1132s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_7B3OZ2/file/query-default-handler-file-async/.dirs/config 1132s ok 31 /file/query-default-handler-file-async 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/query-default-handler-uri/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/query-default-handler-uri/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/query-default-handler-uri/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/query-default-handler-uri/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/query-default-handler-uri/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/query-default-handler-uri/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/query-default-handler-uri/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/query-default-handler-uri/.dirs/runtime 1132s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_7B3OZ2/file/query-default-handler-uri/.dirs/data/applications 1132s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_7B3OZ2/file/query-default-handler-uri/.dirs/config 1132s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_7B3OZ2/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_7B3OZ2/file/query-default-handler-uri/.dirs/config 1132s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_7B3OZ2/file/query-default-handler-uri/.dirs/config 1132s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_7B3OZ2/file/query-default-handler-uri/.dirs/config 1132s ok 32 /file/query-default-handler-uri 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/query-default-handler-uri-async/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/query-default-handler-uri-async/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/query-default-handler-uri-async/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/query-default-handler-uri-async/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/query-default-handler-uri-async/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/query-default-handler-uri-async/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/query-default-handler-uri-async/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/query-default-handler-uri-async/.dirs/runtime 1132s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_7B3OZ2/file/query-default-handler-uri-async/.dirs/data/applications 1132s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_7B3OZ2/file/query-default-handler-uri-async/.dirs/config 1132s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_7B3OZ2/file/query-default-handler-uri/.dirs/config to /tmp/test_file_7B3OZ2/file/query-default-handler-uri-async/.dirs/config 1132s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_7B3OZ2/file/query-default-handler-uri-async/.dirs/config 1132s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_7B3OZ2/file/query-default-handler-uri-async/.dirs/config 1132s ok 33 /file/query-default-handler-uri-async 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/enumerator-cancellation/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/enumerator-cancellation/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/enumerator-cancellation/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/enumerator-cancellation/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/enumerator-cancellation/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/enumerator-cancellation/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/enumerator-cancellation/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/enumerator-cancellation/.dirs/runtime 1132s ok 34 /file/enumerator-cancellation 1132s # Start of async-create-delete tests 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/async-create-delete/0/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/async-create-delete/0/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/async-create-delete/0/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/async-create-delete/0/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/async-create-delete/0/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/async-create-delete/0/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/async-create-delete/0/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/async-create-delete/0/.dirs/runtime 1132s ok 35 /file/async-create-delete/0 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/async-create-delete/1/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/async-create-delete/1/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/async-create-delete/1/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/async-create-delete/1/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/async-create-delete/1/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/async-create-delete/1/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/async-create-delete/1/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/async-create-delete/1/.dirs/runtime 1132s ok 36 /file/async-create-delete/1 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/async-create-delete/10/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/async-create-delete/10/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/async-create-delete/10/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/async-create-delete/10/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/async-create-delete/10/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/async-create-delete/10/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/async-create-delete/10/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/async-create-delete/10/.dirs/runtime 1132s ok 37 /file/async-create-delete/10 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/async-create-delete/25/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/async-create-delete/25/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/async-create-delete/25/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/async-create-delete/25/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/async-create-delete/25/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/async-create-delete/25/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/async-create-delete/25/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/async-create-delete/25/.dirs/runtime 1133s ok 38 /file/async-create-delete/25 1133s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/async-create-delete/4096/.dirs/home 1133s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/async-create-delete/4096/.dirs/cache 1133s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/async-create-delete/4096/.dirs/system-config2 1133s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/async-create-delete/4096/.dirs/config 1133s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/async-create-delete/4096/.dirs/system-data2 1133s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/async-create-delete/4096/.dirs/data 1133s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/async-create-delete/4096/.dirs/state 1133s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/async-create-delete/4096/.dirs/runtime 1133s ok 39 /file/async-create-delete/4096 1133s # End of async-create-delete tests 1133s # Start of replace-symlink tests 1133s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/replace-symlink/using-etag/.dirs/home 1133s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/replace-symlink/using-etag/.dirs/cache 1133s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/replace-symlink/using-etag/.dirs/system-config2 1133s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/replace-symlink/using-etag/.dirs/config 1133s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/replace-symlink/using-etag/.dirs/system-data2 1133s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/replace-symlink/using-etag/.dirs/data 1133s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/replace-symlink/using-etag/.dirs/state 1133s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/replace-symlink/using-etag/.dirs/runtime 1133s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 1133s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 1133s # Using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_symlink_using_etag_71L2Z2 1134s # Executing: glib/file.test 1135s ok 40 /file/replace-symlink/using-etag 1135s # slow test /file/replace-symlink/using-etag executed in 2.01 secs 1135s # End of replace-symlink tests 1135s # Start of replace tests 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/replace/write-only/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/replace/write-only/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/replace/write-only/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/replace/write-only/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/replace/write-only/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/replace/write-only/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/replace/write-only/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/replace/write-only/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/replace/write-only/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/replace/write-only/.dirs/runtime 1135s # /file/replace/write-only summary: Test various situations for g_file_replace() 1135s # Current umask: 2 1135s # Test 0, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_S1F2Z2 1135s # Test 1, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_W2G2Z2 1135s # Test 2, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_Y7C2Z2 1135s # Test 3, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_LIA2Z2 1135s # Test 4, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_MLB2Z2 1135s # Test 5, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_2FB2Z2 1135s # Test 6, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_5E51Z2 1135s # Test 7, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_8SW1Z2 1135s # Test 8, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_8BW1Z2 1135s # Test 9, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_UIW1Z2 1135s # Test 10, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_35Y1Z2 1135s # Test 11, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_8HU1Z2 1135s # Test 12, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_MQU1Z2 1135s # Test 13, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_JTV1Z2 1135s # Test 14, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_MSR1Z2 1135s # Test 15, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_Z8N1Z2 1135s # Test 16, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_TMP1Z2 1135s # Test 17, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_JCK1Z2 1135s # Test 18, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_3PH1Z2 1135s # Test 19, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_PQI1Z2 1135s # Test 20, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_KFF1Z2 1135s # Test 21, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_2OA1Z2 1135s # Test 22, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_G1B1Z2 1135s # Test 23, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_0XB1Z2 1135s # Test 24, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_9560Z2 1135s # Test 25, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_1N90Z2 1135s # Test 26, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_HI90Z2 1135s # Test 27, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_GF90Z2 1135s # Test 28, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_DJ40Z2 1135s # Test 29, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_8500Z2 1135s # Test 30, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_EO00Z2 1135s # Test 31, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_1010Z2 1135s # Test 32, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_JG30Z2 1135s # Test 33, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_HOY0Z2 1135s # Test 34, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_9HY0Z2 1135s # Test 35, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_GBY0Z2 1135s # Test 36, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_2EX0Z2 1135s # Test 37, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_IGS0Z2 1135s # Test 38, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_CPT0Z2 1135s # Test 39, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_DZN0Z2 1135s # Test 40, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_G0L0Z2 1135s # Test 41, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_8KI0Z2 1135s # Test 42, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_VSE0Z2 1135s # Test 43, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_42F0Z2 1135s # Test 44, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_NTC0Z2 1135s # Test 45, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_6KC0Z2 1135s # Test 46, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_VSD0Z2 1135s # Test 47, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_3U8ZZ2 1135s # Test 48, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_BRA0Z2 1135s # We do not have CAP_DAC_OVERRIDE or equivalent 1135s ok 41 /file/replace/write-only 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/replace/read-write/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/replace/read-write/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/replace/read-write/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/replace/read-write/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/replace/read-write/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/replace/read-write/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/replace/read-write/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/replace/read-write/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/replace/read-write/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/replace/read-write/.dirs/runtime 1135s # /file/replace/read-write summary: Test various situations for g_file_replace() 1135s # Current umask: 2 1135s # Test 0, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_AR5ZZ2 1135s # Test 1, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_IK5ZZ2 1135s # Test 2, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_8R7ZZ2 1135s # Test 3, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_WIZZZ2 1135s # Test 4, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_EZ0ZZ2 1135s # Test 5, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_BT0ZZ2 1135s # Test 6, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_Y3WZZ2 1135s # Test 7, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_EQSZZ2 1135s # Test 8, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_TTTZZ2 1135s # Test 9, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_BMTZZ2 1135s # Test 10, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_XHPZZ2 1135s # Test 11, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_Z4QZZ2 1135s # Test 12, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_LZQZZ2 1135s # Test 13, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_O0RZZ2 1135s # Test 14, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_63MZZ2 1135s # Test 15, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_MTOZZ2 1135s # Test 16, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_32JZZ2 1135s # Test 17, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_KMLZZ2 1135s # Test 18, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_O5GZZ2 1135s # Test 19, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_ZIHZZ2 1135s # Test 20, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_W3DZZ2 1135s # Test 21, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_L8EZZ2 1135s # Test 22, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_OHAZZ2 1135s # Test 23, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_Y99YZ2 1135s # Test 24, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_RZBZZ2 1135s # Test 25, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_C46YZ2 1135s # Test 26, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_GK8YZ2 1135s # Test 27, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_7D8YZ2 1135s # Test 28, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_0O8YZ2 1135s # Test 29, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_T73YZ2 1135s # Test 30, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_T33YZ2 1135s # Test 31, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_YG5YZ2 1135s # Test 32, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_KZ1YZ2 1135s # Test 33, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_3SXYZ2 1135s # Test 34, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_MUYYZ2 1135s # Test 35, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_SPYYZ2 1135s # Test 36, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_2PUYZ2 1135s # Test 37, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_69QYZ2 1135s # Test 38, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_NUSYZ2 1135s # Test 39, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_X4SYZ2 1135s # Test 40, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_ONPYZ2 1135s # Test 41, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_OIKYZ2 1135s # Test 42, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_O2LYZ2 1135s # Test 43, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_JAHYZ2 1135s # Test 44, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_SEJYZ2 1135s # Test 45, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_B7IYZ2 1135s # Test 46, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_YEEYZ2 1135s # Test 47, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_68DYZ2 1135s # Test 48, using temporary directory /tmp/test_file_7B3OZ2/g_file_replace_3VEYZ2 1135s # We do not have CAP_DAC_OVERRIDE or equivalent 1135s ok 42 /file/replace/read-write 1135s # End of replace tests 1135s # Start of copy tests 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/copy/progress/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/copy/progress/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/copy/progress/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/copy/progress/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/copy/progress/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/copy/progress/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/copy/progress/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/copy/progress/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/copy/progress/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/copy/progress/.dirs/runtime 1135s ok 43 /file/copy/progress 1135s # End of copy tests 1135s # Start of writev tests 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/writev/no-bytes-written/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/writev/no-bytes-written/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/writev/no-bytes-written/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/writev/no-bytes-written/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/writev/no-bytes-written/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/writev/no-bytes-written/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/writev/no-bytes-written/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/writev/no-bytes-written/.dirs/runtime 1135s ok 44 /file/writev/no-bytes-written 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/writev/no-vectors/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/writev/no-vectors/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/writev/no-vectors/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/writev/no-vectors/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/writev/no-vectors/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/writev/no-vectors/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/writev/no-vectors/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/writev/no-vectors/.dirs/runtime 1135s ok 45 /file/writev/no-vectors 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/writev/empty-vectors/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/writev/empty-vectors/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/writev/empty-vectors/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/writev/empty-vectors/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/writev/empty-vectors/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/writev/empty-vectors/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/writev/empty-vectors/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/writev/empty-vectors/.dirs/runtime 1135s ok 46 /file/writev/empty-vectors 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/writev/too-big-vectors/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/writev/too-big-vectors/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/writev/too-big-vectors/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/writev/too-big-vectors/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/writev/too-big-vectors/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/writev/too-big-vectors/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/writev/too-big-vectors/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/writev/too-big-vectors/.dirs/runtime 1135s ok 47 /file/writev/too-big-vectors 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/writev/async/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/writev/async/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/writev/async/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/writev/async/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/writev/async/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/writev/async/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/writev/async/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/writev/async/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/writev/async/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/writev/async/.dirs/runtime 1135s ok 48 /file/writev/async 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/writev/async_all/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/writev/async_all/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/writev/async_all/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/writev/async_all/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/writev/async_all/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/writev/async_all/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/writev/async_all/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/writev/async_all/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/writev/async_all/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/writev/async_all/.dirs/runtime 1135s ok 49 /file/writev/async_all 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/writev/async_all-empty-vectors/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/writev/async_all-empty-vectors/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/writev/async_all-empty-vectors/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/writev/async_all-empty-vectors/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/writev/async_all-empty-vectors/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/writev/async_all-empty-vectors/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/writev/async_all-empty-vectors/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/writev/async_all-empty-vectors/.dirs/runtime 1135s ok 50 /file/writev/async_all-empty-vectors 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/writev/async_all-no-vectors/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/writev/async_all-no-vectors/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/writev/async_all-no-vectors/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/writev/async_all-no-vectors/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/writev/async_all-no-vectors/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/writev/async_all-no-vectors/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/writev/async_all-no-vectors/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/writev/async_all-no-vectors/.dirs/runtime 1135s ok 51 /file/writev/async_all-no-vectors 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/writev/async_all-to-big-vectors/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/writev/async_all-to-big-vectors/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/writev/async_all-to-big-vectors/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/writev/async_all-to-big-vectors/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/writev/async_all-to-big-vectors/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/writev/async_all-to-big-vectors/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/writev/async_all-to-big-vectors/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/writev/async_all-to-big-vectors/.dirs/runtime 1135s ok 52 /file/writev/async_all-to-big-vectors 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/writev/async_all-cancellation/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/writev/async_all-cancellation/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/writev/async_all-cancellation/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/writev/async_all-cancellation/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/writev/async_all-cancellation/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/writev/async_all-cancellation/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/writev/async_all-cancellation/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/writev/async_all-cancellation/.dirs/runtime 1135s ok 53 /file/writev/async_all-cancellation 1135s # End of writev tests 1135s # Start of from-uri tests 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/from-uri/ignores-query-string/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/from-uri/ignores-query-string/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/from-uri/ignores-query-string/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/from-uri/ignores-query-string/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/from-uri/ignores-query-string/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/from-uri/ignores-query-string/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/from-uri/ignores-query-string/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/from-uri/ignores-query-string/.dirs/runtime 1135s ok 54 /file/from-uri/ignores-query-string 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7B3OZ2/file/from-uri/ignores-fragment/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7B3OZ2/file/from-uri/ignores-fragment/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7B3OZ2/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_7B3OZ2/file/from-uri/ignores-fragment/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7B3OZ2/file/from-uri/ignores-fragment/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7B3OZ2/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_7B3OZ2/file/from-uri/ignores-fragment/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7B3OZ2/file/from-uri/ignores-fragment/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7B3OZ2/file/from-uri/ignores-fragment/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7B3OZ2/file/from-uri/ignores-fragment/.dirs/runtime 1135s ok 55 /file/from-uri/ignores-fragment 1135s # End of from-uri tests 1135s # End of file tests 1135s ok - glib/file.test 1135s # Running test: glib/portal-support-flatpak-none.test 1135s TAP version 14 1135s # random seed: R02S791b0354f56773af185b1f8e4982f9ff 1135s 1..1 1135s # Start of portal-support tests 1135s # Start of flatpak tests 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_373XZ2/portal-support/flatpak/none/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_373XZ2/portal-support/flatpak/none/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_373XZ2/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_373XZ2/portal-support/flatpak/none/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_373XZ2/portal-support/flatpak/none/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_373XZ2/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_373XZ2/portal-support/flatpak/none/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_373XZ2/portal-support/flatpak/none/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_373XZ2/portal-support/flatpak/none/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_373XZ2/portal-support/flatpak/none/.dirs/runtime 1135s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_373XZ2/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 1135s ok 1 /portal-support/flatpak/none 1135s # End of flatpak tests 1135s # End of portal-support tests 1135s ok - glib/portal-support-flatpak-none.test 1135s # Running test: glib/gdbus-peer-object-manager.test 1135s TAP version 14 1135s # random seed: R02Sd78b602a826fe06027aae0de1bf38b42 1135s 1..2 1135s # Start of gdbus tests 1135s # Start of peer-object-manager tests 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_161XZ2/gdbus/peer-object-manager/normal/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_161XZ2/gdbus/peer-object-manager/normal/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_161XZ2/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_161XZ2/gdbus/peer-object-manager/normal/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_161XZ2/gdbus/peer-object-manager/normal/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_161XZ2/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_161XZ2/gdbus/peer-object-manager/normal/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_161XZ2/gdbus/peer-object-manager/normal/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_161XZ2/gdbus/peer-object-manager/normal/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_161XZ2/gdbus/peer-object-manager/normal/.dirs/runtime 1135s ok 1 /gdbus/peer-object-manager/normal 1135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_161XZ2/gdbus/peer-object-manager/root/.dirs/home 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_161XZ2/gdbus/peer-object-manager/root/.dirs/cache 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_161XZ2/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_161XZ2/gdbus/peer-object-manager/root/.dirs/system-config2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_161XZ2/gdbus/peer-object-manager/root/.dirs/config 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_161XZ2/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_161XZ2/gdbus/peer-object-manager/root/.dirs/system-data2 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_161XZ2/gdbus/peer-object-manager/root/.dirs/data 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_161XZ2/gdbus/peer-object-manager/root/.dirs/state 1135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_161XZ2/gdbus/peer-object-manager/root/.dirs/runtime 1135s ok 2 /gdbus/peer-object-manager/root 1135s # End of peer-object-manager tests 1135s # End of gdbus tests 1135s ok - glib/gdbus-peer-object-manager.test 1135s # Running test: glib/qdata.test 1135s TAP version 14 1135s # random seed: R02Sd6e5a7c1f931aa15b05229b44431166b 1135s 1..2 1135s # Start of qdata tests 1135s ok 1 /qdata/threaded 1135s ok 2 /qdata/dup 1135s # End of qdata tests 1135s ok - glib/qdata.test 1135s # Running test: glib/sleepy-stream.test 1135s TAP version 14 1135s # random seed: R02Sb4a86992a2a990ad44fcc0622b0e9f04 1135s 1..2 1135s # Start of filter-stream tests 1135s ok 1 /filter-stream/input 1135s ok 2 /filter-stream/async 1135s # End of filter-stream tests 1135s ok - glib/sleepy-stream.test 1135s # Running test: glib/dbus-appinfo.test 1135s TAP version 14 1135s # random seed: R02S08281e396c2ac2280453b82c68d19505 1135s 1..3 1135s # Start of appinfo tests 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1135s ok 1 /appinfo/dbusappinfo 1135s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 1135s dbus-daemon[14777]: [session uid=1000 pid=14777] Activating service name='org.freedesktop.portal.Documents' requested by ':1.0' (uid=1000 pid=14776 comm="/usr/libexec/installed-tests/glib/dbus-appinfo" label="unconfined") 1135s # Acquired a message bus connection 1135s dbus-daemon[14777]: [session uid=1000 pid=14777] Successfully activated service 'org.freedesktop.portal.Documents' 1135s # Acquired the name org.freedesktop.portal.Documents 1135s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 1135s ok 2 /appinfo/flatpak-doc-export 1135s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 1135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1135s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 1135s ok 3 /appinfo/flatpak-missing-doc-export 1135s # End of appinfo tests 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1135s # Lost the name org.freedesktop.portal.Documents 1135s ok - glib/dbus-appinfo.test 1135s # Running test: glib/642026-ec.test 1135s TAP version 14 1135s # random seed: R02Sc9a1ad222917631490a7783e86855a9d 1135s 1..1 1135s # Start of glib tests 1135s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1135s ok 1 /glib/642026 1135s # End of glib tests 1135s ok - glib/642026-ec.test 1135s # Running test: glib/thread-pool.test 1135s TAP version 14 1135s # random seed: R02S2a0f14830c9c29abf58dd4bb51cb065c 1135s 1..5 1135s # Start of thread_pool tests 1135s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 1135s ok 1 /thread_pool/shared 1135s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 1135s ok 2 /thread_pool/exclusive 1135s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1135s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 1135s ok 3 /thread_pool/create_shared_after_exclusive 1135s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 1135s ok 4 /thread_pool/create_full 1135s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1135s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 1135s ok 5 /thread_pool/create_exclusive_after_shared 1135s # End of thread_pool tests 1135s ok - glib/thread-pool.test 1135s # Running test: glib/utils-c-89.test 1135s TAP version 14 1135s # random seed: R02S7d1a03b0a5b82b8cae2507eaaadfe0b7 1135s 1..40 1135s # Start of utils tests 1135s ok 1 /utils/language-names 1135s ok 2 /utils/locale-variants 1135s ok 3 /utils/version 1135s ok 4 /utils/appname 1135s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1135s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1135s ok 5 /utils/prgname-thread-safety 1135s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1135s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1135s ok 6 /utils/tmpdir 1135s ok 7 /utils/basic_bits 1135s ok 8 /utils/bits 1135s ok 9 /utils/swap 1135s ok 10 /utils/find-program 1135s ok 11 /utils/find-program-for-path 1135s ok 12 /utils/debug 1135s ok 13 /utils/codeset 1135s ok 14 /utils/codeset2 1135s ok 15 /utils/console-charset 1135s ok 16 /utils/gettext 1135s ok 17 /utils/username 1135s ok 18 /utils/realname 1135s ok 19 /utils/hostname 1135s ok 20 /utils/xdgdirs 1135s ok 21 /utils/specialdir 1135s # NAME: Ubuntu 1135s ok 22 /utils/os-info 1135s ok 23 /utils/clear-pointer 1135s ok 24 /utils/clear-pointer-cast 1135s ok 25 /utils/take-pointer 1135s ok 26 /utils/clear-source 1135s ok 27 /utils/misc-mem 1135s # /utils/aligned-mem summary: Aligned memory allocator 1135s # Alignment must not be zero 1135s # Alignment must be a power of two 1135s # Alignment must be a multiple of sizeof(void*) 1135s ok 28 /utils/aligned-mem 1135s # /utils/free-sized summary: Check that g_free_sized() works 1135s ok 29 /utils/free-sized 1135s ok 30 /utils/nullify 1135s ok 31 /utils/atexit 1135s ok 32 /utils/check-setuid 1135s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1135s ok 33 /utils/int-limits 1135s ok 34 /utils/clear-list 1135s ok 35 /utils/clear-slist 1135s # Start of specialdir tests 1135s ok 36 /utils/specialdir/desktop 1135s # End of specialdir tests 1135s # Start of clear-pointer tests 1135s ok 37 /utils/clear-pointer/side-effects 1135s # End of clear-pointer tests 1135s # Start of aligned-mem tests 1135s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1135s ok 38 /utils/aligned-mem/alignment 1135s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1135s ok 39 /utils/aligned-mem/zeroed 1135s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1135s ok 40 /utils/aligned-mem/free-sized 1135s # Start of subprocess tests 1135s # End of subprocess tests 1135s # End of aligned-mem tests 1135s # End of utils tests 1135s ok - glib/utils-c-89.test 1135s # Running test: glib/module-test-library.test 1135s TAP version 14 1135s # random seed: R02S55dd3aad9b1f537e5d0fbca0c68c0af4 1135s 1..3 1135s # Start of module tests 1135s ok 1 /module/basics 1135s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1135s ok 2 /module/invalid-libtool-archive 1135s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 1135s ok 3 /module/local-binding 1135s # End of module tests 1135s ok - glib/module-test-library.test 1135s # Running test: glib/regex.test 1135s TAP version 14 1135s # random seed: R02S962c937625d6a9b1feabeee600eeb070 1135s 1..848 1135s # Start of regex tests 1135s ok 1 /regex/properties 1135s ok 2 /regex/class 1135s ok 3 /regex/lookahead 1135s ok 4 /regex/lookbehind 1135s ok 5 /regex/subpattern 1135s ok 6 /regex/condition 1135s ok 7 /regex/recursion 1135s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 1135s ok 8 /regex/multiline 1135s ok 9 /regex/explicit-crlf 1135s ok 10 /regex/max-lookbehind 1135s ok 11 /regex/compile-errors 1135s ok 12 /regex/jit-unsupported-matching 1135s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 1135s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 1135s ok 13 /regex/unmatched-named-subpattern 1135s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 1135s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 1135s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1135s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1135s ok 14 /regex/compiled-regex-after-jit-failure 1135s # Start of new tests 1135s ok 15 /regex/new/1 1135s ok 16 /regex/new/2 1135s ok 17 /regex/new/3 1135s ok 18 /regex/new/4 1135s ok 19 /regex/new/5 1135s ok 20 /regex/new/6 1135s ok 21 /regex/new/7 1135s ok 22 /regex/new/8 1135s ok 23 /regex/new/9 1135s ok 24 /regex/new/10 1135s ok 25 /regex/new/11 1135s ok 26 /regex/new/12 1135s ok 27 /regex/new/13 1135s ok 28 /regex/new/14 1135s ok 29 /regex/new/15 1135s ok 30 /regex/new/16 1135s ok 31 /regex/new/17 1135s ok 32 /regex/new/18 1135s ok 33 /regex/new/19 1135s ok 34 /regex/new/71 1135s ok 35 /regex/new/80 1135s ok 36 /regex/new/82 1135s # End of new tests 1135s # Start of new-check-flags tests 1135s ok 37 /regex/new-check-flags/20 1135s ok 38 /regex/new-check-flags/21 1135s ok 39 /regex/new-check-flags/22 1135s ok 40 /regex/new-check-flags/23 1135s ok 41 /regex/new-check-flags/24 1135s ok 42 /regex/new-check-flags/25 1135s ok 43 /regex/new-check-flags/26 1135s ok 44 /regex/new-check-flags/27 1135s ok 45 /regex/new-check-flags/28 1135s ok 46 /regex/new-check-flags/29 1135s ok 47 /regex/new-check-flags/30 1135s ok 48 /regex/new-check-flags/31 1135s ok 49 /regex/new-check-flags/32 1135s ok 50 /regex/new-check-flags/33 1135s ok 51 /regex/new-check-flags/34 1135s ok 52 /regex/new-check-flags/35 1135s ok 53 /regex/new-check-flags/36 1135s # End of new-check-flags tests 1135s # Start of new-fail tests 1135s ok 54 /regex/new-fail/37 1135s ok 55 /regex/new-fail/38 1135s ok 56 /regex/new-fail/39 1135s ok 57 /regex/new-fail/40 1135s ok 58 /regex/new-fail/41 1135s ok 59 /regex/new-fail/42 1135s ok 60 /regex/new-fail/43 1135s ok 61 /regex/new-fail/44 1135s ok 62 /regex/new-fail/45 1135s ok 63 /regex/new-fail/46 1135s ok 64 /regex/new-fail/47 1135s ok 65 /regex/new-fail/48 1135s ok 66 /regex/new-fail/49 1135s ok 67 /regex/new-fail/50 1135s ok 68 /regex/new-fail/51 1135s ok 69 /regex/new-fail/52 1135s ok 70 /regex/new-fail/53 1135s ok 71 /regex/new-fail/54 1135s ok 72 /regex/new-fail/55 1135s ok 73 /regex/new-fail/56 1135s ok 74 /regex/new-fail/57 1135s ok 75 /regex/new-fail/58 1135s ok 76 /regex/new-fail/59 1135s ok 77 /regex/new-fail/60 1135s ok 78 /regex/new-fail/61 1135s ok 79 /regex/new-fail/62 1135s ok 80 /regex/new-fail/63 1135s ok 81 /regex/new-fail/64 1135s ok 82 /regex/new-fail/65 1135s ok 83 /regex/new-fail/66 1135s ok 84 /regex/new-fail/67 1135s ok 85 /regex/new-fail/68 1135s ok 86 /regex/new-fail/69 1135s ok 87 /regex/new-fail/70 1135s ok 88 /regex/new-fail/72 1135s ok 89 /regex/new-fail/73 1135s ok 90 /regex/new-fail/74 1135s ok 91 /regex/new-fail/75 1135s ok 92 /regex/new-fail/76 1135s ok 93 /regex/new-fail/77 1135s ok 94 /regex/new-fail/78 1135s ok 95 /regex/new-fail/79 1135s ok 96 /regex/new-fail/81 1135s ok 97 /regex/new-fail/83 1135s ok 98 /regex/new-fail/84 1135s ok 99 /regex/new-fail/85 1135s ok 100 /regex/new-fail/86 1135s ok 101 /regex/new-fail/87 1135s ok 102 /regex/new-fail/88 1135s ok 103 /regex/new-fail/89 1135s ok 104 /regex/new-fail/90 1135s ok 105 /regex/new-fail/91 1135s # End of new-fail tests 1135s # Start of match-simple tests 1135s ok 106 /regex/match-simple/92 1135s ok 107 /regex/match-simple/93 1135s ok 108 /regex/match-simple/94 1135s ok 109 /regex/match-simple/95 1135s ok 110 /regex/match-simple/96 1135s ok 111 /regex/match-simple/97 1135s ok 112 /regex/match-simple/98 1135s ok 113 /regex/match-simple/99 1135s ok 114 /regex/match-simple/100 1135s ok 115 /regex/match-simple/101 1135s ok 116 /regex/match-simple/102 1135s ok 117 /regex/match-simple/103 1135s ok 118 /regex/match-simple/104 1135s ok 119 /regex/match-simple/105 1135s ok 120 /regex/match-simple/106 1135s ok 121 /regex/match-simple/107 1135s ok 122 /regex/match-simple/108 1135s ok 123 /regex/match-simple/109 1135s ok 124 /regex/match-simple/110 1135s ok 125 /regex/match-simple/111 1135s ok 126 /regex/match-simple/112 1135s ok 127 /regex/match-simple/113 1135s ok 128 /regex/match-simple/114 1135s ok 129 /regex/match-simple/115 1135s ok 130 /regex/match-simple/116 1135s ok 131 /regex/match-simple/117 1135s ok 132 /regex/match-simple/118 1135s ok 133 /regex/match-simple/119 1135s ok 134 /regex/match-simple/120 1135s ok 135 /regex/match-simple/121 1135s ok 136 /regex/match-simple/122 1135s ok 137 /regex/match-simple/123 1135s ok 138 /regex/match-simple/124 1135s ok 139 /regex/match-simple/125 1135s ok 140 /regex/match-simple/126 1135s ok 141 /regex/match-simple/127 1135s ok 142 /regex/match-simple/128 1135s ok 143 /regex/match-simple/129 1135s ok 144 /regex/match-simple/130 1135s ok 145 /regex/match-simple/131 1135s ok 146 /regex/match-simple/132 1135s ok 147 /regex/match-simple/133 1135s ok 148 /regex/match-simple/134 1135s ok 149 /regex/match-simple/135 1135s ok 150 /regex/match-simple/136 1135s ok 151 /regex/match-simple/137 1135s ok 152 /regex/match-simple/138 1135s ok 153 /regex/match-simple/139 1135s ok 154 /regex/match-simple/140 1135s ok 155 /regex/match-simple/141 1135s ok 156 /regex/match-simple/142 1135s ok 157 /regex/match-simple/143 1135s ok 158 /regex/match-simple/144 1135s ok 159 /regex/match-simple/145 1135s ok 160 /regex/match-simple/146 1135s ok 161 /regex/match-simple/147 1135s ok 162 /regex/match-simple/148 1135s ok 163 /regex/match-simple/149 1135s ok 164 /regex/match-simple/150 1135s ok 165 /regex/match-simple/151 1135s ok 166 /regex/match-simple/152 1135s ok 167 /regex/match-simple/153 1135s ok 168 /regex/match-simple/154 1135s ok 169 /regex/match-simple/155 1135s ok 170 /regex/match-simple/156 1135s ok 171 /regex/match-simple/157 1135s ok 172 /regex/match-simple/158 1135s ok 173 /regex/match-simple/159 1135s ok 174 /regex/match-simple/160 1135s ok 175 /regex/match-simple/161 1135s ok 176 /regex/match-simple/162 1135s ok 177 /regex/match-simple/163 1135s ok 178 /regex/match-simple/164 1135s # End of match-simple tests 1135s # Start of match-simple-optimized tests 1135s ok 179 /regex/match-simple-optimized/92 1135s ok 180 /regex/match-simple-optimized/93 1135s ok 181 /regex/match-simple-optimized/94 1135s ok 182 /regex/match-simple-optimized/95 1135s ok 183 /regex/match-simple-optimized/96 1135s ok 184 /regex/match-simple-optimized/97 1135s ok 185 /regex/match-simple-optimized/98 1135s ok 186 /regex/match-simple-optimized/99 1135s ok 187 /regex/match-simple-optimized/100 1135s ok 188 /regex/match-simple-optimized/101 1135s ok 189 /regex/match-simple-optimized/102 1135s ok 190 /regex/match-simple-optimized/103 1135s ok 191 /regex/match-simple-optimized/104 1135s ok 192 /regex/match-simple-optimized/105 1135s ok 193 /regex/match-simple-optimized/106 1135s ok 194 /regex/match-simple-optimized/107 1135s ok 195 /regex/match-simple-optimized/108 1135s ok 196 /regex/match-simple-optimized/109 1135s ok 197 /regex/match-simple-optimized/110 1135s ok 198 /regex/match-simple-optimized/111 1135s ok 199 /regex/match-simple-optimized/112 1135s ok 200 /regex/match-simple-optimized/113 1135s ok 201 /regex/match-simple-optimized/114 1135s ok 202 /regex/match-simple-optimized/115 1135s ok 203 /regex/match-simple-optimized/116 1135s ok 204 /regex/match-simple-optimized/117 1135s ok 205 /regex/match-simple-optimized/118 1135s ok 206 /regex/match-simple-optimized/119 1135s ok 207 /regex/match-simple-optimized/120 1135s ok 208 /regex/match-simple-optimized/121 1135s ok 209 /regex/match-simple-optimized/122 1135s ok 210 /regex/match-simple-optimized/123 1135s ok 211 /regex/match-simple-optimized/124 1135s ok 212 /regex/match-simple-optimized/125 1135s ok 213 /regex/match-simple-optimized/126 1135s ok 214 /regex/match-simple-optimized/127 1135s ok 215 /regex/match-simple-optimized/128 1135s ok 216 /regex/match-simple-optimized/129 1135s ok 217 /regex/match-simple-optimized/130 1135s ok 218 /regex/match-simple-optimized/131 1135s ok 219 /regex/match-simple-optimized/132 1135s ok 220 /regex/match-simple-optimized/133 1135s ok 221 /regex/match-simple-optimized/134 1135s ok 222 /regex/match-simple-optimized/135 1135s ok 223 /regex/match-simple-optimized/136 1135s ok 224 /regex/match-simple-optimized/137 1135s ok 225 /regex/match-simple-optimized/138 1135s ok 226 /regex/match-simple-optimized/139 1135s ok 227 /regex/match-simple-optimized/140 1135s ok 228 /regex/match-simple-optimized/141 1135s ok 229 /regex/match-simple-optimized/142 1135s ok 230 /regex/match-simple-optimized/143 1135s ok 231 /regex/match-simple-optimized/144 1135s ok 232 /regex/match-simple-optimized/145 1135s ok 233 /regex/match-simple-optimized/146 1135s ok 234 /regex/match-simple-optimized/147 1135s ok 235 /regex/match-simple-optimized/148 1135s ok 236 /regex/match-simple-optimized/149 1135s ok 237 /regex/match-simple-optimized/150 1135s ok 238 /regex/match-simple-optimized/151 1135s ok 239 /regex/match-simple-optimized/152 1135s ok 240 /regex/match-simple-optimized/153 1135s ok 241 /regex/match-simple-optimized/154 1135s ok 242 /regex/match-simple-optimized/155 1135s ok 243 /regex/match-simple-optimized/156 1135s ok 244 /regex/match-simple-optimized/157 1135s ok 245 /regex/match-simple-optimized/158 1135s ok 246 /regex/match-simple-optimized/159 1135s ok 247 /regex/match-simple-optimized/160 1135s ok 248 /regex/match-simple-optimized/161 1135s ok 249 /regex/match-simple-optimized/162 1135s ok 250 /regex/match-simple-optimized/163 1135s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1135s ok 251 /regex/match-simple-optimized/164 1135s # End of match-simple-optimized tests 1135s # Start of match tests 1135s ok 252 /regex/match/165 1135s ok 253 /regex/match/166 1135s ok 254 /regex/match/167 1135s ok 255 /regex/match/168 1135s ok 256 /regex/match/169 1135s ok 257 /regex/match/170 1135s ok 258 /regex/match/171 1135s ok 259 /regex/match/172 1135s ok 260 /regex/match/173 1135s ok 261 /regex/match/174 1135s ok 262 /regex/match/175 1135s ok 263 /regex/match/176 1135s ok 264 /regex/match/177 1135s ok 265 /regex/match/178 1135s ok 266 /regex/match/179 1135s ok 267 /regex/match/180 1135s ok 268 /regex/match/181 1135s ok 269 /regex/match/182 1135s ok 270 /regex/match/183 1135s ok 271 /regex/match/184 1135s ok 272 /regex/match/185 1135s ok 273 /regex/match/186 1135s ok 274 /regex/match/187 1135s ok 275 /regex/match/188 1135s ok 276 /regex/match/189 1135s ok 277 /regex/match/190 1135s ok 278 /regex/match/191 1135s ok 279 /regex/match/192 1135s ok 280 /regex/match/193 1135s ok 281 /regex/match/194 1135s ok 282 /regex/match/195 1135s ok 283 /regex/match/196 1135s ok 284 /regex/match/197 1135s ok 285 /regex/match/198 1135s ok 286 /regex/match/199 1135s ok 287 /regex/match/200 1135s ok 288 /regex/match/201 1135s ok 289 /regex/match/202 1135s ok 290 /regex/match/203 1135s ok 291 /regex/match/204 1135s ok 292 /regex/match/205 1135s ok 293 /regex/match/206 1135s ok 294 /regex/match/207 1135s ok 295 /regex/match/208 1135s ok 296 /regex/match/209 1135s ok 297 /regex/match/210 1135s ok 298 /regex/match/211 1135s ok 299 /regex/match/212 1135s ok 300 /regex/match/213 1135s ok 301 /regex/match/214 1135s ok 302 /regex/match/215 1135s ok 303 /regex/match/216 1135s ok 304 /regex/match/217 1135s ok 305 /regex/match/218 1135s ok 306 /regex/match/219 1135s ok 307 /regex/match/220 1135s ok 308 /regex/match/221 1135s ok 309 /regex/match/222 1135s ok 310 /regex/match/223 1135s ok 311 /regex/match/224 1135s ok 312 /regex/match/225 1135s ok 313 /regex/match/226 1135s ok 314 /regex/match/227 1135s ok 315 /regex/match/228 1135s ok 316 /regex/match/229 1135s ok 317 /regex/match/230 1135s ok 318 /regex/match/231 1135s ok 319 /regex/match/232 1135s ok 320 /regex/match/233 1135s ok 321 /regex/match/234 1135s ok 322 /regex/match/235 1135s ok 323 /regex/match/236 1135s ok 324 /regex/match/237 1135s ok 325 /regex/match/238 1135s ok 326 /regex/match/239 1135s ok 327 /regex/match/240 1135s ok 328 /regex/match/241 1135s ok 329 /regex/match/242 1135s ok 330 /regex/match/243 1135s ok 331 /regex/match/244 1135s ok 332 /regex/match/245 1135s ok 333 /regex/match/246 1135s ok 334 /regex/match/partial281 1135s ok 335 /regex/match/partial282 1135s ok 336 /regex/match/partial283 1135s ok 337 /regex/match/partial284 1135s ok 338 /regex/match/partial285 1135s ok 339 /regex/match/partial286 1135s ok 340 /regex/match/partial287 1135s ok 341 /regex/match/partial288 1135s ok 342 /regex/match/partial289 1135s ok 343 /regex/match/partial290 1135s ok 344 /regex/match/partial291 1135s ok 345 /regex/match/partial292 1135s ok 346 /regex/match/partial293 1135s ok 347 /regex/match/partial294 1135s ok 348 /regex/match/partial295 1135s ok 349 /regex/match/partial296 1135s ok 350 /regex/match/partial297 1135s ok 351 /regex/match/partial298 1135s ok 352 /regex/match/partial299 1135s ok 353 /regex/match/partial300 1135s ok 354 /regex/match/partial301 1135s ok 355 /regex/match/partial302 1135s # Start of next0 tests 1135s ok 356 /regex/match/next0/247 1135s ok 357 /regex/match/next0/248 1135s ok 358 /regex/match/next0/249 1135s ok 359 /regex/match/next0/250 1135s # End of next0 tests 1135s # Start of next1 tests 1135s ok 360 /regex/match/next1/251 1135s ok 361 /regex/match/next1/252 1135s ok 362 /regex/match/next1/253 1135s ok 363 /regex/match/next1/254 1135s ok 364 /regex/match/next1/255 1135s # End of next1 tests 1135s # Start of next2 tests 1135s ok 365 /regex/match/next2/256 1135s ok 366 /regex/match/next2/257 1135s ok 367 /regex/match/next2/258 1135s ok 368 /regex/match/next2/259 1135s ok 369 /regex/match/next2/260 1135s ok 370 /regex/match/next2/261 1135s ok 371 /regex/match/next2/262 1135s ok 372 /regex/match/next2/263 1135s # End of next2 tests 1135s # Start of next3 tests 1135s ok 373 /regex/match/next3/264 1135s ok 374 /regex/match/next3/265 1135s ok 375 /regex/match/next3/266 1135s ok 376 /regex/match/next3/267 1135s ok 377 /regex/match/next3/268 1135s ok 378 /regex/match/next3/269 1135s # End of next3 tests 1135s # Start of next4 tests 1135s ok 379 /regex/match/next4/270 1135s # End of next4 tests 1135s # Start of count tests 1135s ok 380 /regex/match/count/271 1135s ok 381 /regex/match/count/272 1135s ok 382 /regex/match/count/273 1135s ok 383 /regex/match/count/274 1135s ok 384 /regex/match/count/275 1135s ok 385 /regex/match/count/276 1135s ok 386 /regex/match/count/277 1135s ok 387 /regex/match/count/278 1135s ok 388 /regex/match/count/279 1135s ok 389 /regex/match/count/280 1135s # End of count tests 1135s # Start of count-optimized tests 1135s ok 390 /regex/match/count-optimized/271 1135s ok 391 /regex/match/count-optimized/272 1135s ok 392 /regex/match/count-optimized/273 1135s ok 393 /regex/match/count-optimized/274 1135s ok 394 /regex/match/count-optimized/275 1135s ok 395 /regex/match/count-optimized/276 1135s ok 396 /regex/match/count-optimized/277 1135s ok 397 /regex/match/count-optimized/278 1135s ok 398 /regex/match/count-optimized/279 1135s ok 399 /regex/match/count-optimized/280 1135s # End of count-optimized tests 1135s # Start of partial-optimized tests 1135s ok 400 /regex/match/partial-optimized/281 1135s ok 401 /regex/match/partial-optimized/282 1135s ok 402 /regex/match/partial-optimized/283 1135s ok 403 /regex/match/partial-optimized/284 1135s ok 404 /regex/match/partial-optimized/285 1135s ok 405 /regex/match/partial-optimized/286 1135s ok 406 /regex/match/partial-optimized/287 1135s ok 407 /regex/match/partial-optimized/288 1135s ok 408 /regex/match/partial-optimized/289 1135s ok 409 /regex/match/partial-optimized/290 1135s ok 410 /regex/match/partial-optimized/291 1135s ok 411 /regex/match/partial-optimized/292 1135s ok 412 /regex/match/partial-optimized/293 1135s ok 413 /regex/match/partial-optimized/294 1135s ok 414 /regex/match/partial-optimized/295 1135s ok 415 /regex/match/partial-optimized/296 1135s ok 416 /regex/match/partial-optimized/297 1135s ok 417 /regex/match/partial-optimized/298 1135s ok 418 /regex/match/partial-optimized/299 1135s ok 419 /regex/match/partial-optimized/300 1135s ok 420 /regex/match/partial-optimized/301 1135s ok 421 /regex/match/partial-optimized/302 1135s # End of partial-optimized tests 1135s # Start of subpattern tests 1135s ok 422 /regex/match/subpattern/303 1135s ok 423 /regex/match/subpattern/304 1135s ok 424 /regex/match/subpattern/305 1135s ok 425 /regex/match/subpattern/306 1135s ok 426 /regex/match/subpattern/307 1135s ok 427 /regex/match/subpattern/308 1135s ok 428 /regex/match/subpattern/309 1135s ok 429 /regex/match/subpattern/310 1135s ok 430 /regex/match/subpattern/311 1135s ok 431 /regex/match/subpattern/312 1135s ok 432 /regex/match/subpattern/313 1135s ok 433 /regex/match/subpattern/314 1135s ok 434 /regex/match/subpattern/315 1135s # Start of named tests 1135s # Start of dupnames tests 1135s ok 435 /regex/match/subpattern/named/dupnames/325 1135s ok 436 /regex/match/subpattern/named/dupnames/326 1135s ok 437 /regex/match/subpattern/named/dupnames/327 1135s ok 438 /regex/match/subpattern/named/dupnames/328 1135s ok 439 /regex/match/subpattern/named/dupnames/329 1135s # End of dupnames tests 1135s # End of named tests 1135s # End of subpattern tests 1135s # Start of subpattern-optimized tests 1135s ok 440 /regex/match/subpattern-optimized/303 1135s ok 441 /regex/match/subpattern-optimized/304 1135s ok 442 /regex/match/subpattern-optimized/305 1135s ok 443 /regex/match/subpattern-optimized/306 1135s ok 444 /regex/match/subpattern-optimized/307 1135s ok 445 /regex/match/subpattern-optimized/308 1135s ok 446 /regex/match/subpattern-optimized/309 1135s ok 447 /regex/match/subpattern-optimized/310 1135s ok 448 /regex/match/subpattern-optimized/311 1135s ok 449 /regex/match/subpattern-optimized/312 1135s ok 450 /regex/match/subpattern-optimized/313 1135s ok 451 /regex/match/subpattern-optimized/314 1135s ok 452 /regex/match/subpattern-optimized/315 1135s # End of subpattern-optimized tests 1135s # Start of named tests 1135s # Start of subpattern tests 1135s ok 453 /regex/match/named/subpattern/316 1135s ok 454 /regex/match/named/subpattern/317 1135s ok 455 /regex/match/named/subpattern/318 1135s ok 456 /regex/match/named/subpattern/319 1135s ok 457 /regex/match/named/subpattern/320 1135s ok 458 /regex/match/named/subpattern/321 1135s ok 459 /regex/match/named/subpattern/322 1135s ok 460 /regex/match/named/subpattern/323 1135s ok 461 /regex/match/named/subpattern/324 1135s ok 462 /regex/match/named/subpattern/330 1135s ok 463 /regex/match/named/subpattern/331 1135s ok 464 /regex/match/named/subpattern/332 1135s ok 465 /regex/match/named/subpattern/333 1135s ok 466 /regex/match/named/subpattern/334 1135s # End of subpattern tests 1135s # End of named tests 1135s # End of match tests 1135s # Start of match-optimized tests 1135s ok 467 /regex/match-optimized/165 1135s ok 468 /regex/match-optimized/166 1135s ok 469 /regex/match-optimized/167 1135s ok 470 /regex/match-optimized/168 1135s ok 471 /regex/match-optimized/169 1135s ok 472 /regex/match-optimized/170 1135s ok 473 /regex/match-optimized/171 1135s ok 474 /regex/match-optimized/172 1135s ok 475 /regex/match-optimized/173 1135s ok 476 /regex/match-optimized/174 1135s ok 477 /regex/match-optimized/175 1135s ok 478 /regex/match-optimized/176 1135s ok 479 /regex/match-optimized/177 1135s ok 480 /regex/match-optimized/178 1135s ok 481 /regex/match-optimized/179 1135s ok 482 /regex/match-optimized/180 1135s ok 483 /regex/match-optimized/181 1135s ok 484 /regex/match-optimized/182 1135s ok 485 /regex/match-optimized/183 1135s ok 486 /regex/match-optimized/184 1135s ok 487 /regex/match-optimized/185 1135s ok 488 /regex/match-optimized/186 1135s ok 489 /regex/match-optimized/187 1135s ok 490 /regex/match-optimized/188 1135s ok 491 /regex/match-optimized/189 1135s ok 492 /regex/match-optimized/190 1135s ok 493 /regex/match-optimized/191 1135s ok 494 /regex/match-optimized/192 1135s ok 495 /regex/match-optimized/193 1135s ok 496 /regex/match-optimized/194 1135s ok 497 /regex/match-optimized/195 1135s ok 498 /regex/match-optimized/196 1135s ok 499 /regex/match-optimized/197 1135s ok 500 /regex/match-optimized/198 1135s ok 501 /regex/match-optimized/199 1135s ok 502 /regex/match-optimized/200 1135s ok 503 /regex/match-optimized/201 1135s ok 504 /regex/match-optimized/202 1135s ok 505 /regex/match-optimized/203 1135s ok 506 /regex/match-optimized/204 1135s ok 507 /regex/match-optimized/205 1135s ok 508 /regex/match-optimized/206 1135s ok 509 /regex/match-optimized/207 1135s ok 510 /regex/match-optimized/208 1135s ok 511 /regex/match-optimized/209 1135s ok 512 /regex/match-optimized/210 1135s ok 513 /regex/match-optimized/211 1135s ok 514 /regex/match-optimized/212 1135s ok 515 /regex/match-optimized/213 1135s ok 516 /regex/match-optimized/214 1135s ok 517 /regex/match-optimized/215 1135s ok 518 /regex/match-optimized/216 1135s ok 519 /regex/match-optimized/217 1135s ok 520 /regex/match-optimized/218 1135s ok 521 /regex/match-optimized/219 1135s ok 522 /regex/match-optimized/220 1135s ok 523 /regex/match-optimized/221 1135s ok 524 /regex/match-optimized/222 1135s ok 525 /regex/match-optimized/223 1135s ok 526 /regex/match-optimized/224 1135s ok 527 /regex/match-optimized/225 1135s ok 528 /regex/match-optimized/226 1135s ok 529 /regex/match-optimized/227 1135s ok 530 /regex/match-optimized/228 1135s ok 531 /regex/match-optimized/229 1135s ok 532 /regex/match-optimized/230 1135s ok 533 /regex/match-optimized/231 1135s ok 534 /regex/match-optimized/232 1135s ok 535 /regex/match-optimized/233 1135s ok 536 /regex/match-optimized/234 1135s ok 537 /regex/match-optimized/235 1135s ok 538 /regex/match-optimized/236 1135s ok 539 /regex/match-optimized/237 1135s ok 540 /regex/match-optimized/238 1135s ok 541 /regex/match-optimized/239 1135s ok 542 /regex/match-optimized/240 1135s ok 543 /regex/match-optimized/241 1135s ok 544 /regex/match-optimized/242 1135s ok 545 /regex/match-optimized/243 1135s ok 546 /regex/match-optimized/244 1135s ok 547 /regex/match-optimized/245 1135s ok 548 /regex/match-optimized/246 1135s # End of match-optimized tests 1135s # Start of fetch-all0 tests 1135s ok 549 /regex/fetch-all0/335 1135s ok 550 /regex/fetch-all0/336 1135s # End of fetch-all0 tests 1135s # Start of fetch-all1 tests 1135s ok 551 /regex/fetch-all1/337 1135s ok 552 /regex/fetch-all1/338 1135s ok 553 /regex/fetch-all1/339 1135s # End of fetch-all1 tests 1135s # Start of fetch-all2 tests 1135s ok 554 /regex/fetch-all2/340 1135s ok 555 /regex/fetch-all2/341 1135s ok 556 /regex/fetch-all2/342 1135s # End of fetch-all2 tests 1135s # Start of fetch-all3 tests 1135s ok 557 /regex/fetch-all3/343 1135s ok 558 /regex/fetch-all3/344 1135s ok 559 /regex/fetch-all3/345 1135s ok 560 /regex/fetch-all3/346 1135s ok 561 /regex/fetch-all3/347 1135s # End of fetch-all3 tests 1135s # Start of split tests 1135s # Start of simple0 tests 1135s ok 562 /regex/split/simple0/348 1135s ok 563 /regex/split/simple0/349 1135s ok 564 /regex/split/simple0/364 1135s ok 565 /regex/split/simple0/365 1135s # End of simple0 tests 1135s # Start of simple1 tests 1135s ok 566 /regex/split/simple1/350 1135s ok 567 /regex/split/simple1/351 1135s # End of simple1 tests 1135s # Start of simple2 tests 1135s ok 568 /regex/split/simple2/352 1135s ok 569 /regex/split/simple2/358 1135s ok 570 /regex/split/simple2/360 1135s # End of simple2 tests 1135s # Start of simple3 tests 1135s ok 571 /regex/split/simple3/353 1135s ok 572 /regex/split/simple3/354 1135s ok 573 /regex/split/simple3/355 1135s ok 574 /regex/split/simple3/356 1135s ok 575 /regex/split/simple3/357 1135s ok 576 /regex/split/simple3/359 1135s ok 577 /regex/split/simple3/361 1135s ok 578 /regex/split/simple3/362 1135s ok 579 /regex/split/simple3/363 1135s # End of simple3 tests 1135s # End of split tests 1135s # Start of split0 tests 1135s ok 580 /regex/split0/366 1135s ok 581 /regex/split0/368 1135s # End of split0 tests 1135s # Start of full-split0 tests 1135s ok 582 /regex/full-split0/367 1135s ok 583 /regex/full-split0/369 1135s ok 584 /regex/full-split0/370 1135s ok 585 /regex/full-split0/371 1135s ok 586 /regex/full-split0/372 1135s # End of full-split0 tests 1135s # Start of split1 tests 1135s ok 587 /regex/split1/373 1135s ok 588 /regex/split1/376 1135s # End of split1 tests 1135s # Start of full-split1 tests 1135s ok 589 /regex/full-split1/374 1135s ok 590 /regex/full-split1/375 1135s ok 591 /regex/full-split1/377 1135s ok 592 /regex/full-split1/378 1135s ok 593 /regex/full-split1/404 1135s # End of full-split1 tests 1135s # Start of split2 tests 1135s ok 594 /regex/split2/379 1135s ok 595 /regex/split2/383 1135s ok 596 /regex/split2/395 1135s # End of split2 tests 1135s # Start of full-split2 tests 1135s ok 597 /regex/full-split2/380 1135s ok 598 /regex/full-split2/381 1135s ok 599 /regex/full-split2/382 1135s ok 600 /regex/full-split2/384 1135s ok 601 /regex/full-split2/396 1135s ok 602 /regex/full-split2/399 1135s ok 603 /regex/full-split2/405 1135s # End of full-split2 tests 1135s # Start of split3 tests 1135s ok 604 /regex/split3/385 1135s ok 605 /regex/split3/387 1135s ok 606 /regex/split3/389 1135s ok 607 /regex/split3/391 1135s ok 608 /regex/split3/393 1135s ok 609 /regex/split3/397 1135s ok 610 /regex/split3/400 1135s ok 611 /regex/split3/402 1135s # End of split3 tests 1135s # Start of full-split3 tests 1135s ok 612 /regex/full-split3/386 1135s ok 613 /regex/full-split3/388 1135s ok 614 /regex/full-split3/390 1135s ok 615 /regex/full-split3/392 1135s ok 616 /regex/full-split3/394 1135s ok 617 /regex/full-split3/398 1135s ok 618 /regex/full-split3/401 1135s ok 619 /regex/full-split3/403 1135s ok 620 /regex/full-split3/406 1135s ok 621 /regex/full-split3/407 1135s # End of full-split3 tests 1135s # Start of check-repacement tests 1135s ok 622 /regex/check-repacement/408 1135s ok 623 /regex/check-repacement/409 1135s ok 624 /regex/check-repacement/410 1135s ok 625 /regex/check-repacement/411 1135s ok 626 /regex/check-repacement/412 1135s ok 627 /regex/check-repacement/413 1135s ok 628 /regex/check-repacement/414 1135s ok 629 /regex/check-repacement/415 1135s # End of check-repacement tests 1135s # Start of expand tests 1135s ok 630 /regex/expand/416 1135s ok 631 /regex/expand/417 1135s ok 632 /regex/expand/418 1135s ok 633 /regex/expand/419 1135s ok 634 /regex/expand/420 1135s ok 635 /regex/expand/421 1135s ok 636 /regex/expand/422 1135s ok 637 /regex/expand/423 1135s ok 638 /regex/expand/424 1135s ok 639 /regex/expand/425 1135s ok 640 /regex/expand/426 1135s ok 641 /regex/expand/427 1135s ok 642 /regex/expand/428 1135s ok 643 /regex/expand/429 1135s ok 644 /regex/expand/430 1135s ok 645 /regex/expand/431 1135s ok 646 /regex/expand/432 1135s ok 647 /regex/expand/433 1135s ok 648 /regex/expand/434 1135s ok 649 /regex/expand/435 1135s ok 650 /regex/expand/436 1135s ok 651 /regex/expand/437 1135s ok 652 /regex/expand/438 1135s ok 653 /regex/expand/439 1135s ok 654 /regex/expand/440 1135s ok 655 /regex/expand/441 1135s ok 656 /regex/expand/442 1135s ok 657 /regex/expand/443 1135s ok 658 /regex/expand/444 1135s ok 659 /regex/expand/445 1135s ok 660 /regex/expand/446 1135s ok 661 /regex/expand/447 1135s ok 662 /regex/expand/448 1135s ok 663 /regex/expand/449 1135s ok 664 /regex/expand/450 1135s ok 665 /regex/expand/451 1135s ok 666 /regex/expand/452 1135s ok 667 /regex/expand/453 1135s ok 668 /regex/expand/454 1135s ok 669 /regex/expand/455 1135s ok 670 /regex/expand/456 1135s ok 671 /regex/expand/457 1135s ok 672 /regex/expand/458 1135s ok 673 /regex/expand/459 1135s ok 674 /regex/expand/460 1135s ok 675 /regex/expand/461 1135s ok 676 /regex/expand/462 1135s ok 677 /regex/expand/463 1135s ok 678 /regex/expand/464 1135s ok 679 /regex/expand/465 1135s ok 680 /regex/expand/466 1135s ok 681 /regex/expand/467 1135s ok 682 /regex/expand/468 1135s ok 683 /regex/expand/469 1135s ok 684 /regex/expand/470 1135s ok 685 /regex/expand/471 1135s ok 686 /regex/expand/472 1135s ok 687 /regex/expand/473 1135s ok 688 /regex/expand/474 1135s ok 689 /regex/expand/475 1135s ok 690 /regex/expand/476 1135s ok 691 /regex/expand/477 1135s ok 692 /regex/expand/478 1135s ok 693 /regex/expand/479 1135s ok 694 /regex/expand/480 1135s ok 695 /regex/expand/481 1135s # End of expand tests 1135s # Start of replace tests 1135s ok 696 /regex/replace/482 1135s ok 697 /regex/replace/483 1135s ok 698 /regex/replace/484 1135s ok 699 /regex/replace/485 1135s ok 700 /regex/replace/486 1135s ok 701 /regex/replace/487 1135s ok 702 /regex/replace/488 1135s ok 703 /regex/replace/489 1135s ok 704 /regex/replace/490 1135s ok 705 /regex/replace/491 1135s ok 706 /regex/replace/492 1135s ok 707 /regex/replace/493 1135s ok 708 /regex/replace/494 1135s ok 709 /regex/replace/495 1135s ok 710 /regex/replace/496 1135s ok 711 /regex/replace/497 1135s ok 712 /regex/replace/498 1135s ok 713 /regex/replace/499 1135s ok 714 /regex/replace/500 1135s ok 715 /regex/replace/501 1135s ok 716 /regex/replace/502 1135s ok 717 /regex/replace/503 1135s ok 718 /regex/replace/504 1135s ok 719 /regex/replace/505 1135s ok 720 /regex/replace/506 1135s ok 721 /regex/replace/507 1135s ok 722 /regex/replace/508 1135s ok 723 /regex/replace/509 1135s # End of replace tests 1135s # Start of replace-optimized tests 1135s ok 724 /regex/replace-optimized/482 1135s ok 725 /regex/replace-optimized/483 1135s ok 726 /regex/replace-optimized/484 1135s ok 727 /regex/replace-optimized/485 1135s ok 728 /regex/replace-optimized/486 1135s ok 729 /regex/replace-optimized/487 1135s ok 730 /regex/replace-optimized/488 1135s ok 731 /regex/replace-optimized/489 1135s ok 732 /regex/replace-optimized/490 1135s ok 733 /regex/replace-optimized/491 1135s ok 734 /regex/replace-optimized/492 1135s ok 735 /regex/replace-optimized/493 1135s ok 736 /regex/replace-optimized/494 1135s ok 737 /regex/replace-optimized/495 1135s ok 738 /regex/replace-optimized/496 1135s ok 739 /regex/replace-optimized/497 1135s ok 740 /regex/replace-optimized/498 1135s ok 741 /regex/replace-optimized/499 1135s ok 742 /regex/replace-optimized/500 1135s ok 743 /regex/replace-optimized/501 1135s ok 744 /regex/replace-optimized/502 1135s ok 745 /regex/replace-optimized/503 1135s ok 746 /regex/replace-optimized/504 1135s ok 747 /regex/replace-optimized/505 1135s ok 748 /regex/replace-optimized/506 1135s ok 749 /regex/replace-optimized/507 1135s ok 750 /regex/replace-optimized/508 1135s ok 751 /regex/replace-optimized/509 1135s # End of replace-optimized tests 1135s # Start of replace-literally tests 1135s ok 752 /regex/replace-literally/510 1135s ok 753 /regex/replace-literally/511 1135s ok 754 /regex/replace-literally/512 1135s ok 755 /regex/replace-literally/513 1135s ok 756 /regex/replace-literally/514 1135s ok 757 /regex/replace-literally/515 1135s ok 758 /regex/replace-literally/516 1135s ok 759 /regex/replace-literally/517 1135s ok 760 /regex/replace-literally/518 1135s ok 761 /regex/replace-literally/519 1135s ok 762 /regex/replace-literally/520 1135s ok 763 /regex/replace-literally/521 1135s ok 764 /regex/replace-literally/522 1135s ok 765 /regex/replace-literally/523 1135s ok 766 /regex/replace-literally/524 1135s ok 767 /regex/replace-literally/525 1135s ok 768 /regex/replace-literally/526 1135s ok 769 /regex/replace-literally/527 1135s ok 770 /regex/replace-literally/528 1135s ok 771 /regex/replace-literally/529 1135s # End of replace-literally tests 1135s # Start of string-number tests 1135s ok 772 /regex/string-number/530 1135s ok 773 /regex/string-number/531 1135s ok 774 /regex/string-number/532 1135s ok 775 /regex/string-number/533 1135s ok 776 /regex/string-number/534 1135s ok 777 /regex/string-number/535 1135s ok 778 /regex/string-number/536 1135s ok 779 /regex/string-number/537 1135s ok 780 /regex/string-number/538 1135s ok 781 /regex/string-number/539 1135s ok 782 /regex/string-number/540 1135s ok 783 /regex/string-number/541 1135s ok 784 /regex/string-number/542 1135s ok 785 /regex/string-number/543 1135s ok 786 /regex/string-number/544 1135s # End of string-number tests 1135s # Start of escape_nul tests 1135s ok 787 /regex/escape_nul/545 1135s ok 788 /regex/escape_nul/546 1135s ok 789 /regex/escape_nul/547 1135s ok 790 /regex/escape_nul/548 1135s ok 791 /regex/escape_nul/549 1135s ok 792 /regex/escape_nul/550 1135s ok 793 /regex/escape_nul/551 1135s ok 794 /regex/escape_nul/552 1135s ok 795 /regex/escape_nul/553 1135s ok 796 /regex/escape_nul/554 1135s ok 797 /regex/escape_nul/555 1135s ok 798 /regex/escape_nul/556 1135s ok 799 /regex/escape_nul/557 1135s ok 800 /regex/escape_nul/558 1135s ok 801 /regex/escape_nul/559 1135s # End of escape_nul tests 1135s # Start of escape tests 1135s ok 802 /regex/escape/560 1135s ok 803 /regex/escape/561 1135s ok 804 /regex/escape/562 1135s ok 805 /regex/escape/563 1135s ok 806 /regex/escape/564 1135s ok 807 /regex/escape/565 1135s ok 808 /regex/escape/566 1135s ok 809 /regex/escape/567 1135s ok 810 /regex/escape/568 1135s ok 811 /regex/escape/569 1135s ok 812 /regex/escape/570 1135s ok 813 /regex/escape/571 1135s ok 814 /regex/escape/572 1135s ok 815 /regex/escape/573 1135s ok 816 /regex/escape/574 1135s ok 817 /regex/escape/575 1135s ok 818 /regex/escape/576 1135s ok 819 /regex/escape/577 1135s # End of escape tests 1135s # Start of match-all0 tests 1135s ok 820 /regex/match-all0/578 1135s ok 821 /regex/match-all0/580 1135s # End of match-all0 tests 1135s # Start of match-all-full0 tests 1135s ok 822 /regex/match-all-full0/579 1135s ok 823 /regex/match-all-full0/581 1135s ok 824 /regex/match-all-full0/582 1135s ok 825 /regex/match-all-full0/583 1135s # End of match-all-full0 tests 1135s # Start of match-all1 tests 1135s ok 826 /regex/match-all1/584 1135s ok 827 /regex/match-all1/586 1135s ok 828 /regex/match-all1/591 1135s # End of match-all1 tests 1135s # Start of match-all-full1 tests 1135s ok 829 /regex/match-all-full1/585 1135s ok 830 /regex/match-all-full1/587 1135s ok 831 /regex/match-all-full1/588 1135s ok 832 /regex/match-all-full1/589 1135s ok 833 /regex/match-all-full1/590 1135s ok 834 /regex/match-all-full1/592 1135s # End of match-all-full1 tests 1135s # Start of match-all2 tests 1135s ok 835 /regex/match-all2/593 1135s ok 836 /regex/match-all2/595 1135s ok 837 /regex/match-all2/597 1135s # End of match-all2 tests 1135s # Start of match-all-full2 tests 1135s ok 838 /regex/match-all-full2/594 1135s ok 839 /regex/match-all-full2/596 1135s ok 840 /regex/match-all-full2/598 1135s # End of match-all-full2 tests 1135s # Start of match-all3 tests 1135s ok 841 /regex/match-all3/599 1135s ok 842 /regex/match-all3/601 1135s # End of match-all3 tests 1135s # Start of match-all-full3 tests 1135s ok 843 /regex/match-all-full3/600 1135s ok 844 /regex/match-all-full3/602 1135s # End of match-all-full3 tests 1135s # Start of match-notempty tests 1135s ok 845 /regex/match-notempty/603 1135s # End of match-notempty tests 1135s # Start of match-notempty-optimized tests 1135s ok 846 /regex/match-notempty-optimized/603 1135s # End of match-notempty-optimized tests 1135s # Start of match-notempty-atstart tests 1135s ok 847 /regex/match-notempty-atstart/604 1135s # End of match-notempty-atstart tests 1135s # Start of match-notempty-atstart-optimized tests 1135s ok 848 /regex/match-notempty-atstart-optimized/604 1135s # End of match-notempty-atstart-optimized tests 1135s # End of regex tests 1135s ok - glib/regex.test 1135s # Running test: glib/rand.test 1135s TAP version 14 1135s # random seed: R02S1886a7190fbf49124d83c88ebd4cdc67 1135s 1..2 1135s # Start of rand tests 1135s ok 1 /rand/test-rand 1135s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 1135s ok 2 /rand/double-range 1135s # End of rand tests 1135s ok - glib/rand.test 1135s # Running test: glib/portal-support-env-var.test 1135s TAP version 14 1135s # random seed: R02S0203b7ec1f68efebf1c84dd78bf68573 1135s 1..1 1135s # Start of portal-support tests 1135s ok 1 /portal-support/env-var 1135s # End of portal-support tests 1135s ok - glib/portal-support-env-var.test 1135s # SUMMARY: total=319; passed=318; skipped=1; failed=0; user=250.3s; system=74.0s; maxrss=167936 1136s autopkgtest [16:02:12]: test installed-tests: -----------------------] 1137s installed-tests PASS 1137s autopkgtest [16:02:13]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 1137s autopkgtest [16:02:13]: test closure-refcount: preparing testbed 1137s Reading package lists... 1137s Building dependency tree... 1137s Reading state information... 1138s Starting pkgProblemResolver with broken count: 0 1138s Starting 2 pkgProblemResolver with broken count: 0 1138s Done 1138s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1139s autopkgtest [16:02:15]: test closure-refcount: [----------------------- 1139s Running test: glib/closure-refcount.test 1139s TAP version 14 1139s # random seed: R02S072c1a95a335de89e86e2490c7d92bd1 1139s 1..1 1139s # Start of closure tests 1139s # Init 0x9057ef9f0a0 1139s # Yielding from main thread 1139s # Yielding from main thread 1139s # Yielding from main thread 1139s # Yielding from thread2 1139s # Yielding from main thread 1139s # Yielding from main thread 1139s # Yielding from thread1 1139s # Yielding from main thread 1139s # Yielding from main thread 1139s # Yielding from main thread 1139s # Yielding from main thread 1140s # Yielding from main thread 1140s # Yielding from thread2 1140s # Yielding from main thread 1140s # Yielding from thread1 1140s # Yielding from main thread 1140s # Yielding from main thread 1140s # Yielding from main thread 1140s # Yielding from main thread 1140s # Yielding from main thread 1140s # Yielding from thread2 1140s # Yielding from main thread 1140s # Yielding from thread1 1140s # Yielding from main thread 1140s # Yielding from main thread 1140s # Yielding from main thread 1140s # Yielding from main thread 1140s # Yielding from main thread 1140s # Yielding from thread2 1140s # Yielding from main thread 1140s # Yielding from main thread 1140s # Yielding from thread1 1140s # Yielding from main thread 1140s # Yielding from main thread 1140s # Yielding from main thread 1140s # Yielding from main thread 1141s # Yielding from thread1 1141s # Yielding from main thread 1141s # Yielding from thread2 1141s # Yielding from main thread 1141s # Yielding from main thread 1141s # Yielding from main thread 1141s # Yielding from main thread 1141s # Yielding from main thread 1141s # Yielding from thread1 1141s # Yielding from main thread 1141s # Yielding from main thread 1141s # Yielding from thread2 1141s # Yielding from main thread 1141s # Yielding from main thread 1141s # Yielding from main thread 1141s # Yielding from thread1 1141s # Yielding from main thread 1141s # Yielding from main thread 1141s # Yielding from main thread 1141s # Yielding from main thread 1141s # Yielding from thread2 1141s # Yielding from main thread 1141s # Yielding from main thread 1141s # Yielding from thread1 1141s # Yielding from main thread 1141s # Yielding from main thread 1141s # Yielding from main thread 1142s # Yielding from main thread 1142s # Yielding from thread2 1142s # Yielding from main thread 1142s # Yielding from main thread 1142s # Yielding from thread1 1142s # Yielding from main thread 1142s # Yielding from main thread 1142s # Yielding from main thread 1142s # Yielding from main thread 1142s # Yielding from thread2 1142s # Yielding from main thread 1142s # Yielding from main thread 1142s # Yielding from thread1 1142s # Yielding from main thread 1142s # Yielding from main thread 1142s # Yielding from main thread 1142s # Yielding from main thread 1142s # Yielding from main thread 1142s # Yielding from thread2 1142s # Yielding from main thread 1142s # Yielding from main thread 1142s # Yielding from main thread 1142s # Yielding from main thread 1142s # Yielding from thread1 1142s # Yielding from thread2 1142s # Yielding from main thread 1142s # Yielding from main thread 1143s # Yielding from main thread 1143s # Yielding from main thread 1143s # Yielding from main thread 1143s # Yielding from main thread 1143s # Yielding from thread2 1143s # Yielding from main thread 1143s # Yielding from thread1 1143s # Yielding from main thread 1143s # Yielding from main thread 1143s # Yielding from main thread 1143s # Yielding from main thread 1143s # Yielding from main thread 1143s # Yielding from thread2 1143s # Yielding from main thread 1143s # Yielding from main thread 1143s # Yielding from thread1 1143s # Yielding from main thread 1143s # Yielding from main thread 1143s # Yielding from thread2 1143s # Yielding from main thread 1143s # Yielding from main thread 1143s # Yielding from main thread 1143s # Yielding from main thread 1143s # Yielding from main thread 1143s # Yielding from thread1 1144s # Yielding from main thread 1144s # Yielding from thread2 1144s # Yielding from main thread 1144s # Yielding from main thread 1144s # Yielding from main thread 1144s # Yielding from thread1 1144s # Yielding from main thread 1144s # Yielding from main thread 1144s # Yielding from thread2 1144s # Yielding from main thread 1144s # Yielding from main thread 1144s # Yielding from main thread 1144s # Yielding from main thread 1144s # Yielding from main thread 1144s # Yielding from thread2 1144s # Yielding from main thread 1144s # Yielding from thread1 1144s # Stopping 1144s # Stopped 1144s ok 1 /closure/refcount 1144s # slow test /closure/refcount executed in 5.27 secs 1144s # End of closure tests 1144s PASS: glib/closure-refcount.test 1144s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=10.5s; system=0.0s; maxrss=4096 1145s autopkgtest [16:02:21]: test closure-refcount: -----------------------] 1145s closure-refcount PASS 1145s autopkgtest [16:02:21]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 1145s autopkgtest [16:02:21]: test debugcontroller: preparing testbed 1146s Reading package lists... 1146s Building dependency tree... 1146s Reading state information... 1146s Starting pkgProblemResolver with broken count: 0 1146s Starting 2 pkgProblemResolver with broken count: 0 1146s Done 1146s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1147s autopkgtest [16:02:23]: test debugcontroller: [----------------------- 1147s Running test: glib/debugcontroller.test 1147s TAP version 14 1147s # random seed: R02S1429126c33f55200f277a67265b1a6f5 1147s 1..3 1147s # Start of debug-controller tests 1147s # Start of dbus tests 1147s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1147s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1147s # GLib-GIO-DEBUG: Debug output enabled 1147s # GLib-GIO-DEBUG: Debug output disabled 1147s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1147s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1147s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1147s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1147s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1147s ok 1 /debug-controller/dbus/basic 1147s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1147s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1147s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1147s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1147s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1147s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1147s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1147s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1147s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1147s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1147s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1147s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1147s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1147s ok 2 /debug-controller/dbus/duplicate 1147s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1147s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1147s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1147s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1147s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1147s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1147s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1147s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1147s # GLib-GIO-DEBUG: Debug output enabled 1147s # GLib-GIO-DEBUG: Debug output disabled 1147s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1147s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1147s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1147s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1147s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1147s ok 3 /debug-controller/dbus/properties 1147s # End of dbus tests 1147s # End of debug-controller tests 1147s PASS: glib/debugcontroller.test 1147s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=10240 1148s autopkgtest [16:02:24]: test debugcontroller: -----------------------] 1148s debugcontroller PASS 1148s autopkgtest [16:02:24]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 1148s autopkgtest [16:02:24]: test gdbus-server-auth: preparing testbed 1149s Reading package lists... 1149s Building dependency tree... 1149s Reading state information... 1149s Starting pkgProblemResolver with broken count: 0 1149s Starting 2 pkgProblemResolver with broken count: 0 1149s Done 1149s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1150s autopkgtest [16:02:26]: test gdbus-server-auth: [----------------------- 1150s Running test: glib/gdbus-server-auth.test 1150s TAP version 14 1150s # random seed: R02S6ffe812ae55054a5e89ff7dd64fbb1a3 1150s 1..9 1150s # Start of gdbus tests 1150s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/.dirs/home 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/.dirs/cache 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/.dirs/system-config2 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/.dirs/config 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/.dirs/system-data2 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/.dirs/data 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/.dirs/state 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/.dirs/runtime 1150s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_ATNNZ2/gdbus-server-auth-DCINZ2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1150s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_ATNNZ2/gdbus-server-auth-DCINZ2/dbus-LBbL2vnh 1150s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1150s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1150s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1150s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16291 1150s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1150s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1150s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1150s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1150s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16291 1150s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1150s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1150s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1150s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1150s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16291 1150s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1150s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1150s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1150s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1150s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16291 1150s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1150s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1150s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1150s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1150s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16291 1150s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1150s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1150s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1150s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1150s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16291 1150s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1150s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1150s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1150s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1150s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16291 1150s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1150s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1150s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1150s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1150s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16291 1150s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1150s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1150s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1150s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1150s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16291 1150s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1150s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1150s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1150s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1150s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16291 1150s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1150s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1150s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1150s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1150s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16291 1150s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1150s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1150s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1150s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1150s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16291 1150s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1150s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1150s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1150s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1150s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16291 1150s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1150s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1150s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1150s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1150s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16291 1150s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1150s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1150s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1150s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1150s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16291 1150s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1150s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1150s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1150s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1150s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16291 1150s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1150s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1150s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1150s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1150s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16291 1150s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1150s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1150s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1150s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1150s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16291 1150s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1150s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1150s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1150s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1150s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16291 1150s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1150s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1150s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1150s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1150s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16291 1150s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1150s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1150s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1150s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1150s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16291 1150s ok 1 /gdbus/server-auth 1150s # Start of server-auth tests 1150s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/abstract/.dirs/home 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/abstract/.dirs/cache 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/abstract/.dirs/system-config2 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/abstract/.dirs/config 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/abstract/.dirs/system-data2 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/abstract/.dirs/data 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/abstract/.dirs/state 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/abstract/.dirs/runtime 1150s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_ATNNZ2/gdbus-server-auth-KG2MZ2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1150s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_ATNNZ2/gdbus-server-auth-KG2MZ2/dbus-GXO2EjfA 1150s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1150s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1150s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1150s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16291 1150s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1150s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1150s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1150s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1150s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16291 1150s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1150s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1150s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1150s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1150s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16291 1150s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1150s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1150s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1150s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1150s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16291 1150s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1150s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1150s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1150s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1150s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16291 1150s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1150s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1150s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1150s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1150s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16291 1150s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1150s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1150s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1150s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1150s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16291 1150s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1150s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1150s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1150s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1150s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16291 1150s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1150s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1150s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1150s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1150s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16291 1150s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1150s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1150s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1150s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1150s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16291 1150s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1150s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1150s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1150s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1150s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16291 1150s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1150s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1150s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1150s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1150s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16291 1150s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1150s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1150s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1150s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1150s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16291 1150s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1150s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1150s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1150s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1150s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16291 1150s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1150s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1150s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1150s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1150s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16291 1150s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1150s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1150s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1150s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1150s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16291 1150s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1150s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1150s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1150s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1150s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16291 1150s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1150s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1150s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1150s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1150s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16291 1150s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1150s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1150s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1150s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1150s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16291 1150s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1150s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1150s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1150s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1150s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16291 1150s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1150s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1150s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1150s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1150s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1150s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16291 1150s ok 2 /gdbus/server-auth/abstract 1150s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/tcp/.dirs/home 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/tcp/.dirs/cache 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/tcp/.dirs/system-config2 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/tcp/.dirs/config 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/tcp/.dirs/system-data2 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/tcp/.dirs/data 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/tcp/.dirs/state 1150s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/tcp/.dirs/runtime 1150s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1150s # Connectable address: tcp:host=127.0.0.1,port=43439 1150s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1150s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1150s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1150s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1150s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1150s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1150s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1150s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1150s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1150s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1150s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1150s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1150s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1150s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1150s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1150s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1150s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1150s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1150s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1150s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1150s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1150s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1150s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1150s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1150s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1150s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1150s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1150s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1150s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1150s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1150s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1150s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1150s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1151s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1151s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1151s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1151s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1151s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1151s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1151s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1151s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1151s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1151s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1151s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1151s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1151s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1151s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1151s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1151s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1151s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1151s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1151s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1151s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1151s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1151s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1151s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1151s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1151s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1151s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1151s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1151s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1151s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1151s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1151s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1151s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1151s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1151s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1151s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1151s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1151s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1151s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1151s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1151s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1151s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1151s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1151s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1151s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1151s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1151s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1151s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1151s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1151s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1151s ok 3 /gdbus/server-auth/tcp 1151s # slow test /gdbus/server-auth/tcp executed in 0.90 secs 1151s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/anonymous/.dirs/home 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/anonymous/.dirs/cache 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/anonymous/.dirs/system-config2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/anonymous/.dirs/config 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/anonymous/.dirs/system-data2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/anonymous/.dirs/data 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/anonymous/.dirs/state 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/anonymous/.dirs/runtime 1151s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_ATNNZ2/gdbus-server-auth-UGTOZ2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1151s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_ATNNZ2/gdbus-server-auth-UGTOZ2/dbus-yRjK1rrs 1151s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1151s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1151s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1151s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1151s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1151s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1151s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1151s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1151s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1151s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1151s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1151s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1151s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1151s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1151s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1151s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1151s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1151s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1151s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1151s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1151s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1151s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1151s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1151s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1151s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1151s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1151s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1151s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1151s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1151s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1151s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1151s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1151s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1151s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1151s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1151s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1151s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1151s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1151s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1151s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1151s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1151s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1151s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16291 1151s ok 4 /gdbus/server-auth/anonymous 1151s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/external/.dirs/home 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/external/.dirs/cache 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/external/.dirs/system-config2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/external/.dirs/config 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/external/.dirs/system-data2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/external/.dirs/data 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/external/.dirs/state 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/external/.dirs/runtime 1151s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_ATNNZ2/gdbus-server-auth-MPGOZ2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1151s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_ATNNZ2/gdbus-server-auth-MPGOZ2/dbus-Mm1wMgUI 1151s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1151s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1151s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1151s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1151s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1151s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1151s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1151s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1151s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1151s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1151s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1151s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1151s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1151s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1151s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1151s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1151s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1151s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1151s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1151s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1151s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1151s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1151s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1151s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1151s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1151s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1151s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1151s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1151s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1151s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1151s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1151s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1151s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1151s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1151s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1151s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1151s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1151s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1151s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1151s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1151s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1151s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1151s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16291 1151s ok 5 /gdbus/server-auth/external 1151s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/sha1/.dirs/home 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/sha1/.dirs/cache 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/sha1/.dirs/system-config2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/sha1/.dirs/config 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/sha1/.dirs/system-data2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/sha1/.dirs/data 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/sha1/.dirs/state 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/sha1/.dirs/runtime 1151s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_ATNNZ2/gdbus-server-auth-A71NZ2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1151s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_ATNNZ2/gdbus-server-auth-A71NZ2/dbus-PjfgRvWd 1151s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1151s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1151s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1151s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1151s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1151s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1151s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1151s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1151s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1151s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1151s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1151s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1151s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1151s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1151s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1151s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1151s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1151s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1151s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1151s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1151s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1151s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1151s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1151s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1151s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1151s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1151s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1151s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1151s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1151s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1151s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1151s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1151s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1151s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1151s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1151s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1151s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1151s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1151s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1151s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1151s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16291 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1151s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1151s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1151s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16291 1151s ok 6 /gdbus/server-auth/sha1 1151s # Start of anonymous tests 1151s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/anonymous/tcp/.dirs/home 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/anonymous/tcp/.dirs/cache 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/anonymous/tcp/.dirs/config 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/anonymous/tcp/.dirs/data 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/anonymous/tcp/.dirs/state 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1151s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1151s # Connectable address: tcp:host=127.0.0.1,port=36311 1151s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1151s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1151s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1151s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1151s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1151s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1151s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1151s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1151s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1151s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1151s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1151s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1151s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1151s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1151s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1151s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1151s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1152s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1152s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1152s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1152s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1152s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1152s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1152s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1152s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1152s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1152s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1152s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1152s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1152s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1152s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1152s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1152s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1152s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1152s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1152s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1152s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1152s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1152s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1152s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1152s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1152s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1152s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1152s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1152s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1152s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1152s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1152s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1152s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1152s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1152s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1152s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1152s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1152s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1152s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1152s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1152s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1152s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1152s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1152s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1152s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1152s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1152s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1152s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1152s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1152s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1152s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1152s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1152s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1152s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1152s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1152s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1152s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1152s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1152s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1152s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1152s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1152s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1152s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1152s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1152s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1152s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1152s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1152s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1152s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1152s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1152s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1152s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1152s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1152s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1152s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1152s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1152s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1152s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1152s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1152s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1152s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1152s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1152s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1152s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1152s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1152s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1152s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1152s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1152s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1152s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1152s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1152s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1152s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1152s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1152s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1152s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1152s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1152s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1152s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1152s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1152s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1152s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1152s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1152s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1152s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1152s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1152s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1152s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1152s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1152s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1152s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1152s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1152s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1152s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1152s ok 7 /gdbus/server-auth/anonymous/tcp 1152s # slow test /gdbus/server-auth/anonymous/tcp executed in 0.89 secs 1152s # End of anonymous tests 1152s # Start of external tests 1152s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/external/require-same-user/.dirs/home 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/external/require-same-user/.dirs/cache 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/external/require-same-user/.dirs/config 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/external/require-same-user/.dirs/data 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/external/require-same-user/.dirs/state 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/external/require-same-user/.dirs/runtime 1152s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_ATNNZ2/gdbus-server-auth-1MJPZ2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1152s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_ATNNZ2/gdbus-server-auth-1MJPZ2/dbus-eLUBJhaF 1152s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1152s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1152s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1152s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1152s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1152s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16291 1152s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1152s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1152s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1152s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1152s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1152s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1152s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16291 1152s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1152s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1152s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1152s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1152s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1152s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1152s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16291 1152s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1152s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1152s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1152s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1152s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1152s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1152s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16291 1152s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1152s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1152s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1152s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1152s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1152s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1152s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16291 1152s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1152s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1152s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1152s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1152s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1152s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1152s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16291 1152s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1152s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1152s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1152s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1152s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1152s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1152s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16291 1152s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1152s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1152s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1152s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1152s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1152s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1152s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16291 1152s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1152s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1152s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1152s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1152s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1152s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1152s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16291 1152s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1152s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1152s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1152s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1152s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1152s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1152s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16291 1152s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1152s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1152s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1152s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1152s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1152s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1152s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16291 1152s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1152s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1152s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1152s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1152s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1152s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1152s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16291 1152s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1152s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1152s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1152s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1152s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1152s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1152s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16291 1152s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1152s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1152s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1152s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1152s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1152s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1152s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16291 1152s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1152s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1152s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1152s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1152s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1152s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1152s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16291 1152s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1152s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1152s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1152s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1152s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1152s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1152s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16291 1152s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1152s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1152s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1152s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1152s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1152s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1152s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16291 1152s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1152s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1152s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1152s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1152s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1152s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1152s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16291 1152s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1152s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1152s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1152s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1152s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1152s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1152s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16291 1152s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1152s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1152s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1152s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1152s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1152s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1152s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16291 1152s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1152s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1152s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1152s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1152s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1152s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16291,uid=1000,gid=1000 1152s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16291 1152s ok 8 /gdbus/server-auth/external/require-same-user 1152s # End of external tests 1152s # Start of sha1 tests 1152s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/sha1/tcp/.dirs/home 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/sha1/tcp/.dirs/cache 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/sha1/tcp/.dirs/config 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/sha1/tcp/.dirs/data 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/sha1/tcp/.dirs/state 1152s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ATNNZ2/gdbus/server-auth/sha1/tcp/.dirs/runtime 1152s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1152s # Connectable address: tcp:host=127.0.0.1,port=44631 1152s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1152s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1152s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1152s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1152s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1152s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1152s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1152s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1152s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1152s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1152s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1152s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1152s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1152s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1152s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1152s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1152s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1152s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1152s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1152s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1152s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1152s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1152s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1152s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1152s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1152s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1152s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1152s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1152s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1152s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1152s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1152s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1152s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1152s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1152s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1152s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1152s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1152s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1152s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1152s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1152s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1152s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1152s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1152s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1152s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1152s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1152s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1152s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1152s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1152s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1152s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1152s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1152s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1152s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1153s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1153s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1153s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1153s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1153s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1153s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1153s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1153s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1153s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1153s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1153s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1153s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1153s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1153s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1153s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1153s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1153s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1153s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1153s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1153s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1153s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1153s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1153s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1153s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1153s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1153s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1153s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1153s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1153s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1153s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1153s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1153s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1153s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1153s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1153s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1153s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1153s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1153s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1153s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1153s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1153s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1153s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1153s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1153s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1153s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1153s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1153s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1153s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1153s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1153s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1153s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1153s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1153s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1153s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1153s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1153s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1153s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1153s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1153s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1153s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1153s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1153s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1153s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1153s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1153s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1153s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1153s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1153s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1153s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1153s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1153s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1153s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1153s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1153s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1153s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1153s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1153s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1153s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1153s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1153s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1153s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1153s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1153s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1153s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1153s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1153s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1153s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1153s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1153s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1153s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1153s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1153s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1153s ok 9 /gdbus/server-auth/sha1/tcp 1153s # slow test /gdbus/server-auth/sha1/tcp executed in 0.88 secs 1153s # End of sha1 tests 1153s # End of server-auth tests 1153s # End of gdbus tests 1153s PASS: glib/gdbus-server-auth.test 1153s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.1s; maxrss=8192 1153s autopkgtest [16:02:29]: test gdbus-server-auth: -----------------------] 1154s gdbus-server-auth PASS 1154s autopkgtest [16:02:30]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 1154s autopkgtest [16:02:30]: test gdbus-threading: preparing testbed 1154s Reading package lists... 1155s Building dependency tree... 1155s Reading state information... 1155s Starting pkgProblemResolver with broken count: 0 1155s Starting 2 pkgProblemResolver with broken count: 0 1155s Done 1155s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1156s autopkgtest [16:02:32]: test gdbus-threading: [----------------------- 1156s Running test: glib/gdbus-threading.test 1156s TAP version 14 1156s # random seed: R02S1d8e876ee30545cbb6c942c0874667a1 1156s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1156s 1..3 1156s # Start of gdbus tests 1156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_AA8RZ2/gdbus/delivery-in-thread/.dirs/home 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_AA8RZ2/gdbus/delivery-in-thread/.dirs/cache 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_AA8RZ2/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_AA8RZ2/gdbus/delivery-in-thread/.dirs/system-config2 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_AA8RZ2/gdbus/delivery-in-thread/.dirs/config 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_AA8RZ2/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_AA8RZ2/gdbus/delivery-in-thread/.dirs/system-data2 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_AA8RZ2/gdbus/delivery-in-thread/.dirs/data 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_AA8RZ2/gdbus/delivery-in-thread/.dirs/state 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_AA8RZ2/gdbus/delivery-in-thread/.dirs/runtime 1156s ok 1 /gdbus/delivery-in-thread 1156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_AA8RZ2/gdbus/method-calls-in-thread/.dirs/home 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_AA8RZ2/gdbus/method-calls-in-thread/.dirs/cache 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_AA8RZ2/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_AA8RZ2/gdbus/method-calls-in-thread/.dirs/system-config2 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_AA8RZ2/gdbus/method-calls-in-thread/.dirs/config 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_AA8RZ2/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_AA8RZ2/gdbus/method-calls-in-thread/.dirs/system-data2 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_AA8RZ2/gdbus/method-calls-in-thread/.dirs/data 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_AA8RZ2/gdbus/method-calls-in-thread/.dirs/state 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_AA8RZ2/gdbus/method-calls-in-thread/.dirs/runtime 1157s ok 2 /gdbus/method-calls-in-thread 1157s # slow test /gdbus/method-calls-in-thread executed in 0.83 secs 1157s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_AA8RZ2/gdbus/threaded-singleton/.dirs/home 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_AA8RZ2/gdbus/threaded-singleton/.dirs/cache 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_AA8RZ2/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_AA8RZ2/gdbus/threaded-singleton/.dirs/system-config2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_AA8RZ2/gdbus/threaded-singleton/.dirs/config 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_AA8RZ2/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_AA8RZ2/gdbus/threaded-singleton/.dirs/system-data2 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_AA8RZ2/gdbus/threaded-singleton/.dirs/data 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_AA8RZ2/gdbus/threaded-singleton/.dirs/state 1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_AA8RZ2/gdbus/threaded-singleton/.dirs/runtime 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: refcount of 0x711554002eb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1157s # GLib-GIO-DEBUG: refcount of 0x711554002eb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: refcount of 0x711554002eb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1157s # GLib-GIO-DEBUG: refcount of 0x711554002eb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: refcount of 0x711554001800 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1157s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1157s # GLib-GIO-DEBUG: refcount of 0x711554001800 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1157s # GLib-GIO-DEBUG: refcount of 0x711554001800 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: refcount of 0x711554005b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: refcount of 0x711554005b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: refcount of 0x711554005b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: refcount of 0x711554005b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1158s # GLib-GIO-DEBUG: refcount of 0x711554005b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: refcount of 0x711554003950 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: refcount of 0x711554006400 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: refcount of 0x711554006400 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: refcount of 0x7115540039c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1158s # GLib-GIO-DEBUG: refcount of 0x711554006df0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: refcount of 0x711554003520 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: refcount of 0x711554003fe0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: refcount of 0x711554003fe0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: refcount of 0x711554003220 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: refcount of 0x711554006060 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: refcount of 0x711554006060 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: refcount of 0x711554006010 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: refcount of 0x711554007250 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: refcount of 0x711554005930 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: refcount of 0x711554006fe0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: refcount of 0x711554001650 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1160s # GLib-GIO-DEBUG: refcount of 0x711554001650 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: refcount of 0x711554007180 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: refcount of 0x711554005fe0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s ok 3 /gdbus/threaded-singleton 1160s # slow test /gdbus/threaded-singleton executed in 3.26 secs 1160s # End of gdbus tests 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s PASS: glib/gdbus-threading.test 1160s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.7s; system=0.3s; maxrss=8192 1161s autopkgtest [16:02:37]: test gdbus-threading: -----------------------] 1161s autopkgtest [16:02:37]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 1161s gdbus-threading PASS 1161s autopkgtest [16:02:37]: test gmenumodel: preparing testbed 1162s Reading package lists... 1162s Building dependency tree... 1162s Reading state information... 1162s Starting pkgProblemResolver with broken count: 0 1162s Starting 2 pkgProblemResolver with broken count: 0 1162s Done 1162s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1163s autopkgtest [16:02:39]: test gmenumodel: [----------------------- 1163s Running test: glib/gmenumodel.test 1163s TAP version 14 1163s # random seed: R02Sf46102f3bd0263f56c1093571379bc76 1163s 1..15 1163s # Start of gmenu tests 1165s ok 1 /gmenu/equality 1165s # slow test /gmenu/equality executed in 1.86 secs 1168s ok 2 /gmenu/random 1168s # slow test /gmenu/random executed in 2.55 secs 1168s ok 3 /gmenu/attributes 1168s ok 4 /gmenu/links 1168s ok 5 /gmenu/mutable 1168s ok 6 /gmenu/convenience 1168s ok 7 /gmenu/menuitem 1168s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1168s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1168s ok 8 /gmenu/input-validation 1168s # Start of dbus tests 1168s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1169s Executing: glib/gmenumodel.test 1169s ok 9 /gmenu/dbus/roundtrip 1169s # slow test /gmenu/dbus/roundtrip executed in 1.04 secs 1169s ok 10 /gmenu/dbus/subscriptions 1171s ok 11 /gmenu/dbus/threaded 1171s # slow test /gmenu/dbus/threaded executed in 1.54 secs 1171s # Start of peer tests 1172s ok 12 /gmenu/dbus/peer/roundtrip 1172s # slow test /gmenu/dbus/peer/roundtrip executed in 1.02 secs 1172s ok 13 /gmenu/dbus/peer/subscriptions 1172s # End of peer tests 1172s # Start of export tests 1172s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 1172s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1172s ok 14 /gmenu/dbus/export/error-handling 1172s # End of export tests 1172s # End of dbus tests 1172s # Start of attributes tests 1172s ok 15 /gmenu/attributes/iterate 1172s # End of attributes tests 1172s # End of gmenu tests 1172s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1172s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1172s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1172s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1172s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1172s PASS: glib/gmenumodel.test 1172s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=7.3s; system=0.2s; maxrss=20480 1173s autopkgtest [16:02:49]: test gmenumodel: -----------------------] 1173s gmenumodel PASS 1173s autopkgtest [16:02:49]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 1173s autopkgtest [16:02:49]: test mainloop: preparing testbed 1174s Reading package lists... 1174s Building dependency tree... 1174s Reading state information... 1174s Starting pkgProblemResolver with broken count: 0 1174s Starting 2 pkgProblemResolver with broken count: 0 1174s Done 1174s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1175s autopkgtest [16:02:51]: test mainloop: [----------------------- 1175s Running test: glib/mainloop.test 1175s TAP version 14 1175s # random seed: R02S013ee9f3b84e36ad3c6a9099f5737338 1175s 1..45 1175s # Start of maincontext tests 1175s ok 1 /maincontext/basic 1175s # Add same-priority sources: 39 1175s # Find each source: 7 1176s # Remove in random order: 35 1176s ok 2 /maincontext/nsources_same_priority 1176s # Add different-priority sources: 28 1176s # Find each source: 7 1176s # Remove in random order: 37 1176s ok 3 /maincontext/nsources_different_priority 1176s # Add sources from threads: 112 1176s # Remove sources from threads: 128 1176s ok 4 /maincontext/nsources_threadpool 1176s ok 5 /maincontext/source_finalization 1176s # /maincontext/idle-once summary: Test g_idle_add_once() works 1176s ok 6 /maincontext/idle-once 1176s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1176s ok 7 /maincontext/timeout-once 1176s # Start of source_finalization_from_source tests 1176s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1176s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1176s ok 8 /maincontext/source_finalization_from_source/0 1176s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1176s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1176s ok 9 /maincontext/source_finalization_from_source/1 1176s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1176s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1176s ok 10 /maincontext/source_finalization_from_source/2 1176s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1176s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1176s ok 11 /maincontext/source_finalization_from_source/3 1176s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1176s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1176s ok 12 /maincontext/source_finalization_from_source/4 1176s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1176s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1176s ok 13 /maincontext/source_finalization_from_source/5 1176s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1176s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1176s ok 14 /maincontext/source_finalization_from_source/6 1176s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1176s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1176s ok 15 /maincontext/source_finalization_from_source/7 1176s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1176s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1176s ok 16 /maincontext/source_finalization_from_source/8 1176s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1176s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1176s ok 17 /maincontext/source_finalization_from_source/9 1176s # End of source_finalization_from_source tests 1176s # Start of source_finalization_from_dispatch tests 1176s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1176s ok 18 /maincontext/source_finalization_from_dispatch/0 1176s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1176s ok 19 /maincontext/source_finalization_from_dispatch/1 1176s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1176s ok 20 /maincontext/source_finalization_from_dispatch/2 1176s # End of source_finalization_from_dispatch tests 1176s # End of maincontext tests 1176s # Start of mainloop tests 1176s ok 21 /mainloop/basic 1176s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1176s ok 23 /mainloop/priorities 1177s ok 24 /mainloop/invoke 1177s # slow test /mainloop/invoke executed in 0.50 secs 1178s ok 25 /mainloop/child_sources 1178s # slow test /mainloop/child_sources executed in 1.23 secs 1180s ok 26 /mainloop/recursive_child_sources 1180s # slow test /mainloop/recursive_child_sources executed in 2.22 secs 1180s ok 27 /mainloop/recursive_loop_child_sources 1180s ok 28 /mainloop/swapping_child_sources 1180s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1180s ok 29 /mainloop/blocked_child_sources 1181s Executing: glib/mainloop.test 1181s ok 30 /mainloop/source_time 1181s # slow test /mainloop/source_time executed in 1.00 secs 1181s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1181s ok 31 /mainloop/overflow 1182s ok 32 /mainloop/ready-time 1182s # slow test /mainloop/ready-time executed in 0.50 secs 1182s ok 33 /mainloop/wakeup 1182s ok 34 /mainloop/remove-invalid 1182s ok 35 /mainloop/unref-while-pending 1183s ok 36 /mainloop/unix-fd 1183s # slow test /mainloop/unix-fd executed in 1.43 secs 1183s ok 37 /mainloop/unix-fd-source 1183s ok 38 /mainloop/source-unix-fd-api 1183s ok 39 /mainloop/wait 1183s ok 40 /mainloop/unix-file-poll 1183s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1183s ok 41 /mainloop/unix-fd-priority 1183s ok 42 /mainloop/nfds 1183s ok 43 /mainloop/steal-fd 1183s # Start of ownerless-polling tests 1183s ok 44 /mainloop/ownerless-polling/attach-first 1183s ok 45 /mainloop/ownerless-polling/pop-first 1183s # End of ownerless-polling tests 1183s # End of mainloop tests 1183s PASS: glib/mainloop.test 1183s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.0s; system=1.2s; maxrss=16384 1184s autopkgtest [16:03:00]: test mainloop: -----------------------] 1184s mainloop PASS 1184s autopkgtest [16:03:00]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 1184s autopkgtest [16:03:00]: test memory-monitor-dbus: preparing testbed 1185s Reading package lists... 1185s Building dependency tree... 1185s Reading state information... 1185s Starting pkgProblemResolver with broken count: 0 1185s Starting 2 pkgProblemResolver with broken count: 0 1185s Done 1185s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1186s autopkgtest [16:03:02]: test memory-monitor-dbus: [----------------------- 1186s Running test: glib/memory-monitor-dbus.test 1187s TAP version 13 1187s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 1187s # Received memory warning signal, level 1187s # Received memory warning signal, level 1187s # Received memory warning signal, level 1187s 1..1 1187s PASS: glib/memory-monitor-dbus.test 1187s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.1s; maxrss=36864 1187s autopkgtest [16:03:03]: test memory-monitor-dbus: -----------------------] 1188s autopkgtest [16:03:04]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 1188s memory-monitor-dbus PASS 1188s autopkgtest [16:03:04]: test socket: preparing testbed 1188s Reading package lists... 1188s Building dependency tree... 1188s Reading state information... 1189s Starting pkgProblemResolver with broken count: 0 1189s Starting 2 pkgProblemResolver with broken count: 0 1189s Done 1189s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1190s autopkgtest [16:03:06]: test socket: [----------------------- 1190s Running test: glib/socket.test 1190s TAP version 14 1190s # random seed: R02S622319d319b2d55f751b97e460243fe3 1190s 1..28 1190s # Start of socket tests 1191s ok 1 /socket/ipv4_sync 1191s # slow test /socket/ipv4_sync executed in 1.00 secs 1192s ok 2 /socket/ipv4_async 1192s # slow test /socket/ipv4_async executed in 1.00 secs 1192s ok 3 /socket/ipv6_sync 1192s ok 4 /socket/ipv6_async 1192s ok 5 /socket/ipv6_v4mapped 1193s ok 6 /socket/close_graceful 1193s # slow test /socket/close_graceful executed in 1.00 secs 1193s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1193s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1193s ok 8 /socket/fd_reuse 1193s ok 9 /socket/address 1193s ok 10 /socket/unix-from-fd 1193s ok 11 /socket/unix-connection 1193s ok 12 /socket/unix-connection-ancillary-data 1193s ok 13 /socket/source-postmortem 1193s ok 14 /socket/read_write 1193s ok 15 /socket/read_writev 1193s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1193s ok 16 /socket/receive_bytes 1193s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1193s ok 17 /socket/receive_bytes_from 1193s # Start of ipv4_sync tests 1193s ok 18 /socket/ipv4_sync/datagram 1193s # Start of datagram tests 1194s ok 19 /socket/ipv4_sync/datagram/timeouts 1194s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1194s # End of datagram tests 1194s # End of ipv4_sync tests 1194s # Start of ipv6_sync tests 1194s ok 20 /socket/ipv6_sync/datagram 1194s # Start of datagram tests 1195s ok 21 /socket/ipv6_sync/datagram/timeouts 1195s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1195s # End of datagram tests 1195s # End of ipv6_sync tests 1195s # Start of reuse tests 1195s ok 22 /socket/reuse/tcp 1195s ok 23 /socket/reuse/udp 1195s # End of reuse tests 1195s # Start of get_available tests 1195s ok 24 /socket/get_available/datagram 1195s ok 25 /socket/get_available/stream 1195s # End of get_available tests 1195s # Start of credentials tests 1195s # Supported on this OS: GCredentials:linux-ucred:pid=0 1195s ok 26 /socket/credentials/tcp_client 1195s # Supported on this OS: GCredentials:linux-ucred:pid=0 1195s ok 27 /socket/credentials/tcp_server 1195s # Supported on this OS: GCredentials:linux-ucred:pid=18132,uid=1000,gid=1000 1195s ok 28 /socket/credentials/unix_socketpair 1195s # End of credentials tests 1195s # End of socket tests 1195s PASS: glib/socket.test 1195s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=8192 1196s autopkgtest [16:03:12]: test socket: -----------------------] 1196s socket PASS 1196s autopkgtest [16:03:12]: test socket: - - - - - - - - - - results - - - - - - - - - - 1197s autopkgtest [16:03:13]: test testfilemonitor: preparing testbed 1197s Reading package lists... 1197s Building dependency tree... 1197s Reading state information... 1197s Starting pkgProblemResolver with broken count: 0 1197s Starting 2 pkgProblemResolver with broken count: 0 1197s Done 1197s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1198s autopkgtest [16:03:14]: test testfilemonitor: [----------------------- 1199s Running test: glib/testfilemonitor.test 1199s TAP version 14 1199s # random seed: R02Se0b737743b04da30c4ebff3374a6c446 1199s 1..8 1199s # Start of monitor tests 1199s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1199s # Using temporary directory: /tmp/gio-test-testfilemonitor_ZA52Z2 1199s # Using GFileMonitor GInotifyFileMonitor 1201s ok 1 /monitor/atomic-replace 1201s # slow test /monitor/atomic-replace executed in 2.01 secs 1201s # Using temporary directory: /tmp/gio-test-testfilemonitor_FR32Z2 1201s # Using GFileMonitor GInotifyFileMonitor 1203s ok 2 /monitor/file-changes 1203s # slow test /monitor/file-changes executed in 2.50 secs 1203s # Using temporary directory: /tmp/gio-test-testfilemonitor_D1ASZ2 1203s # Using GFileMonitor GInotifyFileMonitor 1204s Executing: glib/testfilemonitor.test 1207s ok 3 /monitor/dir-monitor 1207s # slow test /monitor/dir-monitor executed in 3.51 secs 1207s # Using temporary directory: /tmp/gio-test-testfilemonitor_GXR2Z2 1207s # Using GFileMonitor GInotifyFileMonitor 1209s Executing: glib/testfilemonitor.test 1214s Executing: glib/testfilemonitor.test 1219s Executing: glib/testfilemonitor.test 1224s Executing: glib/testfilemonitor.test 1229s Executing: glib/testfilemonitor.test 1232s ok 4 /monitor/dir-not-existent 1232s # slow test /monitor/dir-not-existent executed in 25.02 secs 1232s # Using temporary directory: /tmp/gio-test-testfilemonitor_2HH2Z2 1232s # Using GFileMonitor 0 GInotifyFileMonitor 1232s # Using GFileMonitor 1 GInotifyFileMonitor 1234s Executing: glib/testfilemonitor.test 1234s ok 5 /monitor/cross-dir-moves 1234s # slow test /monitor/cross-dir-moves executed in 2.00 secs 1234s # Using temporary directory: /tmp/gio-test-testfilemonitor_IOD2Z2 1234s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn?t cause a deadlock. 1234s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 1234s ok 6 /monitor/finalize-in-callback 1234s # Using temporary directory: /tmp/gio-test-testfilemonitor_PTB2Z2 1234s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1234s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1234s ok 7 /monitor/root 1234s # Start of file tests 1234s # Using temporary directory: /tmp/gio-test-testfilemonitor_ZIB2Z2 1234s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 1234s # Running with hard link tests 1234s # Using GFileMonitor GInotifyFileMonitor 1237s # Event 0 at expected index 7 skipped because it is marked as optional 1237s # Event 2 at expected index 11 skipped because it is marked as optional 1237s ok 8 /monitor/file/hard-links 1237s # slow test /monitor/file/hard-links executed in 3.50 secs 1237s # End of file tests 1237s # End of monitor tests 1237s PASS: glib/testfilemonitor.test 1237s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=8192 1237s autopkgtest [16:03:53]: test testfilemonitor: -----------------------] 1238s testfilemonitor PASS 1238s autopkgtest [16:03:54]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 1238s autopkgtest [16:03:54]: test thread-pool-slow: preparing testbed 1238s Reading package lists... 1239s Building dependency tree... 1239s Reading state information... 1239s Starting pkgProblemResolver with broken count: 0 1239s Starting 2 pkgProblemResolver with broken count: 0 1239s Done 1239s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1240s autopkgtest [16:03:56]: test thread-pool-slow: [----------------------- 1240s Running test: glib/thread-pool-slow.test 1240s TAP version 14 1240s # random seed: R02S946937860ae575d29bde683f21ccded8 1240s 1..7 1240s # Start of threadpool tests 1240s ok 1 /threadpool/functions 1241s ok 2 /threadpool/stop-unused 1241s # slow test /threadpool/stop-unused executed in 0.51 secs 1241s ok 3 /threadpool/pools 1241s # [unsorted] ===> pushed new thread with id:94, number of threads:1, unprocessed:1 1241s # [unsorted] ===> pushed new thread with id:22, number of threads:2, unprocessed:2 1241s # [unsorted] ===> pushed new thread with id:60, number of threads:3, unprocessed:3 1241s # [unsorted] ===> pushed new thread with id:46, number of threads:4, unprocessed:4 1241s # [unsorted] ===> pushed new thread with id:58, number of threads:5, unprocessed:4 1241s # [unsorted] ===> pushed new thread with id:30, number of threads:6, unprocessed:5 1241s # [unsorted] ===> pushed new thread with id:31, number of threads:7, unprocessed:5 1241s # [unsorted] ===> pushed new thread with id:44, number of threads:8, unprocessed:5 1241s # [unsorted] ===> pushed new thread with id:87, number of threads:9, unprocessed:6 1241s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:6 1241s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:6 1241s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:7 1241s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:7 1241s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:7 1241s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:7 1241s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:6 1241s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:7 1241s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:8 1241s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:9 1241s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:10 1241s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:11 1241s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:12 1241s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:13 1241s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:14 1241s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:15 1241s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:16 1241s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:17 1241s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:18 1241s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:19 1241s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:20 1241s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:21 1241s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:22 1241s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:23 1241s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:24 1241s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:25 1241s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:26 1241s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:27 1241s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:28 1241s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:29 1241s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:30 1241s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:31 1241s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:32 1241s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:33 1241s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:34 1241s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:35 1241s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:36 1241s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:37 1241s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:38 1241s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:39 1241s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:40 1241s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:41 1241s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:42 1241s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:43 1241s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:44 1241s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:45 1241s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:46 1241s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:47 1241s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:48 1241s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:49 1241s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:50 1241s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:51 1241s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:52 1241s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:53 1241s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:54 1241s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:55 1241s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:56 1241s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:57 1241s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:58 1241s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:59 1241s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:60 1241s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:61 1241s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:62 1241s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:63 1241s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:64 1241s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:65 1241s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:66 1241s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:67 1241s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:68 1241s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:69 1241s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:70 1241s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:71 1241s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:72 1241s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:73 1241s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:74 1241s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:75 1241s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:76 1241s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:77 1241s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:78 1241s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:79 1241s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:80 1241s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:81 1241s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:82 1241s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:83 1241s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:84 1241s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:85 1241s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:86 1241s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:87 1241s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:88 1241s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:89 1241s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:90 1241s ok 4 /threadpool/no-sort 1241s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:1 1241s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:2 1241s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:3 1241s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:4 1241s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:5 1241s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:6 1241s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:7 1241s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:8 1241s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:9 1241s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:10 1241s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:11 1241s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:12 1241s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:13 1241s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:14 1241s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:15 1241s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:16 1241s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:17 1241s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:18 1241s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:19 1241s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:20 1241s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:21 1241s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:22 1241s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:23 1241s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:24 1241s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:25 1241s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:26 1241s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:27 1241s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:28 1241s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:29 1241s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:30 1241s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:31 1241s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:32 1241s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:33 1241s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:34 1241s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:35 1241s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:36 1241s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:37 1241s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:38 1241s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:39 1241s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:40 1241s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:41 1241s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:42 1241s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:43 1241s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:44 1241s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:45 1241s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:46 1241s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:47 1241s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:48 1241s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:49 1241s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:50 1241s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:51 1241s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:52 1241s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:53 1241s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:54 1241s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:55 1241s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:56 1241s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:57 1241s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:58 1241s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:59 1241s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:60 1241s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:61 1241s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:62 1241s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:63 1241s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:64 1241s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:65 1241s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:66 1241s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:67 1241s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:68 1241s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:69 1241s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:70 1241s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:71 1241s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:72 1241s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:73 1241s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:74 1241s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:75 1241s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:76 1241s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:77 1241s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:78 1241s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:79 1241s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:80 1241s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:81 1241s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:82 1241s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:83 1241s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:84 1241s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:85 1241s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:86 1241s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:87 1241s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:88 1241s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:89 1241s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:90 1241s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:91 1241s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:92 1241s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:93 1241s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:94 1241s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:95 1241s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:96 1241s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:97 1241s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:98 1241s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:99 1241s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:100 1241s # Starting thread pool processing 1241s ok 5 /threadpool/sort 1241s ok 6 /threadpool/stop-unused-multiple 1241s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 1241s # Pool idle thread count: 0, unprocessed jobs: 49 1242s # Pool idle thread count: 0, unprocessed jobs: 0 1242s # Pool idle thread count: 0, unprocessed jobs: 0 1242s # Pool idle thread count: 10, unprocessed jobs: 0 1242s # Pool idle thread count: 10, unprocessed jobs: 0 1243s # Pool idle thread count: 10, unprocessed jobs: 0 1243s # Pool idle thread count: 10, unprocessed jobs: 0 1243s # Pool idle thread count: 10, unprocessed jobs: 0 1243s # Pool idle thread count: 10, unprocessed jobs: 0 1244s # Pool idle thread count: 10, unprocessed jobs: 0 1244s # Pool idle thread count: 10, unprocessed jobs: 0 1244s # Pool idle thread count: 10, unprocessed jobs: 0 1244s # Pool idle thread count: 10, unprocessed jobs: 0 1245s # Pool idle thread count: 10, unprocessed jobs: 0 1245s # Pool idle thread count: 10, unprocessed jobs: 0 1245s # Pool idle thread count: 10, unprocessed jobs: 0 1245s # Pool idle thread count: 10, unprocessed jobs: 0 1246s Executing: glib/thread-pool-slow.test 1246s # Pool idle thread count: 10, unprocessed jobs: 0 1246s # Pool idle thread count: 10, unprocessed jobs: 0 1246s # Pool idle thread count: 10, unprocessed jobs: 0 1246s # Pool idle thread count: 10, unprocessed jobs: 0 1247s # Pool idle thread count: 10, unprocessed jobs: 0 1247s # Pool idle thread count: 10, unprocessed jobs: 0 1247s # Pool idle thread count: 10, unprocessed jobs: 0 1247s # Pool idle thread count: 10, unprocessed jobs: 0 1248s # Pool idle thread count: 10, unprocessed jobs: 0 1248s # Pool idle thread count: 10, unprocessed jobs: 0 1248s # Pool idle thread count: 10, unprocessed jobs: 0 1248s # Pool idle thread count: 10, unprocessed jobs: 0 1249s # Pool idle thread count: 10, unprocessed jobs: 0 1249s # Pool idle thread count: 10, unprocessed jobs: 0 1249s # Pool idle thread count: 10, unprocessed jobs: 0 1249s # Pool idle thread count: 10, unprocessed jobs: 0 1250s # Pool idle thread count: 10, unprocessed jobs: 0 1250s # Pool idle thread count: 10, unprocessed jobs: 0 1250s # Pool idle thread count: 10, unprocessed jobs: 2 1250s # Pool idle thread count: 10, unprocessed jobs: 2 1250s # Pool idle thread count: 8, unprocessed jobs: 0 1250s # Pool idle thread count: 8, unprocessed jobs: 0 1251s Executing: glib/thread-pool-slow.test 1251s # Pool idle thread count: 10, unprocessed jobs: 0 1251s # Pool idle thread count: 10, unprocessed jobs: 0 1251s # Pool idle thread count: 10, unprocessed jobs: 0 1251s # Pool idle thread count: 10, unprocessed jobs: 0 1252s # Pool idle thread count: 10, unprocessed jobs: 0 1252s # Pool idle thread count: 10, unprocessed jobs: 0 1252s # Pool idle thread count: 2, unprocessed jobs: 0 1252s # Pool idle thread count: 2, unprocessed jobs: 0 1253s # Pool idle thread count: 2, unprocessed jobs: 0 1253s # Pool idle thread count: 2, unprocessed jobs: 0 1253s # Pool idle thread count: 2, unprocessed jobs: 0 1253s # Pool idle thread count: 2, unprocessed jobs: 0 1254s # Pool idle thread count: 2, unprocessed jobs: 0 1254s # Pool idle thread count: 2, unprocessed jobs: 0 1254s # Pool idle thread count: 2, unprocessed jobs: 0 1254s # Pool idle thread count: 2, unprocessed jobs: 0 1255s # Pool idle thread count: 2, unprocessed jobs: 0 1255s # Pool idle thread count: 2, unprocessed jobs: 0 1255s # Pool idle thread count: 2, unprocessed jobs: 0 1255s # Pool idle thread count: 2, unprocessed jobs: 0 1256s Executing: glib/thread-pool-slow.test 1256s # Pool idle thread count: 2, unprocessed jobs: 0 1256s # Pool idle thread count: 2, unprocessed jobs: 0 1256s # Pool idle thread count: 2, unprocessed jobs: 0 1256s # Pool idle thread count: 2, unprocessed jobs: 0 1257s # Pool idle thread count: 2, unprocessed jobs: 0 1257s # Pool idle thread count: 2, unprocessed jobs: 0 1257s # Pool idle thread count: 2, unprocessed jobs: 0 1257s # Pool idle thread count: 2, unprocessed jobs: 0 1258s # Pool idle thread count: 2, unprocessed jobs: 0 1258s # Pool idle thread count: 2, unprocessed jobs: 0 1258s # Pool idle thread count: 2, unprocessed jobs: 0 1258s # Pool idle thread count: 2, unprocessed jobs: 0 1259s # Pool idle thread count: 2, unprocessed jobs: 0 1259s # Pool idle thread count: 2, unprocessed jobs: 0 1259s # Pool idle thread count: 2, unprocessed jobs: 0 1259s # Pool idle thread count: 2, unprocessed jobs: 0 1260s # Pool idle thread count: 2, unprocessed jobs: 0 1260s # Pool idle thread count: 2, unprocessed jobs: 0 1260s # Pool idle thread count: 2, unprocessed jobs: 0 1260s # Pool idle thread count: 2, unprocessed jobs: 0 1261s Executing: glib/thread-pool-slow.test 1261s ok 7 /threadpool/idle-time 1261s # slow test /threadpool/idle-time executed in 19.53 secs 1261s # End of threadpool tests 1261s PASS: glib/thread-pool-slow.test 1261s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.0s; maxrss=10240 1261s autopkgtest [16:04:17]: test thread-pool-slow: -----------------------] 1262s thread-pool-slow PASS 1262s autopkgtest [16:04:18]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 1262s autopkgtest [16:04:18]: test threadtests: preparing testbed 1262s Reading package lists... 1262s Building dependency tree... 1262s Reading state information... 1263s Starting pkgProblemResolver with broken count: 0 1263s Starting 2 pkgProblemResolver with broken count: 0 1263s Done 1263s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1264s autopkgtest [16:04:20]: test threadtests: [----------------------- 1264s Running test: glib/threadtests.test 1264s TAP version 14 1264s # random seed: R02S573af016e9096bb07fa0c8f522c0a8c7 1264s 1..5 1264s # Start of GObject tests 1264s ok 1 /GObject/threaded-object-init 1265s ok 2 /GObject/threaded-weak-ref 1265s # slow test /GObject/threaded-weak-ref executed in 1.02 secs 1265s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1265s # /GObject/threaded-toggle-notify summary: Test that toggle reference notifications can be changed safely from another (the main) thread without causing the notifying thread to abort 1265s ok 3 /GObject/threaded-toggle-notify 1265s # slow test /GObject/threaded-toggle-notify executed in 0.58 secs 1265s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1265s # Start of threaded-weak-ref tests 1265s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1265s # /GObject/threaded-weak-ref/on-finalization summary: Test that a weak ref added by another thread during dispose of a GObject is cleared during finalisation. Use on_weak_ref_disposed() to synchronize the other thread with the dispose vfunc. 1265s ok 5 /GObject/threaded-weak-ref/on-finalization 1265s # End of threaded-weak-ref tests 1265s # End of GObject tests 1265s PASS: glib/threadtests.test 1265s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.3s; system=0.5s; maxrss=4096 1266s autopkgtest [16:04:22]: test threadtests: -----------------------] 1266s autopkgtest [16:04:22]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 1266s threadtests PASS 1267s autopkgtest [16:04:23]: test timeout: preparing testbed 1267s Reading package lists... 1267s Building dependency tree... 1267s Reading state information... 1268s Starting pkgProblemResolver with broken count: 0 1268s Starting 2 pkgProblemResolver with broken count: 0 1268s Done 1268s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1269s autopkgtest [16:04:25]: test timeout: [----------------------- 1269s Running test: glib/timeout.test 1269s TAP version 14 1269s # random seed: R02S1bb85008638d7db728f0e5d1eebbe63f 1269s 1..5 1269s # Start of timeout tests 1269s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1271s ok 1 /timeout/seconds 1271s # slow test /timeout/seconds executed in 2.10 secs 1273s ok 2 /timeout/seconds-once 1273s # slow test /timeout/seconds-once executed in 2.10 secs 1273s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1275s Executing: glib/timeout.test 1275s ok 3 /timeout/weeks-overflow 1275s # slow test /timeout/weeks-overflow executed in 2.10 secs 1275s ok 4 /timeout/far-future-ready-time 1280s Executing: glib/timeout.test 1285s Executing: glib/timeout.test 1286s ok 5 /timeout/rounding 1286s # slow test /timeout/rounding executed in 10.33 secs 1286s # End of timeout tests 1286s PASS: glib/timeout.test 1286s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2048 1286s autopkgtest [16:04:42]: test timeout: -----------------------] 1286s autopkgtest [16:04:42]: test timeout: - - - - - - - - - - results - - - - - - - - - - 1286s timeout PASS 1287s autopkgtest [16:04:43]: test timer: preparing testbed 1287s Reading package lists... 1287s Building dependency tree... 1287s Reading state information... 1288s Starting pkgProblemResolver with broken count: 0 1288s Starting 2 pkgProblemResolver with broken count: 0 1288s Done 1288s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1289s autopkgtest [16:04:45]: test timer: [----------------------- 1289s Running test: glib/timer.test 1289s TAP version 14 1289s # random seed: R02S67e089c9814f11c45dafbd95f0712a3c 1289s 1..10 1289s # Start of timer tests 1289s ok 1 /timer/basic 1289s ok 2 /timer/stop 1289s ok 3 /timer/continue 1289s ok 4 /timer/reset 1289s ok 5 /timer/is_active 1289s # End of timer tests 1289s # Start of timeval tests 1289s ok 6 /timeval/add 1289s ok 7 /timeval/from-iso8601 1289s ok 8 /timeval/to-iso8601 1289s # Start of to-iso8601 tests 1289s ok 9 /timeval/to-iso8601/overflow 1289s # End of to-iso8601 tests 1289s # End of timeval tests 1289s # Start of usleep tests 1289s ok 10 /usleep/with-zero-wait 1289s # End of usleep tests 1289s PASS: glib/timer.test 1289s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2048 1289s autopkgtest [16:04:45]: test timer: -----------------------] 1290s timer PASS 1290s autopkgtest [16:04:46]: test timer: - - - - - - - - - - results - - - - - - - - - - 1290s autopkgtest [16:04:46]: test 1065022-futureproofing: preparing testbed 1372s autopkgtest [16:06:08]: testbed dpkg architecture: ppc64el 1373s autopkgtest [16:06:09]: testbed apt version: 2.9.18 1373s autopkgtest [16:06:09]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1373s autopkgtest [16:06:09]: testbed release detected to be: plucky 1374s autopkgtest [16:06:10]: updating testbed package index (apt update) 1374s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 1374s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 1374s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 1374s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 1375s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.6 kB] 1375s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [790 kB] 1375s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [126 kB] 1375s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 1375s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el Packages [226 kB] 1375s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted ppc64el Packages [756 B] 1375s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el Packages [955 kB] 1375s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse ppc64el Packages [5472 B] 1375s Fetched 2203 kB in 1s (2007 kB/s) 1376s Reading package lists... 1377s Reading package lists... 1377s Building dependency tree... 1377s Reading state information... 1378s Calculating upgrade... 1378s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1378s Reading package lists... 1378s Building dependency tree... 1378s Reading state information... 1379s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 1379s autopkgtest [16:06:15]: upgrading testbed (apt dist-upgrade and autopurge) 1379s Reading package lists... 1379s Building dependency tree... 1379s Reading state information... 1379s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 1379s Starting 2 pkgProblemResolver with broken count: 0 1379s Done 1380s Entering ResolveByKeep 1380s 1380s The following packages will be upgraded: 1380s libselinux1 1380s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1380s Need to get 100 kB of archives. 1380s After this operation, 1024 B of additional disk space will be used. 1380s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libselinux1 ppc64el 3.7-3ubuntu2 [100 kB] 1381s Fetched 100 kB in 0s (284 kB/s) 1381s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74025 files and directories currently installed.) 1381s Preparing to unpack .../libselinux1_3.7-3ubuntu2_ppc64el.deb ... 1381s Unpacking libselinux1:ppc64el (3.7-3ubuntu2) over (3.7-3ubuntu1) ... 1381s Setting up libselinux1:ppc64el (3.7-3ubuntu2) ... 1381s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1382s Reading package lists... 1382s Building dependency tree... 1382s Reading state information... 1382s Starting pkgProblemResolver with broken count: 0 1382s Starting 2 pkgProblemResolver with broken count: 0 1382s Done 1383s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1386s Reading package lists... 1386s Building dependency tree... 1386s Reading state information... 1386s Starting pkgProblemResolver with broken count: 0 1386s Starting 2 pkgProblemResolver with broken count: 0 1386s Done 1387s The following NEW packages will be installed: 1387s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 1387s libdconf1 1387s 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 1387s Need to get 150 kB of archives. 1387s After this operation, 824 kB of additional disk space will be used. 1387s Get:1 http://ftpmaster.internal/ubuntu plucky/main ppc64el libdconf1 ppc64el 0.40.0-4build2 [44.0 kB] 1387s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el dconf-service ppc64el 0.40.0-4build2 [31.1 kB] 1387s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el dconf-gsettings-backend ppc64el 0.40.0-4build2 [26.5 kB] 1387s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el dpkg-repack all 1.54 [11.2 kB] 1387s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el gsettings-desktop-schemas all 47.1-1ubuntu1 [36.9 kB] 1388s Fetched 150 kB in 0s (343 kB/s) 1388s Selecting previously unselected package libdconf1:ppc64el. 1388s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74025 files and directories currently installed.) 1388s Preparing to unpack .../libdconf1_0.40.0-4build2_ppc64el.deb ... 1388s Unpacking libdconf1:ppc64el (0.40.0-4build2) ... 1388s Selecting previously unselected package dconf-service. 1388s Preparing to unpack .../dconf-service_0.40.0-4build2_ppc64el.deb ... 1388s Unpacking dconf-service (0.40.0-4build2) ... 1388s Selecting previously unselected package dconf-gsettings-backend:ppc64el. 1388s Preparing to unpack .../dconf-gsettings-backend_0.40.0-4build2_ppc64el.deb ... 1388s Unpacking dconf-gsettings-backend:ppc64el (0.40.0-4build2) ... 1388s Selecting previously unselected package dpkg-repack. 1388s Preparing to unpack .../dpkg-repack_1.54_all.deb ... 1388s Unpacking dpkg-repack (1.54) ... 1388s Selecting previously unselected package gsettings-desktop-schemas. 1388s Preparing to unpack .../gsettings-desktop-schemas_47.1-1ubuntu1_all.deb ... 1388s Unpacking gsettings-desktop-schemas (47.1-1ubuntu1) ... 1388s Setting up dpkg-repack (1.54) ... 1388s Setting up libdconf1:ppc64el (0.40.0-4build2) ... 1388s Setting up dconf-service (0.40.0-4build2) ... 1388s Setting up dconf-gsettings-backend:ppc64el (0.40.0-4build2) ... 1388s Setting up gsettings-desktop-schemas (47.1-1ubuntu1) ... 1388s Processing triggers for man-db (2.13.0-1) ... 1389s Processing triggers for libglib2.0-0t64:ppc64el (2.82.4-1) ... 1389s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1398s autopkgtest [16:06:34]: test 1065022-futureproofing: [----------------------- 1398s + export DEBIAN_FRONTEND=noninteractive 1398s + n=0 1398s + failed=0 1398s + binary_package=libglib2.0-0t64 1398s + future_binary_package=libglib2.0-0xyz 1398s + pwd 1398s + srcdir=/tmp/autopkgtest.2xbiLG/build.tAR/src 1398s + mktemp -d 1398s + tmpdir=/tmp/tmp.BUcJbduvrt 1398s + cd /tmp/tmp.BUcJbduvrt 1398s + [ -e /tmp/autopkgtest.2xbiLG/build.tAR/src/debian/tests/manual/local-1065022.sources ] 1398s + dpkg-query -W dpkg-repack 1398s dpkg-repack 1.54 1398s + dpkg-repack --generate libglib2.0-0t64 1398s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file 1398s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.FtuX1q for libglib2.0-0t64 1398s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.FtuX1q ." 1398s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.FtuX1q/DEBIAN/control 1398s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.FtuX1q/DEBIAN/control 1398s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.FtuX1q/DEBIAN/control 1398s + env binary_package=libglib2.0-0t64 future_binary_package=libglib2.0-0xyz perl -p -i -e s/^Package:.*$/Package: $ENV{future_binary_package}/; -e s/^(Breaks:.*)$/$1, $ENV{binary_package}/; -e s/^(Provides:.*)$/$1, $ENV{binary_package}/; -e s/^(Replaces:.*)$/$1, $ENV{binary_package}/; dpkg-repack.libglib2.0-0t64.FtuX1q/DEBIAN/control 1398s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.FtuX1q libglib2.0-0xyz.deb 1398s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'. 1400s + apt-get -y install ./libglib2.0-0xyz.deb 1400s Reading package lists... 1400s Building dependency tree... 1400s Reading state information... 1401s The following packages were automatically installed and are no longer required: 1401s apport-symptoms jq libatasmart4 libbytesize-common libbytesize1 1401s libcurl3t64-gnutls libdrm-amdgpu1 libflashrom1 libftdi1-2 libgpgme11t64 1401s libjq1 libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 libonig5 1401s libprotobuf-c1 python3-apport python3-certifi python3-chardet 1401s python3-configobj python3-debconf python3-markdown-it python3-mdurl 1401s python3-openssl python3-problem-report python3-pygments python3-requests 1401s python3-rich python3-systemd python3-urllib3 1401s Use 'sudo apt autoremove' to remove them. 1401s The following additional packages will be installed: 1401s xdg-user-dirs 1401s Suggested packages: 1401s low-memory-monitor 1401s Recommended packages: 1401s shared-mime-info 1401s The following packages will be REMOVED: 1401s apport apport-core-dump-handler bolt cloud-init cloud-init-base 1401s dconf-gsettings-backend dconf-service fwupd gir1.2-girepository-2.0 1401s gir1.2-glib-2.0 gsettings-desktop-schemas libblockdev-crypto3 1401s libblockdev-fs3 libblockdev-loop3 libblockdev-mdraid3 libblockdev-nvme3 1401s libblockdev-part3 libblockdev-swap3 libblockdev-utils3 libblockdev3 1401s libdconf1 libfwupd3 libgirepository-1.0-1 libglib2.0-0t64 libgudev-1.0-0 1401s libjcat1 libjson-glib-1.0-0 libmbim-glib4 libmbim-proxy libmm-glib0 1401s libnetplan1 libpolkit-agent-1-0 libpolkit-gobject-1-0 libqmi-glib5 1401s libqmi-proxy libqrtr-glib0 libudisks2-0 libvolume-key1 libxmlb2 1401s netplan-generator netplan.io networkd-dispatcher python3-dbus python3-gi 1401s python3-netplan shared-mime-info ubuntu-minimal udisks2 1401s The following NEW packages will be installed: 1401s libglib2.0-0xyz xdg-user-dirs 1401s 0 upgraded, 2 newly installed, 48 to remove and 0 not upgraded. 1401s Need to get 20.1 kB/1808 kB of archives. 1401s After this operation, 39.6 MB disk space will be freed. 1401s Get:1 /tmp/tmp.BUcJbduvrt/libglib2.0-0xyz.deb libglib2.0-0xyz ppc64el 2.82.4-1 [1788 kB] 1401s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el xdg-user-dirs ppc64el 0.18-2 [20.1 kB] 1401s Fetched 20.1 kB in 0s (91.6 kB/s) 1402s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74093 files and directories currently installed.) 1402s Removing bolt (0.9.8-1) ... 1402s Removing cloud-init (24.4-0ubuntu1) ... 1402s Removing cloud-init-base (24.4-0ubuntu1) ... 1403s Removing gsettings-desktop-schemas (47.1-1ubuntu1) ... 1403s Removing dconf-gsettings-backend:ppc64el (0.40.0-4build2) ... 1403s Removing dconf-service (0.40.0-4build2) ... 1403s Removing fwupd (2.0.3-3) ... 1403s Removing networkd-dispatcher (2.2.4-1.1) ... 1404s Removing udisks2 (2.10.1-11ubuntu1) ... 1404s Removing libblockdev-crypto3:ppc64el (3.2.1-1) ... 1404s Removing libblockdev-fs3:ppc64el (3.2.1-1) ... 1404s Removing libblockdev-loop3:ppc64el (3.2.1-1) ... 1404s Removing libblockdev-mdraid3:ppc64el (3.2.1-1) ... 1404s Removing libblockdev-nvme3:ppc64el (3.2.1-1) ... 1404s Removing libblockdev-part3:ppc64el (3.2.1-1) ... 1404s Removing libblockdev-swap3:ppc64el (3.2.1-1) ... 1405s Removing libblockdev3:ppc64el (3.2.1-1) ... 1405s Removing libblockdev-utils3:ppc64el (3.2.1-1) ... 1405s Removing libdconf1:ppc64el (0.40.0-4build2) ... 1405s Removing libfwupd3:ppc64el (2.0.3-3) ... 1405s Removing shared-mime-info (2.4-5) ... 1405s Removing python3-dbus (1.3.2-5build4) ... 1405s Removing libgudev-1.0-0:ppc64el (1:238-5ubuntu1) ... 1405s Removing libjcat1:ppc64el (0.2.0-2build3) ... 1405s Removing libjson-glib-1.0-0:ppc64el (1.10.6+ds-1) ... 1405s Removing libqmi-proxy (1.35.6-1) ... 1405s Removing libqmi-glib5:ppc64el (1.35.6-1) ... 1405s Removing libmbim-proxy (1.31.2-0ubuntu4) ... 1405s Removing libmbim-glib4:ppc64el (1.31.2-0ubuntu4) ... 1405s Removing libmm-glib0:ppc64el (1.23.4-0ubuntu2) ... 1406s Removing ubuntu-minimal (1.544) ... 1406s Removing netplan.io (1.1.1-1) ... 1406s dpkg: warning: while removing netplan.io, directory '/usr/share/netplan/netplan_cli/cli/commands' not empty so not removed 1406s Removing python3-netplan (1.1.1-1) ... 1406s Removing netplan-generator (1.1.1-1) ... 1406s dpkg: warning: while removing netplan-generator, directory '/etc/netplan' not empty so not removed 1406s Removing libnetplan1:ppc64el (1.1.1-1) ... 1406s Removing libpolkit-agent-1-0:ppc64el (125-2ubuntu1) ... 1406s Removing libpolkit-gobject-1-0:ppc64el (125-2ubuntu1) ... 1406s Removing libqrtr-glib0:ppc64el (1.2.2-1ubuntu4) ... 1406s Removing libudisks2-0:ppc64el (2.10.1-11ubuntu1) ... 1406s Removing libvolume-key1:ppc64el (0.3.12-8) ... 1406s Removing libxmlb2:ppc64el (0.3.21-1) ... 1406s Removing apport (2.31.0-0ubuntu2) ... 1407s Removing apport-core-dump-handler (2.31.0-0ubuntu2) ... 1407s Removing python3-gi (3.50.0-3build1) ... 1407s Removing gir1.2-girepository-2.0:ppc64el (1.82.0-3) ... 1407s Removing gir1.2-glib-2.0:ppc64el (2.82.4-1) ... 1408s Removing libgirepository-1.0-1:ppc64el (1.82.0-3) ... 1408s Removing libglib2.0-0t64:ppc64el (2.82.4-1) ... 1408s Selecting previously unselected package xdg-user-dirs. 1408s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 73032 files and directories currently installed.) 1408s Preparing to unpack .../xdg-user-dirs_0.18-2_ppc64el.deb ... 1408s Unpacking xdg-user-dirs (0.18-2) ... 1408s Selecting previously unselected package libglib2.0-0xyz:ppc64el. 1408s Preparing to unpack .../libglib2.0-0xyz.deb ... 1408s Unpacking libglib2.0-0xyz:ppc64el (2.82.4-1) ... 1408s Setting up xdg-user-dirs (0.18-2) ... 1408s Setting up libglib2.0-0xyz:ppc64el (2.82.4-1) ... 1408s No schema files found: removed existing output file. 1408s Processing triggers for dbus (1.14.10-4ubuntu5) ... 1408s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1408s Processing triggers for man-db (2.13.0-1) ... 1410s not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1410s not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1410s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1410s + n=1 1410s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1410s + echo not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1410s + failed=1 1410s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1410s + n=2 1410s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1410s + echo not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1410s + failed=1 1410s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so 1410s + n=3 1410s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1410s + echo not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1410s + failed=1 1410s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so 1410s + n=4 1410s + test -s /usr/lib/*/gio/modules/libdconfsettings.so 1410s + echo not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1410s + failed=1 1410s + assert test -e /usr/lib/*/gio/modules/giomodule.cache 1410s + n=5 1410s + test -e /usr/lib/*/gio/modules/giomodule.cache 1410s + echo not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1410s + failed=1 1410s + assert test -s /usr/lib/*/gio/modules/giomodule.cache 1410s + n=6 1410s + test -s /usr/lib/*/gio/modules/giomodule.cache 1410s + echo not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1410s + failed=1 1410s + apt-get -y purge libglib2.0-0t64 1410s not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1410s not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1410s not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1410s not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1410s Reading package lists... 1410s Building dependency tree... 1410s Reading state information... 1410s The following packages were automatically installed and are no longer required: 1410s apport-symptoms jq libatasmart4 libbytesize-common libbytesize1 1410s libcurl3t64-gnutls libdrm-amdgpu1 libflashrom1 libftdi1-2 libgpgme11t64 1410s libjq1 libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 libonig5 1410s libprotobuf-c1 python3-apport python3-certifi python3-chardet 1410s python3-configobj python3-debconf python3-markdown-it python3-mdurl 1410s python3-openssl python3-problem-report python3-pygments python3-requests 1410s python3-rich python3-systemd python3-urllib3 1410s Use 'sudo apt autoremove' to remove them. 1410s The following packages will be REMOVED: 1410s libglib2.0-0t64* 1411s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1411s After this operation, 0 B of additional disk space will be used. 1411s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 73067 files and directories currently installed.) 1411s Purging configuration files for libglib2.0-0t64:ppc64el (2.82.4-1) ... 1411s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1411s + n=7 1411s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1411s + echo not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1411s + failed=1 1411s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1411s + n=8 1411s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1411s + echo not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1411s + failed=1 1411s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so 1411s + n=9 1411s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1411s + echo not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1411s + failed=1 1411s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so 1411s + n=10 1411s + test -s /usr/lib/*/gio/modules/libdconfsettings.so 1411s + echo not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1411s + failed=1 1411s not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1411s not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1411s not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1411s not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1411s not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1411s not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1411s + assert test -e /usr/lib/*/gio/modules/giomodule.cache 1411s + n=11 1411s + test -e /usr/lib/*/gio/modules/giomodule.cache 1411s + echo not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1411s + failed=1 1411s + assert test -s /usr/lib/*/gio/modules/giomodule.cache 1411s + n=12 1411s + test -s /usr/lib/*/gio/modules/giomodule.cache 1411s + echo not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1411s + failed=1 1411s + apt-get -y purge libglib2.0-0xyz 1411s Reading package lists... 1411s Building dependency tree... 1411s Reading state information... 1411s The following packages were automatically installed and are no longer required: 1411s apport-symptoms jq libatasmart4 libatomic1 libbytesize-common libbytesize1 1411s libcurl3t64-gnutls libdrm-amdgpu1 libflashrom1 libftdi1-2 libglib2.0-data 1411s libgpgme11t64 libjq1 libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 1411s libonig5 libprotobuf-c1 python3-apport python3-certifi python3-chardet 1411s python3-configobj python3-debconf python3-markdown-it python3-mdurl 1411s python3-openssl python3-problem-report python3-pygments python3-requests 1411s python3-rich python3-systemd python3-urllib3 xdg-user-dirs 1411s Use 'sudo apt autoremove' to remove them. 1411s The following packages will be REMOVED: 1411s libglib2.0-0xyz* 1412s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1412s After this operation, 6012 kB disk space will be freed. 1412s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 73067 files and directories currently installed.) 1412s Removing libglib2.0-0xyz:ppc64el (2.82.4-1) ... 1412s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1412s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 73042 files and directories currently installed.) 1412s Purging configuration files for libglib2.0-0xyz:ppc64el (2.82.4-1) ... 1412s ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1412s ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1412s ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 1412s ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 1412s 1..16 1412s + assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1412s + n=13 1412s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1412s + echo ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1412s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1412s + n=14 1412s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1412s + echo ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1412s + assert_not test -e /usr/lib/*/gio/modules/libdconfsettings.so 1412s + n=15 1412s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1412s + echo ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 1412s + assert_not test -e /usr/lib/*/gio/modules/giomodule.cache 1412s + n=16 1412s + test -e /usr/lib/*/gio/modules/giomodule.cache 1412s + echo ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 1412s + echo 1..16 1412s + exit 1 1412s autopkgtest [16:06:48]: test 1065022-futureproofing: -----------------------] 1413s 1065022-futureproofing FLAKY non-zero exit status 1 1413s autopkgtest [16:06:49]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - - 1413s autopkgtest [16:06:49]: @@@@@@@@@@@@@@@@@@@@ summary 1413s build PASS (superficial) 1413s build-static PASS (superficial) 1413s girepository-tools PASS (superficial) 1413s libgio-2.0-dev-bin PASS (superficial) 1413s libglib2.0-dev PASS (superficial) 1413s installed-tests PASS 1413s closure-refcount PASS 1413s debugcontroller PASS 1413s gdbus-server-auth PASS 1413s gdbus-threading PASS 1413s gmenumodel PASS 1413s mainloop PASS 1413s memory-monitor-dbus PASS 1413s socket PASS 1413s testfilemonitor PASS 1413s thread-pool-slow PASS 1413s threadtests PASS 1413s timeout PASS 1413s timer PASS 1413s 1065022-futureproofing FLAKY non-zero exit status 1 1418s nova [W] Using flock in prodstack6-ppc64el 1418s Creating nova instance adt-plucky-ppc64el-glib2.0-20250109-130346-juju-7f2275-prod-proposed-migration-environment-15-0609a588-9cb7-4ade-800f-376c8117fa63 from image adt/ubuntu-plucky-ppc64el-server-20250109.img (UUID 64b5f774-d527-428e-8e51-6eba74faf5f9)... 1418s nova [W] Timed out waiting for 2fb58d54-39f6-498d-8378-b0c8c5708716 to get deleted. 1418s nova [W] Using flock in prodstack6-ppc64el 1418s Creating nova instance adt-plucky-ppc64el-glib2.0-20250109-130346-juju-7f2275-prod-proposed-migration-environment-15-0609a588-9cb7-4ade-800f-376c8117fa63 from image adt/ubuntu-plucky-ppc64el-server-20250109.img (UUID 64b5f774-d527-428e-8e51-6eba74faf5f9)... 1418s nova [W] Timed out waiting for 21b2f9b7-2575-4c58-9ed0-8d8ace8f1390 to get deleted. 1418s nova [W] Using flock in prodstack6-ppc64el 1418s Creating nova instance adt-plucky-ppc64el-glib2.0-20250109-130346-juju-7f2275-prod-proposed-migration-environment-15-0609a588-9cb7-4ade-800f-376c8117fa63 from image adt/ubuntu-plucky-ppc64el-server-20250109.img (UUID 64b5f774-d527-428e-8e51-6eba74faf5f9)... 1418s nova [W] Timed out waiting for 57a153a0-7297-435f-ac04-dc89f8b57bc8 to get deleted. 1418s nova [W] Using flock in prodstack6-ppc64el 1418s Creating nova instance adt-plucky-ppc64el-glib2.0-20250109-130346-juju-7f2275-prod-proposed-migration-environment-15-0609a588-9cb7-4ade-800f-376c8117fa63 from image adt/ubuntu-plucky-ppc64el-server-20250109.img (UUID 64b5f774-d527-428e-8e51-6eba74faf5f9)... 1418s nova [W] Timed out waiting for 9e5ed22b-4d5c-4820-943e-01aab2786526 to get deleted. 1418s nova [W] Using flock in prodstack6-ppc64el 1418s Creating nova instance adt-plucky-ppc64el-glib2.0-20250109-130346-juju-7f2275-prod-proposed-migration-environment-15-0609a588-9cb7-4ade-800f-376c8117fa63 from image adt/ubuntu-plucky-ppc64el-server-20250109.img (UUID 64b5f774-d527-428e-8e51-6eba74faf5f9)... 1418s nova [W] Timed out waiting for c290efc5-dff8-4725-9337-9bdcd5fb463b to get deleted. 1418s nova [W] Using flock in prodstack6-ppc64el 1418s Creating nova instance adt-plucky-ppc64el-glib2.0-20250109-130346-juju-7f2275-prod-proposed-migration-environment-15-0609a588-9cb7-4ade-800f-376c8117fa63 from image adt/ubuntu-plucky-ppc64el-server-20250109.img (UUID 64b5f774-d527-428e-8e51-6eba74faf5f9)... 1418s nova [W] Timed out waiting for 1de5834d-e3bd-48a1-849d-3a37e53c2775 to get deleted.